public final class HostMaintenancePolicy extends GeneratedMessageV3 implements HostMaintenancePolicyOrBuilder
HostMaintenancePolicy contains the maintenance policy for the hosts on which
the GKE VMs run on.
Protobuf type google.container.v1beta1.HostMaintenancePolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
MAINTENANCE_INTERVAL_FIELD_NUMBER
public static final int MAINTENANCE_INTERVAL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OPPORTUNISTIC_MAINTENANCE_STRATEGY_FIELD_NUMBER
public static final int OPPORTUNISTIC_MAINTENANCE_STRATEGY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static HostMaintenancePolicy getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HostMaintenancePolicy.Builder newBuilder()
newBuilder(HostMaintenancePolicy prototype)
public static HostMaintenancePolicy.Builder newBuilder(HostMaintenancePolicy prototype)
parseDelimitedFrom(InputStream input)
public static HostMaintenancePolicy parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static HostMaintenancePolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HostMaintenancePolicy parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HostMaintenancePolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HostMaintenancePolicy parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HostMaintenancePolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static HostMaintenancePolicy parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HostMaintenancePolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static HostMaintenancePolicy parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static HostMaintenancePolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HostMaintenancePolicy parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HostMaintenancePolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HostMaintenancePolicy> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public HostMaintenancePolicy getDefaultInstanceForType()
getMaintenanceInterval()
public HostMaintenancePolicy.MaintenanceInterval getMaintenanceInterval()
Specifies the frequency of planned maintenance events.
optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;
getMaintenanceIntervalValue()
public int getMaintenanceIntervalValue()
Specifies the frequency of planned maintenance events.
optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for maintenanceInterval.
|
getMaintenanceStrategyCase()
public HostMaintenancePolicy.MaintenanceStrategyCase getMaintenanceStrategyCase()
getOpportunisticMaintenanceStrategy()
public HostMaintenancePolicy.OpportunisticMaintenanceStrategy getOpportunisticMaintenanceStrategy()
Strategy that will trigger maintenance on behalf of the customer.
.google.container.v1beta1.HostMaintenancePolicy.OpportunisticMaintenanceStrategy opportunistic_maintenance_strategy = 2;
getOpportunisticMaintenanceStrategyOrBuilder()
public HostMaintenancePolicy.OpportunisticMaintenanceStrategyOrBuilder getOpportunisticMaintenanceStrategyOrBuilder()
Strategy that will trigger maintenance on behalf of the customer.
.google.container.v1beta1.HostMaintenancePolicy.OpportunisticMaintenanceStrategy opportunistic_maintenance_strategy = 2;
getParserForType()
public Parser<HostMaintenancePolicy> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasMaintenanceInterval()
public boolean hasMaintenanceInterval()
Specifies the frequency of planned maintenance events.
optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;
Returns |
---|
Type | Description |
boolean | Whether the maintenanceInterval field is set.
|
hasOpportunisticMaintenanceStrategy()
public boolean hasOpportunisticMaintenanceStrategy()
Strategy that will trigger maintenance on behalf of the customer.
.google.container.v1beta1.HostMaintenancePolicy.OpportunisticMaintenanceStrategy opportunistic_maintenance_strategy = 2;
Returns |
---|
Type | Description |
boolean | Whether the opportunisticMaintenanceStrategy field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HostMaintenancePolicy.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HostMaintenancePolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public HostMaintenancePolicy.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides