public static final class ListEventsResponse.Builder extends GeneratedMessageV3.Builder<ListEventsResponse.Builder> implements ListEventsResponseOrBuilder
Response message for
SessionService.ListEvents.
Protobuf type google.cloud.aiplatform.v1beta1.ListEventsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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.v1beta1.SessionEvent session_events = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.SessionEvent>
|
public ListEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListEventsResponse.Builder addSessionEvents(SessionEvent value)
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
public ListEventsResponse.Builder addSessionEvents(SessionEvent.Builder builderForValue)
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
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.v1beta1.SessionEvent session_events = 1;
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.v1beta1.SessionEvent session_events = 1;
public SessionEvent.Builder addSessionEventsBuilder()
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
public SessionEvent.Builder addSessionEventsBuilder(int index)
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
Parameter |
Name |
Description |
index |
int
|
public ListEventsResponse build()
public ListEventsResponse buildPartial()
public ListEventsResponse.Builder clear()
Overrides
public ListEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListEventsResponse.Builder clearNextPageToken()
A token, which can be sent as
ListEventsRequest.page_token
to retrieve the next page. Absence of this field indicates there are no
subsequent pages.
string next_page_token = 2;
public ListEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListEventsResponse.Builder clearSessionEvents()
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
public ListEventsResponse.Builder clone()
Overrides
public ListEventsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as
ListEventsRequest.page_token
to retrieve the next page. Absence of this field indicates there are no
subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as
ListEventsRequest.page_token
to retrieve the next page. Absence of this field indicates there are no
subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
public SessionEvent getSessionEvents(int index)
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
Parameter |
Name |
Description |
index |
int
|
public SessionEvent.Builder getSessionEventsBuilder(int index)
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
Parameter |
Name |
Description |
index |
int
|
public List<SessionEvent.Builder> getSessionEventsBuilderList()
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
public int getSessionEventsCount()
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
Returns |
Type |
Description |
int |
|
public List<SessionEvent> getSessionEventsList()
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
public SessionEventOrBuilder getSessionEventsOrBuilder(int index)
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends SessionEventOrBuilder> getSessionEventsOrBuilderList()
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.SessionEventOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListEventsResponse.Builder mergeFrom(ListEventsResponse other)
public ListEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListEventsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListEventsResponse.Builder removeSessionEvents(int index)
A list of events matching the request. Ordered by timestamp in ascending
order.
repeated .google.cloud.aiplatform.v1beta1.SessionEvent session_events = 1;
Parameter |
Name |
Description |
index |
int
|
public ListEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListEventsResponse.Builder setNextPageToken(String value)
A token, which can be sent as
ListEventsRequest.page_token
to retrieve the next page. Absence of this field indicates there are no
subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListEventsResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as
ListEventsRequest.page_token
to retrieve the next page. Absence of this field indicates there are no
subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
public ListEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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.v1beta1.SessionEvent session_events = 1;
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.v1beta1.SessionEvent session_events = 1;
public final ListEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides