Class TensorboardBlob.Builder (3.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TensorboardBlob build()
Returns
TypeDescription
TensorboardBlob

buildPartial()

public TensorboardBlob buildPartial()
Returns
TypeDescription
TensorboardBlob

clear()

public TensorboardBlob.Builder clear()
Returns
TypeDescription
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
TypeDescription
TensorboardBlob.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TensorboardBlob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TensorboardBlob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TensorboardBlob.Builder clone()
Returns
TypeDescription
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
TypeDescription
ByteString

The data.

getDefaultInstanceForType()

public TensorboardBlob getDefaultInstanceForType()
Returns
TypeDescription
TensorboardBlob

getDescriptorForType()

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

The bytes for id.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TensorboardBlob other)

public TensorboardBlob.Builder mergeFrom(TensorboardBlob other)
Parameter
NameDescription
otherTensorboardBlob
Returns
TypeDescription
TensorboardBlob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The data to set.

Returns
TypeDescription
TensorboardBlob.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TensorboardBlob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

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

The bytes for id to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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