- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class Errors.Builder extends GeneratedMessageV3.Builder<Errors.Builder> implements ErrorsOrBuilder Protobuf type google.cloud.compute.v1.Errors
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Errors.BuilderImplements
ErrorsOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Errors.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Errors.Builder |
build()
public Errors build()| Type | Description |
| Errors |
buildPartial()
public Errors buildPartial()| Type | Description |
| Errors |
clear()
public Errors.Builder clear()| Type | Description |
| Errors.Builder |
clearCode()
public Errors.Builder clearCode()[Output Only] The error type identifier for this error.
optional string code = 3059181;
| Type | Description |
| Errors.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Errors.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Errors.Builder |
clearLocation()
public Errors.Builder clearLocation()[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;
| Type | Description |
| Errors.Builder | This builder for chaining. |
clearMessage()
public Errors.Builder clearMessage()[Output Only] An optional, human-readable error message.
optional string message = 418054151;
| Type | Description |
| Errors.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Errors.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Errors.Builder |
clone()
public Errors.Builder clone()| Type | Description |
| Errors.Builder |
getCode()
public String getCode()[Output Only] The error type identifier for this error.
optional string code = 3059181;
| Type | Description |
| String | The code. |
getCodeBytes()
public ByteString getCodeBytes()[Output Only] The error type identifier for this error.
optional string code = 3059181;
| Type | Description |
| ByteString | The bytes for code. |
getDefaultInstanceForType()
public Errors getDefaultInstanceForType()| Type | Description |
| Errors |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getLocation()
public String getLocation()[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;
| Type | Description |
| String | The location. |
getLocationBytes()
public ByteString getLocationBytes()[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;
| Type | Description |
| ByteString | The bytes for location. |
getMessage()
public String getMessage()[Output Only] An optional, human-readable error message.
optional string message = 418054151;
| Type | Description |
| String | The message. |
getMessageBytes()
public ByteString getMessageBytes()[Output Only] An optional, human-readable error message.
optional string message = 418054151;
| Type | Description |
| ByteString | The bytes for message. |
hasCode()
public boolean hasCode()[Output Only] The error type identifier for this error.
optional string code = 3059181;
| Type | Description |
| boolean | Whether the code field is set. |
hasLocation()
public boolean hasLocation()[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;
| Type | Description |
| boolean | Whether the location field is set. |
hasMessage()
public boolean hasMessage()[Output Only] An optional, human-readable error message.
optional string message = 418054151;
| Type | Description |
| boolean | Whether the message field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(Errors other)
public Errors.Builder mergeFrom(Errors other)| Name | Description |
| other | Errors |
| Type | Description |
| Errors.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Errors.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Errors.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Errors.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Errors.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Errors.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Errors.Builder |
setCode(String value)
public Errors.Builder setCode(String value)[Output Only] The error type identifier for this error.
optional string code = 3059181;
| Name | Description |
| value | StringThe code to set. |
| Type | Description |
| Errors.Builder | This builder for chaining. |
setCodeBytes(ByteString value)
public Errors.Builder setCodeBytes(ByteString value)[Output Only] The error type identifier for this error.
optional string code = 3059181;
| Name | Description |
| value | ByteStringThe bytes for code to set. |
| Type | Description |
| Errors.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Errors.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Errors.Builder |
setLocation(String value)
public 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;
| Name | Description |
| value | StringThe location to set. |
| Type | Description |
| Errors.Builder | This builder for chaining. |
setLocationBytes(ByteString value)
public Errors.Builder setLocationBytes(ByteString value)[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;
| Name | Description |
| value | ByteStringThe bytes for location to set. |
| Type | Description |
| Errors.Builder | This builder for chaining. |
setMessage(String value)
public Errors.Builder setMessage(String value)[Output Only] An optional, human-readable error message.
optional string message = 418054151;
| Name | Description |
| value | StringThe message to set. |
| Type | Description |
| Errors.Builder | This builder for chaining. |
setMessageBytes(ByteString value)
public Errors.Builder setMessageBytes(ByteString value)[Output Only] An optional, human-readable error message.
optional string message = 418054151;
| Name | Description |
| value | ByteStringThe bytes for message to set. |
| Type | Description |
| Errors.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Errors.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Errors.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Errors.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Errors.Builder |