public static final class UserEventInlineSource.Builder extends GeneratedMessageV3.Builder<UserEventInlineSource.Builder> implements UserEventInlineSourceOrBuilder
The inline source for the input config for ImportUserEvents method.
Protobuf type google.cloud.recommendationengine.v1beta1.UserEventInlineSource
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 UserEventInlineSource.Builder addAllUserEvents(Iterable<? extends UserEvent> values)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.recommendationengine.v1beta1.UserEvent>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserEventInlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addUserEvents(UserEvent value)
public UserEventInlineSource.Builder addUserEvents(UserEvent value)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
addUserEvents(UserEvent.Builder builderForValue)
public UserEventInlineSource.Builder addUserEvents(UserEvent.Builder builderForValue)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
addUserEvents(int index, UserEvent value)
public UserEventInlineSource.Builder addUserEvents(int index, UserEvent value)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
addUserEvents(int index, UserEvent.Builder builderForValue)
public UserEventInlineSource.Builder addUserEvents(int index, UserEvent.Builder builderForValue)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
addUserEventsBuilder()
public UserEvent.Builder addUserEventsBuilder()
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
addUserEventsBuilder(int index)
public UserEvent.Builder addUserEventsBuilder(int index)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
build()
public UserEventInlineSource build()
buildPartial()
public UserEventInlineSource buildPartial()
clear()
public UserEventInlineSource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UserEventInlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserEventInlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUserEvents()
public UserEventInlineSource.Builder clearUserEvents()
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UserEventInlineSource.Builder clone()
Overrides
getDefaultInstanceForType()
public UserEventInlineSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUserEvents(int index)
public UserEvent getUserEvents(int index)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getUserEventsBuilder(int index)
public UserEvent.Builder getUserEventsBuilder(int index)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getUserEventsBuilderList()
public List<UserEvent.Builder> getUserEventsBuilderList()
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
getUserEventsCount()
public int getUserEventsCount()
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getUserEventsList()
public List<UserEvent> getUserEventsList()
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
getUserEventsOrBuilder(int index)
public UserEventOrBuilder getUserEventsOrBuilder(int index)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getUserEventsOrBuilderList()
public List<? extends UserEventOrBuilder> getUserEventsOrBuilderList()
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.recommendationengine.v1beta1.UserEventOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UserEventInlineSource other)
public UserEventInlineSource.Builder mergeFrom(UserEventInlineSource other)
public UserEventInlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UserEventInlineSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserEventInlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeUserEvents(int index)
public UserEventInlineSource.Builder removeUserEvents(int index)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public UserEventInlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserEventInlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserEventInlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUserEvents(int index, UserEvent value)
public UserEventInlineSource.Builder setUserEvents(int index, UserEvent value)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];
setUserEvents(int index, UserEvent.Builder builderForValue)
public UserEventInlineSource.Builder setUserEvents(int index, UserEvent.Builder builderForValue)
Optional. A list of user events to import. Recommended max of 10k items.
repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events = 1 [(.google.api.field_behavior) = OPTIONAL];