Class UpdateMeshRequest.Builder (0.2.0)

public static final class UpdateMeshRequest.Builder extends GeneratedMessageV3.Builder<UpdateMeshRequest.Builder> implements UpdateMeshRequestOrBuilder

Request used by the UpdateMesh method.

Protobuf type google.cloud.networkservices.v1.UpdateMeshRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateMeshRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

build()

public UpdateMeshRequest build()
Returns
Type Description
UpdateMeshRequest

buildPartial()

public UpdateMeshRequest buildPartial()
Returns
Type Description
UpdateMeshRequest

clear()

public UpdateMeshRequest.Builder clear()
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateMeshRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

clearMesh()

public UpdateMeshRequest.Builder clearMesh()

Required. Updated Mesh resource.

.google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateMeshRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateMeshRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

clearUpdateMask()

public UpdateMeshRequest.Builder clearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateMeshRequest.Builder

clone()

public UpdateMeshRequest.Builder clone()
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateMeshRequest getDefaultInstanceForType()
Returns
Type Description
UpdateMeshRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMesh()

public Mesh getMesh()

Required. Updated Mesh resource.

.google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Mesh

The mesh.

getMeshBuilder()

public Mesh.Builder getMeshBuilder()

Required. Updated Mesh resource.

.google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Mesh.Builder

getMeshOrBuilder()

public MeshOrBuilder getMeshOrBuilder()

Required. Updated Mesh resource.

.google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MeshOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasMesh()

public boolean hasMesh()

Required. Updated Mesh resource.

.google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the mesh field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateMeshRequest other)

public UpdateMeshRequest.Builder mergeFrom(UpdateMeshRequest other)
Parameter
Name Description
other UpdateMeshRequest
Returns
Type Description
UpdateMeshRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateMeshRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateMeshRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateMeshRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

mergeMesh(Mesh value)

public UpdateMeshRequest.Builder mergeMesh(Mesh value)

Required. Updated Mesh resource.

.google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Mesh
Returns
Type Description
UpdateMeshRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateMeshRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateMeshRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateMeshRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateMeshRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

setMesh(Mesh value)

public UpdateMeshRequest.Builder setMesh(Mesh value)

Required. Updated Mesh resource.

.google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Mesh
Returns
Type Description
UpdateMeshRequest.Builder

setMesh(Mesh.Builder builderForValue)

public UpdateMeshRequest.Builder setMesh(Mesh.Builder builderForValue)

Required. Updated Mesh resource.

.google.cloud.networkservices.v1.Mesh mesh = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Mesh.Builder
Returns
Type Description
UpdateMeshRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateMeshRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateMeshRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateMeshRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateMeshRequest.Builder setUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateMeshRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateMeshRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateMeshRequest.Builder