Class NodePool.UpdateInfo.BlueGreenInfo

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

public static final class NodePool.UpdateInfo.BlueGreenInfo extends com.google.protobuf.GeneratedMessage implements NodePool.UpdateInfo.BlueGreenInfoOrBuilder
 Information relevant to blue-green upgrade.
 
Protobuf type google.container.v1.NodePool.UpdateInfo.BlueGreenInfo
See Also:
  • Field Details

    • PHASE_FIELD_NUMBER

      public static final int PHASE_FIELD_NUMBER
      See Also:
    • BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER

      public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER
      See Also:
    • GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER

      public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER
      See Also:
    • BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER

      public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER
      See Also:
    • GREEN_POOL_VERSION_FIELD_NUMBER

      public static final int GREEN_POOL_VERSION_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • 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
    • parseFrom

      public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • 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
    • newBuilder

      public static NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilder()
    • newBuilder

    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static NodePool.UpdateInfo.BlueGreenInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NodePool.UpdateInfo.BlueGreenInfo> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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