Package com.google.container.v1beta1
Interface SetMonitoringServiceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SetMonitoringServiceRequest,SetMonitoringServiceRequest.Builder
public interface SetMonitoringServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetClusterId()Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated.com.google.protobuf.ByteStringgetClusterIdBytes()Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated.StringgetMonitoringService()Required.com.google.protobuf.ByteStringgetMonitoringServiceBytes()Required.StringgetName()The name (project, location, cluster) of the cluster to set monitoring.com.google.protobuf.ByteStringgetNameBytes()The name (project, location, cluster) of the cluster to set monitoring.StringgetProjectId()Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated.com.google.protobuf.ByteStringgetProjectIdBytes()Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated.StringgetZone()Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated.com.google.protobuf.ByteStringgetZoneBytes()Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectId
@Deprecated String getProjectId()
Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3119Required. 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, (.google.api.field_behavior) = REQUIRED];- Returns:
- The projectId.
-
getProjectIdBytes
@Deprecated com.google.protobuf.ByteString getProjectIdBytes()
Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3119Required. 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, (.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for projectId.
-
getZone
@Deprecated String getZone()
Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3126Required. 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, (.google.api.field_behavior) = REQUIRED];- Returns:
- The zone.
-
getZoneBytes
@Deprecated com.google.protobuf.ByteString getZoneBytes()
Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3126Required. 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, (.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for zone.
-
getClusterId
@Deprecated String getClusterId()
Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3130Required. 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, (.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterId.
-
getClusterIdBytes
@Deprecated com.google.protobuf.ByteString getClusterIdBytes()
Deprecated.google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3130Required. 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, (.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterId.
-
getMonitoringService
String getMonitoringService()
Required. The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The monitoringService.
-
getMonitoringServiceBytes
com.google.protobuf.ByteString getMonitoringServiceBytes()
Required. The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for monitoringService.
-
getName
String getName()
The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;- Returns:
- The bytes for name.
-
-