Class ReimageNodeRequest.Builder (2.44.0)

public static final class ReimageNodeRequest.Builder extends GeneratedMessageV3.Builder<ReimageNodeRequest.Builder> implements ReimageNodeRequestOrBuilder

Request for ReimageNode.

Protobuf type google.cloud.tpu.v1.ReimageNodeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReimageNodeRequest build()
Returns
Type Description
ReimageNodeRequest

buildPartial()

public ReimageNodeRequest buildPartial()
Returns
Type Description
ReimageNodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ReimageNodeRequest.Builder clearName()

The resource name.

string name = 1;

Returns
Type Description
ReimageNodeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTensorflowVersion()

public ReimageNodeRequest.Builder clearTensorflowVersion()

The version for reimage to create.

string tensorflow_version = 2;

Returns
Type Description
ReimageNodeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReimageNodeRequest getDefaultInstanceForType()
Returns
Type Description
ReimageNodeRequest

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.

getTensorflowVersion()

public String getTensorflowVersion()

The version for reimage to create.

string tensorflow_version = 2;

Returns
Type Description
String

The tensorflowVersion.

getTensorflowVersionBytes()

public ByteString getTensorflowVersionBytes()

The version for reimage to create.

string tensorflow_version = 2;

Returns
Type Description
ByteString

The bytes for tensorflowVersion.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReimageNodeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ReimageNodeRequest.Builder setName(String value)

The resource name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ReimageNodeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReimageNodeRequest.Builder setNameBytes(ByteString value)

The resource name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ReimageNodeRequest.Builder

This builder for chaining.

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

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

setTensorflowVersion(String value)

public ReimageNodeRequest.Builder setTensorflowVersion(String value)

The version for reimage to create.

string tensorflow_version = 2;

Parameter
Name Description
value String

The tensorflowVersion to set.

Returns
Type Description
ReimageNodeRequest.Builder

This builder for chaining.

setTensorflowVersionBytes(ByteString value)

public ReimageNodeRequest.Builder setTensorflowVersionBytes(ByteString value)

The version for reimage to create.

string tensorflow_version = 2;

Parameter
Name Description
value ByteString

The bytes for tensorflowVersion to set.

Returns
Type Description
ReimageNodeRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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