Class NodePool.UpdateInfo.BlueGreenInfo.Builder (2.56.0)

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

Information relevant to blue-green upgrade.

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

Static Methods

getDescriptor()

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

Methods

addAllBlueInstanceGroupUrls(Iterable<String> values)

public NodePool.UpdateInfo.BlueGreenInfo.Builder addAllBlueInstanceGroupUrls(Iterable<String> values)

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

repeated string blue_instance_group_urls = 2;

Parameter
Name Description
values Iterable<String>

The blueInstanceGroupUrls to add.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

addAllGreenInstanceGroupUrls(Iterable<String> values)

public NodePool.UpdateInfo.BlueGreenInfo.Builder addAllGreenInstanceGroupUrls(Iterable<String> values)

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

repeated string green_instance_group_urls = 3;

Parameter
Name Description
values Iterable<String>

The greenInstanceGroupUrls to add.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

addBlueInstanceGroupUrls(String value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder addBlueInstanceGroupUrls(String value)

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

repeated string blue_instance_group_urls = 2;

Parameter
Name Description
value String

The blueInstanceGroupUrls to add.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

addBlueInstanceGroupUrlsBytes(ByteString value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder addBlueInstanceGroupUrlsBytes(ByteString value)

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

repeated string blue_instance_group_urls = 2;

Parameter
Name Description
value ByteString

The bytes of the blueInstanceGroupUrls to add.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

addGreenInstanceGroupUrls(String value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder addGreenInstanceGroupUrls(String value)

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

repeated string green_instance_group_urls = 3;

Parameter
Name Description
value String

The greenInstanceGroupUrls to add.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

addGreenInstanceGroupUrlsBytes(ByteString value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder addGreenInstanceGroupUrlsBytes(ByteString value)

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

repeated string green_instance_group_urls = 3;

Parameter
Name Description
value ByteString

The bytes of the greenInstanceGroupUrls to add.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

build()

public NodePool.UpdateInfo.BlueGreenInfo build()
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo

buildPartial()

public NodePool.UpdateInfo.BlueGreenInfo buildPartial()
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo

clear()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clear()
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

clearBlueInstanceGroupUrls()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearBlueInstanceGroupUrls()

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

repeated string blue_instance_group_urls = 2;

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

clearBluePoolDeletionStartTime()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearBluePoolDeletionStartTime()

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
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

clearGreenInstanceGroupUrls()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearGreenInstanceGroupUrls()

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

repeated string green_instance_group_urls = 3;

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

clearGreenPoolVersion()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearGreenPoolVersion()

Version of green pool.

string green_pool_version = 5;

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

clearPhase()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearPhase()

Current blue-green upgrade phase.

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

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

clone()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clone()
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getPhase()

public NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase()

Current blue-green upgrade phase.

.google.container.v1.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.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;

Returns
Type Description
int

The enum numeric value on the wire for phase.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodePool.UpdateInfo.BlueGreenInfo other)

public NodePool.UpdateInfo.BlueGreenInfo.Builder mergeFrom(NodePool.UpdateInfo.BlueGreenInfo other)
Parameter
Name Description
other NodePool.UpdateInfo.BlueGreenInfo
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodePool.UpdateInfo.BlueGreenInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NodePool.UpdateInfo.BlueGreenInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodePool.UpdateInfo.BlueGreenInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

setBlueInstanceGroupUrls(int index, String value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setBlueInstanceGroupUrls(int index, String value)

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

repeated string blue_instance_group_urls = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The blueInstanceGroupUrls to set.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

setBluePoolDeletionStartTime(String value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setBluePoolDeletionStartTime(String value)

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

string blue_pool_deletion_start_time = 4;

Parameter
Name Description
value String

The bluePoolDeletionStartTime to set.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

setBluePoolDeletionStartTimeBytes(ByteString value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setBluePoolDeletionStartTimeBytes(ByteString value)

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

string blue_pool_deletion_start_time = 4;

Parameter
Name Description
value ByteString

The bytes for bluePoolDeletionStartTime to set.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

setGreenInstanceGroupUrls(int index, String value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setGreenInstanceGroupUrls(int index, String value)

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

repeated string green_instance_group_urls = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The greenInstanceGroupUrls to set.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

setGreenPoolVersion(String value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setGreenPoolVersion(String value)

Version of green pool.

string green_pool_version = 5;

Parameter
Name Description
value String

The greenPoolVersion to set.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

setGreenPoolVersionBytes(ByteString value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setGreenPoolVersionBytes(ByteString value)

Version of green pool.

string green_pool_version = 5;

Parameter
Name Description
value ByteString

The bytes for greenPoolVersion to set.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

setPhase(NodePool.UpdateInfo.BlueGreenInfo.Phase value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setPhase(NodePool.UpdateInfo.BlueGreenInfo.Phase value)

Current blue-green upgrade phase.

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

Parameter
Name Description
value NodePool.UpdateInfo.BlueGreenInfo.Phase

The phase to set.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

setPhaseValue(int value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setPhaseValue(int value)

Current blue-green upgrade phase.

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

Parameter
Name Description
value int

The enum numeric value on the wire for phase to set.

Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodePool.UpdateInfo.BlueGreenInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NodePool.UpdateInfo.BlueGreenInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides