Class Cluster.SurvivabilityConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Cluster.SurvivabilityConfig.Builder>
com.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig.Builder
All Implemented Interfaces:
Cluster.SurvivabilityConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Cluster.SurvivabilityConfig

public static final class Cluster.SurvivabilityConfig.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Cluster.SurvivabilityConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Cluster.SurvivabilityConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Cluster.SurvivabilityConfig.Builder>
    • getDefaultInstanceForType

      public Cluster.SurvivabilityConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Cluster.SurvivabilityConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Cluster.SurvivabilityConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.SurvivabilityConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.SurvivabilityConfig.Builder>
    • mergeFrom

      public Cluster.SurvivabilityConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.SurvivabilityConfig.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      hasOfflineRebootTtl in interface Cluster.SurvivabilityConfigOrBuilder
      Returns:
      Whether the offlineRebootTtl field is set.
    • getOfflineRebootTtl

      public com.google.protobuf.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];
      Specified by:
      getOfflineRebootTtl in interface Cluster.SurvivabilityConfigOrBuilder
      Returns:
      The offlineRebootTtl.
    • setOfflineRebootTtl

      public Cluster.SurvivabilityConfig.Builder setOfflineRebootTtl(com.google.protobuf.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

      public Cluster.SurvivabilityConfig.Builder setOfflineRebootTtl(com.google.protobuf.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];
    • mergeOfflineRebootTtl

      public Cluster.SurvivabilityConfig.Builder mergeOfflineRebootTtl(com.google.protobuf.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];
    • 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];
    • getOfflineRebootTtlBuilder

      public com.google.protobuf.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 com.google.protobuf.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];
      Specified by:
      getOfflineRebootTtlOrBuilder in interface Cluster.SurvivabilityConfigOrBuilder