Class Cluster.SurvivabilityConfig.Builder (0.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Cluster.SurvivabilityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides

build()

public Cluster.SurvivabilityConfig build()
Returns
TypeDescription
Cluster.SurvivabilityConfig

buildPartial()

public Cluster.SurvivabilityConfig buildPartial()
Returns
TypeDescription
Cluster.SurvivabilityConfig

clear()

public Cluster.SurvivabilityConfig.Builder clear()
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Cluster.SurvivabilityConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Cluster.SurvivabilityConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Cluster.SurvivabilityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides

clone()

public Cluster.SurvivabilityConfig.Builder clone()
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides

getDefaultInstanceForType()

public Cluster.SurvivabilityConfig getDefaultInstanceForType()
Returns
TypeDescription
Cluster.SurvivabilityConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the offlineRebootTtl field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Cluster.SurvivabilityConfig other)

public Cluster.SurvivabilityConfig.Builder mergeFrom(Cluster.SurvivabilityConfig other)
Parameter
NameDescription
otherCluster.SurvivabilityConfig
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Cluster.SurvivabilityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Cluster.SurvivabilityConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.SurvivabilityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Cluster.SurvivabilityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder

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

public Cluster.SurvivabilityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Cluster.SurvivabilityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides