Class NodeGroupsSetNodeTemplateRequest.Builder (1.52.0)

public static final class NodeGroupsSetNodeTemplateRequest.Builder extends GeneratedMessageV3.Builder<NodeGroupsSetNodeTemplateRequest.Builder> implements NodeGroupsSetNodeTemplateRequestOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsSetNodeTemplateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsSetNodeTemplateRequest build()
Returns
Type Description
NodeGroupsSetNodeTemplateRequest

buildPartial()

public NodeGroupsSetNodeTemplateRequest buildPartial()
Returns
Type Description
NodeGroupsSetNodeTemplateRequest

clear()

public NodeGroupsSetNodeTemplateRequest.Builder clear()
Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NodeGroupsSetNodeTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder
Overrides

clearNodeTemplate()

public NodeGroupsSetNodeTemplateRequest.Builder clearNodeTemplate()

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeGroupsSetNodeTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder
Overrides

clone()

public NodeGroupsSetNodeTemplateRequest.Builder clone()
Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder
Overrides

getDefaultInstanceForType()

public NodeGroupsSetNodeTemplateRequest getDefaultInstanceForType()
Returns
Type Description
NodeGroupsSetNodeTemplateRequest

getDescriptorForType()

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

getNodeTemplate()

public String getNodeTemplate()

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Returns
Type Description
String

The nodeTemplate.

getNodeTemplateBytes()

public ByteString getNodeTemplateBytes()

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Returns
Type Description
ByteString

The bytes for nodeTemplate.

hasNodeTemplate()

public boolean hasNodeTemplate()

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Returns
Type Description
boolean

Whether the nodeTemplate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeGroupsSetNodeTemplateRequest other)

public NodeGroupsSetNodeTemplateRequest.Builder mergeFrom(NodeGroupsSetNodeTemplateRequest other)
Parameter
Name Description
other NodeGroupsSetNodeTemplateRequest
Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public NodeGroupsSetNodeTemplateRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupsSetNodeTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodeTemplate(String value)

public NodeGroupsSetNodeTemplateRequest.Builder setNodeTemplate(String value)

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Parameter
Name Description
value String

The nodeTemplate to set.

Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder

This builder for chaining.

setNodeTemplateBytes(ByteString value)

public NodeGroupsSetNodeTemplateRequest.Builder setNodeTemplateBytes(ByteString value)

Full or partial URL of the node template resource to be updated for this node group.

optional string node_template = 323154455;

Parameter
Name Description
value ByteString

The bytes for nodeTemplate to set.

Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupsSetNodeTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeGroupsSetNodeTemplateRequest.Builder
Overrides