Class AddExecutionEventsRequest.Builder (3.55.0)

public static final class AddExecutionEventsRequest.Builder extends GeneratedMessageV3.Builder<AddExecutionEventsRequest.Builder> implements AddExecutionEventsRequestOrBuilder

Request message for MetadataService.AddExecutionEvents.

Protobuf type google.cloud.aiplatform.v1beta1.AddExecutionEventsRequest

Static Methods

getDescriptor()

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

Methods

addAllEvents(Iterable<? extends Event> values)

public AddExecutionEventsRequest.Builder addAllEvents(Iterable<? extends Event> values)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Event>
Returns
Type Description
AddExecutionEventsRequest.Builder

addEvents(Event value)

public AddExecutionEventsRequest.Builder addEvents(Event value)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameter
Name Description
value Event
Returns
Type Description
AddExecutionEventsRequest.Builder

addEvents(Event.Builder builderForValue)

public AddExecutionEventsRequest.Builder addEvents(Event.Builder builderForValue)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameter
Name Description
builderForValue Event.Builder
Returns
Type Description
AddExecutionEventsRequest.Builder

addEvents(int index, Event value)

public AddExecutionEventsRequest.Builder addEvents(int index, Event value)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameters
Name Description
index int
value Event
Returns
Type Description
AddExecutionEventsRequest.Builder

addEvents(int index, Event.Builder builderForValue)

public AddExecutionEventsRequest.Builder addEvents(int index, Event.Builder builderForValue)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameters
Name Description
index int
builderForValue Event.Builder
Returns
Type Description
AddExecutionEventsRequest.Builder

addEventsBuilder()

public Event.Builder addEventsBuilder()

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Returns
Type Description
Event.Builder

addEventsBuilder(int index)

public Event.Builder addEventsBuilder(int index)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameter
Name Description
index int
Returns
Type Description
Event.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AddExecutionEventsRequest build()
Returns
Type Description
AddExecutionEventsRequest

buildPartial()

public AddExecutionEventsRequest buildPartial()
Returns
Type Description
AddExecutionEventsRequest

clear()

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

clearEvents()

public AddExecutionEventsRequest.Builder clearEvents()

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Returns
Type Description
AddExecutionEventsRequest.Builder

clearExecution()

public AddExecutionEventsRequest.Builder clearExecution()

Required. The resource name of the Execution that the Events connect Artifacts with. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

string execution = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
AddExecutionEventsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AddExecutionEventsRequest getDefaultInstanceForType()
Returns
Type Description
AddExecutionEventsRequest

getDescriptorForType()

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

getEvents(int index)

public Event getEvents(int index)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameter
Name Description
index int
Returns
Type Description
Event

getEventsBuilder(int index)

public Event.Builder getEventsBuilder(int index)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameter
Name Description
index int
Returns
Type Description
Event.Builder

getEventsBuilderList()

public List<Event.Builder> getEventsBuilderList()

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Returns
Type Description
List<Builder>

getEventsCount()

public int getEventsCount()

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Returns
Type Description
int

getEventsList()

public List<Event> getEventsList()

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Returns
Type Description
List<Event>

getEventsOrBuilder(int index)

public EventOrBuilder getEventsOrBuilder(int index)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameter
Name Description
index int
Returns
Type Description
EventOrBuilder

getEventsOrBuilderList()

public List<? extends EventOrBuilder> getEventsOrBuilderList()

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.EventOrBuilder>

getExecution()

public String getExecution()

Required. The resource name of the Execution that the Events connect Artifacts with. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

string execution = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The execution.

getExecutionBytes()

public ByteString getExecutionBytes()

Required. The resource name of the Execution that the Events connect Artifacts with. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

string execution = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for execution.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AddExecutionEventsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEvents(int index)

public AddExecutionEventsRequest.Builder removeEvents(int index)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameter
Name Description
index int
Returns
Type Description
AddExecutionEventsRequest.Builder

setEvents(int index, Event value)

public AddExecutionEventsRequest.Builder setEvents(int index, Event value)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameters
Name Description
index int
value Event
Returns
Type Description
AddExecutionEventsRequest.Builder

setEvents(int index, Event.Builder builderForValue)

public AddExecutionEventsRequest.Builder setEvents(int index, Event.Builder builderForValue)

The Events to create and add.

repeated .google.cloud.aiplatform.v1beta1.Event events = 2;

Parameters
Name Description
index int
builderForValue Event.Builder
Returns
Type Description
AddExecutionEventsRequest.Builder

setExecution(String value)

public AddExecutionEventsRequest.Builder setExecution(String value)

Required. The resource name of the Execution that the Events connect Artifacts with. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

string execution = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The execution to set.

Returns
Type Description
AddExecutionEventsRequest.Builder

This builder for chaining.

setExecutionBytes(ByteString value)

public AddExecutionEventsRequest.Builder setExecutionBytes(ByteString value)

Required. The resource name of the Execution that the Events connect Artifacts with. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

string execution = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for execution to set.

Returns
Type Description
AddExecutionEventsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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