Class BatchCreateTensorboardRunsRequest.Builder (3.20.0)

public static final class BatchCreateTensorboardRunsRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateTensorboardRunsRequest.Builder> implements BatchCreateTensorboardRunsRequestOrBuilder

Request message for TensorboardService.BatchCreateTensorboardRuns.

Protobuf type google.cloud.aiplatform.v1.BatchCreateTensorboardRunsRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends CreateTensorboardRunRequest> values)

public BatchCreateTensorboardRunsRequest.Builder addAllRequests(Iterable<? extends CreateTensorboardRunRequest> values)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.CreateTensorboardRunRequest>
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRequests(CreateTensorboardRunRequest value)

public BatchCreateTensorboardRunsRequest.Builder addRequests(CreateTensorboardRunRequest value)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueCreateTensorboardRunRequest
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

addRequests(CreateTensorboardRunRequest.Builder builderForValue)

public BatchCreateTensorboardRunsRequest.Builder addRequests(CreateTensorboardRunRequest.Builder builderForValue)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueCreateTensorboardRunRequest.Builder
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

addRequests(int index, CreateTensorboardRunRequest value)

public BatchCreateTensorboardRunsRequest.Builder addRequests(int index, CreateTensorboardRunRequest value)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueCreateTensorboardRunRequest
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

addRequests(int index, CreateTensorboardRunRequest.Builder builderForValue)

public BatchCreateTensorboardRunsRequest.Builder addRequests(int index, CreateTensorboardRunRequest.Builder builderForValue)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueCreateTensorboardRunRequest.Builder
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

addRequestsBuilder()

public CreateTensorboardRunRequest.Builder addRequestsBuilder()

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateTensorboardRunRequest.Builder

addRequestsBuilder(int index)

public CreateTensorboardRunRequest.Builder addRequestsBuilder(int index)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTensorboardRunRequest.Builder

build()

public BatchCreateTensorboardRunsRequest build()
Returns
TypeDescription
BatchCreateTensorboardRunsRequest

buildPartial()

public BatchCreateTensorboardRunsRequest buildPartial()
Returns
TypeDescription
BatchCreateTensorboardRunsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchCreateTensorboardRunsRequest.Builder clearParent()

Required. The resource name of the TensorboardExperiment to create the TensorboardRuns in. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment} The parent field in the CreateTensorboardRunRequest messages must match this field.

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

Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateTensorboardRunsRequest.Builder clearRequests()

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchCreateTensorboardRunsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateTensorboardRunsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the TensorboardExperiment to create the TensorboardRuns in. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment} The parent field in the CreateTensorboardRunRequest messages must match this field.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the TensorboardExperiment to create the TensorboardRuns in. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment} The parent field in the CreateTensorboardRunRequest messages must match this field.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getRequests(int index)

public CreateTensorboardRunRequest getRequests(int index)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTensorboardRunRequest

getRequestsBuilder(int index)

public CreateTensorboardRunRequest.Builder getRequestsBuilder(int index)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTensorboardRunRequest.Builder

getRequestsBuilderList()

public List<CreateTensorboardRunRequest.Builder> getRequestsBuilderList()

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getRequestsList()

public List<CreateTensorboardRunRequest> getRequestsList()

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<CreateTensorboardRunRequest>

getRequestsOrBuilder(int index)

public CreateTensorboardRunRequestOrBuilder getRequestsOrBuilder(int index)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTensorboardRunRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends CreateTensorboardRunRequestOrBuilder> getRequestsOrBuilderList()

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.CreateTensorboardRunRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCreateTensorboardRunsRequest other)

public BatchCreateTensorboardRunsRequest.Builder mergeFrom(BatchCreateTensorboardRunsRequest other)
Parameter
NameDescription
otherBatchCreateTensorboardRunsRequest
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRequests(int index)

public BatchCreateTensorboardRunsRequest.Builder removeRequests(int index)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public BatchCreateTensorboardRunsRequest.Builder setParent(String value)

Required. The resource name of the TensorboardExperiment to create the TensorboardRuns in. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment} The parent field in the CreateTensorboardRunRequest messages must match this field.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateTensorboardRunsRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the TensorboardExperiment to create the TensorboardRuns in. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment} The parent field in the CreateTensorboardRunRequest messages must match this field.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

This builder for chaining.

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

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

setRequests(int index, CreateTensorboardRunRequest value)

public BatchCreateTensorboardRunsRequest.Builder setRequests(int index, CreateTensorboardRunRequest value)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueCreateTensorboardRunRequest
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

setRequests(int index, CreateTensorboardRunRequest.Builder builderForValue)

public BatchCreateTensorboardRunsRequest.Builder setRequests(int index, CreateTensorboardRunRequest.Builder builderForValue)

Required. The request message specifying the TensorboardRuns to create. A maximum of 1000 TensorboardRuns can be created in a batch.

repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueCreateTensorboardRunRequest.Builder
Returns
TypeDescription
BatchCreateTensorboardRunsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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