Class ListEventsResponse.Builder

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

public static final class ListEventsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListEventsResponse.Builder> implements ListEventsResponseOrBuilder
 Response message for
 [SessionService.ListEvents][google.cloud.aiplatform.v1.SessionService.ListEvents].
 
Protobuf type google.cloud.aiplatform.v1.ListEventsResponse
  • 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<ListEventsResponse.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<ListEventsResponse.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<ListEventsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListEventsResponse.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<ListEventsResponse.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<ListEventsResponse.Builder>
    • mergeFrom

      public ListEventsResponse.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<ListEventsResponse.Builder>
      Throws:
      IOException
    • getSessionEventsList

      public List<SessionEvent> getSessionEventsList()
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
      Specified by:
      getSessionEventsList in interface ListEventsResponseOrBuilder
    • getSessionEventsCount

      public int getSessionEventsCount()
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
      Specified by:
      getSessionEventsCount in interface ListEventsResponseOrBuilder
    • getSessionEvents

      public SessionEvent getSessionEvents(int index)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
      Specified by:
      getSessionEvents in interface ListEventsResponseOrBuilder
    • setSessionEvents

      public ListEventsResponse.Builder setSessionEvents(int index, SessionEvent value)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • setSessionEvents

      public ListEventsResponse.Builder setSessionEvents(int index, SessionEvent.Builder builderForValue)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • addSessionEvents

      public ListEventsResponse.Builder addSessionEvents(SessionEvent value)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • addSessionEvents

      public ListEventsResponse.Builder addSessionEvents(int index, SessionEvent value)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • addSessionEvents

      public ListEventsResponse.Builder addSessionEvents(SessionEvent.Builder builderForValue)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • addSessionEvents

      public ListEventsResponse.Builder addSessionEvents(int index, SessionEvent.Builder builderForValue)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • addAllSessionEvents

      public ListEventsResponse.Builder addAllSessionEvents(Iterable<? extends SessionEvent> values)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • clearSessionEvents

      public ListEventsResponse.Builder clearSessionEvents()
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • removeSessionEvents

      public ListEventsResponse.Builder removeSessionEvents(int index)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • getSessionEventsBuilder

      public SessionEvent.Builder getSessionEventsBuilder(int index)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • getSessionEventsOrBuilder

      public SessionEventOrBuilder getSessionEventsOrBuilder(int index)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
      Specified by:
      getSessionEventsOrBuilder in interface ListEventsResponseOrBuilder
    • getSessionEventsOrBuilderList

      public List<? extends SessionEventOrBuilder> getSessionEventsOrBuilderList()
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
      Specified by:
      getSessionEventsOrBuilderList in interface ListEventsResponseOrBuilder
    • addSessionEventsBuilder

      public SessionEvent.Builder addSessionEventsBuilder()
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • addSessionEventsBuilder

      public SessionEvent.Builder addSessionEventsBuilder(int index)
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • getSessionEventsBuilderList

      public List<SessionEvent.Builder> getSessionEventsBuilderList()
       A list of events matching the request. Ordered by timestamp in ascending
       order.
       
      repeated .google.cloud.aiplatform.v1.SessionEvent session_events = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as
       [ListEventsRequest.page_token][google.cloud.aiplatform.v1.ListEventsRequest.page_token]
       to retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListEventsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as
       [ListEventsRequest.page_token][google.cloud.aiplatform.v1.ListEventsRequest.page_token]
       to retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListEventsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListEventsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as
       [ListEventsRequest.page_token][google.cloud.aiplatform.v1.ListEventsRequest.page_token]
       to retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListEventsResponse.Builder clearNextPageToken()
       A token, which can be sent as
       [ListEventsRequest.page_token][google.cloud.aiplatform.v1.ListEventsRequest.page_token]
       to retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListEventsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as
       [ListEventsRequest.page_token][google.cloud.aiplatform.v1.ListEventsRequest.page_token]
       to retrieve the next page. Absence of this field indicates there are no
       subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.