Class NodePool.UpdateInfo.BlueGreenInfo (2.46.0)

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

Information relevant to blue-green upgrade.

Protobuf type google.container.v1beta1.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
Type Description
int

BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER

public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER

public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER
Field Value
Type Description
int

GREEN_POOL_VERSION_FIELD_NUMBER

public static final int GREEN_POOL_VERSION_FIELD_NUMBER
Field Value
Type Description
int

PHASE_FIELD_NUMBER

public static final int PHASE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NodePool.UpdateInfo.BlueGreenInfo getDefaultInstance()
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilder()
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

newBuilder(NodePool.UpdateInfo.BlueGreenInfo prototype)

public static NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilder(NodePool.UpdateInfo.BlueGreenInfo prototype)
Parameter
Name Description
prototype NodePool.UpdateInfo.BlueGreenInfo
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

parseDelimitedFrom(InputStream input)

public static NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodePool.UpdateInfo.BlueGreenInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for bluePoolDeletionStartTime.

getDefaultInstanceForType()

public NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the greenInstanceGroupUrls.

getGreenPoolVersion()

public String getGreenPoolVersion()

Version of green pool.

string green_pool_version = 5;

Returns
Type Description
String

The greenPoolVersion.

getGreenPoolVersionBytes()

public ByteString getGreenPoolVersionBytes()

Version of green pool.

string green_pool_version = 5;

Returns
Type Description
ByteString

The bytes for greenPoolVersion.

getParserForType()

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

getPhase()

public NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase()

Current blue-green upgrade phase.

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

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Phase

The phase.

getPhaseValue()

public int getPhaseValue()

Current blue-green upgrade phase.

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

Returns
Type Description
int

The enum numeric value on the wire for phase.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilderForType()
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodePool.UpdateInfo.BlueGreenInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NodePool.UpdateInfo.BlueGreenInfo.Builder toBuilder()
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException