public static final class Cluster.SurvivabilityConfig.Builder extends GeneratedMessageV3.Builder<Cluster.SurvivabilityConfig.Builder> implements Cluster.SurvivabilityConfigOrBuilder
Configuration of the cluster survivability, e.g., for the case when network
connectivity is lost.
Protobuf type google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 Cluster.SurvivabilityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Cluster.SurvivabilityConfig build()
buildPartial()
public Cluster.SurvivabilityConfig buildPartial()
clear()
public Cluster.SurvivabilityConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Cluster.SurvivabilityConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOfflineRebootTtl()
public Cluster.SurvivabilityConfig.Builder clearOfflineRebootTtl()
Optional. Time period that allows the cluster nodes to be rebooted and
become functional without network connectivity to Google. The default 0
means not allowed. The maximum is 7 days.
.google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.SurvivabilityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Cluster.SurvivabilityConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public Cluster.SurvivabilityConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOfflineRebootTtl()
public Duration getOfflineRebootTtl()
Optional. Time period that allows the cluster nodes to be rebooted and
become functional without network connectivity to Google. The default 0
means not allowed. The maximum is 7 days.
.google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
Duration | The offlineRebootTtl.
|
getOfflineRebootTtlBuilder()
public Duration.Builder getOfflineRebootTtlBuilder()
Optional. Time period that allows the cluster nodes to be rebooted and
become functional without network connectivity to Google. The default 0
means not allowed. The maximum is 7 days.
.google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
getOfflineRebootTtlOrBuilder()
public DurationOrBuilder getOfflineRebootTtlOrBuilder()
Optional. Time period that allows the cluster nodes to be rebooted and
become functional without network connectivity to Google. The default 0
means not allowed. The maximum is 7 days.
.google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
hasOfflineRebootTtl()
public boolean hasOfflineRebootTtl()
Optional. Time period that allows the cluster nodes to be rebooted and
become functional without network connectivity to Google. The default 0
means not allowed. The maximum is 7 days.
.google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the offlineRebootTtl field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Cluster.SurvivabilityConfig other)
public Cluster.SurvivabilityConfig.Builder mergeFrom(Cluster.SurvivabilityConfig other)
public Cluster.SurvivabilityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Cluster.SurvivabilityConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeOfflineRebootTtl(Duration value)
public Cluster.SurvivabilityConfig.Builder mergeOfflineRebootTtl(Duration value)
Optional. Time period that allows the cluster nodes to be rebooted and
become functional without network connectivity to Google. The default 0
means not allowed. The maximum is 7 days.
.google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.SurvivabilityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.SurvivabilityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOfflineRebootTtl(Duration value)
public Cluster.SurvivabilityConfig.Builder setOfflineRebootTtl(Duration value)
Optional. Time period that allows the cluster nodes to be rebooted and
become functional without network connectivity to Google. The default 0
means not allowed. The maximum is 7 days.
.google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
setOfflineRebootTtl(Duration.Builder builderForValue)
public Cluster.SurvivabilityConfig.Builder setOfflineRebootTtl(Duration.Builder builderForValue)
Optional. Time period that allows the cluster nodes to be rebooted and
become functional without network connectivity to Google. The default 0
means not allowed. The maximum is 7 days.
.google.protobuf.Duration offline_reboot_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.SurvivabilityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.SurvivabilityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides