public static final class HostMaintenancePolicy.Builder extends GeneratedMessageV3.Builder<HostMaintenancePolicy.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HostMaintenancePolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HostMaintenancePolicy build()
buildPartial()
public HostMaintenancePolicy buildPartial()
clear()
public HostMaintenancePolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public HostMaintenancePolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaintenanceInterval()
public HostMaintenancePolicy.Builder clearMaintenanceInterval()
Specifies the frequency of planned maintenance events.
optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public HostMaintenancePolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public HostMaintenancePolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public HostMaintenancePolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HostMaintenancePolicy other)
public HostMaintenancePolicy.Builder mergeFrom(HostMaintenancePolicy other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HostMaintenancePolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HostMaintenancePolicy.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HostMaintenancePolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public HostMaintenancePolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMaintenanceInterval(HostMaintenancePolicy.MaintenanceInterval value)
public HostMaintenancePolicy.Builder setMaintenanceInterval(HostMaintenancePolicy.MaintenanceInterval value)
Specifies the frequency of planned maintenance events.
optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;
setMaintenanceIntervalValue(int value)
public HostMaintenancePolicy.Builder setMaintenanceIntervalValue(int value)
Specifies the frequency of planned maintenance events.
optional .google.container.v1beta1.HostMaintenancePolicy.MaintenanceInterval maintenance_interval = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for maintenanceInterval to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HostMaintenancePolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HostMaintenancePolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides