Class UserEventInlineSource (0.21.0)

public final class UserEventInlineSource extends GeneratedMessageV3 implements UserEventInlineSourceOrBuilder

The inline source for the input config for ImportUserEvents method.

Protobuf type google.cloud.recommendationengine.v1beta1.UserEventInlineSource

Static Fields

USER_EVENTS_FIELD_NUMBER

public static final int USER_EVENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UserEventInlineSource getDefaultInstance()
Returns
TypeDescription
UserEventInlineSource

getDescriptor()

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

newBuilder()

public static UserEventInlineSource.Builder newBuilder()
Returns
TypeDescription
UserEventInlineSource.Builder

newBuilder(UserEventInlineSource prototype)

public static UserEventInlineSource.Builder newBuilder(UserEventInlineSource prototype)
Parameter
NameDescription
prototypeUserEventInlineSource
Returns
TypeDescription
UserEventInlineSource.Builder

parseDelimitedFrom(InputStream input)

public static UserEventInlineSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UserEventInlineSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static UserEventInlineSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UserEventInlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static UserEventInlineSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UserEventInlineSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static UserEventInlineSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UserEventInlineSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static UserEventInlineSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UserEventInlineSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<UserEventInlineSource> parser()
Returns
TypeDescription
Parser<UserEventInlineSource>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UserEventInlineSource getDefaultInstanceForType()
Returns
TypeDescription
UserEventInlineSource

getParserForType()

public Parser<UserEventInlineSource> getParserForType()
Returns
TypeDescription
Parser<UserEventInlineSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
NameDescription
indexint
Returns
TypeDescription
UserEvent

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
TypeDescription
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];

Returns
TypeDescription
List<UserEvent>

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
NameDescription
indexint
Returns
TypeDescription
UserEventOrBuilder

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
TypeDescription
List<? extends com.google.cloud.recommendationengine.v1beta1.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 UserEventInlineSource.Builder newBuilderForType()
Returns
TypeDescription
UserEventInlineSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public UserEventInlineSource.Builder toBuilder()
Returns
TypeDescription
UserEventInlineSource.Builder

writeTo(CodedOutputStream output)

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