public static final class ListEventsResponse.Builder extends GeneratedMessage.Builder<ListEventsResponse.Builder> implements ListEventsResponseOrBuilderResponse message for SessionService.ListEvents.
Protobuf type google.cloud.aiplatform.v1.ListEventsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListEventsResponse.BuilderImplements
ListEventsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSessionEvents(Iterable<? extends SessionEvent> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1.SessionEvent> |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
addSessionEvents(SessionEvent value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
SessionEvent |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
addSessionEvents(SessionEvent.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SessionEvent.Builder |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
addSessionEvents(int index, SessionEvent value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SessionEvent |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
addSessionEvents(int index, SessionEvent.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SessionEvent.Builder |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
SessionEvent.Builder |
|
addSessionEventsBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SessionEvent.Builder |
|
build()
public ListEventsResponse build()| Returns | |
|---|---|
| Type | Description |
ListEventsResponse |
|
buildPartial()
public ListEventsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListEventsResponse |
|
clear()
public ListEventsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
getDefaultInstanceForType()
public ListEventsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListEventsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getSessionEvents(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SessionEvent |
|
getSessionEventsBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SessionEvent.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<SessionEvent> |
|
getSessionEventsOrBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SessionEventOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1.SessionEventOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListEventsResponse other)
public ListEventsResponse.Builder mergeFrom(ListEventsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListEventsResponse |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListEventsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
removeSessionEvents(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
This builder for chaining. |
setSessionEvents(int index, SessionEvent value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SessionEvent |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|
setSessionEvents(int index, SessionEvent.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SessionEvent.Builder |
| Returns | |
|---|---|
| Type | Description |
ListEventsResponse.Builder |
|