Class OperatorState (1.44.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
Type Description
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OperatorState getDefaultInstance()
Returns
Type Description
OperatorState

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OperatorState.Builder newBuilder()
Returns
Type Description
OperatorState.Builder

newBuilder(OperatorState prototype)

public static OperatorState.Builder newBuilder(OperatorState prototype)
Parameter
Name Description
prototype OperatorState
Returns
Type Description
OperatorState.Builder

parseDelimitedFrom(InputStream input)

public static OperatorState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperatorState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperatorState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorState
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OperatorState parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OperatorState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperatorState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperatorState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OperatorState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperatorState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperatorState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OperatorState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperatorState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorState
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OperatorState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperatorState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperatorState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorState
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OperatorState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OperatorState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperatorState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperatorState
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OperatorState> parser()
Returns
Type Description
Parser<OperatorState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public OperatorState getDefaultInstanceForType()
Returns
Type Description
OperatorState

getDeploymentState()

public DeploymentState getDeploymentState()

The state of the Operator's deployment

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

Returns
Type Description
DeploymentState

The deploymentState.

getDeploymentStateValue()

public int getDeploymentStateValue()

The state of the Operator's deployment

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
InstallError

getErrorsCount()

public int getErrorsCount()

Install errors.

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

Returns
Type Description
int

getErrorsList()

public List<InstallError> getErrorsList()

Install errors.

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

Returns
Type Description
List<InstallError>

getErrorsOrBuilder(int index)

public InstallErrorOrBuilder getErrorsOrBuilder(int index)

Install errors.

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

Parameter
Name Description
index int
Returns
Type Description
InstallErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends InstallErrorOrBuilder> getErrorsOrBuilderList()

Install errors.

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

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

getParserForType()

public Parser<OperatorState> getParserForType()
Returns
Type Description
Parser<OperatorState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

The semenatic version number of the operator

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The semenatic version number of the operator

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OperatorState.Builder newBuilderForType()
Returns
Type Description
OperatorState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperatorState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OperatorState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OperatorState.Builder toBuilder()
Returns
Type Description
OperatorState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException