Class NodePool.UpdateInfo.BlueGreenInfo.Builder

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

public static final class NodePool.UpdateInfo.BlueGreenInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder> implements NodePool.UpdateInfo.BlueGreenInfoOrBuilder
 Information relevant to blue-green upgrade.
 
Protobuf type google.container.v1.NodePool.UpdateInfo.BlueGreenInfo
  • 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.UpdateInfo.BlueGreenInfo.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.UpdateInfo.BlueGreenInfo.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.UpdateInfo.BlueGreenInfo.Builder>
    • getDefaultInstanceForType

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

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

      public NodePool.UpdateInfo.BlueGreenInfo.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.UpdateInfo.BlueGreenInfo.Builder>
      Throws:
      IOException
    • getPhaseValue

      public int getPhaseValue()
       Current blue-green upgrade phase.
       
      .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;
      Specified by:
      getPhaseValue in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      The enum numeric value on the wire for phase.
    • setPhaseValue

      public NodePool.UpdateInfo.BlueGreenInfo.Builder setPhaseValue(int value)
       Current blue-green upgrade phase.
       
      .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;
      Parameters:
      value - The enum numeric value on the wire for phase to set.
      Returns:
      This builder for chaining.
    • getPhase

       Current blue-green upgrade phase.
       
      .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;
      Specified by:
      getPhase in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      The phase.
    • setPhase

       Current blue-green upgrade phase.
       
      .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;
      Parameters:
      value - The phase to set.
      Returns:
      This builder for chaining.
    • clearPhase

       Current blue-green upgrade phase.
       
      .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;
      Returns:
      This builder for chaining.
    • getBlueInstanceGroupUrlsList

      public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList()
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Specified by:
      getBlueInstanceGroupUrlsList in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      A list containing the blueInstanceGroupUrls.
    • getBlueInstanceGroupUrlsCount

      public int getBlueInstanceGroupUrlsCount()
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Specified by:
      getBlueInstanceGroupUrlsCount in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      The count of blueInstanceGroupUrls.
    • getBlueInstanceGroupUrls

      public String getBlueInstanceGroupUrls(int index)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Specified by:
      getBlueInstanceGroupUrls in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The blueInstanceGroupUrls at the given index.
    • getBlueInstanceGroupUrlsBytes

      public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Specified by:
      getBlueInstanceGroupUrlsBytes in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the blueInstanceGroupUrls at the given index.
    • setBlueInstanceGroupUrls

      public NodePool.UpdateInfo.BlueGreenInfo.Builder setBlueInstanceGroupUrls(int index, String value)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Parameters:
      index - The index to set the value at.
      value - The blueInstanceGroupUrls to set.
      Returns:
      This builder for chaining.
    • addBlueInstanceGroupUrls

      public NodePool.UpdateInfo.BlueGreenInfo.Builder addBlueInstanceGroupUrls(String value)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Parameters:
      value - The blueInstanceGroupUrls to add.
      Returns:
      This builder for chaining.
    • addAllBlueInstanceGroupUrls

      public NodePool.UpdateInfo.BlueGreenInfo.Builder addAllBlueInstanceGroupUrls(Iterable<String> values)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Parameters:
      values - The blueInstanceGroupUrls to add.
      Returns:
      This builder for chaining.
    • clearBlueInstanceGroupUrls

      public NodePool.UpdateInfo.BlueGreenInfo.Builder clearBlueInstanceGroupUrls()
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Returns:
      This builder for chaining.
    • addBlueInstanceGroupUrlsBytes

      public NodePool.UpdateInfo.BlueGreenInfo.Builder addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with blue pool.
       
      repeated string blue_instance_group_urls = 2;
      Parameters:
      value - The bytes of the blueInstanceGroupUrls to add.
      Returns:
      This builder for chaining.
    • getGreenInstanceGroupUrlsList

      public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList()
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Specified by:
      getGreenInstanceGroupUrlsList in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      A list containing the greenInstanceGroupUrls.
    • getGreenInstanceGroupUrlsCount

      public int getGreenInstanceGroupUrlsCount()
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Specified by:
      getGreenInstanceGroupUrlsCount in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      The count of greenInstanceGroupUrls.
    • getGreenInstanceGroupUrls

      public String getGreenInstanceGroupUrls(int index)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Specified by:
      getGreenInstanceGroupUrls in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The greenInstanceGroupUrls at the given index.
    • getGreenInstanceGroupUrlsBytes

      public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Specified by:
      getGreenInstanceGroupUrlsBytes in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the greenInstanceGroupUrls at the given index.
    • setGreenInstanceGroupUrls

      public NodePool.UpdateInfo.BlueGreenInfo.Builder setGreenInstanceGroupUrls(int index, String value)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Parameters:
      index - The index to set the value at.
      value - The greenInstanceGroupUrls to set.
      Returns:
      This builder for chaining.
    • addGreenInstanceGroupUrls

      public NodePool.UpdateInfo.BlueGreenInfo.Builder addGreenInstanceGroupUrls(String value)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Parameters:
      value - The greenInstanceGroupUrls to add.
      Returns:
      This builder for chaining.
    • addAllGreenInstanceGroupUrls

      public NodePool.UpdateInfo.BlueGreenInfo.Builder addAllGreenInstanceGroupUrls(Iterable<String> values)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Parameters:
      values - The greenInstanceGroupUrls to add.
      Returns:
      This builder for chaining.
    • clearGreenInstanceGroupUrls

      public NodePool.UpdateInfo.BlueGreenInfo.Builder clearGreenInstanceGroupUrls()
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Returns:
      This builder for chaining.
    • addGreenInstanceGroupUrlsBytes

      public NodePool.UpdateInfo.BlueGreenInfo.Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value)
       The resource URLs of the [managed instance groups]
       (/compute/docs/instance-groups/creating-groups-of-managed-instances)
       associated with green pool.
       
      repeated string green_instance_group_urls = 3;
      Parameters:
      value - The bytes of the greenInstanceGroupUrls to add.
      Returns:
      This builder for chaining.
    • getBluePoolDeletionStartTime

      public String getBluePoolDeletionStartTime()
       Time to start deleting blue pool to complete blue-green upgrade,
       in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string blue_pool_deletion_start_time = 4;
      Specified by:
      getBluePoolDeletionStartTime in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      The bluePoolDeletionStartTime.
    • getBluePoolDeletionStartTimeBytes

      public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes()
       Time to start deleting blue pool to complete blue-green upgrade,
       in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string blue_pool_deletion_start_time = 4;
      Specified by:
      getBluePoolDeletionStartTimeBytes in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      The bytes for bluePoolDeletionStartTime.
    • setBluePoolDeletionStartTime

      public NodePool.UpdateInfo.BlueGreenInfo.Builder setBluePoolDeletionStartTime(String value)
       Time to start deleting blue pool to complete blue-green upgrade,
       in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string blue_pool_deletion_start_time = 4;
      Parameters:
      value - The bluePoolDeletionStartTime to set.
      Returns:
      This builder for chaining.
    • clearBluePoolDeletionStartTime

      public NodePool.UpdateInfo.BlueGreenInfo.Builder clearBluePoolDeletionStartTime()
       Time to start deleting blue pool to complete blue-green upgrade,
       in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string blue_pool_deletion_start_time = 4;
      Returns:
      This builder for chaining.
    • setBluePoolDeletionStartTimeBytes

      public NodePool.UpdateInfo.BlueGreenInfo.Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value)
       Time to start deleting blue pool to complete blue-green upgrade,
       in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
       
      string blue_pool_deletion_start_time = 4;
      Parameters:
      value - The bytes for bluePoolDeletionStartTime to set.
      Returns:
      This builder for chaining.
    • getGreenPoolVersion

      public String getGreenPoolVersion()
       Version of green pool.
       
      string green_pool_version = 5;
      Specified by:
      getGreenPoolVersion in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      The greenPoolVersion.
    • getGreenPoolVersionBytes

      public com.google.protobuf.ByteString getGreenPoolVersionBytes()
       Version of green pool.
       
      string green_pool_version = 5;
      Specified by:
      getGreenPoolVersionBytes in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
      Returns:
      The bytes for greenPoolVersion.
    • setGreenPoolVersion

      public NodePool.UpdateInfo.BlueGreenInfo.Builder setGreenPoolVersion(String value)
       Version of green pool.
       
      string green_pool_version = 5;
      Parameters:
      value - The greenPoolVersion to set.
      Returns:
      This builder for chaining.
    • clearGreenPoolVersion

      public NodePool.UpdateInfo.BlueGreenInfo.Builder clearGreenPoolVersion()
       Version of green pool.
       
      string green_pool_version = 5;
      Returns:
      This builder for chaining.
    • setGreenPoolVersionBytes

      public NodePool.UpdateInfo.BlueGreenInfo.Builder setGreenPoolVersionBytes(com.google.protobuf.ByteString value)
       Version of green pool.
       
      string green_pool_version = 5;
      Parameters:
      value - The bytes for greenPoolVersion to set.
      Returns:
      This builder for chaining.