Class TensorboardBlob.Builder (3.84.0)

public static final class TensorboardBlob.Builder extends GeneratedMessage.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

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.

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.

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 GeneratedMessage.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

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.

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.