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