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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeGroupsSetNodeTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodeGroupsSetNodeTemplateRequest build()
Returns
buildPartial()
public NodeGroupsSetNodeTemplateRequest buildPartial()
Returns
clear()
public NodeGroupsSetNodeTemplateRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NodeGroupsSetNodeTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeGroupsSetNodeTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NodeGroupsSetNodeTemplateRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NodeGroupsSetNodeTemplateRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NodeGroupsSetNodeTemplateRequest other)
public NodeGroupsSetNodeTemplateRequest.Builder mergeFrom(NodeGroupsSetNodeTemplateRequest other)
Parameter
Returns
public NodeGroupsSetNodeTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeGroupsSetNodeTemplateRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeGroupsSetNodeTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NodeGroupsSetNodeTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeGroupsSetNodeTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeGroupsSetNodeTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides