Class CloudShellErrorDetails (2.40.0)

public final class CloudShellErrorDetails extends GeneratedMessageV3 implements CloudShellErrorDetailsOrBuilder

Cloud-shell specific information that will be included as details in failure responses.

Protobuf type google.cloud.shell.v1.CloudShellErrorDetails

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudShellErrorDetails getDefaultInstance()
Returns
TypeDescription
CloudShellErrorDetails

getDescriptor()

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

newBuilder()

public static CloudShellErrorDetails.Builder newBuilder()
Returns
TypeDescription
CloudShellErrorDetails.Builder

newBuilder(CloudShellErrorDetails prototype)

public static CloudShellErrorDetails.Builder newBuilder(CloudShellErrorDetails prototype)
Parameter
NameDescription
prototypeCloudShellErrorDetails
Returns
TypeDescription
CloudShellErrorDetails.Builder

parseDelimitedFrom(InputStream input)

public static CloudShellErrorDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudShellErrorDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CloudShellErrorDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudShellErrorDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudShellErrorDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudShellErrorDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudShellErrorDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudShellErrorDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CloudShellErrorDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudShellErrorDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CloudShellErrorDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudShellErrorDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudShellErrorDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CloudShellErrorDetails> parser()
Returns
TypeDescription
Parser<CloudShellErrorDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCode()

public CloudShellErrorDetails.CloudShellErrorCode getCode()

Code indicating the specific error the occurred.

.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;

Returns
TypeDescription
CloudShellErrorDetails.CloudShellErrorCode

The code.

getCodeValue()

public int getCodeValue()

Code indicating the specific error the occurred.

.google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode code = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public CloudShellErrorDetails getDefaultInstanceForType()
Returns
TypeDescription
CloudShellErrorDetails

getParserForType()

public Parser<CloudShellErrorDetails> getParserForType()
Returns
TypeDescription
Parser<CloudShellErrorDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CloudShellErrorDetails.Builder newBuilderForType()
Returns
TypeDescription
CloudShellErrorDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudShellErrorDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CloudShellErrorDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CloudShellErrorDetails.Builder toBuilder()
Returns
TypeDescription
CloudShellErrorDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException