Class AddExecutionEventsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AddExecutionEventsRequest.Builder>
com.google.cloud.aiplatform.v1.AddExecutionEventsRequest.Builder
All Implemented Interfaces:
AddExecutionEventsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AddExecutionEventsRequest

public static final class AddExecutionEventsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AddExecutionEventsRequest.Builder> implements AddExecutionEventsRequestOrBuilder
 Request message for
 [MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1.MetadataService.AddExecutionEvents].
 
Protobuf type google.cloud.aiplatform.v1.AddExecutionEventsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AddExecutionEventsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AddExecutionEventsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AddExecutionEventsRequest.Builder>
    • getDefaultInstanceForType

      public AddExecutionEventsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AddExecutionEventsRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AddExecutionEventsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AddExecutionEventsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddExecutionEventsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AddExecutionEventsRequest.Builder>
    • mergeFrom

      public AddExecutionEventsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddExecutionEventsRequest.Builder>
      Throws:
      IOException
    • 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) = { ... }
      Specified by:
      getExecution in interface AddExecutionEventsRequestOrBuilder
      Returns:
      The execution.
    • getExecutionBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getExecutionBytes in interface AddExecutionEventsRequestOrBuilder
      Returns:
      The bytes for execution.
    • setExecution

      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) = { ... }
      Parameters:
      value - The execution to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setExecutionBytes

      public AddExecutionEventsRequest.Builder setExecutionBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for execution to set.
      Returns:
      This builder for chaining.
    • getEventsList

      public List<Event> getEventsList()
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
      Specified by:
      getEventsList in interface AddExecutionEventsRequestOrBuilder
    • getEventsCount

      public int getEventsCount()
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
      Specified by:
      getEventsCount in interface AddExecutionEventsRequestOrBuilder
    • getEvents

      public Event getEvents(int index)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
      Specified by:
      getEvents in interface AddExecutionEventsRequestOrBuilder
    • setEvents

      public AddExecutionEventsRequest.Builder setEvents(int index, Event value)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • setEvents

      public AddExecutionEventsRequest.Builder setEvents(int index, Event.Builder builderForValue)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • addEvents

      public AddExecutionEventsRequest.Builder addEvents(Event value)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • addEvents

      public AddExecutionEventsRequest.Builder addEvents(int index, Event value)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • addEvents

      public AddExecutionEventsRequest.Builder addEvents(Event.Builder builderForValue)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • addEvents

      public AddExecutionEventsRequest.Builder addEvents(int index, Event.Builder builderForValue)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • addAllEvents

      public AddExecutionEventsRequest.Builder addAllEvents(Iterable<? extends Event> values)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • clearEvents

      public AddExecutionEventsRequest.Builder clearEvents()
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • removeEvents

      public AddExecutionEventsRequest.Builder removeEvents(int index)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • getEventsBuilder

      public Event.Builder getEventsBuilder(int index)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • getEventsOrBuilder

      public EventOrBuilder getEventsOrBuilder(int index)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
      Specified by:
      getEventsOrBuilder in interface AddExecutionEventsRequestOrBuilder
    • getEventsOrBuilderList

      public List<? extends EventOrBuilder> getEventsOrBuilderList()
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
      Specified by:
      getEventsOrBuilderList in interface AddExecutionEventsRequestOrBuilder
    • addEventsBuilder

      public Event.Builder addEventsBuilder()
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • addEventsBuilder

      public Event.Builder addEventsBuilder(int index)
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;
    • getEventsBuilderList

      public List<Event.Builder> getEventsBuilderList()
       The Events to create and add.
       
      repeated .google.cloud.aiplatform.v1.Event events = 2;