Class DetachLunRequest.Builder (0.23.0)

public static final class DetachLunRequest.Builder extends GeneratedMessageV3.Builder<DetachLunRequest.Builder> implements DetachLunRequestOrBuilder

Message for detach specific LUN from an Instance.

Protobuf type google.cloud.baremetalsolution.v2.DetachLunRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DetachLunRequest build()
Returns
TypeDescription
DetachLunRequest

buildPartial()

public DetachLunRequest buildPartial()
Returns
TypeDescription
DetachLunRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public DetachLunRequest.Builder clearInstance()

Required. Name of the instance.

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

Returns
TypeDescription
DetachLunRequest.Builder

This builder for chaining.

clearLun()

public DetachLunRequest.Builder clearLun()

Required. Name of the Lun to detach.

string lun = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DetachLunRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DetachLunRequest getDefaultInstanceForType()
Returns
TypeDescription
DetachLunRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public String getInstance()

Required. Name of the instance.

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

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

Required. Name of the instance.

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

Returns
TypeDescription
ByteString

The bytes for instance.

getLun()

public String getLun()

Required. Name of the Lun to detach.

string lun = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The lun.

getLunBytes()

public ByteString getLunBytes()

Required. Name of the Lun to detach.

string lun = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for lun.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DetachLunRequest other)

public DetachLunRequest.Builder mergeFrom(DetachLunRequest other)
Parameter
NameDescription
otherDetachLunRequest
Returns
TypeDescription
DetachLunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(String value)

public DetachLunRequest.Builder setInstance(String value)

Required. Name of the instance.

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

Parameter
NameDescription
valueString

The instance to set.

Returns
TypeDescription
DetachLunRequest.Builder

This builder for chaining.

setInstanceBytes(ByteString value)

public DetachLunRequest.Builder setInstanceBytes(ByteString value)

Required. Name of the instance.

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

Parameter
NameDescription
valueByteString

The bytes for instance to set.

Returns
TypeDescription
DetachLunRequest.Builder

This builder for chaining.

setLun(String value)

public DetachLunRequest.Builder setLun(String value)

Required. Name of the Lun to detach.

string lun = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The lun to set.

Returns
TypeDescription
DetachLunRequest.Builder

This builder for chaining.

setLunBytes(ByteString value)

public DetachLunRequest.Builder setLunBytes(ByteString value)

Required. Name of the Lun to detach.

string lun = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for lun to set.

Returns
TypeDescription
DetachLunRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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