Class TensorboardTensor.Builder (3.84.0)

public static final class TensorboardTensor.Builder extends GeneratedMessage.Builder<TensorboardTensor.Builder> implements TensorboardTensorOrBuilder

One point viewable on a tensor metric plot.

Protobuf type google.cloud.aiplatform.v1beta1.TensorboardTensor

Static Methods

getDescriptor()

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

Methods

build()

public TensorboardTensor build()
Returns
Type Description
TensorboardTensor

buildPartial()

public TensorboardTensor buildPartial()
Returns
Type Description
TensorboardTensor

clear()

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

clearValue()

public TensorboardTensor.Builder clearValue()

Required. Serialized form of https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto

bytes value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TensorboardTensor.Builder

This builder for chaining.

clearVersionNumber()

public TensorboardTensor.Builder clearVersionNumber()

Optional. Version number of TensorProto used to serialize value.

int32 version_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TensorboardTensor.Builder

This builder for chaining.

getDefaultInstanceForType()

public TensorboardTensor getDefaultInstanceForType()
Returns
Type Description
TensorboardTensor

getDescriptorForType()

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

getValue()

public ByteString getValue()

Required. Serialized form of https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto

bytes value = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The value.

getVersionNumber()

public int getVersionNumber()

Optional. Version number of TensorProto used to serialize value.

int32 version_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The versionNumber.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TensorboardTensor other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setValue(ByteString value)

public TensorboardTensor.Builder setValue(ByteString value)

Required. Serialized form of https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/tensor.proto

bytes value = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The value to set.

Returns
Type Description
TensorboardTensor.Builder

This builder for chaining.

setVersionNumber(int value)

public TensorboardTensor.Builder setVersionNumber(int value)

Optional. Version number of TensorProto used to serialize value.

int32 version_number = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The versionNumber to set.

Returns
Type Description
TensorboardTensor.Builder

This builder for chaining.