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.v1.StatusCondition
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CANONICAL_CODE_FIELD_NUMBER
public static final int CANONICAL_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CODE_FIELD_NUMBER
public static final int CODE_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 StatusCondition getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StatusCondition.Builder newBuilder()
newBuilder(StatusCondition prototype)
public static StatusCondition.Builder newBuilder(StatusCondition prototype)
public static StatusCondition parseDelimitedFrom(InputStream input)
public static StatusCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StatusCondition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StatusCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StatusCondition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatusCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatusCondition parseFrom(CodedInputStream input)
public static StatusCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StatusCondition parseFrom(InputStream input)
public static StatusCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StatusCondition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StatusCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StatusCondition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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() (deprecated)
public StatusCondition.Code getCode()
Deprecated. google.container.v1.StatusCondition.code is deprecated. See
google/container/v1/cluster_service.proto;l=4471
Machine-friendly representation of the condition
Deprecated. Use canonical_code instead.
.google.container.v1.StatusCondition.Code code = 1 [deprecated = true];
getCodeValue() (deprecated)
public int getCodeValue()
Deprecated. google.container.v1.StatusCondition.code is deprecated. See
google/container/v1/cluster_service.proto;l=4471
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()
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.
|
getParserForType()
public Parser<StatusCondition> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StatusCondition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StatusCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public StatusCondition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides