public final class ConfigSyncState extends GeneratedMessageV3 implements ConfigSyncStateOrBuilder
State information for ConfigSync
Protobuf type google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLUSTER_LEVEL_STOP_SYNCING_STATE_FIELD_NUMBER
public static final int CLUSTER_LEVEL_STOP_SYNCING_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CR_COUNT_FIELD_NUMBER
public static final int CR_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConfigSyncState.Builder newBuilder()
newBuilder(ConfigSyncState prototype)
public static ConfigSyncState.Builder newBuilder(ConfigSyncState prototype)
public static ConfigSyncState parseDelimitedFrom(InputStream input)
public static ConfigSyncState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConfigSyncState parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConfigSyncState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConfigSyncState parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConfigSyncState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConfigSyncState parseFrom(CodedInputStream input)
public static ConfigSyncState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConfigSyncState parseFrom(InputStream input)
public static ConfigSyncState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConfigSyncState parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConfigSyncState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConfigSyncState> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getClusterLevelStopSyncingState()
public ConfigSyncState.StopSyncingState 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];
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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for clusterLevelStopSyncingState.
|
getCrCount()
Output only. The number of RootSync and RepoSync CRs in the cluster.
int32 cr_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The crCount.
|
getDefaultInstanceForType()
public ConfigSyncState getDefaultInstanceForType()
getDeploymentState()
public ConfigSyncDeploymentState 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];
getDeploymentStateOrBuilder()
public ConfigSyncDeploymentStateOrBuilder 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];
getErrors(int index)
public ConfigSyncError getErrors(int index)
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];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
int |
|
getErrorsList()
public List<ConfigSyncError> 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];
getErrorsOrBuilder(int index)
public ConfigSyncErrorOrBuilder getErrorsOrBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
getErrorsOrBuilderList()
public List<? extends ConfigSyncErrorOrBuilder> 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];
Returns |
Type |
Description |
List<? extends com.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncErrorOrBuilder> |
|
getParserForType()
public Parser<ConfigSyncState> getParserForType()
Overrides
getReposyncCrd()
public ConfigSyncState.CRDState 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];
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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for reposyncCrd.
|
getRootsyncCrd()
public ConfigSyncState.CRDState 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];
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];
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()
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];
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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSyncState()
public SyncState 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];
Returns |
Type |
Description |
SyncState |
The syncState.
|
getSyncStateOrBuilder()
public SyncStateOrBuilder 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];
getVersion()
public ConfigSyncVersion getVersion()
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVersionOrBuilder()
public ConfigSyncVersionOrBuilder getVersionOrBuilder()
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
Returns |
Type |
Description |
boolean |
Whether the deploymentState field is set.
|
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];
Returns |
Type |
Description |
boolean |
Whether the syncState field is set.
|
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];
Returns |
Type |
Description |
boolean |
Whether the version field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConfigSyncState.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConfigSyncState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ConfigSyncState.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides