public final class Errors extends GeneratedMessageV3 implements ErrorsOrBuilder
Protobuf type google.cloud.compute.v1.Errors
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ERROR_DETAILS_FIELD_NUMBER
public static final int ERROR_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Errors getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Errors.Builder newBuilder()
newBuilder(Errors prototype)
public static Errors.Builder newBuilder(Errors prototype)
Parameter |
---|
Name | Description |
prototype | Errors
|
public static Errors parseDelimitedFrom(InputStream input)
public static Errors parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Errors parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Errors parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Errors parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Errors parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Errors parseFrom(CodedInputStream input)
public static Errors parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Errors parseFrom(InputStream input)
public static Errors parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Errors parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Errors parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Errors> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCode()
[Output Only] The error type identifier for this error.
optional string code = 3059181;
Returns |
---|
Type | Description |
String | The code.
|
getCodeBytes()
public ByteString getCodeBytes()
[Output Only] The error type identifier for this error.
optional string code = 3059181;
Returns |
---|
Type | Description |
ByteString | The bytes for code.
|
getDefaultInstanceForType()
public Errors getDefaultInstanceForType()
getErrorDetails(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
|
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;
Returns |
---|
Type | Description |
int | |
getErrorDetailsList()
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;
getErrorDetailsOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getErrorDetailsOrBuilderList()
public 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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.ErrorDetailsOrBuilder> | |
getLocation()
public String getLocation()
[Output Only] Indicates the field in the request that caused the error. This property is optional.
optional string location = 290430901;
Returns |
---|
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;
Returns |
---|
Type | Description |
ByteString | The bytes for location.
|
getMessage()
public String getMessage()
[Output Only] An optional, human-readable error message.
optional string message = 418054151;
Returns |
---|
Type | Description |
String | The message.
|
getMessageBytes()
public ByteString getMessageBytes()
[Output Only] An optional, human-readable error message.
optional string message = 418054151;
Returns |
---|
Type | Description |
ByteString | The bytes for message.
|
getParserForType()
public Parser<Errors> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasCode()
[Output Only] The error type identifier for this error.
optional string code = 3059181;
Returns |
---|
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;
Returns |
---|
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;
Returns |
---|
Type | Description |
boolean | Whether the message field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Errors.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Errors.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Errors.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides