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.v1alpha.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 ConfigSync
 
Protobuf type google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncState
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
    • clear

      public ConfigSyncState.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
    • getDefaultInstanceForType

      public ConfigSyncState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ConfigSyncState build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ConfigSyncState buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ConfigSyncState.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigSyncState.Builder>
    • mergeFrom

      public ConfigSyncState.Builder mergeFrom(ConfigSyncState other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigSyncState.Builder>
      Throws:
      IOException
    • hasVersion

      public boolean hasVersion()
       The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncVersion version = 1;
      Specified by:
      hasVersion in interface ConfigSyncStateOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public ConfigSyncVersion getVersion()
       The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncVersion version = 1;
      Specified by:
      getVersion in interface ConfigSyncStateOrBuilder
      Returns:
      The version.
    • setVersion

      public ConfigSyncState.Builder setVersion(ConfigSyncVersion value)
       The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncVersion version = 1;
    • setVersion

      public ConfigSyncState.Builder setVersion(ConfigSyncVersion.Builder builderForValue)
       The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncVersion version = 1;
    • mergeVersion

      public ConfigSyncState.Builder mergeVersion(ConfigSyncVersion value)
       The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncVersion version = 1;
    • clearVersion

      public ConfigSyncState.Builder clearVersion()
       The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncVersion version = 1;
    • getVersionBuilder

      public ConfigSyncVersion.Builder getVersionBuilder()
       The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncVersion version = 1;
    • getVersionOrBuilder

      public ConfigSyncVersionOrBuilder getVersionOrBuilder()
       The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncVersion version = 1;
      Specified by:
      getVersionOrBuilder in interface ConfigSyncStateOrBuilder
    • hasDeploymentState

      public boolean hasDeploymentState()
       Information about the deployment of ConfigSync, including the version
       of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncDeploymentState deployment_state = 2;
      Specified by:
      hasDeploymentState in interface ConfigSyncStateOrBuilder
      Returns:
      Whether the deploymentState field is set.
    • getDeploymentState

      public ConfigSyncDeploymentState getDeploymentState()
       Information about the deployment of ConfigSync, including the version
       of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncDeploymentState deployment_state = 2;
      Specified by:
      getDeploymentState in interface ConfigSyncStateOrBuilder
      Returns:
      The deploymentState.
    • setDeploymentState

      public ConfigSyncState.Builder setDeploymentState(ConfigSyncDeploymentState value)
       Information about the deployment of ConfigSync, including the version
       of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.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.v1alpha.ConfigSyncDeploymentState deployment_state = 2;
    • mergeDeploymentState

      public ConfigSyncState.Builder mergeDeploymentState(ConfigSyncDeploymentState value)
       Information about the deployment of ConfigSync, including the version
       of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncDeploymentState deployment_state = 2;
    • clearDeploymentState

      public ConfigSyncState.Builder clearDeploymentState()
       Information about the deployment of ConfigSync, including the version
       of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.ConfigSyncDeploymentState deployment_state = 2;
    • getDeploymentStateBuilder

      public ConfigSyncDeploymentState.Builder getDeploymentStateBuilder()
       Information about the deployment of ConfigSync, including the version
       of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1alpha.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.v1alpha.ConfigSyncDeploymentState deployment_state = 2;
      Specified by:
      getDeploymentStateOrBuilder in interface ConfigSyncStateOrBuilder
    • hasSyncState

      public boolean hasSyncState()
       The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1alpha.SyncState sync_state = 3;
      Specified by:
      hasSyncState in interface ConfigSyncStateOrBuilder
      Returns:
      Whether the syncState field is set.
    • getSyncState

      public SyncState getSyncState()
       The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1alpha.SyncState sync_state = 3;
      Specified by:
      getSyncState in interface ConfigSyncStateOrBuilder
      Returns:
      The syncState.
    • setSyncState

      public ConfigSyncState.Builder setSyncState(SyncState value)
       The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1alpha.SyncState sync_state = 3;
    • setSyncState

      public ConfigSyncState.Builder setSyncState(SyncState.Builder builderForValue)
       The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1alpha.SyncState sync_state = 3;
    • mergeSyncState

      public ConfigSyncState.Builder mergeSyncState(SyncState value)
       The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1alpha.SyncState sync_state = 3;
    • clearSyncState

      public ConfigSyncState.Builder clearSyncState()
       The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1alpha.SyncState sync_state = 3;
    • getSyncStateBuilder

      public SyncState.Builder getSyncStateBuilder()
       The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1alpha.SyncState sync_state = 3;
    • getSyncStateOrBuilder

      public SyncStateOrBuilder getSyncStateOrBuilder()
       The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1alpha.SyncState sync_state = 3;
      Specified by:
      getSyncStateOrBuilder in interface ConfigSyncStateOrBuilder