Class StartNodeRequest.Builder (2.56.0)

public static final class StartNodeRequest.Builder extends GeneratedMessageV3.Builder<StartNodeRequest.Builder> implements StartNodeRequestOrBuilder

Request for StartNode.

Protobuf type google.cloud.tpu.v1.StartNodeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StartNodeRequest build()
Returns
Type Description
StartNodeRequest

buildPartial()

public StartNodeRequest buildPartial()
Returns
Type Description
StartNodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public StartNodeRequest.Builder clearName()

The resource name.

string name = 1;

Returns
Type Description
StartNodeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StartNodeRequest getDefaultInstanceForType()
Returns
Type Description
StartNodeRequest

getDescriptorForType()

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

getName()

public String getName()

The resource name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartNodeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public StartNodeRequest.Builder setName(String value)

The resource name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StartNodeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StartNodeRequest.Builder setNameBytes(ByteString value)

The resource name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StartNodeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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