Interface ConfigSyncOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ConfigSync, ConfigSync.Builder

@Generated public interface ConfigSyncOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasGit

      boolean hasGit()
       Optional. Git repo configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1beta.GitConfig git = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the git field is set.
    • getGit

      GitConfig getGit()
       Optional. Git repo configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1beta.GitConfig git = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The git.
    • getGitOrBuilder

      GitConfigOrBuilder getGitOrBuilder()
       Optional. Git repo configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1beta.GitConfig git = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceFormat

      String getSourceFormat()
       Optional. Specifies whether the Config Sync repo is in `hierarchical` or
       `unstructured` mode. Defaults to `hierarchical`. See
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs
       for an explanation.
       
      string source_format = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sourceFormat.
    • getSourceFormatBytes

      com.google.protobuf.ByteString getSourceFormatBytes()
       Optional. Specifies whether the Config Sync repo is in `hierarchical` or
       `unstructured` mode. Defaults to `hierarchical`. See
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs
       for an explanation.
       
      string source_format = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for sourceFormat.
    • hasEnabled

      boolean hasEnabled()
       Optional. Enables the installation of Config Sync.
       If set to true, the Feature will manage Config Sync resources,
       and apply the other ConfigSync fields if they exist.
       If set to false, the Feature will ignore all other ConfigSync fields and
       delete the Config Sync resources.
       If omitted, ConfigSync is considered enabled if the git or oci field is
       present.
       
      optional bool enabled = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the enabled field is set.
    • getEnabled

      boolean getEnabled()
       Optional. Enables the installation of Config Sync.
       If set to true, the Feature will manage Config Sync resources,
       and apply the other ConfigSync fields if they exist.
       If set to false, the Feature will ignore all other ConfigSync fields and
       delete the Config Sync resources.
       If omitted, ConfigSync is considered enabled if the git or oci field is
       present.
       
      optional bool enabled = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enabled.
    • getPreventDrift

      boolean getPreventDrift()
       Optional. Set to true to enable the Config Sync admission webhook to
       prevent drifts. If set to false, disables the Config Sync admission webhook
       and does not prevent drifts. Defaults to false. See
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift
       for details.
       
      bool prevent_drift = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The preventDrift.
    • hasOci

      boolean hasOci()
       Optional. OCI repo configuration for the cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.OciConfig oci = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the oci field is set.
    • getOci

      OciConfig getOci()
       Optional. OCI repo configuration for the cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.OciConfig oci = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The oci.
    • getOciOrBuilder

      OciConfigOrBuilder getOciOrBuilder()
       Optional. OCI repo configuration for the cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.OciConfig oci = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getStopSyncing

      boolean getStopSyncing()
       Optional. Set to true to stop syncing configs for a single cluster.
       Default to false.
       
      bool stop_syncing = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The stopSyncing.
    • getDeploymentOverridesList

      List<DeploymentOverride> getDeploymentOverridesList()
       Optional. Configuration for deployment overrides.
       Applies only to Config Sync deployments with containers that are not a root
       or namespace reconciler: `reconciler-manager`, `otel-collector`,
       `resource-group-controller-manager`, `admission-webhook`.
       To override a root or namespace reconciler, use the rootsync or reposync
       fields at
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources
       instead.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.DeploymentOverride deployment_overrides = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getDeploymentOverrides

      DeploymentOverride getDeploymentOverrides(int index)
       Optional. Configuration for deployment overrides.
       Applies only to Config Sync deployments with containers that are not a root
       or namespace reconciler: `reconciler-manager`, `otel-collector`,
       `resource-group-controller-manager`, `admission-webhook`.
       To override a root or namespace reconciler, use the rootsync or reposync
       fields at
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources
       instead.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.DeploymentOverride deployment_overrides = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getDeploymentOverridesCount

      int getDeploymentOverridesCount()
       Optional. Configuration for deployment overrides.
       Applies only to Config Sync deployments with containers that are not a root
       or namespace reconciler: `reconciler-manager`, `otel-collector`,
       `resource-group-controller-manager`, `admission-webhook`.
       To override a root or namespace reconciler, use the rootsync or reposync
       fields at
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources
       instead.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.DeploymentOverride deployment_overrides = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getDeploymentOverridesOrBuilderList

      List<? extends DeploymentOverrideOrBuilder> getDeploymentOverridesOrBuilderList()
       Optional. Configuration for deployment overrides.
       Applies only to Config Sync deployments with containers that are not a root
       or namespace reconciler: `reconciler-manager`, `otel-collector`,
       `resource-group-controller-manager`, `admission-webhook`.
       To override a root or namespace reconciler, use the rootsync or reposync
       fields at
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources
       instead.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.DeploymentOverride deployment_overrides = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getDeploymentOverridesOrBuilder

      DeploymentOverrideOrBuilder getDeploymentOverridesOrBuilder(int index)
       Optional. Configuration for deployment overrides.
       Applies only to Config Sync deployments with containers that are not a root
       or namespace reconciler: `reconciler-manager`, `otel-collector`,
       `resource-group-controller-manager`, `admission-webhook`.
       To override a root or namespace reconciler, use the rootsync or reposync
       fields at
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources
       instead.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.DeploymentOverride deployment_overrides = 17 [(.google.api.field_behavior) = OPTIONAL];