Send feedback
Class ErrorDetails.Builder (1.62.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.62.0 keyboard_arrow_down
public static final class ErrorDetails . Builder extends GeneratedMessageV3 . Builder<ErrorDetails . Builder > implements ErrorDetailsOrBuilder
Protobuf type google.cloud.compute.v1.ErrorDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorDetails . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ErrorDetails build ()
buildPartial()
public ErrorDetails buildPartial ()
clear()
public ErrorDetails . Builder clear ()
Overrides
clearErrorInfo()
public ErrorDetails . Builder clearErrorInfo ()
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
clearField(Descriptors.FieldDescriptor field)
public ErrorDetails . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearHelp()
public ErrorDetails . Builder clearHelp ()
optional .google.cloud.compute.v1.Help help = 3198785;
clearLocalizedMessage()
public ErrorDetails . Builder clearLocalizedMessage ()
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorDetails . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearQuotaInfo()
public ErrorDetails . Builder clearQuotaInfo ()
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
clone()
public ErrorDetails . Builder clone ()
Overrides
getDefaultInstanceForType()
public ErrorDetails getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
getErrorInfoOrBuilder()
public ErrorInfoOrBuilder getErrorInfoOrBuilder ()
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
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;
getHelpOrBuilder()
public HelpOrBuilder getHelpOrBuilder ()
optional .google.cloud.compute.v1.Help help = 3198785;
getLocalizedMessage()
public LocalizedMessage getLocalizedMessage ()
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
getLocalizedMessageBuilder()
public LocalizedMessage . Builder getLocalizedMessageBuilder ()
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
getLocalizedMessageOrBuilder()
public LocalizedMessageOrBuilder getLocalizedMessageOrBuilder ()
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
getQuotaInfo()
public QuotaExceededInfo getQuotaInfo ()
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
getQuotaInfoBuilder()
public QuotaExceededInfo . Builder getQuotaInfoBuilder ()
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
getQuotaInfoOrBuilder()
public QuotaExceededInfoOrBuilder getQuotaInfoOrBuilder ()
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
hasErrorInfo()
public boolean hasErrorInfo ()
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
Returns
Type
Description
boolean
Whether the errorInfo field is set.
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeErrorInfo(ErrorInfo value)
public ErrorDetails . Builder mergeErrorInfo ( ErrorInfo value )
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
mergeFrom(ErrorDetails other)
public ErrorDetails . Builder mergeFrom ( ErrorDetails other )
public ErrorDetails . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ErrorDetails . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeHelp(Help value)
public ErrorDetails . Builder mergeHelp ( Help value )
optional .google.cloud.compute.v1.Help help = 3198785;
Parameter
Name
Description
value
Help
mergeLocalizedMessage(LocalizedMessage value)
public ErrorDetails . Builder mergeLocalizedMessage ( LocalizedMessage value )
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
mergeQuotaInfo(QuotaExceededInfo value)
public ErrorDetails . Builder mergeQuotaInfo ( QuotaExceededInfo value )
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorDetails . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setErrorInfo(ErrorInfo value)
public ErrorDetails . Builder setErrorInfo ( ErrorInfo value )
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
setErrorInfo(ErrorInfo.Builder builderForValue)
public ErrorDetails . Builder setErrorInfo ( ErrorInfo . Builder builderForValue )
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorDetails . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setHelp(Help value)
public ErrorDetails . Builder setHelp ( Help value )
optional .google.cloud.compute.v1.Help help = 3198785;
Parameter
Name
Description
value
Help
setHelp(Help.Builder builderForValue)
public ErrorDetails . Builder setHelp ( Help . Builder builderForValue )
optional .google.cloud.compute.v1.Help help = 3198785;
setLocalizedMessage(LocalizedMessage value)
public ErrorDetails . Builder setLocalizedMessage ( LocalizedMessage value )
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
setLocalizedMessage(LocalizedMessage.Builder builderForValue)
public ErrorDetails . Builder setLocalizedMessage ( LocalizedMessage . Builder builderForValue )
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
setQuotaInfo(QuotaExceededInfo value)
public ErrorDetails . Builder setQuotaInfo ( QuotaExceededInfo value )
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
setQuotaInfo(QuotaExceededInfo.Builder builderForValue)
public ErrorDetails . Builder setQuotaInfo ( QuotaExceededInfo . Builder builderForValue )
optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ErrorDetails . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorDetails . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]