Class SetMaintenancePolicyRequest (2.22.0)

public final class SetMaintenancePolicyRequest extends GeneratedMessageV3 implements SetMaintenancePolicyRequestOrBuilder

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

Protobuf type google.container.v1beta1.SetMaintenancePolicyRequest

Static Fields

CLUSTER_ID_FIELD_NUMBER

public static final int CLUSTER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

MAINTENANCE_POLICY_FIELD_NUMBER

public static final int MAINTENANCE_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SetMaintenancePolicyRequest getDefaultInstance()
Returns
TypeDescription
SetMaintenancePolicyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SetMaintenancePolicyRequest.Builder newBuilder()
Returns
TypeDescription
SetMaintenancePolicyRequest.Builder

newBuilder(SetMaintenancePolicyRequest prototype)

public static SetMaintenancePolicyRequest.Builder newBuilder(SetMaintenancePolicyRequest prototype)
Parameter
NameDescription
prototypeSetMaintenancePolicyRequest
Returns
TypeDescription
SetMaintenancePolicyRequest.Builder

parseDelimitedFrom(InputStream input)

public static SetMaintenancePolicyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
input