Class ConfigSyncState
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState
- All Implemented Interfaces:
ConfigSyncStateOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ConfigSyncState
extends com.google.protobuf.GeneratedMessage
implements ConfigSyncStateOrBuilder
State information for ConfigSyncProtobuf type
google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classState information for ConfigSyncstatic enumCRDState representing the state of a CRDstatic enumState of Config Syncstatic enumStopSyncingState representing Config Sync's status of syncing configs to a clusterNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.intOutput only.intOutput only.static ConfigSyncStateOutput only.Output only.static final com.google.protobuf.Descriptors.DescriptorgetErrors(int index) Output only.intOutput only.Output only.getErrorsOrBuilder(int index) Output only.List<? extends ConfigSyncErrorOrBuilder>Output only.com.google.protobuf.Parser<ConfigSyncState>Output only.intOutput only.Output only.intOutput only.intgetState()Output only.intOutput only.Output only.Output only.Output only.Output only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ConfigSyncState.Builderstatic ConfigSyncState.BuildernewBuilder(ConfigSyncState prototype) protected ConfigSyncState.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ConfigSyncStateparseDelimitedFrom(InputStream input) static ConfigSyncStateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigSyncStateparseFrom(byte[] data) static ConfigSyncStateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigSyncStateparseFrom(com.google.protobuf.ByteString data) static ConfigSyncStateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigSyncStateparseFrom(com.google.protobuf.CodedInputStream input) static ConfigSyncStateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigSyncStateparseFrom(InputStream input) static ConfigSyncStateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigSyncStateparseFrom(ByteBuffer data) static ConfigSyncStateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConfigSyncState>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
DEPLOYMENT_STATE_FIELD_NUMBER
public static final int DEPLOYMENT_STATE_FIELD_NUMBER- See Also:
-
SYNC_STATE_FIELD_NUMBER
public static final int SYNC_STATE_FIELD_NUMBER- See Also:
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER- See Also:
-
ROOTSYNC_CRD_FIELD_NUMBER
public static final int ROOTSYNC_CRD_FIELD_NUMBER- See Also:
-
REPOSYNC_CRD_FIELD_NUMBER
public static final int REPOSYNC_CRD_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
CLUSTER_LEVEL_STOP_SYNCING_STATE_FIELD_NUMBER
public static final int CLUSTER_LEVEL_STOP_SYNCING_STATE_FIELD_NUMBER- See Also:
-
CR_COUNT_FIELD_NUMBER
public static final int CR_COUNT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasVersion
public boolean hasVersion()Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasVersionin interfaceConfigSyncStateOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionin interfaceConfigSyncStateOrBuilder- Returns:
- The version.
-
getVersionOrBuilder
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionOrBuilderin interfaceConfigSyncStateOrBuilder
-
hasDeploymentState
public boolean hasDeploymentState()Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeploymentStatein interfaceConfigSyncStateOrBuilder- Returns:
- Whether the deploymentState field is set.
-
getDeploymentState
Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentStatein interfaceConfigSyncStateOrBuilder- Returns:
- The deploymentState.
-
getDeploymentStateOrBuilder
Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentStateOrBuilderin interfaceConfigSyncStateOrBuilder
-
hasSyncState
public boolean hasSyncState()Output only. The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSyncStatein interfaceConfigSyncStateOrBuilder- Returns:
- Whether the syncState field is set.
-
getSyncState
Output only. The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSyncStatein interfaceConfigSyncStateOrBuilder- Returns:
- The syncState.
-
getSyncStateOrBuilder
Output only. The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSyncStateOrBuilderin interfaceConfigSyncStateOrBuilder
-
getErrorsList
Output only. Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsListin interfaceConfigSyncStateOrBuilder
-
getErrorsOrBuilderList
Output only. Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsOrBuilderListin interfaceConfigSyncStateOrBuilder
-
getErrorsCount
public int getErrorsCount()Output only. Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsCountin interfaceConfigSyncStateOrBuilder
-
getErrors
Output only. Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsin interfaceConfigSyncStateOrBuilder
-
getErrorsOrBuilder
Output only. Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorsOrBuilderin interfaceConfigSyncStateOrBuilder
-
getRootsyncCrdValue
public int getRootsyncCrdValue()Output only. The state of the RootSync CRD
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState rootsync_crd = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRootsyncCrdValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for rootsyncCrd.
-
getRootsyncCrd
Output only. The state of the RootSync CRD
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState rootsync_crd = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRootsyncCrdin interfaceConfigSyncStateOrBuilder- Returns:
- The rootsyncCrd.
-
getReposyncCrdValue
public int getReposyncCrdValue()Output only. The state of the Reposync CRD
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState reposync_crd = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReposyncCrdValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for reposyncCrd.
-
getReposyncCrd
Output only. The state of the Reposync CRD
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState reposync_crd = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReposyncCrdin interfaceConfigSyncStateOrBuilder- Returns:
- The reposyncCrd.
-
getStateValue
public int getStateValue()Output only. The state of CS This field summarizes the other fields in this message.
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The state of CS This field summarizes the other fields in this message.
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceConfigSyncStateOrBuilder- Returns:
- The state.
-
getClusterLevelStopSyncingStateValue
public int getClusterLevelStopSyncingStateValue()Output only. Whether syncing resources to the cluster is stopped at the cluster level.
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.StopSyncingState cluster_level_stop_syncing_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterLevelStopSyncingStateValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for clusterLevelStopSyncingState.
-
getClusterLevelStopSyncingState
Output only. Whether syncing resources to the cluster is stopped at the cluster level.
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.StopSyncingState cluster_level_stop_syncing_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getClusterLevelStopSyncingStatein interfaceConfigSyncStateOrBuilder- Returns:
- The clusterLevelStopSyncingState.
-
getCrCount
public int getCrCount()Output only. The number of RootSync and RepoSync CRs in the cluster.
int32 cr_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCrCountin interfaceConfigSyncStateOrBuilder- Returns:
- The crCount.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ConfigSyncState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigSyncState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigSyncState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigSyncState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigSyncState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigSyncState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConfigSyncState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConfigSyncState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConfigSyncState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConfigSyncState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConfigSyncState.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-