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