public static final class CreateTensorboardRunRequest.Builder extends GeneratedMessageV3.Builder<CreateTensorboardRunRequest.Builder> implements CreateTensorboardRunRequestOrBuilder
Request message for
TensorboardService.CreateTensorboardRun.
Protobuf type google.cloud.aiplatform.v1beta1.CreateTensorboardRunRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateTensorboardRunRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateTensorboardRunRequest build()
Returns
public CreateTensorboardRunRequest buildPartial()
Returns
public CreateTensorboardRunRequest.Builder clear()
Returns
Overrides
public CreateTensorboardRunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateTensorboardRunRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateTensorboardRunRequest.Builder clearParent()
Required. The resource name of the TensorboardExperiment to create the
TensorboardRun in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CreateTensorboardRunRequest.Builder clearTensorboardRun()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateTensorboardRunRequest.Builder clearTensorboardRunId()
Required. The ID to use for the Tensorboard run, which becomes the final
component of the Tensorboard run's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateTensorboardRunRequest.Builder clone()
Returns
Overrides
public CreateTensorboardRunRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getParent()
Required. The resource name of the TensorboardExperiment to create the
TensorboardRun in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
Required. The resource name of the TensorboardExperiment to create the
TensorboardRun in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public TensorboardRun getTensorboardRun()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public TensorboardRun.Builder getTensorboardRunBuilder()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public String getTensorboardRunId()
Required. The ID to use for the Tensorboard run, which becomes the final
component of the Tensorboard run's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The tensorboardRunId.
|
public ByteString getTensorboardRunIdBytes()
Required. The ID to use for the Tensorboard run, which becomes the final
component of the Tensorboard run's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for tensorboardRunId.
|
public TensorboardRunOrBuilder getTensorboardRunOrBuilder()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public boolean hasTensorboardRun()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the tensorboardRun field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateTensorboardRunRequest.Builder mergeFrom(CreateTensorboardRunRequest other)
Parameter
Returns
public CreateTensorboardRunRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateTensorboardRunRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public CreateTensorboardRunRequest.Builder mergeTensorboardRun(TensorboardRun value)
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public final CreateTensorboardRunRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateTensorboardRunRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateTensorboardRunRequest.Builder setParent(String value)
Required. The resource name of the TensorboardExperiment to create the
TensorboardRun in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public CreateTensorboardRunRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the TensorboardExperiment to create the
TensorboardRun in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public CreateTensorboardRunRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun value)
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun.Builder builderForValue)
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1beta1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateTensorboardRunRequest.Builder setTensorboardRunId(String value)
Required. The ID to use for the Tensorboard run, which becomes the final
component of the Tensorboard run's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The tensorboardRunId to set.
|
Returns
public CreateTensorboardRunRequest.Builder setTensorboardRunIdBytes(ByteString value)
Required. The ID to use for the Tensorboard run, which becomes the final
component of the Tensorboard run's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for tensorboardRunId to set.
|
Returns
public final CreateTensorboardRunRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides