Class NodePool.UpdateInfo.BlueGreenInfo (2.37.0)

public static final class NodePool.UpdateInfo.BlueGreenInfo extends GeneratedMessageV3 implements NodePool.UpdateInfo.BlueGreenInfoOrBuilder

Information relevant to blue-green upgrade.

Protobuf type google.container.v1.NodePool.UpdateInfo.BlueGreenInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NodePool.UpdateInfo.BlueGreenInfo

Static Fields

BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER

public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER
Field Value
TypeDescription
int

BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER

public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER

public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER
Field Value
TypeDescription
int

GREEN_POOL_VERSION_FIELD_NUMBER

public static final int GREEN_POOL_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

PHASE_FIELD_NUMBER

public static final int PHASE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodePool.UpdateInfo.BlueGreenInfo getDefaultInstance()
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilder()
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

newBuilder(NodePool.UpdateInfo.BlueGreenInfo prototype)

public static NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilder(NodePool.UpdateInfo.BlueGreenInfo prototype)
Parameter
NameDescription
prototypeNodePool.UpdateInfo.BlueGreenInfo
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

parseDelimitedFrom(InputStream input)

public static NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NodePool.UpdateInfo.BlueGreenInfo> parser()
Returns
TypeDescription
Parser<BlueGreenInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBlueInstanceGroupUrls(int index)

public String getBlueInstanceGroupUrls(int index)

The resource URLs of the managed instance groups associated with blue pool.

repeated string blue_instance_group_urls = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The blueInstanceGroupUrls at the given index.

getBlueInstanceGroupUrlsBytes(int index)

public ByteString getBlueInstanceGroupUrlsBytes(int index)

The resource URLs of the managed instance groups associated with blue pool.

repeated string blue_instance_group_urls = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the blueInstanceGroupUrls at the given index.

getBlueInstanceGroupUrlsCount()

public int getBlueInstanceGroupUrlsCount()

The resource URLs of the managed instance groups associated with blue pool.

repeated string blue_instance_group_urls = 2;

Returns
TypeDescription
int

The count of blueInstanceGroupUrls.

getBlueInstanceGroupUrlsList()

public ProtocolStringList getBlueInstanceGroupUrlsList()

The resource URLs of the managed instance groups associated with blue pool.

repeated string blue_instance_group_urls = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the blueInstanceGroupUrls.

getBluePoolDeletionStartTime()

public String getBluePoolDeletionStartTime()

Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.

string blue_pool_deletion_start_time = 4;

Returns
TypeDescription
String

The bluePoolDeletionStartTime.

getBluePoolDeletionStartTimeBytes()

public ByteString getBluePoolDeletionStartTimeBytes()

Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.

string blue_pool_deletion_start_time = 4;

Returns
TypeDescription
ByteString

The bytes for bluePoolDeletionStartTime.

getDefaultInstanceForType()

public NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType()
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo

getGreenInstanceGroupUrls(int index)

public String getGreenInstanceGroupUrls(int index)

The resource URLs of the managed instance groups associated with green pool.

repeated string green_instance_group_urls = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The greenInstanceGroupUrls at the given index.

getGreenInstanceGroupUrlsBytes(int index)

public ByteString getGreenInstanceGroupUrlsBytes(int index)

The resource URLs of the managed instance groups associated with green pool.

repeated string green_instance_group_urls = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the greenInstanceGroupUrls at the given index.

getGreenInstanceGroupUrlsCount()

public int getGreenInstanceGroupUrlsCount()

The resource URLs of the managed instance groups associated with green pool.

repeated string green_instance_group_urls = 3;

Returns
TypeDescription
int

The count of greenInstanceGroupUrls.

getGreenInstanceGroupUrlsList()

public ProtocolStringList getGreenInstanceGroupUrlsList()

The resource URLs of the managed instance groups associated with green pool.

repeated string green_instance_group_urls = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the greenInstanceGroupUrls.

getGreenPoolVersion()

public String getGreenPoolVersion()

Version of green pool.

string green_pool_version = 5;

Returns
TypeDescription
String

The greenPoolVersion.

getGreenPoolVersionBytes()

public ByteString getGreenPoolVersionBytes()

Version of green pool.

string green_pool_version = 5;

Returns
TypeDescription
ByteString

The bytes for greenPoolVersion.

getParserForType()

public Parser<NodePool.UpdateInfo.BlueGreenInfo> getParserForType()
Returns
TypeDescription
Parser<BlueGreenInfo>
Overrides

getPhase()

public NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase()

Current blue-green upgrade phase.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;

Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Phase

The phase.

getPhaseValue()

public int getPhaseValue()

Current blue-green upgrade phase.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for phase.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilderForType()
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NodePool.UpdateInfo.BlueGreenInfo.Builder toBuilder()
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException