Interface SetMaintenancePolicyRequestOrBuilder (2.45.0)

public interface SetMaintenancePolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterId()

public abstract String getClusterId()

Required. The name of the cluster to update.

string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The clusterId.

getClusterIdBytes()

public abstract ByteString getClusterIdBytes()

Required. The name of the cluster to update.

string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for clusterId.

getMaintenancePolicy()

public abstract MaintenancePolicy getMaintenancePolicy()

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

.google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MaintenancePolicy

The maintenancePolicy.

getMaintenancePolicyOrBuilder()

public abstract MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

.google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MaintenancePolicyOrBuilder

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getProjectId()

public abstract String getProjectId()

Required. The Google Developers Console project ID or project number.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Required. The Google Developers Console project ID or project number.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

getZone()

public abstract String getZone()

Required. The name of the Google Compute Engine zone in which the cluster resides.

string zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

Required. The name of the Google Compute Engine zone in which the cluster resides.

string zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for zone.

hasMaintenancePolicy()

public abstract boolean hasMaintenancePolicy()

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

.google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the maintenancePolicy field is set.