Class NodePool.ExclusionUntilEndOfSupport.Builder

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

public static final class NodePool.ExclusionUntilEndOfSupport.Builder extends com.google.protobuf.GeneratedMessage.Builder<NodePool.ExclusionUntilEndOfSupport.Builder> implements NodePool.ExclusionUntilEndOfSupportOrBuilder
 Defines the maintenance exclusion for the node pool.
 
Protobuf type google.container.v1.NodePool.ExclusionUntilEndOfSupport
  • 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<NodePool.ExclusionUntilEndOfSupport.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<NodePool.ExclusionUntilEndOfSupport.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<NodePool.ExclusionUntilEndOfSupport.Builder>
    • getDefaultInstanceForType

      public NodePool.ExclusionUntilEndOfSupport 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 NodePool.ExclusionUntilEndOfSupport buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public NodePool.ExclusionUntilEndOfSupport.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<NodePool.ExclusionUntilEndOfSupport.Builder>
      Throws:
      IOException
    • getEnabled

      public boolean getEnabled()
       Optional. Indicates whether the exclusion is enabled.
       
      bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEnabled in interface NodePool.ExclusionUntilEndOfSupportOrBuilder
      Returns:
      The enabled.
    • setEnabled

      public NodePool.ExclusionUntilEndOfSupport.Builder setEnabled(boolean value)
       Optional. Indicates whether the exclusion is enabled.
       
      bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enabled to set.
      Returns:
      This builder for chaining.
    • clearEnabled

       Optional. Indicates whether the exclusion is enabled.
       
      bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       Output only. The start time of the maintenance exclusion. It is output
       only. It is the exclusion creation time.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface NodePool.ExclusionUntilEndOfSupportOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. The start time of the maintenance exclusion. It is output
       only. It is the exclusion creation time.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface NodePool.ExclusionUntilEndOfSupportOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public NodePool.ExclusionUntilEndOfSupport.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. The start time of the maintenance exclusion. It is output
       only. It is the exclusion creation time.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public NodePool.ExclusionUntilEndOfSupport.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The start time of the maintenance exclusion. It is output
       only. It is the exclusion creation time.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public NodePool.ExclusionUntilEndOfSupport.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. The start time of the maintenance exclusion. It is output
       only. It is the exclusion creation time.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

       Output only. The start time of the maintenance exclusion. It is output
       only. It is the exclusion creation time.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. The start time of the maintenance exclusion. It is output
       only. It is the exclusion creation time.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. The start time of the maintenance exclusion. It is output
       only. It is the exclusion creation time.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface NodePool.ExclusionUntilEndOfSupportOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. The end time of the maintenance exclusion. It is output
       only. It is the cluster control plane version's end of support time, or
       end of extended support time when the cluster is on extended support
       channel.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface NodePool.ExclusionUntilEndOfSupportOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. The end time of the maintenance exclusion. It is output
       only. It is the cluster control plane version's end of support time, or
       end of extended support time when the cluster is on extended support
       channel.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface NodePool.ExclusionUntilEndOfSupportOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public NodePool.ExclusionUntilEndOfSupport.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. The end time of the maintenance exclusion. It is output
       only. It is the cluster control plane version's end of support time, or
       end of extended support time when the cluster is on extended support
       channel.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public NodePool.ExclusionUntilEndOfSupport.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The end time of the maintenance exclusion. It is output
       only. It is the cluster control plane version's end of support time, or
       end of extended support time when the cluster is on extended support
       channel.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public NodePool.ExclusionUntilEndOfSupport.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. The end time of the maintenance exclusion. It is output
       only. It is the cluster control plane version's end of support time, or
       end of extended support time when the cluster is on extended support
       channel.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

       Output only. The end time of the maintenance exclusion. It is output
       only. It is the cluster control plane version's end of support time, or
       end of extended support time when the cluster is on extended support
       channel.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. The end time of the maintenance exclusion. It is output
       only. It is the cluster control plane version's end of support time, or
       end of extended support time when the cluster is on extended support
       channel.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. The end time of the maintenance exclusion. It is output
       only. It is the cluster control plane version's end of support time, or
       end of extended support time when the cluster is on extended support
       channel.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface NodePool.ExclusionUntilEndOfSupportOrBuilder