Package com.google.cloud.compute.v1
Class Errors.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Errors.Builder>
com.google.cloud.compute.v1.Errors.Builder
- All Implemented Interfaces:
ErrorsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Errors
public static final class Errors.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Errors.Builder>
implements ErrorsOrBuilder
Protobuf type
google.cloud.compute.v1.Errors-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrorDetails(Iterable<? extends ErrorDetails> values) [Output Only] An optional list of messages that contain the error details.addErrorDetails(int index, ErrorDetails value) [Output Only] An optional list of messages that contain the error details.addErrorDetails(int index, ErrorDetails.Builder builderForValue) [Output Only] An optional list of messages that contain the error details.addErrorDetails(ErrorDetails value) [Output Only] An optional list of messages that contain the error details.addErrorDetails(ErrorDetails.Builder builderForValue) [Output Only] An optional list of messages that contain the error details.[Output Only] An optional list of messages that contain the error details.addErrorDetailsBuilder(int index) [Output Only] An optional list of messages that contain the error details.build()clear()[Output Only] The error type identifier for this error.[Output Only] An optional list of messages that contain the error details.[Output Only] Indicates the field in the request that caused the error.[Output Only] An optional, human-readable error message.getCode()[Output Only] The error type identifier for this error.com.google.protobuf.ByteString[Output Only] The error type identifier for this error.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetErrorDetails(int index) [Output Only] An optional list of messages that contain the error details.getErrorDetailsBuilder(int index) [Output Only] An optional list of messages that contain the error details.[Output Only] An optional list of messages that contain the error details.int[Output Only] An optional list of messages that contain the error details.[Output Only] An optional list of messages that contain the error details.getErrorDetailsOrBuilder(int index) [Output Only] An optional list of messages that contain the error details.List<? extends ErrorDetailsOrBuilder>[Output Only] An optional list of messages that contain the error details.[Output Only] Indicates the field in the request that caused the error.com.google.protobuf.ByteString[Output Only] Indicates the field in the request that caused the error.[Output Only] An optional, human-readable error message.com.google.protobuf.ByteString[Output Only] An optional, human-readable error message.booleanhasCode()[Output Only] The error type identifier for this error.boolean[Output Only] Indicates the field in the request that caused the error.boolean[Output Only] An optional, human-readable error message.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeErrorDetails(int index) [Output Only] An optional list of messages that contain the error details.[Output Only] The error type identifier for this error.setCodeBytes(com.google.protobuf.ByteString value) [Output Only] The error type identifier for this error.setErrorDetails(int index, ErrorDetails value) [Output Only] An optional list of messages that contain the error details.setErrorDetails(int index, ErrorDetails.Builder builderForValue) [Output Only] An optional list of messages that contain the error details.setLocation(String value) [Output Only] Indicates the field in the request that caused the error.setLocationBytes(com.google.protobuf.ByteString value) [Output Only] Indicates the field in the request that caused the error.setMessage(String value) [Output Only] An optional, human-readable error message.setMessageBytes(com.google.protobuf.ByteString value) [Output Only] An optional, human-readable error message.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Errors.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Errors.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Errors.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Errors.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Errors.Builder>
-
mergeFrom
public Errors.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Errors.Builder>- Throws:
IOException
-
hasCode
public boolean hasCode()[Output Only] The error type identifier for this error.
optional string code = 3059181;- Specified by:
hasCodein interfaceErrorsOrBuilder- Returns:
- Whether the code field is set.
-
getCode
[Output Only] The error type identifier for this error.
optional string code = 3059181;- Specified by:
getCodein interfaceErrorsOrBuilder- Returns:
- The code.
-
getCodeBytes
public com.google.protobuf.ByteString getCodeBytes()[Output Only] The error type identifier for this error.
optional string code = 3059181;- Specified by:
getCodeBytesin interfaceErrorsOrBuilder- Returns:
- The bytes for code.
-
setCode
[Output Only] The error type identifier for this error.
optional string code = 3059181;- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
[Output Only] The error type identifier for this error.
optional string code = 3059181;- Returns:
- This builder for chaining.
-
setCodeBytes
[Output Only] The error type identifier for this error.
optional string code = 3059181;- Parameters:
value- The bytes for code to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getErrorDetailsListin interfaceErrorsOrBuilder
-
getErrorDetailsCount
public 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;- Specified by:
getErrorDetailsCountin interfaceErrorsOrBuilder
-
getErrorDetails
[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;- Specified by:
getErrorDetailsin interfaceErrorsOrBuilder
-
setErrorDetails
[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; -
setErrorDetails
[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; -
addErrorDetails
[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; -
addErrorDetails
[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; -
addErrorDetails
[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; -
addErrorDetails
[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; -
addAllErrorDetails
[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; -
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; -
removeErrorDetails
[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; -
getErrorDetailsBuilder
[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
[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;- Specified by:
getErrorDetailsOrBuilderin interfaceErrorsOrBuilder
-
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;- Specified by:
getErrorDetailsOrBuilderListin interfaceErrorsOrBuilder
-
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; -
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; -
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; -
hasLocation
public boolean hasLocation()[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;- Specified by:
hasLocationin interfaceErrorsOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;- Specified by:
getLocationin interfaceErrorsOrBuilder- Returns:
- The location.
-
getLocationBytes
public 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;- Specified by:
getLocationBytesin interfaceErrorsOrBuilder- Returns:
- The bytes for location.
-
setLocation
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;- Returns:
- This builder for chaining.
-
setLocationBytes
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
hasMessage
public boolean hasMessage()[Output Only] An optional, human-readable error message.
optional string message = 418054151;- Specified by:
hasMessagein interfaceErrorsOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
[Output Only] An optional, human-readable error message.
optional string message = 418054151;- Specified by:
getMessagein interfaceErrorsOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()[Output Only] An optional, human-readable error message.
optional string message = 418054151;- Specified by:
getMessageBytesin interfaceErrorsOrBuilder- Returns:
- The bytes for message.
-
setMessage
[Output Only] An optional, human-readable error message.
optional string message = 418054151;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
[Output Only] An optional, human-readable error message.
optional string message = 418054151;- Returns:
- This builder for chaining.
-
setMessageBytes
[Output Only] An optional, human-readable error message.
optional string message = 418054151;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-