public static final class CreateExecutionRequest.Builder extends GeneratedMessageV3.Builder<CreateExecutionRequest.Builder> implements CreateExecutionRequestOrBuilder
Request message for
MetadataService.CreateExecution.
Protobuf type google.cloud.aiplatform.v1.CreateExecutionRequest
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 CreateExecutionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateExecutionRequest build()
public CreateExecutionRequest buildPartial()
public CreateExecutionRequest.Builder clear()
Overrides
public CreateExecutionRequest.Builder clearExecution()
Required. The Execution to create.
.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateExecutionRequest.Builder clearExecutionId()
The {execution} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
If not provided, the Execution's ID will be a UUID generated by the
service.
Must be 4-128 characters in length. Valid characters are /a-z-/
.
Must be unique across all Executions in the parent MetadataStore.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting Execution.)
string execution_id = 3;
public CreateExecutionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateExecutionRequest.Builder clearParent()
Required. The resource name of the MetadataStore where the Execution should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateExecutionRequest.Builder clone()
Overrides
public CreateExecutionRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Execution getExecution()
Required. The Execution to create.
.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Execution | The execution.
|
public Execution.Builder getExecutionBuilder()
Required. The Execution to create.
.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
public String getExecutionId()
The {execution} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
If not provided, the Execution's ID will be a UUID generated by the
service.
Must be 4-128 characters in length. Valid characters are /a-z-/
.
Must be unique across all Executions in the parent MetadataStore.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting Execution.)
string execution_id = 3;
Returns |
---|
Type | Description |
String | The executionId.
|
public ByteString getExecutionIdBytes()
The {execution} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
If not provided, the Execution's ID will be a UUID generated by the
service.
Must be 4-128 characters in length. Valid characters are /a-z-/
.
Must be unique across all Executions in the parent MetadataStore.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting Execution.)
string execution_id = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for executionId.
|
public ExecutionOrBuilder getExecutionOrBuilder()
Required. The Execution to create.
.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
public String getParent()
Required. The resource name of the MetadataStore where the Execution should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
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 MetadataStore where the Execution should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
public boolean hasExecution()
Required. The Execution to create.
.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the execution field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateExecutionRequest.Builder mergeExecution(Execution value)
Required. The Execution to create.
.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateExecutionRequest.Builder mergeFrom(CreateExecutionRequest other)
public CreateExecutionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateExecutionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CreateExecutionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateExecutionRequest.Builder setExecution(Execution value)
Required. The Execution to create.
.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateExecutionRequest.Builder setExecution(Execution.Builder builderForValue)
Required. The Execution to create.
.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateExecutionRequest.Builder setExecutionId(String value)
The {execution} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
If not provided, the Execution's ID will be a UUID generated by the
service.
Must be 4-128 characters in length. Valid characters are /a-z-/
.
Must be unique across all Executions in the parent MetadataStore.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting Execution.)
string execution_id = 3;
Parameter |
---|
Name | Description |
value | String
The executionId to set.
|
public CreateExecutionRequest.Builder setExecutionIdBytes(ByteString value)
The {execution} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}
If not provided, the Execution's ID will be a UUID generated by the
service.
Must be 4-128 characters in length. Valid characters are /a-z-/
.
Must be unique across all Executions in the parent MetadataStore.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting Execution.)
string execution_id = 3;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for executionId to set.
|
public CreateExecutionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateExecutionRequest.Builder setParent(String value)
Required. The resource name of the MetadataStore where the Execution should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
public CreateExecutionRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the MetadataStore where the Execution should
be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
public CreateExecutionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateExecutionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides