Class DeleteVolumeSnapshotRequest.Builder (0.1.1)

public static final class DeleteVolumeSnapshotRequest.Builder extends GeneratedMessageV3.Builder<DeleteVolumeSnapshotRequest.Builder> implements DeleteVolumeSnapshotRequestOrBuilder

Message for deleting named Volume snapshot.

Protobuf type google.cloud.baremetalsolution.v2.DeleteVolumeSnapshotRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteVolumeSnapshotRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

build()

public DeleteVolumeSnapshotRequest build()
Returns
TypeDescription
DeleteVolumeSnapshotRequest

buildPartial()

public DeleteVolumeSnapshotRequest buildPartial()
Returns
TypeDescription
DeleteVolumeSnapshotRequest

clear()

public DeleteVolumeSnapshotRequest.Builder clear()
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteVolumeSnapshotRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

clearName()

public DeleteVolumeSnapshotRequest.Builder clearName()

Required. The name of the snapshot to delete.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteVolumeSnapshotRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

clone()

public DeleteVolumeSnapshotRequest.Builder clone()
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteVolumeSnapshotRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteVolumeSnapshotRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the snapshot to delete.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the snapshot to delete.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteVolumeSnapshotRequest other)

public DeleteVolumeSnapshotRequest.Builder mergeFrom(DeleteVolumeSnapshotRequest other)
Parameter
NameDescription
otherDeleteVolumeSnapshotRequest
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteVolumeSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteVolumeSnapshotRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteVolumeSnapshotRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteVolumeSnapshotRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

setName(String value)

public DeleteVolumeSnapshotRequest.Builder setName(String value)

Required. The name of the snapshot to delete.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteVolumeSnapshotRequest.Builder setNameBytes(ByteString value)

Required. The name of the snapshot to delete.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder

This builder for chaining.

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

public DeleteVolumeSnapshotRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteVolumeSnapshotRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteVolumeSnapshotRequest.Builder
Overrides