Class UpdateExecutionRequest.Builder (3.42.0)

public static final class UpdateExecutionRequest.Builder extends GeneratedMessageV3.Builder<UpdateExecutionRequest.Builder> implements UpdateExecutionRequestOrBuilder

Request message for MetadataService.UpdateExecution.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateExecutionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateExecutionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

build()

public UpdateExecutionRequest build()
Returns
Type Description
UpdateExecutionRequest

buildPartial()

public UpdateExecutionRequest buildPartial()
Returns
Type Description
UpdateExecutionRequest

clear()

public UpdateExecutionRequest.Builder clear()
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

clearAllowMissing()

public UpdateExecutionRequest.Builder clearAllowMissing()

If set to true, and the Execution is not found, a new Execution is created.

bool allow_missing = 3;

Returns
Type Description
UpdateExecutionRequest.Builder

This builder for chaining.

clearExecution()

public UpdateExecutionRequest.Builder clearExecution()

Required. The Execution containing updates. The Execution's Execution.name field is used to identify the Execution to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

.google.cloud.aiplatform.v1beta1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateExecutionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateExecutionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

clearUpdateMask()

public UpdateExecutionRequest.Builder clearUpdateMask()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateExecutionRequest.Builder

clone()

public UpdateExecutionRequest.Builder clone()
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

getAllowMissing()

public boolean getAllowMissing()

If set to true, and the Execution is not found, a new Execution is created.

bool allow_missing = 3;

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public UpdateExecutionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExecutionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExecution()

public Execution getExecution()

Required. The Execution containing updates. The Execution's Execution.name field is used to identify the Execution to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

.google.cloud.aiplatform.v1beta1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Execution

The execution.

getExecutionBuilder()

public Execution.Builder getExecutionBuilder()

Required. The Execution containing updates. The Execution's Execution.name field is used to identify the Execution to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

.google.cloud.aiplatform.v1beta1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Execution.Builder

getExecutionOrBuilder()

public ExecutionOrBuilder getExecutionOrBuilder()

Required. The Execution containing updates. The Execution's Execution.name field is used to identify the Execution to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

.google.cloud.aiplatform.v1beta1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExecutionOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasExecution()

public boolean hasExecution()

Required. The Execution containing updates. The Execution's Execution.name field is used to identify the Execution to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

.google.cloud.aiplatform.v1beta1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the execution field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExecution(Execution value)

public UpdateExecutionRequest.Builder mergeExecution(Execution value)

Required. The Execution containing updates. The Execution's Execution.name field is used to identify the Execution to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

.google.cloud.aiplatform.v1beta1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Execution
Returns
Type Description
UpdateExecutionRequest.Builder

mergeFrom(UpdateExecutionRequest other)

public UpdateExecutionRequest.Builder mergeFrom(UpdateExecutionRequest other)
Parameter
Name Description
other UpdateExecutionRequest
Returns
Type Description
UpdateExecutionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateExecutionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateExecutionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExecutionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateExecutionRequest.Builder mergeUpdateMask(FieldMask value)

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateExecutionRequest.Builder

setAllowMissing(boolean value)

public UpdateExecutionRequest.Builder setAllowMissing(boolean value)

If set to true, and the Execution is not found, a new Execution is created.

bool allow_missing = 3;

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdateExecutionRequest.Builder

This builder for chaining.

setExecution(Execution value)

public UpdateExecutionRequest.Builder setExecution(Execution value)

Required. The Execution containing updates. The Execution's Execution.name field is used to identify the Execution to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

.google.cloud.aiplatform.v1beta1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Execution
Returns
Type Description
UpdateExecutionRequest.Builder

setExecution(Execution.Builder builderForValue)

public UpdateExecutionRequest.Builder setExecution(Execution.Builder builderForValue)

Required. The Execution containing updates. The Execution's Execution.name field is used to identify the Execution to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

.google.cloud.aiplatform.v1beta1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Execution.Builder
Returns
Type Description
UpdateExecutionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateExecutionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateExecutionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExecutionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateExecutionRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateExecutionRequest.Builder setUpdateMask(FieldMask value)

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateExecutionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateExecutionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. A FieldMask indicating which fields should be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateExecutionRequest.Builder