Class ListUserEventsResponse.Builder (0.50.0)

public static final class ListUserEventsResponse.Builder extends GeneratedMessageV3.Builder<ListUserEventsResponse.Builder> implements ListUserEventsResponseOrBuilder

Response message for ListUserEvents method.

Protobuf type google.cloud.recommendationengine.v1beta1.ListUserEventsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllUserEvents(Iterable<? extends UserEvent> values)

public ListUserEventsResponse.Builder addAllUserEvents(Iterable<? extends UserEvent> values)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.recommendationengine.v1beta1.UserEvent>
Returns
Type Description
ListUserEventsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListUserEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

addUserEvents(UserEvent value)

public ListUserEventsResponse.Builder addUserEvents(UserEvent value)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameter
Name Description
value UserEvent
Returns
Type Description
ListUserEventsResponse.Builder

addUserEvents(UserEvent.Builder builderForValue)

public ListUserEventsResponse.Builder addUserEvents(UserEvent.Builder builderForValue)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameter
Name Description
builderForValue UserEvent.Builder
Returns
Type Description
ListUserEventsResponse.Builder

addUserEvents(int index, UserEvent value)

public ListUserEventsResponse.Builder addUserEvents(int index, UserEvent value)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameters
Name Description
index int
value UserEvent
Returns
Type Description
ListUserEventsResponse.Builder

addUserEvents(int index, UserEvent.Builder builderForValue)

public ListUserEventsResponse.Builder addUserEvents(int index, UserEvent.Builder builderForValue)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameters
Name Description
index int
builderForValue UserEvent.Builder
Returns
Type Description
ListUserEventsResponse.Builder

addUserEventsBuilder()

public UserEvent.Builder addUserEventsBuilder()

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Returns
Type Description
UserEvent.Builder

addUserEventsBuilder(int index)

public UserEvent.Builder addUserEventsBuilder(int index)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameter
Name Description
index int
Returns
Type Description
UserEvent.Builder

build()

public ListUserEventsResponse build()
Returns
Type Description
ListUserEventsResponse

buildPartial()

public ListUserEventsResponse buildPartial()
Returns
Type Description
ListUserEventsResponse

clear()

public ListUserEventsResponse.Builder clear()
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListUserEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

clearNextPageToken()

public ListUserEventsResponse.Builder clearNextPageToken()

If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token.

string next_page_token = 2;

Returns
Type Description
ListUserEventsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListUserEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

clearUserEvents()

public ListUserEventsResponse.Builder clearUserEvents()

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Returns
Type Description
ListUserEventsResponse.Builder

clone()

public ListUserEventsResponse.Builder clone()
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListUserEventsResponse getDefaultInstanceForType()
Returns
Type Description
ListUserEventsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUserEvents(int index)

public UserEvent getUserEvents(int index)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameter
Name Description
index int
Returns
Type Description
UserEvent

getUserEventsBuilder(int index)

public UserEvent.Builder getUserEventsBuilder(int index)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameter
Name Description
index int
Returns
Type Description
UserEvent.Builder

getUserEventsBuilderList()

public List<UserEvent.Builder> getUserEventsBuilderList()

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Returns
Type Description
List<Builder>

getUserEventsCount()

public int getUserEventsCount()

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Returns
Type Description
int

getUserEventsList()

public List<UserEvent> getUserEventsList()

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Returns
Type Description
List<UserEvent>

getUserEventsOrBuilder(int index)

public UserEventOrBuilder getUserEventsOrBuilder(int index)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameter
Name Description
index int
Returns
Type Description
UserEventOrBuilder

getUserEventsOrBuilderList()

public List<? extends UserEventOrBuilder> getUserEventsOrBuilderList()

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Returns
Type Description
List<? extends com.google.cloud.recommendationengine.v1beta1.UserEventOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListUserEventsResponse other)

public ListUserEventsResponse.Builder mergeFrom(ListUserEventsResponse other)
Parameter
Name Description
other ListUserEventsResponse
Returns
Type Description
ListUserEventsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListUserEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListUserEventsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListUserEventsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListUserEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

removeUserEvents(int index)

public ListUserEventsResponse.Builder removeUserEvents(int index)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameter
Name Description
index int
Returns
Type Description
ListUserEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListUserEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

setNextPageToken(String value)

public ListUserEventsResponse.Builder setNextPageToken(String value)

If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListUserEventsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUserEventsResponse.Builder setNextPageTokenBytes(ByteString value)

If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListUserEventsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListUserEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListUserEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListUserEventsResponse.Builder
Overrides

setUserEvents(int index, UserEvent value)

public ListUserEventsResponse.Builder setUserEvents(int index, UserEvent value)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameters
Name Description
index int
value UserEvent
Returns
Type Description
ListUserEventsResponse.Builder

setUserEvents(int index, UserEvent.Builder builderForValue)

public ListUserEventsResponse.Builder setUserEvents(int index, UserEvent.Builder builderForValue)

The user events.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;

Parameters
Name Description
index int
builderForValue UserEvent.Builder
Returns
Type Description
ListUserEventsResponse.Builder