Interface SetMaintenancePolicyRequestOrBuilder

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
TypeDescription
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
TypeDescription
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.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MaintenancePolicyOrBuilder

getName()

public abstract String getName()

The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format projects/*/locations/*/clusters/*.

string name = 5;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format projects/*/locations/*/clusters/*.

string name = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the maintenancePolicy field is set.