public static final class CreateTensorboardExperimentRequest.Builder extends GeneratedMessageV3.Builder<CreateTensorboardExperimentRequest.Builder> implements CreateTensorboardExperimentRequestOrBuilder
Request message for TensorboardService.CreateTensorboardExperiment.
Protobuf type google.cloud.aiplatform.v1.CreateTensorboardExperimentRequest
Methods
public CreateTensorboardExperimentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateTensorboardExperimentRequest build()
Returns
public CreateTensorboardExperimentRequest buildPartial()
Returns
public CreateTensorboardExperimentRequest.Builder clear()
Returns
Overrides
public CreateTensorboardExperimentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateTensorboardExperimentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateTensorboardExperimentRequest.Builder clearParent()
Required. The resource name of the Tensorboard to create the TensorboardExperiment
in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public CreateTensorboardExperimentRequest.Builder clearTensorboardExperiment()
The TensorboardExperiment to create.
.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;
Returns
public CreateTensorboardExperimentRequest.Builder clearTensorboardExperimentId()
Required. The ID to use for the Tensorboard experiment, which will become the final
component of the Tensorboard experiment's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_experiment_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public CreateTensorboardExperimentRequest.Builder clone()
Returns
Overrides
public CreateTensorboardExperimentRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getParent()
Required. The resource name of the Tensorboard to create the TensorboardExperiment
in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
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 Tensorboard to create the TensorboardExperiment
in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public TensorboardExperiment getTensorboardExperiment()
The TensorboardExperiment to create.
.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;
Returns
public TensorboardExperiment.Builder getTensorboardExperimentBuilder()
The TensorboardExperiment to create.
.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;
Returns
public String getTensorboardExperimentId()
Required. The ID to use for the Tensorboard experiment, which will become the final
component of the Tensorboard experiment's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_experiment_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The tensorboardExperimentId.
|
public ByteString getTensorboardExperimentIdBytes()
Required. The ID to use for the Tensorboard experiment, which will become the final
component of the Tensorboard experiment's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_experiment_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for tensorboardExperimentId.
|
public TensorboardExperimentOrBuilder getTensorboardExperimentOrBuilder()
The TensorboardExperiment to create.
.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;
Returns
public boolean hasTensorboardExperiment()
The TensorboardExperiment to create.
.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;
Returns
Type | Description |
boolean | Whether the tensorboardExperiment field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateTensorboardExperimentRequest.Builder mergeFrom(CreateTensorboardExperimentRequest other)
Parameter
Returns
public CreateTensorboardExperimentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateTensorboardExperimentRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public CreateTensorboardExperimentRequest.Builder mergeTensorboardExperiment(TensorboardExperiment value)
The TensorboardExperiment to create.
.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;
Parameter
Returns
public final CreateTensorboardExperimentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateTensorboardExperimentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateTensorboardExperimentRequest.Builder setParent(String value)
Required. The resource name of the Tensorboard to create the TensorboardExperiment
in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public CreateTensorboardExperimentRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Tensorboard to create the TensorboardExperiment
in. Format:
projects/{project}/locations/{location}/tensorboards/{tensorboard}
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 CreateTensorboardExperimentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public CreateTensorboardExperimentRequest.Builder setTensorboardExperiment(TensorboardExperiment value)
The TensorboardExperiment to create.
.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;
Parameter
Returns
public CreateTensorboardExperimentRequest.Builder setTensorboardExperiment(TensorboardExperiment.Builder builderForValue)
The TensorboardExperiment to create.
.google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2;
Parameter
Returns
public CreateTensorboardExperimentRequest.Builder setTensorboardExperimentId(String value)
Required. The ID to use for the Tensorboard experiment, which will become the final
component of the Tensorboard experiment's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_experiment_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The tensorboardExperimentId to set.
|
Returns
public CreateTensorboardExperimentRequest.Builder setTensorboardExperimentIdBytes(ByteString value)
Required. The ID to use for the Tensorboard experiment, which will become the final
component of the Tensorboard experiment's resource name.
This value should be 1-128 characters, and valid characters
are /a-z-/.
string tensorboard_experiment_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for tensorboardExperimentId to set.
|
Returns
public final CreateTensorboardExperimentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides