Class ReimageNodeRequest.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReimageNodeRequest build()
Returns
TypeDescription
ReimageNodeRequest

buildPartial()

public ReimageNodeRequest buildPartial()
Returns
TypeDescription
ReimageNodeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ReimageNodeRequest.Builder clearName()

The resource name.

string name = 1;

Returns
TypeDescription
ReimageNodeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTensorflowVersion()

public ReimageNodeRequest.Builder clearTensorflowVersion()

The version for reimage to create.

string tensorflow_version = 2;

Returns
TypeDescription
ReimageNodeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReimageNodeRequest getDefaultInstanceForType()
Returns
TypeDescription
ReimageNodeRequest

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.

getTensorflowVersion()

public String getTensorflowVersion()

The version for reimage to create.

string tensorflow_version = 2;

Returns
TypeDescription
String

The tensorflowVersion.

getTensorflowVersionBytes()

public ByteString getTensorflowVersionBytes()

The version for reimage to create.

string tensorflow_version = 2;

Returns
TypeDescription
ByteString

The bytes for tensorflowVersion.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReimageNodeRequest other)

public ReimageNodeRequest.Builder mergeFrom(ReimageNodeRequest other)
Parameter
NameDescription
otherReimageNodeRequest
Returns
TypeDescription
ReimageNodeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ReimageNodeRequest.Builder setName(String value)

The resource name.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ReimageNodeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReimageNodeRequest.Builder setNameBytes(ByteString value)

The resource name.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

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

setTensorflowVersion(String value)

public ReimageNodeRequest.Builder setTensorflowVersion(String value)

The version for reimage to create.

string tensorflow_version = 2;

Parameter
NameDescription
valueString

The tensorflowVersion to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tensorflowVersion to set.

Returns
TypeDescription
ReimageNodeRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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