Class Cluster.SurvivabilityConfig.Builder (0.49.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Cluster.SurvivabilityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides

build()

public Cluster.SurvivabilityConfig build()
Returns
Type Description
Cluster.SurvivabilityConfig

buildPartial()

public Cluster.SurvivabilityConfig buildPartial()
Returns
Type Description
Cluster.SurvivabilityConfig

clear()

public Cluster.SurvivabilityConfig.Builder clear()
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Cluster.SurvivabilityConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
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];

Returns
Type Description
Cluster.SurvivabilityConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Cluster.SurvivabilityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides

clone()

public Cluster.SurvivabilityConfig.Builder clone()
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides

getDefaultInstanceForType()

public Cluster.SurvivabilityConfig getDefaultInstanceForType()
Returns
Type Description
Cluster.SurvivabilityConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
Builder

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];

Returns
Type Description
DurationOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Cluster.SurvivabilityConfig other)

public Cluster.SurvivabilityConfig.Builder mergeFrom(Cluster.SurvivabilityConfig other)
Parameter
Name Description
other Cluster.SurvivabilityConfig
Returns
Type Description
Cluster.SurvivabilityConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Cluster.SurvivabilityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Cluster.SurvivabilityConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
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];

Parameter
Name Description
value Duration
Returns
Type Description
Cluster.SurvivabilityConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.SurvivabilityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Cluster.SurvivabilityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
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];

Parameter
Name Description
value Duration
Returns
Type Description
Cluster.SurvivabilityConfig.Builder

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
Returns
Type Description
Cluster.SurvivabilityConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Cluster.SurvivabilityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.SurvivabilityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides