Class ImportUserEventsRequest.InlineSource (0.35.0)

public static final class ImportUserEventsRequest.InlineSource extends GeneratedMessageV3 implements ImportUserEventsRequest.InlineSourceOrBuilder

The inline source for the input config for ImportUserEvents method.

Protobuf type google.cloud.discoveryengine.v1beta.ImportUserEventsRequest.InlineSource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportUserEventsRequest.InlineSource

Static Fields

USER_EVENTS_FIELD_NUMBER

public static final int USER_EVENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportUserEventsRequest.InlineSource getDefaultInstance()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource

getDescriptor()

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

newBuilder()

public static ImportUserEventsRequest.InlineSource.Builder newBuilder()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

newBuilder(ImportUserEventsRequest.InlineSource prototype)

public static ImportUserEventsRequest.InlineSource.Builder newBuilder(ImportUserEventsRequest.InlineSource prototype)
Parameter
NameDescription
prototypeImportUserEventsRequest.InlineSource
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

parseDelimitedFrom(InputStream input)

public static ImportUserEventsRequest.InlineSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest.InlineSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportUserEventsRequest.InlineSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest.InlineSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportUserEventsRequest.InlineSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest.InlineSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportUserEventsRequest.InlineSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest.InlineSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportUserEventsRequest.InlineSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest.InlineSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportUserEventsRequest.InlineSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportUserEventsRequest.InlineSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportUserEventsRequest.InlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportUserEventsRequest.InlineSource> parser()
Returns
TypeDescription
Parser<InlineSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<ImportUserEventsRequest.InlineSource> getParserForType()
Returns
TypeDescription
Parser<InlineSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
NameDescription
indexint
Returns
TypeDescription
UserEvent

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
TypeDescription
int

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

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportUserEventsRequest.InlineSource.Builder newBuilderForType()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportUserEventsRequest.InlineSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportUserEventsRequest.InlineSource.Builder toBuilder()
Returns
TypeDescription
ImportUserEventsRequest.InlineSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException