Class AutoUpgradeOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutoUpgradeOptions.Builder>
com.google.container.v1.AutoUpgradeOptions.Builder
All Implemented Interfaces:
AutoUpgradeOptionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AutoUpgradeOptions

public static final class AutoUpgradeOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutoUpgradeOptions.Builder> implements AutoUpgradeOptionsOrBuilder
 AutoUpgradeOptions defines the set of options for the user to control how
 the Auto Upgrades will proceed.
 
Protobuf type google.container.v1.AutoUpgradeOptions
  • 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<AutoUpgradeOptions.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<AutoUpgradeOptions.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<AutoUpgradeOptions.Builder>
    • getDefaultInstanceForType

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

      public AutoUpgradeOptions build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public AutoUpgradeOptions.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<AutoUpgradeOptions.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<AutoUpgradeOptions.Builder>
    • mergeFrom

      public AutoUpgradeOptions.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<AutoUpgradeOptions.Builder>
      Throws:
      IOException
    • getAutoUpgradeStartTime

      public String getAutoUpgradeStartTime()
       Output only. This field is set when upgrades are about to commence
       with the approximate start time for the upgrades, in
       [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAutoUpgradeStartTime in interface AutoUpgradeOptionsOrBuilder
      Returns:
      The autoUpgradeStartTime.
    • getAutoUpgradeStartTimeBytes

      public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes()
       Output only. This field is set when upgrades are about to commence
       with the approximate start time for the upgrades, in
       [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAutoUpgradeStartTimeBytes in interface AutoUpgradeOptionsOrBuilder
      Returns:
      The bytes for autoUpgradeStartTime.
    • setAutoUpgradeStartTime

      public AutoUpgradeOptions.Builder setAutoUpgradeStartTime(String value)
       Output only. This field is set when upgrades are about to commence
       with the approximate start time for the upgrades, in
       [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The autoUpgradeStartTime to set.
      Returns:
      This builder for chaining.
    • clearAutoUpgradeStartTime

      public AutoUpgradeOptions.Builder clearAutoUpgradeStartTime()
       Output only. This field is set when upgrades are about to commence
       with the approximate start time for the upgrades, in
       [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAutoUpgradeStartTimeBytes

      public AutoUpgradeOptions.Builder setAutoUpgradeStartTimeBytes(com.google.protobuf.ByteString value)
       Output only. This field is set when upgrades are about to commence
       with the approximate start time for the upgrades, in
       [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for autoUpgradeStartTime to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Output only. This field is set when upgrades are about to commence
       with the description of the upgrade.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescription in interface AutoUpgradeOptionsOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Output only. This field is set when upgrades are about to commence
       with the description of the upgrade.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDescriptionBytes in interface AutoUpgradeOptionsOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public AutoUpgradeOptions.Builder setDescription(String value)
       Output only. This field is set when upgrades are about to commence
       with the description of the upgrade.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public AutoUpgradeOptions.Builder clearDescription()
       Output only. This field is set when upgrades are about to commence
       with the description of the upgrade.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public AutoUpgradeOptions.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Output only. This field is set when upgrades are about to commence
       with the description of the upgrade.
       
      string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.