Class NodePool.UpdateInfo.Builder (2.20.0)

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

UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.

Protobuf type google.container.v1.NodePool.UpdateInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodePool.UpdateInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodePool.UpdateInfo.Builder
Overrides

build()

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

buildPartial()

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

clear()

public NodePool.UpdateInfo.Builder clear()
Returns
TypeDescription
NodePool.UpdateInfo.Builder
Overrides

clearBlueGreenInfo()

public NodePool.UpdateInfo.Builder clearBlueGreenInfo()

Information of a blue-green upgrade.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1;

Returns
TypeDescription
NodePool.UpdateInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public NodePool.UpdateInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodePool.UpdateInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public NodePool.UpdateInfo.Builder clone()
Returns
TypeDescription
NodePool.UpdateInfo.Builder
Overrides

getBlueGreenInfo()

public NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo()

Information of a blue-green upgrade.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1;

Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo

The blueGreenInfo.

getBlueGreenInfoBuilder()

public NodePool.UpdateInfo.BlueGreenInfo.Builder getBlueGreenInfoBuilder()

Information of a blue-green upgrade.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1;

Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfo.Builder

getBlueGreenInfoOrBuilder()

public NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder()

Information of a blue-green upgrade.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1;

Returns
TypeDescription
NodePool.UpdateInfo.BlueGreenInfoOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasBlueGreenInfo()

public boolean hasBlueGreenInfo()

Information of a blue-green upgrade.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1;

Returns
TypeDescription
boolean

Whether the blueGreenInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBlueGreenInfo(NodePool.UpdateInfo.BlueGreenInfo value)

public NodePool.UpdateInfo.Builder mergeBlueGreenInfo(NodePool.UpdateInfo.BlueGreenInfo value)

Information of a blue-green upgrade.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1;

Parameter
NameDescription
valueNodePool.UpdateInfo.BlueGreenInfo
Returns
TypeDescription
NodePool.UpdateInfo.Builder

mergeFrom(NodePool.UpdateInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBlueGreenInfo(NodePool.UpdateInfo.BlueGreenInfo value)

public NodePool.UpdateInfo.Builder setBlueGreenInfo(NodePool.UpdateInfo.BlueGreenInfo value)

Information of a blue-green upgrade.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1;

Parameter
NameDescription
valueNodePool.UpdateInfo.BlueGreenInfo
Returns
TypeDescription
NodePool.UpdateInfo.Builder

setBlueGreenInfo(NodePool.UpdateInfo.BlueGreenInfo.Builder builderForValue)

public NodePool.UpdateInfo.Builder setBlueGreenInfo(NodePool.UpdateInfo.BlueGreenInfo.Builder builderForValue)

Information of a blue-green upgrade.

.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1;

Parameter
NameDescription
builderForValueNodePool.UpdateInfo.BlueGreenInfo.Builder
Returns
TypeDescription
NodePool.UpdateInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NodePool.UpdateInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodePool.UpdateInfo.Builder
Overrides

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

public NodePool.UpdateInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodePool.UpdateInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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