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 Summary

    Modifier and Type
    Method
    Description
    boolean
    Enables the installation of ConfigSync.
    Git repo configuration for the cluster.
    Git repo configuration for the cluster.
    The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring when Workload Identity is enabled.
    com.google.protobuf.ByteString
    The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring when Workload Identity is enabled.
    OCI repo configuration for the cluster
    OCI repo configuration for the cluster
    boolean
    Set to true to enable the Config Sync admission webhook to prevent drifts.
    Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
    com.google.protobuf.ByteString
    Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.
    boolean
    Enables the installation of ConfigSync.
    boolean
    Git repo configuration for the cluster.
    boolean
    OCI repo configuration for the cluster

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasGit

      boolean hasGit()
       Git repo configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.GitConfig git = 7;
      Returns:
      Whether the git field is set.
    • getGit

      GitConfig getGit()
       Git repo configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.GitConfig git = 7;
      Returns:
      The git.
    • getGitOrBuilder

      GitConfigOrBuilder getGitOrBuilder()
       Git repo configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1.GitConfig git = 7;
    • getSourceFormat

      String getSourceFormat()
       Specifies whether the Config Sync Repo is
       in "hierarchical" or "unstructured" mode.
       
      string source_format = 8;
      Returns:
      The sourceFormat.
    • getSourceFormatBytes

      com.google.protobuf.ByteString getSourceFormatBytes()
       Specifies whether the Config Sync Repo is
       in "hierarchical" or "unstructured" mode.
       
      string source_format = 8;
      Returns:
      The bytes for sourceFormat.
    • hasEnabled

      boolean hasEnabled()
       Enables the installation of ConfigSync.
       If set to true, ConfigSync resources will be created and the other
       ConfigSync fields will be applied if exist.
       If set to false, all other ConfigSync fields will be ignored, ConfigSync
       resources will be deleted.
       If omitted, ConfigSync resources will be managed depends on the presence
       of the git or oci field.
       
      optional bool enabled = 10;
      Returns:
      Whether the enabled field is set.
    • getEnabled

      boolean getEnabled()
       Enables the installation of ConfigSync.
       If set to true, ConfigSync resources will be created and the other
       ConfigSync fields will be applied if exist.
       If set to false, all other ConfigSync fields will be ignored, ConfigSync
       resources will be deleted.
       If omitted, ConfigSync resources will be managed depends on the presence
       of the git or oci field.
       
      optional bool enabled = 10;
      Returns:
      The enabled.
    • getPreventDrift

      boolean getPreventDrift()
       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.
       
      bool prevent_drift = 11;
      Returns:
      The preventDrift.
    • hasOci

      boolean hasOci()
       OCI repo configuration for the cluster
       
      .google.cloud.gkehub.configmanagement.v1.OciConfig oci = 12;
      Returns:
      Whether the oci field is set.
    • getOci

      OciConfig getOci()
       OCI repo configuration for the cluster
       
      .google.cloud.gkehub.configmanagement.v1.OciConfig oci = 12;
      Returns:
      The oci.
    • getOciOrBuilder

      OciConfigOrBuilder getOciOrBuilder()
       OCI repo configuration for the cluster
       
      .google.cloud.gkehub.configmanagement.v1.OciConfig oci = 12;
    • getMetricsGcpServiceAccountEmail

      String getMetricsGcpServiceAccountEmail()
       The Email of the Google Cloud Service Account (GSA) used for exporting
       Config Sync metrics to Cloud Monitoring when Workload Identity is enabled.
       The GSA should have the Monitoring Metric Writer
       (roles/monitoring.metricWriter) IAM role.
       The Kubernetes ServiceAccount `default` in the namespace
       `config-management-monitoring` should be bound to the GSA.
       
      string metrics_gcp_service_account_email = 15;
      Returns:
      The metricsGcpServiceAccountEmail.
    • getMetricsGcpServiceAccountEmailBytes

      com.google.protobuf.ByteString getMetricsGcpServiceAccountEmailBytes()
       The Email of the Google Cloud Service Account (GSA) used for exporting
       Config Sync metrics to Cloud Monitoring when Workload Identity is enabled.
       The GSA should have the Monitoring Metric Writer
       (roles/monitoring.metricWriter) IAM role.
       The Kubernetes ServiceAccount `default` in the namespace
       `config-management-monitoring` should be bound to the GSA.
       
      string metrics_gcp_service_account_email = 15;
      Returns:
      The bytes for metricsGcpServiceAccountEmail.