public static final class ErrorDetails.Builder extends GeneratedMessage.Builder<ErrorDetails.Builder> implements ErrorDetailsOrBuilderContainer for structured error details providing additional context specific to the encountered error code.
Protobuf type google.cloud.compute.v1.ErrorDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ErrorDetails.BuilderImplements
ErrorDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearErrorInfo()
public ErrorDetails.Builder clearErrorInfo()Error information containing structured domain, reason, and metadata.
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
| Returns | |
|---|---|
| Type | Description |
ErrorDetails.Builder |
|
clearHelp()
public ErrorDetails.Builder clearHelp()Links and information to help the user resolve the error.
optional .google.cloud.compute.v1.Help help = 3198785;
| Returns | |
|---|---|
| Type | Description |
ErrorDetails.Builder |
|
clearLocalizedMessage()
public ErrorDetails.Builder clearLocalizedMessage()A localized human-readable error message intended for end users.
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
| Returns | |
|---|---|
| Type | Description |
ErrorDetails.Builder |
|
clearQuotaInfo()
public ErrorDetails.Builder clearQuotaInfo()Details about quota limits and metrics when a quota is exceeded.
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
| Returns | |
|---|---|
| Type | Description |
ErrorDetails.Builder |
|
getDefaultInstanceForType()
public ErrorDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ErrorDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorInfo()
public ErrorInfo getErrorInfo()Error information containing structured domain, reason, and metadata.
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
| Returns | |
|---|---|
| Type | Description |
ErrorInfo |
The errorInfo. |
getErrorInfoBuilder()
public ErrorInfo.Builder getErrorInfoBuilder()Error information containing structured domain, reason, and metadata.
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
| Returns | |
|---|---|
| Type | Description |
ErrorInfo.Builder |
|
getErrorInfoOrBuilder()
public ErrorInfoOrBuilder getErrorInfoOrBuilder()Error information containing structured domain, reason, and metadata.
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
| Returns | |
|---|---|
| Type | Description |
ErrorInfoOrBuilder |
|
getHelp()
public Help getHelp()Links and information to help the user resolve the error.
optional .google.cloud.compute.v1.Help help = 3198785;
| Returns | |
|---|---|
| Type | Description |
Help |
The help. |
getHelpBuilder()
public Help.Builder getHelpBuilder()Links and information to help the user resolve the error.
optional .google.cloud.compute.v1.Help help = 3198785;
| Returns | |
|---|---|
| Type | Description |
Help.Builder |
|
getHelpOrBuilder()
public HelpOrBuilder getHelpOrBuilder()Links and information to help the user resolve the error.
optional .google.cloud.compute.v1.Help help = 3198785;
| Returns | |
|---|---|
| Type | Description |
HelpOrBuilder |
|
getLocalizedMessage()
public LocalizedMessage getLocalizedMessage()A localized human-readable error message intended for end users.
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
| Returns | |
|---|---|
| Type | Description |
LocalizedMessage |
The localizedMessage. |
getLocalizedMessageBuilder()
public LocalizedMessage.Builder getLocalizedMessageBuilder()A localized human-readable error message intended for end users.
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
| Returns | |
|---|---|
| Type | Description |
LocalizedMessage.Builder |
|
getLocalizedMessageOrBuilder()
public LocalizedMessageOrBuilder getLocalizedMessageOrBuilder()A localized human-readable error message intended for end users.
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
| Returns | |
|---|---|
| Type | Description |
LocalizedMessageOrBuilder |
|
getQuotaInfo()
public QuotaExceededInfo getQuotaInfo()Details about quota limits and metrics when a quota is exceeded.
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
| Returns | |
|---|---|
| Type | Description |
QuotaExceededInfo |
The quotaInfo. |
getQuotaInfoBuilder()
public QuotaExceededInfo.Builder getQuotaInfoBuilder()Details about quota limits and metrics when a quota is exceeded.
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
| Returns | |
|---|---|
| Type | Description |
QuotaExceededInfo.Builder |
|
getQuotaInfoOrBuilder()
public QuotaExceededInfoOrBuilder getQuotaInfoOrBuilder()Details about quota limits and metrics when a quota is exceeded.
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
| Returns | |
|---|---|
| Type | Description |
QuotaExceededInfoOrBuilder |
|
hasErrorInfo()
public boolean hasErrorInfo()Error information containing structured domain, reason, and metadata.
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the errorInfo field is set. |
hasHelp()
public boolean hasHelp()Links and information to help the user resolve the error.
optional .google.cloud.compute.v1.Help help = 3198785;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the help field is set. |
hasLocalizedMessage()
public boolean hasLocalizedMessage()A localized human-readable error message intended for end users.
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the localizedMessage field is set. |
hasQuotaInfo()
public boolean hasQuotaInfo()Details about quota limits and metrics when a quota is exceeded.
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the quotaInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeErrorInfo(ErrorInfo value)
public ErrorDetails.Builder mergeErrorInfo(ErrorInfo value)Error information containing structured domain, reason, and metadata.
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ErrorDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ErrorDetails.Builder |
|
mergeHelp(Help value)
public ErrorDetails.Builder mergeHelp(Help value)Links and information to help the user resolve the error.
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)A localized human-readable error message intended for end users.
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)Details about quota limits and metrics when a quota is exceeded.
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
| Parameter | |
|---|---|
| Name | Description |
value |
QuotaExceededInfo |
| Returns | |
|---|---|
| Type | Description |
ErrorDetails.Builder |
|
setErrorInfo(ErrorInfo value)
public ErrorDetails.Builder setErrorInfo(ErrorInfo value)Error information containing structured domain, reason, and metadata.
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)Error information containing structured domain, reason, and metadata.
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ErrorInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ErrorDetails.Builder |
|
setHelp(Help value)
public ErrorDetails.Builder setHelp(Help value)Links and information to help the user resolve the error.
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)Links and information to help the user resolve the error.
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)A localized human-readable error message intended for end users.
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)A localized human-readable error message intended for end users.
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)Details about quota limits and metrics when a quota is exceeded.
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)Details about quota limits and metrics when a quota is exceeded.
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
QuotaExceededInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ErrorDetails.Builder |
|