public final class ConfigSyncState extends GeneratedMessageV3 implements ConfigSyncStateOrBuilder
State information for ConfigSync
Protobuf type google.cloud.gkehub.configmanagement.v1.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
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
getDefaultInstanceForType()
public ConfigSyncState getDefaultInstanceForType()
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;
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;
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
|
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;
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
|
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()
Overrides
getReposyncCrd()
public ConfigSyncState.CRDState getReposyncCrd()
The state of the Reposync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;
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;
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;
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;
getVersion()
public ConfigSyncVersion getVersion()
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;
getVersionOrBuilder()
public ConfigSyncVersionOrBuilder getVersionOrBuilder()
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;
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()
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