Class TensorboardTensor.Builder (3.33.0)

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

One point viewable on a tensor metric plot.

Protobuf type google.cloud.aiplatform.v1.TensorboardTensor

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TensorboardTensor build()
Returns
TypeDescription
TensorboardTensor

buildPartial()

public TensorboardTensor buildPartial()
Returns
TypeDescription
TensorboardTensor

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TensorboardTensor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TensorboardTensor.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TensorboardTensor getDefaultInstanceForType()
Returns
TypeDescription
TensorboardTensor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The versionNumber.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TensorboardTensor other)

public TensorboardTensor.Builder mergeFrom(TensorboardTensor other)
Parameter
NameDescription
otherTensorboardTensor
Returns
TypeDescription
TensorboardTensor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TensorboardTensor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TensorboardTensor.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TensorboardTensor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueByteString

The value to set.

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

The versionNumber to set.

Returns
TypeDescription
TensorboardTensor.Builder

This builder for chaining.