Class ErrorDetails.Builder (1.33.0)

public static final class ErrorDetails.Builder extends GeneratedMessageV3.Builder<ErrorDetails.Builder> implements ErrorDetailsOrBuilder

Protobuf type google.cloud.compute.v1.ErrorDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ErrorDetails build()
Returns
TypeDescription
ErrorDetails

buildPartial()

public ErrorDetails buildPartial()
Returns
TypeDescription
ErrorDetails

clear()

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

clearErrorInfo()

public ErrorDetails.Builder clearErrorInfo()

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

Returns
TypeDescription
ErrorDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearHelp()

public ErrorDetails.Builder clearHelp()

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

Returns
TypeDescription
ErrorDetails.Builder

clearLocalizedMessage()

public ErrorDetails.Builder clearLocalizedMessage()

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

Returns
TypeDescription
ErrorDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuotaInfo()

public ErrorDetails.Builder clearQuotaInfo()

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

Returns
TypeDescription
ErrorDetails.Builder

clone()

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

getDefaultInstanceForType()

public ErrorDetails getDefaultInstanceForType()
Returns
TypeDescription
ErrorDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorInfo()

public ErrorInfo getErrorInfo()

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

Returns
TypeDescription
ErrorInfo

The errorInfo.

getErrorInfoBuilder()

public ErrorInfo.Builder getErrorInfoBuilder()

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

Returns
TypeDescription
ErrorInfo.Builder

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.

getHelpBuilder()

public Help.Builder getHelpBuilder()

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

Returns
TypeDescription
Help.Builder

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.

getLocalizedMessageBuilder()

public LocalizedMessage.Builder getLocalizedMessageBuilder()

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

Returns
TypeDescription
LocalizedMessage.Builder

getLocalizedMessageOrBuilder()

public LocalizedMessageOrBuilder getLocalizedMessageOrBuilder()

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

Returns
TypeDescription
LocalizedMessageOrBuilder

getQuotaInfo()

public QuotaExceededInfo getQuotaInfo()

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

Returns
TypeDescription
QuotaExceededInfo

The quotaInfo.

getQuotaInfoBuilder()

public QuotaExceededInfo.Builder getQuotaInfoBuilder()

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

Returns
TypeDescription
QuotaExceededInfo.Builder

getQuotaInfoOrBuilder()

public QuotaExceededInfoOrBuilder getQuotaInfoOrBuilder()

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

Returns
TypeDescription
QuotaExceededInfoOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeErrorInfo(ErrorInfo value)

public ErrorDetails.Builder mergeErrorInfo(ErrorInfo value)

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

Parameter
NameDescription
valueErrorInfo
Returns
TypeDescription
ErrorDetails.Builder

mergeFrom(ErrorDetails other)

public ErrorDetails.Builder mergeFrom(ErrorDetails other)
Parameter
NameDescription
otherErrorDetails
Returns
TypeDescription
ErrorDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHelp(Help value)

public ErrorDetails.Builder mergeHelp(Help value)

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

Parameter
NameDescription
valueHelp
Returns
TypeDescription
ErrorDetails.Builder

mergeLocalizedMessage(LocalizedMessage value)

public ErrorDetails.Builder mergeLocalizedMessage(LocalizedMessage value)

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

Parameter
NameDescription
valueLocalizedMessage
Returns
TypeDescription
ErrorDetails.Builder

mergeQuotaInfo(QuotaExceededInfo value)

public ErrorDetails.Builder mergeQuotaInfo(QuotaExceededInfo value)

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

Parameter
NameDescription
valueQuotaExceededInfo
Returns
TypeDescription
ErrorDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorInfo(ErrorInfo value)

public ErrorDetails.Builder setErrorInfo(ErrorInfo value)

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

Parameter
NameDescription
valueErrorInfo
Returns
TypeDescription
ErrorDetails.Builder

setErrorInfo(ErrorInfo.Builder builderForValue)

public ErrorDetails.Builder setErrorInfo(ErrorInfo.Builder builderForValue)

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

Parameter
NameDescription
builderForValueErrorInfo.Builder
Returns
TypeDescription
ErrorDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHelp(Help value)

public ErrorDetails.Builder setHelp(Help value)

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

Parameter
NameDescription
valueHelp
Returns
TypeDescription
ErrorDetails.Builder

setHelp(Help.Builder builderForValue)

public ErrorDetails.Builder setHelp(Help.Builder builderForValue)

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

Parameter
NameDescription
builderForValueHelp.Builder
Returns
TypeDescription
ErrorDetails.Builder

setLocalizedMessage(LocalizedMessage value)

public ErrorDetails.Builder setLocalizedMessage(LocalizedMessage value)

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

Parameter
NameDescription
valueLocalizedMessage
Returns
TypeDescription
ErrorDetails.Builder

setLocalizedMessage(LocalizedMessage.Builder builderForValue)

public ErrorDetails.Builder setLocalizedMessage(LocalizedMessage.Builder builderForValue)

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

Parameter
NameDescription
builderForValueLocalizedMessage.Builder
Returns
TypeDescription
ErrorDetails.Builder

setQuotaInfo(QuotaExceededInfo value)

public ErrorDetails.Builder setQuotaInfo(QuotaExceededInfo value)

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

Parameter
NameDescription
valueQuotaExceededInfo
Returns
TypeDescription
ErrorDetails.Builder

setQuotaInfo(QuotaExceededInfo.Builder builderForValue)

public ErrorDetails.Builder setQuotaInfo(QuotaExceededInfo.Builder builderForValue)

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

Parameter
NameDescription
builderForValueQuotaExceededInfo.Builder
Returns
TypeDescription
ErrorDetails.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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