Class NodePool.UpdateInfo.BlueGreenInfo

    • Field Detail

      • BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER

        public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER

        public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER

        public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GREEN_POOL_VERSION_FIELD_NUMBER

        public static final int GREEN_POOL_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getPhaseValue

        public int getPhaseValue()
         Current blue-green upgrade phase.
         
        .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;
        Specified by:
        getPhaseValue in interface NodePool.UpdateInfo.BlueGreenInfoOrBuilder
        Returns:
        The enum numeric value on the wire for phase.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static NodePool.UpdateInfo.BlueGreenInfo parseFrom​(ByteBuffer data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NodePool.UpdateInfo.BlueGreenInfo parseFrom​(com.google.protobuf.ByteString data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NodePool.UpdateInfo.BlueGreenInfo parseFrom​(com.google.protobuf.ByteString data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NodePool.UpdateInfo.BlueGreenInfo parseFrom​(byte[] data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NodePool.UpdateInfo.BlueGreenInfo parseFrom​(byte[] data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public NodePool.UpdateInfo.BlueGreenInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<NodePool.UpdateInfo.BlueGreenInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder