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