Class Tensorboard.Builder (3.18.0)

public static final class Tensorboard.Builder extends GeneratedMessageV3.Builder<Tensorboard.Builder> implements TensorboardOrBuilder

Tensorboard is a physical database that stores users' training metrics. A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.

Protobuf type google.cloud.aiplatform.v1beta1.Tensorboard

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Tensorboard build()
Returns
TypeDescription
Tensorboard

buildPartial()

public Tensorboard buildPartial()
Returns
TypeDescription
Tensorboard

clear()

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

clearBlobStoragePathPrefix()

public Tensorboard.Builder clearBlobStoragePathPrefix()

Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.

string blob_storage_path_prefix = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

clearCreateTime()

public Tensorboard.Builder clearCreateTime()

Output only. Timestamp when this Tensorboard was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Tensorboard.Builder

clearDescription()

public Tensorboard.Builder clearDescription()

Description of this Tensorboard.

string description = 3;

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

clearDisplayName()

public Tensorboard.Builder clearDisplayName()

Required. User provided name of this Tensorboard.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

clearEncryptionSpec()

public Tensorboard.Builder clearEncryptionSpec()

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;

Returns
TypeDescription
Tensorboard.Builder

clearEtag()

public Tensorboard.Builder clearEtag()

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIsDefault()

public Tensorboard.Builder clearIsDefault()

Used to indicate if the TensorBoard instance is the default one. Each project & region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.

bool is_default = 12;

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

clearLabels()

public Tensorboard.Builder clearLabels()
Returns
TypeDescription
Tensorboard.Builder

clearName()

public Tensorboard.Builder clearName()

Output only. Name of the Tensorboard. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

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

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRunCount()

public Tensorboard.Builder clearRunCount()

Output only. The number of Runs stored in this Tensorboard.

int32 run_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

clearUpdateTime()

public Tensorboard.Builder clearUpdateTime()

Output only. Timestamp when this Tensorboard was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Tensorboard.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBlobStoragePathPrefix()

public String getBlobStoragePathPrefix()

Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.

string blob_storage_path_prefix = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The blobStoragePathPrefix.

getBlobStoragePathPrefixBytes()

public ByteString getBlobStoragePathPrefixBytes()

Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.

string blob_storage_path_prefix = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for blobStoragePathPrefix.

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this Tensorboard was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this Tensorboard was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this Tensorboard was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Tensorboard getDefaultInstanceForType()
Returns
TypeDescription
Tensorboard

getDescription()

public String getDescription()

Description of this Tensorboard.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of this Tensorboard.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. User provided name of this Tensorboard.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. User provided name of this Tensorboard.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getEncryptionSpec()

public EncryptionSpec getEncryptionSpec()

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;

Returns
TypeDescription
EncryptionSpec

The encryptionSpec.

getEncryptionSpecBuilder()

public EncryptionSpec.Builder getEncryptionSpecBuilder()

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;

Returns
TypeDescription
EncryptionSpec.Builder

getEncryptionSpecOrBuilder()

public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;

Returns
TypeDescription
EncryptionSpecOrBuilder

getEtag()

public String getEtag()

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Returns
TypeDescription
ByteString

The bytes for etag.

getIsDefault()

public boolean getIsDefault()

Used to indicate if the TensorBoard instance is the default one. Each project & region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.

bool is_default = 12;

Returns
TypeDescription
boolean

The isDefault.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 8;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 8;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 8;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. Name of the Tensorboard. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Name of the Tensorboard. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

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

Returns
TypeDescription
ByteString

The bytes for name.

getRunCount()

public int getRunCount()

Output only. The number of Runs stored in this Tensorboard.

int32 run_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The runCount.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this Tensorboard was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this Tensorboard was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this Tensorboard was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this Tensorboard was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEncryptionSpec()

public boolean hasEncryptionSpec()

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;

Returns
TypeDescription
boolean

Whether the encryptionSpec field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this Tensorboard was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Tensorboard.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this Tensorboard was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Tensorboard.Builder

mergeEncryptionSpec(EncryptionSpec value)

public Tensorboard.Builder mergeEncryptionSpec(EncryptionSpec value)

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;

Parameter
NameDescription
valueEncryptionSpec
Returns
TypeDescription
Tensorboard.Builder

mergeFrom(Tensorboard other)

public Tensorboard.Builder mergeFrom(Tensorboard other)
Parameter
NameDescription
otherTensorboard
Returns
TypeDescription
Tensorboard.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Tensorboard.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this Tensorboard was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Tensorboard.Builder

putAllLabels(Map<String,String> values)

public Tensorboard.Builder putAllLabels(Map<String,String> values)

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 8;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Tensorboard.Builder

putLabels(String key, String value)

public Tensorboard.Builder putLabels(String key, String value)

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 8;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Tensorboard.Builder

removeLabels(String key)

public Tensorboard.Builder removeLabels(String key)

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

map<string, string> labels = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
Tensorboard.Builder

setBlobStoragePathPrefix(String value)

public Tensorboard.Builder setBlobStoragePathPrefix(String value)

Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.

string blob_storage_path_prefix = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The blobStoragePathPrefix to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setBlobStoragePathPrefixBytes(ByteString value)

public Tensorboard.Builder setBlobStoragePathPrefixBytes(ByteString value)

Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.

string blob_storage_path_prefix = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for blobStoragePathPrefix to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Tensorboard.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this Tensorboard was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Tensorboard.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Tensorboard.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this Tensorboard was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Tensorboard.Builder

setDescription(String value)

public Tensorboard.Builder setDescription(String value)

Description of this Tensorboard.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Tensorboard.Builder setDescriptionBytes(ByteString value)

Description of this Tensorboard.

string description = 3;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setDisplayName(String value)

public Tensorboard.Builder setDisplayName(String value)

Required. User provided name of this Tensorboard.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Tensorboard.Builder setDisplayNameBytes(ByteString value)

Required. User provided name of this Tensorboard.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setEncryptionSpec(EncryptionSpec value)

public Tensorboard.Builder setEncryptionSpec(EncryptionSpec value)

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;

Parameter
NameDescription
valueEncryptionSpec
Returns
TypeDescription
Tensorboard.Builder

setEncryptionSpec(EncryptionSpec.Builder builderForValue)

public Tensorboard.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;

Parameter
NameDescription
builderForValueEncryptionSpec.Builder
Returns
TypeDescription
Tensorboard.Builder

setEtag(String value)

public Tensorboard.Builder setEtag(String value)

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Tensorboard.Builder setEtagBytes(ByteString value)

Used to perform a consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 9;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsDefault(boolean value)

public Tensorboard.Builder setIsDefault(boolean value)

Used to indicate if the TensorBoard instance is the default one. Each project & region can have at most one default TensorBoard instance. Creation of a default TensorBoard instance and updating an existing TensorBoard instance to be default will mark all other TensorBoard instances (if any) as non default.

bool is_default = 12;

Parameter
NameDescription
valueboolean

The isDefault to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setName(String value)

public Tensorboard.Builder setName(String value)

Output only. Name of the Tensorboard. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Tensorboard.Builder setNameBytes(ByteString value)

Output only. Name of the Tensorboard. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

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

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

setRunCount(int value)

public Tensorboard.Builder setRunCount(int value)

Output only. The number of Runs stored in this Tensorboard.

int32 run_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The runCount to set.

Returns
TypeDescription
Tensorboard.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Tensorboard.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this Tensorboard was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Tensorboard.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Tensorboard.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this Tensorboard was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Tensorboard.Builder