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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ErrorDetails build()
Returns
buildPartial()
public ErrorDetails buildPartial()
Returns
clear()
public ErrorDetails.Builder clear()
Returns
Overrides
clearErrorInfo()
public ErrorDetails.Builder clearErrorInfo()
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
Returns
clearField(Descriptors.FieldDescriptor field)
public ErrorDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHelp()
public ErrorDetails.Builder clearHelp()
optional .google.cloud.compute.v1.Help help = 3198785;
Returns
clearLocalizedMessage()
public ErrorDetails.Builder clearLocalizedMessage()
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ErrorDetails.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ErrorDetails getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getErrorInfo()
public ErrorInfo getErrorInfo()
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
Returns
getErrorInfoBuilder()
public ErrorInfo.Builder getErrorInfoBuilder()
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
Returns
getErrorInfoOrBuilder()
public ErrorInfoOrBuilder getErrorInfoOrBuilder()
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
Returns
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
getHelpOrBuilder()
public HelpOrBuilder getHelpOrBuilder()
optional .google.cloud.compute.v1.Help help = 3198785;
Returns
getLocalizedMessage()
public LocalizedMessage getLocalizedMessage()
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
Returns
getLocalizedMessageBuilder()
public LocalizedMessage.Builder getLocalizedMessageBuilder()
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
Returns
getLocalizedMessageOrBuilder()
public LocalizedMessageOrBuilder getLocalizedMessageOrBuilder()
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
Returns
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeErrorInfo(ErrorInfo value)
public ErrorDetails.Builder mergeErrorInfo(ErrorInfo value)
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
Parameter
Returns
mergeFrom(ErrorDetails other)
public ErrorDetails.Builder mergeFrom(ErrorDetails other)
Parameter
Returns
public ErrorDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ErrorDetails.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeHelp(Help value)
public ErrorDetails.Builder mergeHelp(Help value)
optional .google.cloud.compute.v1.Help help = 3198785;
Parameter
Returns
mergeLocalizedMessage(LocalizedMessage value)
public ErrorDetails.Builder mergeLocalizedMessage(LocalizedMessage value)
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setErrorInfo(ErrorInfo value)
public ErrorDetails.Builder setErrorInfo(ErrorInfo value)
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
Parameter
Returns
setErrorInfo(ErrorInfo.Builder builderForValue)
public ErrorDetails.Builder setErrorInfo(ErrorInfo.Builder builderForValue)
optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHelp(Help value)
public ErrorDetails.Builder setHelp(Help value)
optional .google.cloud.compute.v1.Help help = 3198785;
Parameter
Returns
setHelp(Help.Builder builderForValue)
public ErrorDetails.Builder setHelp(Help.Builder builderForValue)
optional .google.cloud.compute.v1.Help help = 3198785;
Parameter
Returns
setLocalizedMessage(LocalizedMessage value)
public ErrorDetails.Builder setLocalizedMessage(LocalizedMessage value)
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
Parameter
Returns
setLocalizedMessage(LocalizedMessage.Builder builderForValue)
public ErrorDetails.Builder setLocalizedMessage(LocalizedMessage.Builder builderForValue)
optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ErrorDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides