Class UpdateMeshRequest.Builder (0.39.0)

public static final class UpdateMeshRequest.Builder extends GeneratedMessage.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

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

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

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

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 GeneratedMessage.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

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

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

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