Class NodePool.UpdateInfo.BlueGreenInfo.Builder (2.5.1)

Stay organized with collections Save and categorize content based on your preferences.
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.v1beta1.NodePool.UpdateInfo.BlueGreenInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The blueInstanceGroupUrls to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The greenInstanceGroupUrls to add.

Returns
TypeDescription
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
NameDescription
valueString

The blueInstanceGroupUrls to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the blueInstanceGroupUrls to add.

Returns
TypeDescription
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
NameDescription
valueString

The greenInstanceGroupUrls to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the greenInstanceGroupUrls to add.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

build()

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

buildPartial()

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

clear()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

clearPhase()

public NodePool.UpdateInfo.BlueGreenInfo.Builder clearPhase()

Current blue-green upgrade phase.

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

Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

getPhase()

public NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase()

Current blue-green upgrade phase.

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

Returns
TypeDescription
int

The enum numeric value on the wire for phase.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodePool.UpdateInfo.BlueGreenInfo other)

public NodePool.UpdateInfo.BlueGreenInfo.Builder mergeFrom(NodePool.UpdateInfo.BlueGreenInfo other)
Parameter
NameDescription
otherNodePool.UpdateInfo.BlueGreenInfo
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public NodePool.UpdateInfo.BlueGreenInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodePool.UpdateInfo.BlueGreenInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The blueInstanceGroupUrls to set.

Returns
TypeDescription
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
NameDescription
valueString

The bluePoolDeletionStartTime to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for bluePoolDeletionStartTime to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The greenInstanceGroupUrls to set.

Returns
TypeDescription
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
NameDescription
valueString

The greenPoolVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for greenPoolVersion to set.

Returns
TypeDescription
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.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;

Parameter
NameDescription
valueNodePool.UpdateInfo.BlueGreenInfo.Phase

The phase to set.

Returns
TypeDescription
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.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NodePool.UpdateInfo.BlueGreenInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder
Overrides