Class Cluster.SurvivabilityConfig (0.39.0)

public static final class Cluster.SurvivabilityConfig extends GeneratedMessageV3 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 Fields

OFFLINE_REBOOT_TTL_FIELD_NUMBER

public static final int OFFLINE_REBOOT_TTL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Cluster.SurvivabilityConfig getDefaultInstance()
Returns
Type Description
Cluster.SurvivabilityConfig

getDescriptor()

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

newBuilder()

public static Cluster.SurvivabilityConfig.Builder newBuilder()
Returns
Type Description
Cluster.SurvivabilityConfig.Builder

newBuilder(Cluster.SurvivabilityConfig prototype)

public static Cluster.SurvivabilityConfig.Builder newBuilder(Cluster.SurvivabilityConfig prototype)
Parameter
Name Description
prototype Cluster.SurvivabilityConfig
Returns
Type Description
Cluster.SurvivabilityConfig.Builder

parseDelimitedFrom(InputStream input)

public static Cluster.SurvivabilityConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Cluster.SurvivabilityConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Cluster.SurvivabilityConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Cluster.SurvivabilityConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Cluster.SurvivabilityConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Cluster.SurvivabilityConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.SurvivabilityConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Cluster.SurvivabilityConfig> parser()
Returns
Type Description
Parser<SurvivabilityConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

public Parser<Cluster.SurvivabilityConfig> getParserForType()
Returns
Type Description
Parser<SurvivabilityConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Cluster.SurvivabilityConfig.Builder newBuilderForType()
Returns
Type Description
Cluster.SurvivabilityConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Cluster.SurvivabilityConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Cluster.SurvivabilityConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Cluster.SurvivabilityConfig.Builder toBuilder()
Returns
Type Description
Cluster.SurvivabilityConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException