public static final class UpdateVolumeRequest.Builder extends GeneratedMessageV3.Builder<UpdateVolumeRequest.Builder> implements UpdateVolumeRequestOrBuilder
Message for updating a volume.
Protobuf type google.cloud.baremetalsolution.v2.UpdateVolumeRequest
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateVolumeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateVolumeRequest build()
public UpdateVolumeRequest buildPartial()
public UpdateVolumeRequest.Builder clear()
Overrides
public UpdateVolumeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateVolumeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateVolumeRequest.Builder clearUpdateMask()
The list of fields to update.
The only currently supported fields are:
'labels'
.google.protobuf.FieldMask update_mask = 2;
public UpdateVolumeRequest.Builder clearVolume()
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
.google.cloud.baremetalsolution.v2.Volume volume = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateVolumeRequest.Builder clone()
Overrides
public UpdateVolumeRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public FieldMask getUpdateMask()
The list of fields to update.
The only currently supported fields are:
'labels'
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
public FieldMask.Builder getUpdateMaskBuilder()
The list of fields to update.
The only currently supported fields are:
'labels'
.google.protobuf.FieldMask update_mask = 2;
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to update.
The only currently supported fields are:
'labels'
.google.protobuf.FieldMask update_mask = 2;
public Volume getVolume()
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
.google.cloud.baremetalsolution.v2.Volume volume = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Volume |
The volume.
|
public Volume.Builder getVolumeBuilder()
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
.google.cloud.baremetalsolution.v2.Volume volume = 1 [(.google.api.field_behavior) = REQUIRED];
public VolumeOrBuilder getVolumeOrBuilder()
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
.google.cloud.baremetalsolution.v2.Volume volume = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasUpdateMask()
The list of fields to update.
The only currently supported fields are:
'labels'
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
public boolean hasVolume()
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
.google.cloud.baremetalsolution.v2.Volume volume = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the volume field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateVolumeRequest.Builder mergeFrom(UpdateVolumeRequest other)
public UpdateVolumeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateVolumeRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final UpdateVolumeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateVolumeRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to update.
The only currently supported fields are:
'labels'
.google.protobuf.FieldMask update_mask = 2;
public UpdateVolumeRequest.Builder mergeVolume(Volume value)
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
.google.cloud.baremetalsolution.v2.Volume volume = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Volume
|
public UpdateVolumeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateVolumeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateVolumeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateVolumeRequest.Builder setUpdateMask(FieldMask value)
The list of fields to update.
The only currently supported fields are:
'labels'
.google.protobuf.FieldMask update_mask = 2;
public UpdateVolumeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The list of fields to update.
The only currently supported fields are:
'labels'
.google.protobuf.FieldMask update_mask = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
public UpdateVolumeRequest.Builder setVolume(Volume value)
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
.google.cloud.baremetalsolution.v2.Volume volume = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Volume
|
public UpdateVolumeRequest.Builder setVolume(Volume.Builder builderForValue)
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
.google.cloud.baremetalsolution.v2.Volume volume = 1 [(.google.api.field_behavior) = REQUIRED];