Class ConfigSyncState (1.46.0)

public final class ConfigSyncState extends GeneratedMessageV3 implements ConfigSyncStateOrBuilder

State information for ConfigSync

Protobuf type google.cloud.gkehub.configmanagement.v1.ConfigSyncState

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

REPOSYNC_CRD_FIELD_NUMBER

public static final int REPOSYNC_CRD_FIELD_NUMBER
Field Value
Type Description
int

ROOTSYNC_CRD_FIELD_NUMBER

public static final int ROOTSYNC_CRD_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

SYNC_STATE_FIELD_NUMBER

public static final int SYNC_STATE_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 ConfigSyncState getDefaultInstance()
Returns
Type Description
ConfigSyncState

getDescriptor()

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

newBuilder()

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

newBuilder(ConfigSyncState prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ConfigSyncState getDefaultInstanceForType()
Returns
Type Description
ConfigSyncState

getDeploymentState()

public ConfigSyncDeploymentState getDeploymentState()

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncDeploymentState

The deploymentState.

getDeploymentStateOrBuilder()

public ConfigSyncDeploymentStateOrBuilder getDeploymentStateOrBuilder()

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncDeploymentStateOrBuilder

getErrors(int index)

public ConfigSyncError getErrors(int index)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncError

getErrorsCount()

public int getErrorsCount()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Returns
Type Description
int

getErrorsList()

public List<ConfigSyncError> getErrorsList()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Returns
Type Description
List<ConfigSyncError>

getErrorsOrBuilder(int index)

public ConfigSyncErrorOrBuilder getErrorsOrBuilder(int index)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ConfigSyncErrorOrBuilder> getErrorsOrBuilderList()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Returns
Type Description
List<? extends com.google.cloud.gkehub.configmanagement.v1.ConfigSyncErrorOrBuilder>

getParserForType()

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

getReposyncCrd()

public ConfigSyncState.CRDState getReposyncCrd()

The state of the Reposync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;

Returns
Type Description
ConfigSyncState.CRDState

The reposyncCrd.

getReposyncCrdValue()

public int getReposyncCrdValue()

The state of the Reposync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;

Returns
Type Description
int

The enum numeric value on the wire for reposyncCrd.

getRootsyncCrd()

public ConfigSyncState.CRDState getRootsyncCrd()

The state of the RootSync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;

Returns
Type Description
ConfigSyncState.CRDState

The rootsyncCrd.

getRootsyncCrdValue()

public int getRootsyncCrdValue()

The state of the RootSync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;

Returns
Type Description
int

The enum numeric value on the wire for rootsyncCrd.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public ConfigSyncState.State getState()

The state of CS This field summarizes the other fields in this message.

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;

Returns
Type Description
ConfigSyncState.State

The state.

getStateValue()

public int getStateValue()

The state of CS This field summarizes the other fields in this message.

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;

Returns
Type Description
int

The enum numeric value on the wire for state.

getSyncState()

public SyncState getSyncState()

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Returns
Type Description
SyncState

The syncState.

getSyncStateOrBuilder()

public SyncStateOrBuilder getSyncStateOrBuilder()

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Returns
Type Description
SyncStateOrBuilder

getVersion()

public ConfigSyncVersion getVersion()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Returns
Type Description
ConfigSyncVersion

The version.

getVersionOrBuilder()

public ConfigSyncVersionOrBuilder getVersionOrBuilder()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Returns
Type Description
ConfigSyncVersionOrBuilder

hasDeploymentState()

public boolean hasDeploymentState()

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
boolean

Whether the deploymentState field is set.

hasSyncState()

public boolean hasSyncState()

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Returns
Type Description
boolean

Whether the syncState field is set.

hasVersion()

public boolean hasVersion()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Returns
Type Description
boolean

Whether the version field is set.

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 ConfigSyncState.Builder newBuilderForType()
Returns
Type Description
ConfigSyncState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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