public static final class StatusCondition.Builder extends GeneratedMessage.Builder<StatusCondition.Builder> implements StatusConditionOrBuilderStatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
Protobuf type google.container.v1.StatusCondition
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StatusCondition.BuilderImplements
StatusConditionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StatusCondition build()| Returns | |
|---|---|
| Type | Description |
StatusCondition |
|
buildPartial()
public StatusCondition buildPartial()| Returns | |
|---|---|
| Type | Description |
StatusCondition |
|
clear()
public StatusCondition.Builder clear()| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
|
clearCanonicalCode()
public StatusCondition.Builder clearCanonicalCode()Canonical code of the condition.
.google.rpc.Code canonical_code = 3;
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |
clearCode() (deprecated)
public StatusCondition.Builder clearCode()Deprecated. google.container.v1.StatusCondition.code is deprecated. See google/container/v1/cluster_service.proto;l=5831
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
.google.container.v1.StatusCondition.Code code = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |
clearMessage()
public StatusCondition.Builder clearMessage()Human-friendly representation of the condition
string message = 2;
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |
getCanonicalCode()
public Code getCanonicalCode()Canonical code of the condition.
.google.rpc.Code canonical_code = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Code |
The canonicalCode. |
getCanonicalCodeValue()
public int getCanonicalCodeValue()Canonical code of the condition.
.google.rpc.Code canonical_code = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for canonicalCode. |
getCode() (deprecated)
public StatusCondition.Code getCode()Deprecated. google.container.v1.StatusCondition.code is deprecated. See google/container/v1/cluster_service.proto;l=5831
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
.google.container.v1.StatusCondition.Code code = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Code |
The code. |
getCodeValue() (deprecated)
public int getCodeValue()Deprecated. google.container.v1.StatusCondition.code is deprecated. See google/container/v1/cluster_service.proto;l=5831
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
.google.container.v1.StatusCondition.Code code = 1 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public StatusCondition getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StatusCondition |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()Human-friendly representation of the condition
string message = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Human-friendly representation of the condition
string message = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StatusCondition other)
public StatusCondition.Builder mergeFrom(StatusCondition other)| Parameter | |
|---|---|
| Name | Description |
other |
StatusCondition |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StatusCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StatusCondition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
|
setCanonicalCode(Code value)
public StatusCondition.Builder setCanonicalCode(Code value)Canonical code of the condition.
.google.rpc.Code canonical_code = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.CodeThe canonicalCode to set. |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |
setCanonicalCodeValue(int value)
public StatusCondition.Builder setCanonicalCodeValue(int value)Canonical code of the condition.
.google.rpc.Code canonical_code = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for canonicalCode to set. |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |
setCode(StatusCondition.Code value) (deprecated)
public StatusCondition.Builder setCode(StatusCondition.Code value)Deprecated. google.container.v1.StatusCondition.code is deprecated. See google/container/v1/cluster_service.proto;l=5831
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
.google.container.v1.StatusCondition.Code code = 1 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
StatusCondition.CodeThe code to set. |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |
setCodeValue(int value) (deprecated)
public StatusCondition.Builder setCodeValue(int value)Deprecated. google.container.v1.StatusCondition.code is deprecated. See google/container/v1/cluster_service.proto;l=5831
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
.google.container.v1.StatusCondition.Code code = 1 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for code to set. |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |
setMessage(String value)
public StatusCondition.Builder setMessage(String value)Human-friendly representation of the condition
string message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public StatusCondition.Builder setMessageBytes(ByteString value)Human-friendly representation of the condition
string message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
StatusCondition.Builder |
This builder for chaining. |