Class AddExecutionEventsRequest.Builder (3.25.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.Event>
Returns
TypeDescription
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
NameDescription
valueEvent
Returns
TypeDescription
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
NameDescription
builderForValueEvent.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
AddExecutionEventsRequest.Builder

addEventsBuilder()

public Event.Builder addEventsBuilder()

The Events to create and add.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Event.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AddExecutionEventsRequest build()
Returns
TypeDescription
AddExecutionEventsRequest

buildPartial()

public AddExecutionEventsRequest buildPartial()
Returns
TypeDescription
AddExecutionEventsRequest

clear()

public AddExecutionEventsRequest.Builder clear()
Returns
TypeDescription
AddExecutionEventsRequest.Builder
Overrides

clearEvents()

public AddExecutionEventsRequest.Builder clearEvents()

The Events to create and add.

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

Returns
TypeDescription
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
TypeDescription
AddExecutionEventsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AddExecutionEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AddExecutionEventsRequest.Builder
Overrides

clone()

public AddExecutionEventsRequest.Builder clone()
Returns
TypeDescription
AddExecutionEventsRequest.Builder
Overrides

getDefaultInstanceForType()

public AddExecutionEventsRequest getDefaultInstanceForType()
Returns
TypeDescription
AddExecutionEventsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Event.Builder

getEventsBuilderList()

public List<Event.Builder> getEventsBuilderList()

The Events to create and add.

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

Returns
TypeDescription
List<Builder>

getEventsCount()

public int getEventsCount()

The Events to create and add.

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

Returns
TypeDescription
int

getEventsList()

public List<Event> getEventsList()

The Events to create and add.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EventOrBuilder

getEventsOrBuilderList()

public List<? extends EventOrBuilder> getEventsOrBuilderList()

The Events to create and add.

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

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

The bytes for execution.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AddExecutionEventsRequest other)

public AddExecutionEventsRequest.Builder mergeFrom(AddExecutionEventsRequest other)
Parameter
NameDescription
otherAddExecutionEventsRequest
Returns
TypeDescription
AddExecutionEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AddExecutionEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEvent.Builder
Returns
TypeDescription
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
NameDescription
valueString

The execution to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for execution to set.

Returns
TypeDescription
AddExecutionEventsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AddExecutionEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddExecutionEventsRequest.Builder
Overrides