Class StartNodeRequest.Builder (2.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StartNodeRequest build()
Returns
TypeDescription
StartNodeRequest

buildPartial()

public StartNodeRequest buildPartial()
Returns
TypeDescription
StartNodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public StartNodeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StartNodeRequest.Builder
Overrides

clearName()

public StartNodeRequest.Builder clearName()

The resource name.

string name = 1;

Returns
TypeDescription
StartNodeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StartNodeRequest getDefaultInstanceForType()
Returns
TypeDescription
StartNodeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The resource name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StartNodeRequest other)

public StartNodeRequest.Builder mergeFrom(StartNodeRequest other)
Parameter
NameDescription
otherStartNodeRequest
Returns
TypeDescription
StartNodeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public StartNodeRequest.Builder setName(String value)

The resource name.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
StartNodeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StartNodeRequest.Builder setNameBytes(ByteString value)

The resource name.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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