Class NodePool.UpdateInfo.BlueGreenInfo.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NodePool.UpdateInfo.BlueGreenInfo.Builder>
      • 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.
      • clearPhase

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