Interface SetLoggingServiceRequestOrBuilder

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

@Generated public interface SetLoggingServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated.
    Required.
    com.google.protobuf.ByteString
    Required.
    The name (project, location, cluster) of the cluster to set logging.
    com.google.protobuf.ByteString
    The name (project, location, cluster) of the cluster to set logging.
    Deprecated.
    google.container.v1.SetLoggingServiceRequest.project_id is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.container.v1.SetLoggingServiceRequest.project_id is deprecated.
    Deprecated.
    google.container.v1.SetLoggingServiceRequest.zone is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.container.v1.SetLoggingServiceRequest.zone is deprecated.

    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

    • getProjectId

      @Deprecated String getProjectId()
      Deprecated.
      google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4555
       Deprecated. The Google Developers Console [project ID or project
       number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
       This field has been deprecated and replaced by the name field.
       
      string project_id = 1 [deprecated = true];
      Returns:
      The projectId.
    • getProjectIdBytes

      @Deprecated com.google.protobuf.ByteString getProjectIdBytes()
      Deprecated.
      google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See google/container/v1/cluster_service.proto;l=4555
       Deprecated. The Google Developers Console [project ID or project
       number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
       This field has been deprecated and replaced by the name field.
       
      string project_id = 1 [deprecated = true];
      Returns:
      The bytes for projectId.
    • getZone

      @Deprecated String getZone()
      Deprecated.
      google.container.v1.SetLoggingServiceRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4561
       Deprecated. The name of the Google Compute Engine
       [zone](https://cloud.google.com/compute/docs/zones#available)
       in which the cluster resides. This field has been deprecated and replaced
       by the name field.
       
      string zone = 2 [deprecated = true];
      Returns:
      The zone.
    • getZoneBytes

      @Deprecated com.google.protobuf.ByteString getZoneBytes()
      Deprecated.
      google.container.v1.SetLoggingServiceRequest.zone is deprecated. See google/container/v1/cluster_service.proto;l=4561
       Deprecated. The name of the Google Compute Engine
       [zone](https://cloud.google.com/compute/docs/zones#available)
       in which the cluster resides. This field has been deprecated and replaced
       by the name field.
       
      string zone = 2 [deprecated = true];
      Returns:
      The bytes for zone.
    • getClusterId

      @Deprecated String getClusterId()
      Deprecated.
      google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4565
       Deprecated. The name of the cluster to upgrade.
       This field has been deprecated and replaced by the name field.
       
      string cluster_id = 3 [deprecated = true];
      Returns:
      The clusterId.
    • getClusterIdBytes

      @Deprecated com.google.protobuf.ByteString getClusterIdBytes()
      Deprecated.
      google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See google/container/v1/cluster_service.proto;l=4565
       Deprecated. The name of the cluster to upgrade.
       This field has been deprecated and replaced by the name field.
       
      string cluster_id = 3 [deprecated = true];
      Returns:
      The bytes for clusterId.
    • getLoggingService

      String getLoggingService()
       Required. The logging service the cluster should use to write logs.
       Currently available options:
      
       * `logging.googleapis.com/kubernetes` - The Cloud Logging
       service with a Kubernetes-native resource model
       * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
       available as of GKE 1.15).
       * `none` - no logs will be exported from the cluster.
      
       If left as an empty string,`logging.googleapis.com/kubernetes` will be
       used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
       
      string logging_service = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The loggingService.
    • getLoggingServiceBytes

      com.google.protobuf.ByteString getLoggingServiceBytes()
       Required. The logging service the cluster should use to write logs.
       Currently available options:
      
       * `logging.googleapis.com/kubernetes` - The Cloud Logging
       service with a Kubernetes-native resource model
       * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
       available as of GKE 1.15).
       * `none` - no logs will be exported from the cluster.
      
       If left as an empty string,`logging.googleapis.com/kubernetes` will be
       used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
       
      string logging_service = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for loggingService.
    • getName

      String getName()
       The name (project, location, cluster) of the cluster to set logging.
       Specified in the format `projects/*/locations/*/clusters/*`.
       
      string name = 5;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name (project, location, cluster) of the cluster to set logging.
       Specified in the format `projects/*/locations/*/clusters/*`.
       
      string name = 5;
      Returns:
      The bytes for name.