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
Methods
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
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
public AddExecutionEventsRequest.Builder addEvents(Event.Builder builderForValue)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameter
Returns
public AddExecutionEventsRequest.Builder addEvents(int index, Event value)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameters
Returns
public AddExecutionEventsRequest.Builder addEvents(int index, Event.Builder builderForValue)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameters
Returns
public Event.Builder addEventsBuilder()
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Returns
public Event.Builder addEventsBuilder(int index)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameter
Returns
public AddExecutionEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AddExecutionEventsRequest build()
Returns
public AddExecutionEventsRequest buildPartial()
Returns
public AddExecutionEventsRequest.Builder clear()
Returns
Overrides
public AddExecutionEventsRequest.Builder clearEvents()
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Returns
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
public AddExecutionEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public AddExecutionEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public AddExecutionEventsRequest.Builder clone()
Returns
Overrides
public AddExecutionEventsRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Event getEvents(int index)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameter
Returns
public Event.Builder getEventsBuilder(int index)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameter
Returns
public List<Event.Builder> getEventsBuilderList()
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Returns
public int getEventsCount()
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Returns
public List<Event> getEventsList()
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Returns
public EventOrBuilder getEventsOrBuilder(int index)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameter
Returns
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> | |
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.
|
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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AddExecutionEventsRequest.Builder mergeFrom(AddExecutionEventsRequest other)
Parameter
Returns
public AddExecutionEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public AddExecutionEventsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final AddExecutionEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AddExecutionEventsRequest.Builder removeEvents(int index)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameter
Returns
public AddExecutionEventsRequest.Builder setEvents(int index, Event value)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameters
Returns
public AddExecutionEventsRequest.Builder setEvents(int index, Event.Builder builderForValue)
The Events to create and add.
repeated .google.cloud.aiplatform.v1beta1.Event events = 2;
Parameters
Returns
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
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
public AddExecutionEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AddExecutionEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final AddExecutionEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides