Class ConfigSyncState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
com.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.Builder
- All Implemented Interfaces:
ConfigSyncStateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConfigSyncState
public static final class ConfigSyncState.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
implements ConfigSyncStateOrBuilder
State information for ConfigSyncProtobuf type
google.cloud.gkehub.configmanagement.v1.ConfigSyncState-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrors(Iterable<? extends ConfigSyncError> values) Errors pertaining to the installation of Config Sync.addErrors(int index, ConfigSyncError value) Errors pertaining to the installation of Config Sync.addErrors(int index, ConfigSyncError.Builder builderForValue) Errors pertaining to the installation of Config Sync.addErrors(ConfigSyncError value) Errors pertaining to the installation of Config Sync.addErrors(ConfigSyncError.Builder builderForValue) Errors pertaining to the installation of Config Sync.Errors pertaining to the installation of Config Sync.addErrorsBuilder(int index) Errors pertaining to the installation of Config Sync.build()clear()Information about the deployment of ConfigSync, including the version of the various Pods deployedErrors pertaining to the installation of Config Sync.The state of the Reposync CRDThe state of the RootSync CRDThe state of CS This field summarizes the other fields in this message.The state of ConfigSync's process to sync configs to a clusterThe version of ConfigSync deployedInformation about the deployment of ConfigSync, including the version of the various Pods deployedInformation about the deployment of ConfigSync, including the version of the various Pods deployedInformation about the deployment of ConfigSync, including the version of the various Pods deployedstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetErrors(int index) Errors pertaining to the installation of Config Sync.getErrorsBuilder(int index) Errors pertaining to the installation of Config Sync.Errors pertaining to the installation of Config Sync.intErrors pertaining to the installation of Config Sync.Errors pertaining to the installation of Config Sync.getErrorsOrBuilder(int index) Errors pertaining to the installation of Config Sync.List<? extends ConfigSyncErrorOrBuilder>Errors pertaining to the installation of Config Sync.The state of the Reposync CRDintThe state of the Reposync CRDThe state of the RootSync CRDintThe state of the RootSync CRDgetState()The state of CS This field summarizes the other fields in this message.intThe state of CS This field summarizes the other fields in this message.The state of ConfigSync's process to sync configs to a clusterThe state of ConfigSync's process to sync configs to a clusterThe state of ConfigSync's process to sync configs to a clusterThe version of ConfigSync deployedThe version of ConfigSync deployedThe version of ConfigSync deployedbooleanInformation about the deployment of ConfigSync, including the version of the various Pods deployedbooleanThe state of ConfigSync's process to sync configs to a clusterbooleanThe version of ConfigSync deployedprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanInformation about the deployment of ConfigSync, including the version of the various Pods deployedmergeFrom(ConfigSyncState other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSyncState(SyncState value) The state of ConfigSync's process to sync configs to a clustermergeVersion(ConfigSyncVersion value) The version of ConfigSync deployedremoveErrors(int index) Errors pertaining to the installation of Config Sync.Information about the deployment of ConfigSync, including the version of the various Pods deployedsetDeploymentState(ConfigSyncDeploymentState.Builder builderForValue) Information about the deployment of ConfigSync, including the version of the various Pods deployedsetErrors(int index, ConfigSyncError value) Errors pertaining to the installation of Config Sync.setErrors(int index, ConfigSyncError.Builder builderForValue) Errors pertaining to the installation of Config Sync.The state of the Reposync CRDsetReposyncCrdValue(int value) The state of the Reposync CRDThe state of the RootSync CRDsetRootsyncCrdValue(int value) The state of the RootSync CRDsetState(ConfigSyncState.State value) The state of CS This field summarizes the other fields in this message.setStateValue(int value) The state of CS This field summarizes the other fields in this message.setSyncState(SyncState value) The state of ConfigSync's process to sync configs to a clustersetSyncState(SyncState.Builder builderForValue) The state of ConfigSync's process to sync configs to a clustersetVersion(ConfigSyncVersion value) The version of ConfigSync deployedsetVersion(ConfigSyncVersion.Builder builderForValue) The version of ConfigSync deployedMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<ConfigSyncState.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigSyncState.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
-
mergeFrom
public ConfigSyncState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigSyncState.Builder>- Throws:
IOException
-
hasVersion
public boolean hasVersion()The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;- Specified by:
hasVersionin interfaceConfigSyncStateOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;- Specified by:
getVersionin interfaceConfigSyncStateOrBuilder- Returns:
- The version.
-
setVersion
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1; -
setVersion
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1; -
mergeVersion
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1; -
clearVersion
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1; -
getVersionBuilder
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1; -
getVersionOrBuilder
The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;- Specified by:
getVersionOrBuilderin interfaceConfigSyncStateOrBuilder
-
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;- Specified by:
hasDeploymentStatein interfaceConfigSyncStateOrBuilder- Returns:
- Whether the deploymentState field is set.
-
getDeploymentState
Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;- Specified by:
getDeploymentStatein interfaceConfigSyncStateOrBuilder- Returns:
- The deploymentState.
-
setDeploymentState
Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2; -
setDeploymentState
public ConfigSyncState.Builder setDeploymentState(ConfigSyncDeploymentState.Builder builderForValue) Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2; -
mergeDeploymentState
Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2; -
clearDeploymentState
Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2; -
getDeploymentStateBuilder
Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2; -
getDeploymentStateOrBuilder
Information about the deployment of ConfigSync, including the version of the various Pods deployed
.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;- Specified by:
getDeploymentStateOrBuilderin interfaceConfigSyncStateOrBuilder
-
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;- Specified by:
hasSyncStatein interfaceConfigSyncStateOrBuilder- Returns:
- Whether the syncState field is set.
-
getSyncState
The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;- Specified by:
getSyncStatein interfaceConfigSyncStateOrBuilder- Returns:
- The syncState.
-
setSyncState
The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3; -
setSyncState
The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3; -
mergeSyncState
The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3; -
clearSyncState
The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3; -
getSyncStateBuilder
The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3; -
getSyncStateOrBuilder
The state of ConfigSync's process to sync configs to a cluster
.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;- Specified by:
getSyncStateOrBuilderin interfaceConfigSyncStateOrBuilder
-
getErrorsList
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;- Specified by:
getErrorsListin interfaceConfigSyncStateOrBuilder
-
getErrorsCount
public int getErrorsCount()Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;- Specified by:
getErrorsCountin interfaceConfigSyncStateOrBuilder
-
getErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;- Specified by:
getErrorsin interfaceConfigSyncStateOrBuilder
-
setErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
setErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
addErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
addErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
addErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
addErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
addAllErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
clearErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
removeErrors
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
getErrorsBuilder
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
getErrorsOrBuilder
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;- Specified by:
getErrorsOrBuilderin interfaceConfigSyncStateOrBuilder
-
getErrorsOrBuilderList
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;- Specified by:
getErrorsOrBuilderListin interfaceConfigSyncStateOrBuilder
-
addErrorsBuilder
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
addErrorsBuilder
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
getErrorsBuilderList
Errors pertaining to the installation of Config Sync.
repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4; -
getRootsyncCrdValue
public int getRootsyncCrdValue()The state of the RootSync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;- Specified by:
getRootsyncCrdValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for rootsyncCrd.
-
setRootsyncCrdValue
The state of the RootSync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;- Parameters:
value- The enum numeric value on the wire for rootsyncCrd to set.- Returns:
- This builder for chaining.
-
getRootsyncCrd
The state of the RootSync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;- Specified by:
getRootsyncCrdin interfaceConfigSyncStateOrBuilder- Returns:
- The rootsyncCrd.
-
setRootsyncCrd
The state of the RootSync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;- Parameters:
value- The rootsyncCrd to set.- Returns:
- This builder for chaining.
-
clearRootsyncCrd
The state of the RootSync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;- Returns:
- This builder for chaining.
-
getReposyncCrdValue
public int getReposyncCrdValue()The state of the Reposync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;- Specified by:
getReposyncCrdValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for reposyncCrd.
-
setReposyncCrdValue
The state of the Reposync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;- Parameters:
value- The enum numeric value on the wire for reposyncCrd to set.- Returns:
- This builder for chaining.
-
getReposyncCrd
The state of the Reposync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;- Specified by:
getReposyncCrdin interfaceConfigSyncStateOrBuilder- Returns:
- The reposyncCrd.
-
setReposyncCrd
The state of the Reposync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;- Parameters:
value- The reposyncCrd to set.- Returns:
- This builder for chaining.
-
clearReposyncCrd
The state of the Reposync CRD
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;- Returns:
- This builder for chaining.
-
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;- Specified by:
getStateValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The state of CS This field summarizes the other fields in this message.
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The state of CS This field summarizes the other fields in this message.
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;- Specified by:
getStatein interfaceConfigSyncStateOrBuilder- Returns:
- The state.
-
setState
The state of CS This field summarizes the other fields in this message.
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The state of CS This field summarizes the other fields in this message.
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;- Returns:
- This builder for chaining.
-