Class DetachLunRequest (0.51.0)

public final class DetachLunRequest extends GeneratedMessageV3 implements DetachLunRequestOrBuilder

Message for detach specific LUN from an Instance.

Protobuf type google.cloud.baremetalsolution.v2.DetachLunRequest

Static Fields

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

LUN_FIELD_NUMBER

public static final int LUN_FIELD_NUMBER
Field Value
Type Description
int

SKIP_REBOOT_FIELD_NUMBER

public static final int SKIP_REBOOT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DetachLunRequest getDefaultInstance()
Returns
Type Description
DetachLunRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DetachLunRequest.Builder newBuilder()
Returns
Type Description
DetachLunRequest.Builder

newBuilder(DetachLunRequest prototype)

public static DetachLunRequest.Builder newBuilder(DetachLunRequest prototype)
Parameter
Name Description
prototype DetachLunRequest
Returns
Type Description
DetachLunRequest.Builder

parseDelimitedFrom(InputStream input)

public static DetachLunRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DetachLunRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DetachLunRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DetachLunRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DetachLunRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DetachLunRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DetachLunRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DetachLunRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DetachLunRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DetachLunRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DetachLunRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DetachLunRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DetachLunRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DetachLunRequest> parser()
Returns
Type Description
Parser<DetachLunRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DetachLunRequest getDefaultInstanceForType()
Returns
Type Description
DetachLunRequest

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.

getParserForType()

public Parser<DetachLunRequest> getParserForType()
Returns
Type Description
Parser<DetachLunRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkipReboot()

public boolean getSkipReboot()

If true, performs lun unmapping without instance reboot.

bool skip_reboot = 3;

Returns
Type Description
boolean

The skipReboot.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DetachLunRequest.Builder newBuilderForType()
Returns
Type Description
DetachLunRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DetachLunRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DetachLunRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DetachLunRequest.Builder toBuilder()
Returns
Type Description
DetachLunRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException