Class DetachLunRequest.Builder (0.54.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DetachLunRequest build()
Returns
Type Description
DetachLunRequest

buildPartial()

public DetachLunRequest buildPartial()
Returns
Type Description
DetachLunRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DetachLunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
DetachLunRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkipReboot()

public DetachLunRequest.Builder clearSkipReboot()

If true, performs lun unmapping without instance reboot.

bool skip_reboot = 3;

Returns
Type Description
DetachLunRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DetachLunRequest getDefaultInstanceForType()
Returns
Type Description
DetachLunRequest

getDescriptorForType()

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

getInstance()

public String getInstance()

Required. Name of the instance.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for lun.

getSkipReboot()

public boolean getSkipReboot()

If true, performs lun unmapping without instance reboot.

bool skip_reboot = 3;

Returns
Type Description
boolean

The skipReboot.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DetachLunRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public DetachLunRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The instance to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for instance to set.

Returns
Type Description
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
Name Description
value String

The lun to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for lun to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DetachLunRequest.Builder
Overrides

setSkipReboot(boolean value)

public DetachLunRequest.Builder setSkipReboot(boolean value)

If true, performs lun unmapping without instance reboot.

bool skip_reboot = 3;

Parameter
Name Description
value boolean

The skipReboot to set.

Returns
Type Description
DetachLunRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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