public static final class Errors.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder> implements ErrorsOrBuilder
Protobuf type
google.cloud.compute.v1.Errors| Modifier and Type | Method and Description |
|---|---|
Errors.Builder |
addAllErrorDetails(Iterable<? extends ErrorDetails> values)
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
addErrorDetails(ErrorDetails.Builder builderForValue)
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
addErrorDetails(ErrorDetails value)
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
addErrorDetails(int index,
ErrorDetails.Builder builderForValue)
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
addErrorDetails(int index,
ErrorDetails value)
[Output Only] An optional list of messages that contain the error details.
|
ErrorDetails.Builder |
addErrorDetailsBuilder()
[Output Only] An optional list of messages that contain the error details.
|
ErrorDetails.Builder |
addErrorDetailsBuilder(int index)
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Errors |
build() |
Errors |
buildPartial() |
Errors.Builder |
clear() |
Errors.Builder |
clearCode()
[Output Only] The error type identifier for this error.
|
Errors.Builder |
clearErrorDetails()
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Errors.Builder |
clearLocation()
[Output Only] Indicates the field in the request that caused the error.
|
Errors.Builder |
clearMessage()
[Output Only] An optional, human-readable error message.
|
Errors.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Errors.Builder |
clone() |
String |
getCode()
[Output Only] The error type identifier for this error.
|
com.google.protobuf.ByteString |
getCodeBytes()
[Output Only] The error type identifier for this error.
|
Errors |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ErrorDetails |
getErrorDetails(int index)
[Output Only] An optional list of messages that contain the error details.
|
ErrorDetails.Builder |
getErrorDetailsBuilder(int index)
[Output Only] An optional list of messages that contain the error details.
|
List<ErrorDetails.Builder> |
getErrorDetailsBuilderList()
[Output Only] An optional list of messages that contain the error details.
|
int |
getErrorDetailsCount()
[Output Only] An optional list of messages that contain the error details.
|
List<ErrorDetails> |
getErrorDetailsList()
[Output Only] An optional list of messages that contain the error details.
|
ErrorDetailsOrBuilder |
getErrorDetailsOrBuilder(int index)
[Output Only] An optional list of messages that contain the error details.
|
List<? extends ErrorDetailsOrBuilder> |
getErrorDetailsOrBuilderList()
[Output Only] An optional list of messages that contain the error details.
|
String |
getLocation()
[Output Only] Indicates the field in the request that caused the error.
|
com.google.protobuf.ByteString |
getLocationBytes()
[Output Only] Indicates the field in the request that caused the error.
|
String |
getMessage()
[Output Only] An optional, human-readable error message.
|
com.google.protobuf.ByteString |
getMessageBytes()
[Output Only] An optional, human-readable error message.
|
boolean |
hasCode()
[Output Only] The error type identifier for this error.
|
boolean |
hasLocation()
[Output Only] Indicates the field in the request that caused the error.
|
boolean |
hasMessage()
[Output Only] An optional, human-readable error message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Errors.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Errors.Builder |
mergeFrom(Errors other) |
Errors.Builder |
mergeFrom(com.google.protobuf.Message other) |
Errors.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Errors.Builder |
removeErrorDetails(int index)
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
setCode(String value)
[Output Only] The error type identifier for this error.
|
Errors.Builder |
setCodeBytes(com.google.protobuf.ByteString value)
[Output Only] The error type identifier for this error.
|
Errors.Builder |
setErrorDetails(int index,
ErrorDetails.Builder builderForValue)
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
setErrorDetails(int index,
ErrorDetails value)
[Output Only] An optional list of messages that contain the error details.
|
Errors.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Errors.Builder |
setLocation(String value)
[Output Only] Indicates the field in the request that caused the error.
|
Errors.Builder |
setLocationBytes(com.google.protobuf.ByteString value)
[Output Only] Indicates the field in the request that caused the error.
|
Errors.Builder |
setMessage(String value)
[Output Only] An optional, human-readable error message.
|
Errors.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
[Output Only] An optional, human-readable error message.
|
Errors.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Errors.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Errors build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Errors buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Errors.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Errors.Builder>public Errors.Builder mergeFrom(Errors other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public Errors.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Errors.Builder>IOExceptionpublic boolean hasCode()
[Output Only] The error type identifier for this error.
optional string code = 3059181;hasCode in interface ErrorsOrBuilderpublic String getCode()
[Output Only] The error type identifier for this error.
optional string code = 3059181;getCode in interface ErrorsOrBuilderpublic com.google.protobuf.ByteString getCodeBytes()
[Output Only] The error type identifier for this error.
optional string code = 3059181;getCodeBytes in interface ErrorsOrBuilderpublic Errors.Builder setCode(String value)
[Output Only] The error type identifier for this error.
optional string code = 3059181;value - The code to set.public Errors.Builder clearCode()
[Output Only] The error type identifier for this error.
optional string code = 3059181;public Errors.Builder setCodeBytes(com.google.protobuf.ByteString value)
[Output Only] The error type identifier for this error.
optional string code = 3059181;value - The bytes for code to set.public List<ErrorDetails> getErrorDetailsList()
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;getErrorDetailsList in interface ErrorsOrBuilderpublic int getErrorDetailsCount()
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;getErrorDetailsCount in interface ErrorsOrBuilderpublic ErrorDetails getErrorDetails(int index)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;getErrorDetails in interface ErrorsOrBuilderpublic Errors.Builder setErrorDetails(int index, ErrorDetails value)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public Errors.Builder setErrorDetails(int index, ErrorDetails.Builder builderForValue)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public Errors.Builder addErrorDetails(ErrorDetails value)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public Errors.Builder addErrorDetails(int index, ErrorDetails value)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public Errors.Builder addErrorDetails(ErrorDetails.Builder builderForValue)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public Errors.Builder addErrorDetails(int index, ErrorDetails.Builder builderForValue)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public Errors.Builder addAllErrorDetails(Iterable<? extends ErrorDetails> values)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public Errors.Builder clearErrorDetails()
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public Errors.Builder removeErrorDetails(int index)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public ErrorDetails.Builder getErrorDetailsBuilder(int index)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public ErrorDetailsOrBuilder getErrorDetailsOrBuilder(int index)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;getErrorDetailsOrBuilder in interface ErrorsOrBuilderpublic List<? extends ErrorDetailsOrBuilder> getErrorDetailsOrBuilderList()
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;getErrorDetailsOrBuilderList in interface ErrorsOrBuilderpublic ErrorDetails.Builder addErrorDetailsBuilder()
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public ErrorDetails.Builder addErrorDetailsBuilder(int index)
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public List<ErrorDetails.Builder> getErrorDetailsBuilderList()
[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
repeated .google.cloud.compute.v1.ErrorDetails error_details = 274653963;public boolean hasLocation()
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;hasLocation in interface ErrorsOrBuilderpublic String getLocation()
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;getLocation in interface ErrorsOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;getLocationBytes in interface ErrorsOrBuilderpublic Errors.Builder setLocation(String value)
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;value - The location to set.public Errors.Builder clearLocation()
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;public Errors.Builder setLocationBytes(com.google.protobuf.ByteString value)
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;value - The bytes for location to set.public boolean hasMessage()
[Output Only] An optional, human-readable error message.
optional string message = 418054151;hasMessage in interface ErrorsOrBuilderpublic String getMessage()
[Output Only] An optional, human-readable error message.
optional string message = 418054151;getMessage in interface ErrorsOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
[Output Only] An optional, human-readable error message.
optional string message = 418054151;getMessageBytes in interface ErrorsOrBuilderpublic Errors.Builder setMessage(String value)
[Output Only] An optional, human-readable error message.
optional string message = 418054151;value - The message to set.public Errors.Builder clearMessage()
[Output Only] An optional, human-readable error message.
optional string message = 418054151;public Errors.Builder setMessageBytes(com.google.protobuf.ByteString value)
[Output Only] An optional, human-readable error message.
optional string message = 418054151;value - The bytes for message to set.public final Errors.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>public final Errors.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Errors.Builder>Copyright © 2023 Google LLC. All rights reserved.