Class GetNodeTemplateRequest.Builder (1.65.0)

public static final class GetNodeTemplateRequest.Builder extends GeneratedMessageV3.Builder<GetNodeTemplateRequest.Builder> implements GetNodeTemplateRequestOrBuilder

A request message for NodeTemplates.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetNodeTemplateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetNodeTemplateRequest build()
Returns
Type Description
GetNodeTemplateRequest

buildPartial()

public GetNodeTemplateRequest buildPartial()
Returns
Type Description
GetNodeTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodeTemplate()

public GetNodeTemplateRequest.Builder clearNodeTemplate()

Name of the node template to return.

string node_template = 323154455 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetNodeTemplateRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

clearRegion()

public GetNodeTemplateRequest.Builder clearRegion()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetNodeTemplateRequest getDefaultInstanceForType()
Returns
Type Description
GetNodeTemplateRequest

getDescriptorForType()

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

getNodeTemplate()

public String getNodeTemplate()

Name of the node template to return.

string node_template = 323154455 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The nodeTemplate.

getNodeTemplateBytes()

public ByteString getNodeTemplateBytes()

Name of the node template to return.

string node_template = 323154455 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for nodeTemplate.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetNodeTemplateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodeTemplate(String value)

public GetNodeTemplateRequest.Builder setNodeTemplate(String value)

Name of the node template to return.

string node_template = 323154455 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The nodeTemplate to set.

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

setNodeTemplateBytes(ByteString value)

public GetNodeTemplateRequest.Builder setNodeTemplateBytes(ByteString value)

Name of the node template to return.

string node_template = 323154455 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for nodeTemplate to set.

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

setProject(String value)

public GetNodeTemplateRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetNodeTemplateRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

setRegion(String value)

public GetNodeTemplateRequest.Builder setRegion(String value)

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetNodeTemplateRequest.Builder setRegionBytes(ByteString value)

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetNodeTemplateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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