Package com.google.container.v1
Interface SetMaintenancePolicyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SetMaintenancePolicyRequest,SetMaintenancePolicyRequest.Builder
public interface SetMaintenancePolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClusterId()Required.com.google.protobuf.ByteStringgetClusterIdBytes()Required.MaintenancePolicygetMaintenancePolicy()Required.MaintenancePolicyOrBuildergetMaintenancePolicyOrBuilder()Required.StringgetName()The name (project, location, cluster name) of the cluster to set maintenance policy.com.google.protobuf.ByteStringgetNameBytes()The name (project, location, cluster name) of the cluster to set maintenance policy.StringgetProjectId()Required.com.google.protobuf.ByteStringgetProjectIdBytes()Required.StringgetZone()Required.com.google.protobuf.ByteStringgetZoneBytes()Required.booleanhasMaintenancePolicy()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectId
String getProjectId()
Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()
Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for projectId.
-
getZone
String getZone()
Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.
string zone = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()
Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.
string zone = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for zone.
-
getClusterId
String getClusterId()
Required. The name of the cluster to update.
string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterId.
-
getClusterIdBytes
com.google.protobuf.ByteString getClusterIdBytes()
Required. The name of the cluster to update.
string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterId.
-
hasMaintenancePolicy
boolean hasMaintenancePolicy()
Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
.google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
MaintenancePolicy getMaintenancePolicy()
Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
.google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyOrBuilder
MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
.google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];
-
getName
String getName()
The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 5;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 5;- Returns:
- The bytes for name.
-
-