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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListUserEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addUserEvents(UserEvent value)
public ListUserEventsResponse.Builder addUserEvents(UserEvent value)
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Parameter
Returns
addUserEvents(UserEvent.Builder builderForValue)
public ListUserEventsResponse.Builder addUserEvents(UserEvent.Builder builderForValue)
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Parameter
Returns
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
Returns
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
Returns
addUserEventsBuilder()
public UserEvent.Builder addUserEventsBuilder()
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Returns
addUserEventsBuilder(int index)
public UserEvent.Builder addUserEventsBuilder(int index)
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Parameter
Returns
build()
public ListUserEventsResponse build()
Returns
buildPartial()
public ListUserEventsResponse buildPartial()
Returns
clear()
public ListUserEventsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListUserEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListUserEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUserEvents()
public ListUserEventsResponse.Builder clearUserEvents()
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Returns
clone()
public ListUserEventsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListUserEventsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getUserEventsBuilder(int index)
public UserEvent.Builder getUserEventsBuilder(int index)
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Parameter
Returns
getUserEventsBuilderList()
public List<UserEvent.Builder> getUserEventsBuilderList()
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Returns
getUserEventsCount()
public int getUserEventsCount()
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Returns
getUserEventsList()
public List<UserEvent> getUserEventsList()
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Returns
getUserEventsOrBuilder(int index)
public UserEventOrBuilder getUserEventsOrBuilder(int index)
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListUserEventsResponse other)
public ListUserEventsResponse.Builder mergeFrom(ListUserEventsResponse other)
Parameter
Returns
public ListUserEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListUserEventsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListUserEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeUserEvents(int index)
public ListUserEventsResponse.Builder removeUserEvents(int index)
The user events.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListUserEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListUserEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListUserEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns