public static final class Warning.Builder extends GeneratedMessage.Builder<Warning.Builder> implements WarningOrBuilderA warning message that indicates potential problems with the response data.
Protobuf type google.cloud.kms.inventory.v1.Warning
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Warning.BuilderImplements
WarningOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Warning build()| Returns | |
|---|---|
| Type | Description |
Warning |
|
buildPartial()
public Warning buildPartial()| Returns | |
|---|---|
| Type | Description |
Warning |
|
clear()
public Warning.Builder clear()| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
clearDisplayMessage()
public Warning.Builder clearDisplayMessage()The literal message providing context and details about the warnings.
string display_message = 2;
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
This builder for chaining. |
clearWarningCode()
public Warning.Builder clearWarningCode()The specific warning code for the displayed message.
.google.cloud.kms.inventory.v1.Warning.WarningCode warning_code = 1;
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Warning getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Warning |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Warning other)
public Warning.Builder mergeFrom(Warning other)| Parameter | |
|---|---|
| Name | Description |
other |
Warning |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Warning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Warning.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
|
setDisplayMessage(String value)
public Warning.Builder setDisplayMessage(String value)The literal message providing context and details about the warnings.
string display_message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayMessage to set. |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
This builder for chaining. |
setDisplayMessageBytes(ByteString value)
public Warning.Builder setDisplayMessageBytes(ByteString value)The literal message providing context and details about the warnings.
string display_message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayMessage to set. |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
This builder for chaining. |
setWarningCode(Warning.WarningCode value)
public Warning.Builder setWarningCode(Warning.WarningCode value)The specific warning code for the displayed message.
.google.cloud.kms.inventory.v1.Warning.WarningCode warning_code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Warning.WarningCodeThe warningCode to set. |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
This builder for chaining. |
setWarningCodeValue(int value)
public Warning.Builder setWarningCodeValue(int value)The specific warning code for the displayed message.
.google.cloud.kms.inventory.v1.Warning.WarningCode warning_code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for warningCode to set. |
| Returns | |
|---|---|
| Type | Description |
Warning.Builder |
This builder for chaining. |