Class ImportUserEventsRequest.InlineSource.Builder (0.33.0)

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.v1.ImportUserEventsRequest.InlineSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1.UserEvent>
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportUserEventsRequest.InlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueUserEvent
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueUserEvent.Builder
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueUserEvent
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueUserEvent.Builder
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

addUserEventsBuilder()

public UserEvent.Builder addUserEventsBuilder()

Required. A list of user events to import. Recommended max of 10k items.

repeated .google.cloud.discoveryengine.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UserEvent.Builder

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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
UserEvent.Builder

build()

public ImportUserEventsRequest.InlineSource build()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource

buildPartial()

public ImportUserEventsRequest.InlineSource buildPartial()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource

clear()

public ImportUserEventsRequest.InlineSource.Builder clear()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportUserEventsRequest.InlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportUserEventsRequest.InlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides

clearUserEvents()

public ImportUserEventsRequest.InlineSource.Builder clearUserEvents()

Required. A list of user events to import. Recommended max of 10k items.

repeated .google.cloud.discoveryengine.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

clone()

public ImportUserEventsRequest.InlineSource.Builder clone()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides

getDefaultInstanceForType()

public ImportUserEventsRequest.InlineSource getDefaultInstanceForType()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
UserEvent

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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
UserEvent.Builder

getUserEventsBuilderList()

public List<UserEvent.Builder> getUserEventsBuilderList()

Required. A list of user events to import. Recommended max of 10k items.

repeated .google.cloud.discoveryengine.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getUserEventsCount()

public int getUserEventsCount()

Required. A list of user events to import. Recommended max of 10k items.

repeated .google.cloud.discoveryengine.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getUserEventsList()

public List<UserEvent> getUserEventsList()

Required. A list of user events to import. Recommended max of 10k items.

repeated .google.cloud.discoveryengine.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<UserEvent>

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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
UserEventOrBuilder

getUserEventsOrBuilderList()

public List<? extends UserEventOrBuilder> getUserEventsOrBuilderList()

Required. A list of user events to import. Recommended max of 10k items.

repeated .google.cloud.discoveryengine.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1.UserEventOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportUserEventsRequest.InlineSource other)

public ImportUserEventsRequest.InlineSource.Builder mergeFrom(ImportUserEventsRequest.InlineSource other)
Parameter
NameDescription
otherImportUserEventsRequest.InlineSource
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportUserEventsRequest.InlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportUserEventsRequest.InlineSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportUserEventsRequest.InlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportUserEventsRequest.InlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides

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

public ImportUserEventsRequest.InlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportUserEventsRequest.InlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueUserEvent
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

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.v1.UserEvent user_events = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueUserEvent.Builder
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder