Class OperatorState (1.12.0)

public final class OperatorState extends GeneratedMessageV3 implements OperatorStateOrBuilder

State information for an ACM's Operator

Protobuf type google.cloud.gkehub.configmanagement.v1alpha.OperatorState

Static Fields

DEPLOYMENT_STATE_FIELD_NUMBER

public static final int DEPLOYMENT_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OperatorState getDefaultInstance()
Returns
TypeDescription
OperatorState

getDescriptor()

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

newBuilder()

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

newBuilder(OperatorState prototype)

public static OperatorState.Builder newBuilder(OperatorState prototype)
Parameter
NameDescription
prototypeOperatorState
Returns
TypeDescription
OperatorState.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OperatorState getDefaultInstanceForType()
Returns
TypeDescription
OperatorState

getDeploymentState()

public DeploymentState getDeploymentState()

The state of the Operator's deployment

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState deployment_state = 2;

Returns
TypeDescription
DeploymentState

The deploymentState.

getDeploymentStateValue()

public int getDeploymentStateValue()

The state of the Operator's deployment

.google.cloud.gkehub.configmanagement.v1alpha.DeploymentState deployment_state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for deploymentState.

getErrors(int index)

public InstallError getErrors(int index)

Install errors.

repeated .google.cloud.gkehub.configmanagement.v1alpha.InstallError errors = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstallError

getErrorsCount()

public int getErrorsCount()

Install errors.

repeated .google.cloud.gkehub.configmanagement.v1alpha.InstallError errors = 3;

Returns
TypeDescription
int

getErrorsList()

public List<InstallError> getErrorsList()

Install errors.

repeated .google.cloud.gkehub.configmanagement.v1alpha.InstallError errors = 3;

Returns
TypeDescription
List<InstallError>

getErrorsOrBuilder(int index)

public InstallErrorOrBuilder getErrorsOrBuilder(int index)

Install errors.

repeated .google.cloud.gkehub.configmanagement.v1alpha.InstallError errors = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstallErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends InstallErrorOrBuilder> getErrorsOrBuilderList()

Install errors.

repeated .google.cloud.gkehub.configmanagement.v1alpha.InstallError errors = 3;

Returns
TypeDescription
List<? extends com.google.cloud.gkehub.configmanagement.v1alpha.InstallErrorOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersion()

public String getVersion()

The semenatic version number of the operator

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The semenatic version number of the operator

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

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 OperatorState.Builder newBuilderForType()
Returns
TypeDescription
OperatorState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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