Class UpdateExecutionRequest.Builder (3.22.0)

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

Request message for MetadataService.UpdateExecution.

Protobuf type google.cloud.aiplatform.v1.UpdateExecutionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateExecutionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateExecutionRequest.Builder
Overrides

build()

public UpdateExecutionRequest build()
Returns
TypeDescription
UpdateExecutionRequest

buildPartial()

public UpdateExecutionRequest buildPartial()
Returns
TypeDescription
UpdateExecutionRequest

clear()

public UpdateExecutionRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateExecutionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateExecutionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateExecutionRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateExecutionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateExecutionRequest.Builder

clone()

public UpdateExecutionRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The allowMissing.

getDefaultInstanceForType()

public UpdateExecutionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateExecutionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueExecution
Returns
TypeDescription
UpdateExecutionRequest.Builder

mergeFrom(UpdateExecutionRequest other)

public UpdateExecutionRequest.Builder mergeFrom(UpdateExecutionRequest other)
Parameter
NameDescription
otherUpdateExecutionRequest
Returns
TypeDescription
UpdateExecutionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateExecutionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExecutionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateExecutionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateExecutionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExecutionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueboolean

The allowMissing to set.

Returns
TypeDescription
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.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueExecution
Returns
TypeDescription
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.v1.Execution execution = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueExecution.Builder
Returns
TypeDescription
UpdateExecutionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateExecutionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateExecutionRequest.Builder
Overrides

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

public UpdateExecutionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateExecutionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExecutionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateExecutionRequest.Builder