public static final class CreateMeshRequest.Builder extends GeneratedMessageV3.Builder<CreateMeshRequest.Builder> implements CreateMeshRequestOrBuilder
Request used by the CreateMesh method.
Protobuf type google.cloud.networkservices.v1.CreateMeshRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateMeshRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateMeshRequest build()
buildPartial()
public CreateMeshRequest buildPartial()
clear()
public CreateMeshRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateMeshRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMesh()
public CreateMeshRequest.Builder clearMesh()
Required. Mesh resource to be created.
.google.cloud.networkservices.v1.Mesh mesh = 3 [(.google.api.field_behavior) = REQUIRED];
clearMeshId()
public CreateMeshRequest.Builder clearMeshId()
Required. Short name of the Mesh resource to be created.
string mesh_id = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateMeshRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateMeshRequest.Builder clearParent()
Required. The parent resource of the Mesh. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateMeshRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateMeshRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMesh()
Required. Mesh resource to be created.
.google.cloud.networkservices.v1.Mesh mesh = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Mesh |
The mesh.
|
getMeshBuilder()
public Mesh.Builder getMeshBuilder()
Required. Mesh resource to be created.
.google.cloud.networkservices.v1.Mesh mesh = 3 [(.google.api.field_behavior) = REQUIRED];
getMeshId()
public String getMeshId()
Required. Short name of the Mesh resource to be created.
string mesh_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The meshId.
|
getMeshIdBytes()
public ByteString getMeshIdBytes()
Required. Short name of the Mesh resource to be created.
string mesh_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for meshId.
|
getMeshOrBuilder()
public MeshOrBuilder getMeshOrBuilder()
Required. Mesh resource to be created.
.google.cloud.networkservices.v1.Mesh mesh = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The parent resource of the Mesh. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource of the Mesh. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasMesh()
Required. Mesh resource to be created.
.google.cloud.networkservices.v1.Mesh mesh = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the mesh field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateMeshRequest other)
public CreateMeshRequest.Builder mergeFrom(CreateMeshRequest other)
public CreateMeshRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateMeshRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMesh(Mesh value)
public CreateMeshRequest.Builder mergeMesh(Mesh value)
Required. Mesh resource to be created.
.google.cloud.networkservices.v1.Mesh mesh = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Mesh
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateMeshRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateMeshRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMesh(Mesh value)
public CreateMeshRequest.Builder setMesh(Mesh value)
Required. Mesh resource to be created.
.google.cloud.networkservices.v1.Mesh mesh = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Mesh
|
setMesh(Mesh.Builder builderForValue)
public CreateMeshRequest.Builder setMesh(Mesh.Builder builderForValue)
Required. Mesh resource to be created.
.google.cloud.networkservices.v1.Mesh mesh = 3 [(.google.api.field_behavior) = REQUIRED];
setMeshId(String value)
public CreateMeshRequest.Builder setMeshId(String value)
Required. Short name of the Mesh resource to be created.
string mesh_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The meshId to set.
|
setMeshIdBytes(ByteString value)
public CreateMeshRequest.Builder setMeshIdBytes(ByteString value)
Required. Short name of the Mesh resource to be created.
string mesh_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for meshId to set.
|
setParent(String value)
public CreateMeshRequest.Builder setParent(String value)
Required. The parent resource of the Mesh. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateMeshRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the Mesh. Must be in the
format projects/*/locations/global
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateMeshRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateMeshRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides