public static final class CreateExecutionRequest.Builder extends GeneratedMessageV3.Builder<CreateExecutionRequest.Builder> implements CreateExecutionRequestOrBuilder
Request message for
MetadataService.CreateExecution.
Protobuf type google.cloud.aiplatform.v1beta1.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()
Returns
Methods
public CreateExecutionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateExecutionRequest build()
Returns
public CreateExecutionRequest buildPartial()
Returns
public CreateExecutionRequest.Builder clear()
Returns
Overrides
public CreateExecutionRequest.Builder clearExecution()
Required. The Execution to create.
.google.cloud.aiplatform.v1beta1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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;
Returns
public CreateExecutionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
public CreateExecutionRequest.Builder clone()
Returns
Overrides
public CreateExecutionRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Execution getExecution()
Required. The Execution to create.
.google.cloud.aiplatform.v1beta1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Execution.Builder getExecutionBuilder()
Required. The Execution to create.
.google.cloud.aiplatform.v1beta1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1beta1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
public boolean hasExecution()
Required. The Execution to create.
.google.cloud.aiplatform.v1beta1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the execution field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateExecutionRequest.Builder mergeExecution(Execution value)
Required. The Execution to create.
.google.cloud.aiplatform.v1beta1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateExecutionRequest.Builder mergeFrom(CreateExecutionRequest other)
Parameter
Returns
public CreateExecutionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateExecutionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateExecutionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public CreateExecutionRequest.Builder setExecution(Execution value)
Required. The Execution to create.
.google.cloud.aiplatform.v1beta1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public CreateExecutionRequest.Builder setExecution(Execution.Builder builderForValue)
Required. The Execution to create.
.google.cloud.aiplatform.v1beta1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.
|
Returns
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.
|
Returns
public CreateExecutionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
public CreateExecutionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final CreateExecutionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides