Class ErrorDetails (1.28.0)

public final class ErrorDetails extends GeneratedMessageV3 implements ErrorDetailsOrBuilder

Protobuf type google.cloud.compute.v1.ErrorDetails

Static Fields

ERROR_INFO_FIELD_NUMBER

public static final int ERROR_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

HELP_FIELD_NUMBER

public static final int HELP_FIELD_NUMBER
Field Value
TypeDescription
int

LOCALIZED_MESSAGE_FIELD_NUMBER

public static final int LOCALIZED_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

QUOTA_INFO_FIELD_NUMBER

public static final int QUOTA_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ErrorDetails getDefaultInstance()
Returns
TypeDescription
ErrorDetails

getDescriptor()

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

newBuilder()

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

newBuilder(ErrorDetails prototype)

public static ErrorDetails.Builder newBuilder(ErrorDetails prototype)
Parameter
NameDescription
prototypeErrorDetails
Returns
TypeDescription
ErrorDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ErrorDetails getDefaultInstanceForType()
Returns
TypeDescription
ErrorDetails

getErrorInfo()

public ErrorInfo getErrorInfo()

optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;

Returns
TypeDescription
ErrorInfo

The errorInfo.

getErrorInfoOrBuilder()

public ErrorInfoOrBuilder getErrorInfoOrBuilder()

optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;

Returns
TypeDescription
ErrorInfoOrBuilder

getHelp()

public Help getHelp()

optional .google.cloud.compute.v1.Help help = 3198785;

Returns
TypeDescription
Help

The help.

getHelpOrBuilder()

public HelpOrBuilder getHelpOrBuilder()

optional .google.cloud.compute.v1.Help help = 3198785;

Returns
TypeDescription
HelpOrBuilder

getLocalizedMessage()

public LocalizedMessage getLocalizedMessage()

optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;

Returns
TypeDescription
LocalizedMessage

The localizedMessage.

getLocalizedMessageOrBuilder()

public LocalizedMessageOrBuilder getLocalizedMessageOrBuilder()

optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;

Returns
TypeDescription
LocalizedMessageOrBuilder

getParserForType()

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

getQuotaInfo()

public QuotaExceededInfo getQuotaInfo()

optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;

Returns
TypeDescription
QuotaExceededInfo

The quotaInfo.

getQuotaInfoOrBuilder()

public QuotaExceededInfoOrBuilder getQuotaInfoOrBuilder()

optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;

Returns
TypeDescription
QuotaExceededInfoOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasErrorInfo()

public boolean hasErrorInfo()

optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;

Returns
TypeDescription
boolean

Whether the errorInfo field is set.

hasHelp()

public boolean hasHelp()

optional .google.cloud.compute.v1.Help help = 3198785;

Returns
TypeDescription
boolean

Whether the help field is set.

hasLocalizedMessage()

public boolean hasLocalizedMessage()

optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;

Returns
TypeDescription
boolean

Whether the localizedMessage field is set.

hasQuotaInfo()

public boolean hasQuotaInfo()

optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;

Returns
TypeDescription
boolean

Whether the quotaInfo field is set.

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 ErrorDetails.Builder newBuilderForType()
Returns
TypeDescription
ErrorDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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