public final class Warning extends GeneratedMessage implements WarningOrBuilderA warning message that indicates potential problems with the response data.
Protobuf type google.cloud.kms.inventory.v1.Warning
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > WarningImplements
WarningOrBuilderStatic Fields
DISPLAY_MESSAGE_FIELD_NUMBER
public static final int DISPLAY_MESSAGE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
WARNING_CODE_FIELD_NUMBER
public static final int WARNING_CODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Warning getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Warning |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Warning.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
newBuilder(Warning prototype)
public static Warning.Builder newBuilder(Warning prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Warning |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
parseDelimitedFrom(InputStream input)
public static Warning parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Warning parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Warning parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Warning parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Warning parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Warning parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Warning parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Warning parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Warning parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Warning parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Warning parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Warning parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Warning |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Warning> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Warning> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Warning getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Warning |
|
getDisplayMessage()
public String getDisplayMessage()The literal message providing context and details about the warnings.
string display_message = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayMessage. |
getDisplayMessageBytes()
public ByteString getDisplayMessageBytes()The literal message providing context and details about the warnings.
string display_message = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayMessage. |
getParserForType()
public Parser<Warning> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Warning> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getWarningCode()
public Warning.WarningCode getWarningCode()The specific warning code for the displayed message.
.google.cloud.kms.inventory.v1.Warning.WarningCode warning_code = 1;
| Returns | |
|---|---|
| Type | Description |
Warning.WarningCode |
The warningCode. |
getWarningCodeValue()
public int getWarningCodeValue()The specific warning code for the displayed message.
.google.cloud.kms.inventory.v1.Warning.WarningCode warning_code = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for warningCode. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Warning.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Warning.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
toBuilder()
public Warning.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|