public final class StatusCondition extends GeneratedMessageV3 implements StatusConditionOrBuilder
StatusCondition describes why a cluster or a node pool has a certain status
(e.g., ERROR or DEGRADED).
Protobuf type google.container.v1beta1.StatusCondition
Static Fields
CANONICAL_CODE_FIELD_NUMBER
public static final int CANONICAL_CODE_FIELD_NUMBER
Field Value
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
Field Value
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StatusCondition getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StatusCondition.Builder newBuilder()
Returns
newBuilder(StatusCondition prototype)
public static StatusCondition.Builder newBuilder(StatusCondition prototype)
Parameter
Returns
public static StatusCondition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatusCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StatusCondition parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StatusCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StatusCondition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatusCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusCondition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StatusCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatusCondition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatusCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StatusCondition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StatusCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StatusCondition> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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()
public StatusCondition.Code getCode()
Machine-friendly representation of the condition
Deprecated. Use canonical_code instead.
.google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true];
Returns
getCodeValue()
public int getCodeValue()
Machine-friendly representation of the condition
Deprecated. Use canonical_code instead.
.google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true];
Returns
Type | Description |
int | The enum numeric value on the wire for code.
|
getDefaultInstanceForType()
public StatusCondition getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<StatusCondition> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StatusCondition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StatusCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StatusCondition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions