public static final class CreateTensorboardRunRequest.Builder extends GeneratedMessageV3.Builder<CreateTensorboardRunRequest.Builder> implements CreateTensorboardRunRequestOrBuilder
Request message for
TensorboardService.CreateTensorboardRun.
Protobuf type google.cloud.aiplatform.v1.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()
Methods
public CreateTensorboardRunRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateTensorboardRunRequest build()
public CreateTensorboardRunRequest buildPartial()
public CreateTensorboardRunRequest.Builder clear()
Overrides
public CreateTensorboardRunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateTensorboardRunRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
public CreateTensorboardRunRequest.Builder clearTensorboardRun()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public CreateTensorboardRunRequest.Builder clone()
Overrides
public CreateTensorboardRunRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
public TensorboardRun getTensorboardRun()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
public TensorboardRun.Builder getTensorboardRunBuilder()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
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.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
public boolean hasTensorboardRun()
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the tensorboardRun field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateTensorboardRunRequest.Builder mergeFrom(CreateTensorboardRunRequest other)
public CreateTensorboardRunRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateTensorboardRunRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public CreateTensorboardRunRequest.Builder mergeTensorboardRun(TensorboardRun value)
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
public final CreateTensorboardRunRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateTensorboardRunRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public CreateTensorboardRunRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun value)
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun.Builder builderForValue)
Required. The TensorboardRun to create.
.google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
public final CreateTensorboardRunRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides