Class ReadTensorboardUsageRequest.Builder (3.21.0)

public static final class ReadTensorboardUsageRequest.Builder extends GeneratedMessageV3.Builder<ReadTensorboardUsageRequest.Builder> implements ReadTensorboardUsageRequestOrBuilder

Request message for [TensorboardService.GetTensorboardUsage][].

Protobuf type google.cloud.aiplatform.v1.ReadTensorboardUsageRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadTensorboardUsageRequest build()
Returns
TypeDescription
ReadTensorboardUsageRequest

buildPartial()

public ReadTensorboardUsageRequest buildPartial()
Returns
TypeDescription
ReadTensorboardUsageRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTensorboard()

public ReadTensorboardUsageRequest.Builder clearTensorboard()

Required. The name of the Tensorboard resource. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ReadTensorboardUsageRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReadTensorboardUsageRequest getDefaultInstanceForType()
Returns
TypeDescription
ReadTensorboardUsageRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTensorboard()

public String getTensorboard()

Required. The name of the Tensorboard resource. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The tensorboard.

getTensorboardBytes()

public ByteString getTensorboardBytes()

Required. The name of the Tensorboard resource. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for tensorboard.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReadTensorboardUsageRequest other)

public ReadTensorboardUsageRequest.Builder mergeFrom(ReadTensorboardUsageRequest other)
Parameter
NameDescription
otherReadTensorboardUsageRequest
Returns
TypeDescription
ReadTensorboardUsageRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTensorboard(String value)

public ReadTensorboardUsageRequest.Builder setTensorboard(String value)

Required. The name of the Tensorboard resource. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The tensorboard to set.

Returns
TypeDescription
ReadTensorboardUsageRequest.Builder

This builder for chaining.

setTensorboardBytes(ByteString value)

public ReadTensorboardUsageRequest.Builder setTensorboardBytes(ByteString value)

Required. The name of the Tensorboard resource. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for tensorboard to set.

Returns
TypeDescription
ReadTensorboardUsageRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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