Class NodeGroupsSetNodeTemplateRequest.Builder (1.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsSetNodeTemplateRequest build()
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest

buildPartial()

public NodeGroupsSetNodeTemplateRequest buildPartial()
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest

clear()

public NodeGroupsSetNodeTemplateRequest.Builder clear()
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public NodeGroupsSetNodeTemplateRequest.Builder clone()
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest.Builder
Overrides

getDefaultInstanceForType()

public NodeGroupsSetNodeTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest

getDescriptorForType()

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

Whether the nodeTemplate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeGroupsSetNodeTemplateRequest other)

public NodeGroupsSetNodeTemplateRequest.Builder mergeFrom(NodeGroupsSetNodeTemplateRequest other)
Parameter
NameDescription
otherNodeGroupsSetNodeTemplateRequest
Returns
TypeDescription
NodeGroupsSetNodeTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupsSetNodeTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nodeTemplate to set.

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

The bytes for nodeTemplate to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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