Class ConfigSyncState (1.2.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
TypeDescription
int

SYNC_STATE_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(ConfigSyncState prototype)

public static ConfigSyncState.Builder newBuilder(ConfigSyncState prototype)
Parameter
NameDescription
prototypeConfigSyncState
Returns
TypeDescription
ConfigSyncState.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ConfigSyncState getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ConfigSyncDeploymentStateOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SyncStateOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersion()

public ConfigSyncVersion getVersion()

The version of ConfigSync deployed

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

Returns
TypeDescription
ConfigSyncVersion

The version.

getVersionOrBuilder()

public ConfigSyncVersionOrBuilder getVersionOrBuilder()

The version of ConfigSync deployed

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the version field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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