Class Cluster.SurvivabilityConfig (0.37.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Cluster.SurvivabilityConfig getDefaultInstance()
Returns
TypeDescription
Cluster.SurvivabilityConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Cluster.SurvivabilityConfig.Builder newBuilder()
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder

newBuilder(Cluster.SurvivabilityConfig prototype)

public static Cluster.SurvivabilityConfig.Builder newBuilder(Cluster.SurvivabilityConfig prototype)
Parameter
NameDescription
prototypeCluster.SurvivabilityConfig
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder

parseDelimitedFrom(InputStream input)

public static Cluster.SurvivabilityConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Cluster.SurvivabilityConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Cluster.SurvivabilityConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Cluster.SurvivabilityConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Cluster.SurvivabilityConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Cluster.SurvivabilityConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Cluster.SurvivabilityConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Cluster.SurvivabilityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Cluster.SurvivabilityConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the offlineRebootTtl field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Cluster.SurvivabilityConfig.Builder newBuilderForType()
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Cluster.SurvivabilityConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Cluster.SurvivabilityConfig.Builder toBuilder()
Returns
TypeDescription
Cluster.SurvivabilityConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException