Class RejoinUserEventsRequest (2.50.0)

public final class RejoinUserEventsRequest extends GeneratedMessageV3 implements RejoinUserEventsRequestOrBuilder

Request message for RejoinUserEvents method.

Protobuf type google.cloud.retail.v2.RejoinUserEventsRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

USER_EVENT_REJOIN_SCOPE_FIELD_NUMBER

public static final int USER_EVENT_REJOIN_SCOPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RejoinUserEventsRequest getDefaultInstance()
Returns
Type Description
RejoinUserEventsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RejoinUserEventsRequest.Builder newBuilder()
Returns
Type Description
RejoinUserEventsRequest.Builder

newBuilder(RejoinUserEventsRequest prototype)

public static RejoinUserEventsRequest.Builder newBuilder(RejoinUserEventsRequest prototype)
Parameter
Name Description
prototype RejoinUserEventsRequest
Returns
Type Description
RejoinUserEventsRequest.Builder

parseDelimitedFrom(InputStream input)

public static RejoinUserEventsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RejoinUserEventsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RejoinUserEventsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RejoinUserEventsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RejoinUserEventsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RejoinUserEventsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RejoinUserEventsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RejoinUserEventsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RejoinUserEventsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RejoinUserEventsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RejoinUserEventsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RejoinUserEventsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RejoinUserEventsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RejoinUserEventsRequest> parser()
Returns
Type Description
Parser<RejoinUserEventsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RejoinUserEventsRequest getDefaultInstanceForType()
Returns
Type Description
RejoinUserEventsRequest

getParent()

public String getParent()

Required. The parent catalog resource name, such as projects/1234/locations/global/catalogs/default_catalog.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent catalog resource name, such as projects/1234/locations/global/catalogs/default_catalog.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<RejoinUserEventsRequest> getParserForType()
Returns
Type Description
Parser<RejoinUserEventsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserEventRejoinScope()

public RejoinUserEventsRequest.UserEventRejoinScope getUserEventRejoinScope()

The type of the user event rejoin to define the scope and range of the user events to be rejoined with the latest product catalog. Defaults to USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, or set to an invalid integer value.

.google.cloud.retail.v2.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Returns
Type Description
RejoinUserEventsRequest.UserEventRejoinScope

The userEventRejoinScope.

getUserEventRejoinScopeValue()

public int getUserEventRejoinScopeValue()

The type of the user event rejoin to define the scope and range of the user events to be rejoined with the latest product catalog. Defaults to USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, or set to an invalid integer value.

.google.cloud.retail.v2.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Returns
Type Description
int

The enum numeric value on the wire for userEventRejoinScope.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RejoinUserEventsRequest.Builder newBuilderForType()
Returns
Type Description
RejoinUserEventsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RejoinUserEventsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RejoinUserEventsRequest.Builder toBuilder()
Returns
Type Description
RejoinUserEventsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException