Class StatusCondition (2.3.6)

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
TypeDescription
int

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StatusCondition getDefaultInstance()
Returns
TypeDescription
StatusCondition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StatusCondition.Builder newBuilder()
Returns
TypeDescription
StatusCondition.Builder

newBuilder(StatusCondition prototype)

public static StatusCondition.Builder newBuilder(StatusCondition prototype)
Parameter
NameDescription
prototypeStatusCondition
Returns
TypeDescription
StatusCondition.Builder

parseDelimitedFrom(InputStream input)

public static StatusCondition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatusCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StatusCondition parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StatusCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StatusCondition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StatusCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StatusCondition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StatusCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StatusCondition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatusCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StatusCondition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StatusCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatusCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StatusCondition> parser()
Returns
TypeDescription
Parser<StatusCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCanonicalCode()

public Code getCanonicalCode()

Canonical code of the condition.

.google.rpc.Code canonical_code = 3;

Returns
TypeDescription
com.google.rpc.Code

The canonicalCode.

getCanonicalCodeValue()

public int getCanonicalCodeValue()

Canonical code of the condition.

.google.rpc.Code canonical_code = 3;

Returns
TypeDescription
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
TypeDescription
StatusCondition.Code

The code.

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
TypeDescription
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public StatusCondition getDefaultInstanceForType()
Returns
TypeDescription
StatusCondition

getMessage()

public String getMessage()

Human-friendly representation of the condition

string message = 2;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Human-friendly representation of the condition

string message = 2;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

public Parser<StatusCondition> getParserForType()
Returns
TypeDescription
Parser<StatusCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StatusCondition.Builder newBuilderForType()
Returns
TypeDescription
StatusCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StatusCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StatusCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StatusCondition.Builder toBuilder()
Returns
TypeDescription
StatusCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException