Package com.google.container.v1
Class NodePool.UpdateInfo.BlueGreenInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.GeneratedMessageV3 implements NodePool.UpdateInfo.BlueGreenInfoOrBuilder
Information relevant to blue-green upgrade.
Protobuf typegoogle.container.v1.NodePool.UpdateInfo.BlueGreenInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodePool.UpdateInfo.BlueGreenInfo.BuilderInformation relevant to blue-green upgrade.static classNodePool.UpdateInfo.BlueGreenInfo.PhasePhase represents the different stages blue-green upgrade is running in.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBLUE_INSTANCE_GROUP_URLS_FIELD_NUMBERstatic intBLUE_POOL_DELETION_START_TIME_FIELD_NUMBERstatic intGREEN_INSTANCE_GROUP_URLS_FIELD_NUMBERstatic intGREEN_POOL_VERSION_FIELD_NUMBERstatic intPHASE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBlueInstanceGroupUrls(int index)The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.com.google.protobuf.ByteStringgetBlueInstanceGroupUrlsBytes(int index)The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.intgetBlueInstanceGroupUrlsCount()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.com.google.protobuf.ProtocolStringListgetBlueInstanceGroupUrlsList()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.StringgetBluePoolDeletionStartTime()Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.com.google.protobuf.ByteStringgetBluePoolDeletionStartTimeBytes()Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.static NodePool.UpdateInfo.BlueGreenInfogetDefaultInstance()NodePool.UpdateInfo.BlueGreenInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetGreenInstanceGroupUrls(int index)The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.com.google.protobuf.ByteStringgetGreenInstanceGroupUrlsBytes(int index)The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.intgetGreenInstanceGroupUrlsCount()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.com.google.protobuf.ProtocolStringListgetGreenInstanceGroupUrlsList()The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.StringgetGreenPoolVersion()Version of green pool.com.google.protobuf.ByteStringgetGreenPoolVersionBytes()Version of green pool.com.google.protobuf.Parser<NodePool.UpdateInfo.BlueGreenInfo>getParserForType()NodePool.UpdateInfo.BlueGreenInfo.PhasegetPhase()Current blue-green upgrade phase.intgetPhaseValue()Current blue-green upgrade phase.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NodePool.UpdateInfo.BlueGreenInfo.BuildernewBuilder()static NodePool.UpdateInfo.BlueGreenInfo.BuildernewBuilder(NodePool.UpdateInfo.BlueGreenInfo prototype)NodePool.UpdateInfo.BlueGreenInfo.BuildernewBuilderForType()protected NodePool.UpdateInfo.BlueGreenInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NodePool.UpdateInfo.BlueGreenInfoparseDelimitedFrom(InputStream input)static NodePool.UpdateInfo.BlueGreenInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(byte[] data)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(com.google.protobuf.ByteString data)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(com.google.protobuf.CodedInputStream input)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(InputStream input)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(ByteBuffer data)static NodePool.UpdateInfo.BlueGreenInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NodePool.UpdateInfo.BlueGreenInfo>parser()NodePool.UpdateInfo.BlueGreenInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPhaseValue
public int getPhaseValue()
Current blue-green upgrade phase.
.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;- Specified by:
getPhaseValuein interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
getPhase
public NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase()
Current blue-green upgrade phase.
.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;- Specified by:
getPhasein interfaceNodePool.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:
getBlueInstanceGroupUrlsListin interfaceNodePool.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:
getBlueInstanceGroupUrlsCountin interfaceNodePool.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:
getBlueInstanceGroupUrlsin interfaceNodePool.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:
getBlueInstanceGroupUrlsBytesin interfaceNodePool.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:
getGreenInstanceGroupUrlsListin interfaceNodePool.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:
getGreenInstanceGroupUrlsCountin interfaceNodePool.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:
getGreenInstanceGroupUrlsin interfaceNodePool.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:
getGreenInstanceGroupUrlsBytesin interfaceNodePool.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:
getBluePoolDeletionStartTimein interfaceNodePool.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:
getBluePoolDeletionStartTimeBytesin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The bytes for bluePoolDeletionStartTime.
-
getGreenPoolVersion
public String getGreenPoolVersion()
Version of green pool.
string green_pool_version = 5;- Specified by:
getGreenPoolVersionin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The greenPoolVersion.
-
getGreenPoolVersionBytes
public com.google.protobuf.ByteString getGreenPoolVersionBytes()
Version of green pool.
string green_pool_version = 5;- Specified by:
getGreenPoolVersionBytesin interfaceNodePool.UpdateInfo.BlueGreenInfoOrBuilder- Returns:
- The bytes for greenPoolVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilder()
-
newBuilder
public static NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilder(NodePool.UpdateInfo.BlueGreenInfo prototype)
-
toBuilder
public NodePool.UpdateInfo.BlueGreenInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-