Class TensorboardBlob.Builder (3.46.0)

public static final class TensorboardBlob.Builder extends GeneratedMessageV3.Builder<TensorboardBlob.Builder> implements TensorboardBlobOrBuilder

One blob (e.g, image, graph) viewable on a blob metric plot.

Protobuf type google.cloud.aiplatform.v1.TensorboardBlob

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TensorboardBlob build()
Returns
Type Description
TensorboardBlob

buildPartial()

public TensorboardBlob buildPartial()
Returns
Type Description
TensorboardBlob

clear()

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

clearData()

public TensorboardBlob.Builder clearData()

Optional. The bytes of the blob is not present unless it's returned by the ReadTensorboardBlobData endpoint.

bytes data = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TensorboardBlob.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public TensorboardBlob.Builder clearId()

Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TensorboardBlob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getData()

public ByteString getData()

Optional. The bytes of the blob is not present unless it's returned by the ReadTensorboardBlobData endpoint.

bytes data = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The data.

getDefaultInstanceForType()

public TensorboardBlob getDefaultInstanceForType()
Returns
Type Description
TensorboardBlob

getDescriptorForType()

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

getId()

public String getId()

Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for id.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TensorboardBlob other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setData(ByteString value)

public TensorboardBlob.Builder setData(ByteString value)

Optional. The bytes of the blob is not present unless it's returned by the ReadTensorboardBlobData endpoint.

bytes data = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The data to set.

Returns
Type Description
TensorboardBlob.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public TensorboardBlob.Builder setId(String value)

Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
TensorboardBlob.Builder

This builder for chaining.

setIdBytes(ByteString value)

public TensorboardBlob.Builder setIdBytes(ByteString value)

Output only. A URI safe key uniquely identifying a blob. Can be used to locate the blob stored in the Cloud Storage bucket of the consumer project.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
TensorboardBlob.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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