Class ErrorDetails.Builder (1.54.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ErrorDetails build()
Returns
Type Description
ErrorDetails

buildPartial()

public ErrorDetails buildPartial()
Returns
Type Description
ErrorDetails

clear()

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

clearErrorInfo()

public ErrorDetails.Builder clearErrorInfo()

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

Returns
Type Description
ErrorDetails.Builder

clearField(Descriptors.FieldDescriptor field)

public ErrorDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ErrorDetails.Builder
Overrides

clearHelp()

public ErrorDetails.Builder clearHelp()

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

Returns
Type Description
ErrorDetails.Builder

clearLocalizedMessage()

public ErrorDetails.Builder clearLocalizedMessage()

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

Returns
Type Description
ErrorDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuotaInfo()

public ErrorDetails.Builder clearQuotaInfo()

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

Returns
Type Description
ErrorDetails.Builder

clone()

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

getDefaultInstanceForType()

public ErrorDetails getDefaultInstanceForType()
Returns
Type Description
ErrorDetails

getDescriptorForType()

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

getErrorInfo()

public ErrorInfo getErrorInfo()

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

Returns
Type Description
ErrorInfo

The errorInfo.

getErrorInfoBuilder()

public ErrorInfo.Builder getErrorInfoBuilder()

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

Returns
Type Description
ErrorInfo.Builder

getErrorInfoOrBuilder()

public ErrorInfoOrBuilder getErrorInfoOrBuilder()

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

Returns
Type Description
ErrorInfoOrBuilder

getHelp()

public Help getHelp()

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

Returns
Type Description
Help

The help.

getHelpBuilder()

public Help.Builder getHelpBuilder()

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

Returns
Type Description
Help.Builder

getHelpOrBuilder()

public HelpOrBuilder getHelpOrBuilder()

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

Returns
Type Description
HelpOrBuilder

getLocalizedMessage()

public LocalizedMessage getLocalizedMessage()

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

Returns
Type Description
LocalizedMessage

The localizedMessage.

getLocalizedMessageBuilder()

public LocalizedMessage.Builder getLocalizedMessageBuilder()

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

Returns
Type Description
LocalizedMessage.Builder

getLocalizedMessageOrBuilder()

public LocalizedMessageOrBuilder getLocalizedMessageOrBuilder()

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

Returns
Type Description
LocalizedMessageOrBuilder

getQuotaInfo()

public QuotaExceededInfo getQuotaInfo()

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

Returns
Type Description
QuotaExceededInfo

The quotaInfo.

getQuotaInfoBuilder()

public QuotaExceededInfo.Builder getQuotaInfoBuilder()

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

Returns
Type Description
QuotaExceededInfo.Builder

getQuotaInfoOrBuilder()

public QuotaExceededInfoOrBuilder getQuotaInfoOrBuilder()

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

Returns
Type Description
QuotaExceededInfoOrBuilder

hasErrorInfo()

public boolean hasErrorInfo()

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

Returns
Type Description
boolean

Whether the errorInfo field is set.

hasHelp()

public boolean hasHelp()

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

Returns
Type Description
boolean

Whether the help field is set.

hasLocalizedMessage()

public boolean hasLocalizedMessage()

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

Returns
Type Description
boolean

Whether the localizedMessage field is set.

hasQuotaInfo()

public boolean hasQuotaInfo()

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

Returns
Type Description
boolean

Whether the quotaInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeErrorInfo(ErrorInfo value)

public ErrorDetails.Builder mergeErrorInfo(ErrorInfo value)

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

Parameter
Name Description
value ErrorInfo
Returns
Type Description
ErrorDetails.Builder

mergeFrom(ErrorDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHelp(Help value)

public ErrorDetails.Builder mergeHelp(Help value)

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

Parameter
Name Description
value Help
Returns
Type Description
ErrorDetails.Builder

mergeLocalizedMessage(LocalizedMessage value)

public ErrorDetails.Builder mergeLocalizedMessage(LocalizedMessage value)

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

Parameter
Name Description
value LocalizedMessage
Returns
Type Description
ErrorDetails.Builder

mergeQuotaInfo(QuotaExceededInfo value)

public ErrorDetails.Builder mergeQuotaInfo(QuotaExceededInfo value)

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

Parameter
Name Description
value QuotaExceededInfo
Returns
Type Description
ErrorDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorInfo(ErrorInfo value)

public ErrorDetails.Builder setErrorInfo(ErrorInfo value)

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

Parameter
Name Description
value ErrorInfo
Returns
Type Description
ErrorDetails.Builder

setErrorInfo(ErrorInfo.Builder builderForValue)

public ErrorDetails.Builder setErrorInfo(ErrorInfo.Builder builderForValue)

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

Parameter
Name Description
builderForValue ErrorInfo.Builder
Returns
Type Description
ErrorDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHelp(Help value)

public ErrorDetails.Builder setHelp(Help value)

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

Parameter
Name Description
value Help
Returns
Type Description
ErrorDetails.Builder

setHelp(Help.Builder builderForValue)

public ErrorDetails.Builder setHelp(Help.Builder builderForValue)

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

Parameter
Name Description
builderForValue Help.Builder
Returns
Type Description
ErrorDetails.Builder

setLocalizedMessage(LocalizedMessage value)

public ErrorDetails.Builder setLocalizedMessage(LocalizedMessage value)

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

Parameter
Name Description
value LocalizedMessage
Returns
Type Description
ErrorDetails.Builder

setLocalizedMessage(LocalizedMessage.Builder builderForValue)

public ErrorDetails.Builder setLocalizedMessage(LocalizedMessage.Builder builderForValue)

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

Parameter
Name Description
builderForValue LocalizedMessage.Builder
Returns
Type Description
ErrorDetails.Builder

setQuotaInfo(QuotaExceededInfo value)

public ErrorDetails.Builder setQuotaInfo(QuotaExceededInfo value)

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

Parameter
Name Description
value QuotaExceededInfo
Returns
Type Description
ErrorDetails.Builder

setQuotaInfo(QuotaExceededInfo.Builder builderForValue)

public ErrorDetails.Builder setQuotaInfo(QuotaExceededInfo.Builder builderForValue)

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

Parameter
Name Description
builderForValue QuotaExceededInfo.Builder
Returns
Type Description
ErrorDetails.Builder

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

public ErrorDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ErrorDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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