Class RejoinUserEventsRequest.Builder (2.46.0)

public static final class RejoinUserEventsRequest.Builder extends GeneratedMessageV3.Builder<RejoinUserEventsRequest.Builder> implements RejoinUserEventsRequestOrBuilder

Request message for RejoinUserEvents method.

Protobuf type google.cloud.retail.v2beta.RejoinUserEventsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RejoinUserEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

build()

public RejoinUserEventsRequest build()
Returns
Type Description
RejoinUserEventsRequest

buildPartial()

public RejoinUserEventsRequest buildPartial()
Returns
Type Description
RejoinUserEventsRequest

clear()

public RejoinUserEventsRequest.Builder clear()
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RejoinUserEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RejoinUserEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

clearParent()

public RejoinUserEventsRequest.Builder clearParent()

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
RejoinUserEventsRequest.Builder

This builder for chaining.

clearUserEventRejoinScope()

public RejoinUserEventsRequest.Builder clearUserEventRejoinScope()

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.v2beta.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Returns
Type Description
RejoinUserEventsRequest.Builder

This builder for chaining.

clone()

public RejoinUserEventsRequest.Builder clone()
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

getDefaultInstanceForType()

public RejoinUserEventsRequest getDefaultInstanceForType()
Returns
Type Description
RejoinUserEventsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.v2beta.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.v2beta.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Returns
Type Description
int

The enum numeric value on the wire for userEventRejoinScope.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RejoinUserEventsRequest other)

public RejoinUserEventsRequest.Builder mergeFrom(RejoinUserEventsRequest other)
Parameter
Name Description
other RejoinUserEventsRequest
Returns
Type Description
RejoinUserEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RejoinUserEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RejoinUserEventsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RejoinUserEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RejoinUserEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

setParent(String value)

public RejoinUserEventsRequest.Builder setParent(String value)

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
RejoinUserEventsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public RejoinUserEventsRequest.Builder setParentBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
RejoinUserEventsRequest.Builder

This builder for chaining.

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

public RejoinUserEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RejoinUserEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RejoinUserEventsRequest.Builder
Overrides

setUserEventRejoinScope(RejoinUserEventsRequest.UserEventRejoinScope value)

public RejoinUserEventsRequest.Builder setUserEventRejoinScope(RejoinUserEventsRequest.UserEventRejoinScope value)

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.v2beta.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Parameter
Name Description
value RejoinUserEventsRequest.UserEventRejoinScope

The userEventRejoinScope to set.

Returns
Type Description
RejoinUserEventsRequest.Builder

This builder for chaining.

setUserEventRejoinScopeValue(int value)

public RejoinUserEventsRequest.Builder setUserEventRejoinScopeValue(int value)

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.v2beta.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for userEventRejoinScope to set.

Returns
Type Description
RejoinUserEventsRequest.Builder

This builder for chaining.