Class ConfigSyncState (1.49.0)

public final class ConfigSyncState extends GeneratedMessageV3 implements ConfigSyncStateOrBuilder

State information for ConfigSync

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

Static Fields

DEPLOYMENT_STATE_FIELD_NUMBER

public static final int DEPLOYMENT_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.v1beta.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.v1beta.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncDeploymentStateOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSyncState()

public SyncState getSyncState()

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

.google.cloud.gkehub.configmanagement.v1beta.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.v1beta.SyncState sync_state = 3;

Returns
Type Description
SyncStateOrBuilder

getVersion()

public ConfigSyncVersion getVersion()

The version of ConfigSync deployed

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

Returns
Type Description
ConfigSyncVersion

The version.

getVersionOrBuilder()

public ConfigSyncVersionOrBuilder getVersionOrBuilder()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1beta.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.v1beta.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.v1beta.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.v1beta.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