Class RejoinUserEventsRequest.Builder (2.10.0)

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

Request message for RejoinUserEvents method.

Protobuf type google.cloud.retail.v2.RejoinUserEventsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RejoinUserEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RejoinUserEventsRequest.Builder
Overrides

build()

public RejoinUserEventsRequest build()
Returns
TypeDescription
RejoinUserEventsRequest

buildPartial()

public RejoinUserEventsRequest buildPartial()
Returns
TypeDescription
RejoinUserEventsRequest

clear()

public RejoinUserEventsRequest.Builder clear()
Returns
TypeDescription
RejoinUserEventsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public RejoinUserEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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.v2.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Returns
TypeDescription
RejoinUserEventsRequest.Builder

This builder for chaining.

clone()

public RejoinUserEventsRequest.Builder clone()
Returns
TypeDescription
RejoinUserEventsRequest.Builder
Overrides

getDefaultInstanceForType()

public RejoinUserEventsRequest getDefaultInstanceForType()
Returns
TypeDescription
RejoinUserEventsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v2.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

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

The enum numeric value on the wire for userEventRejoinScope.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RejoinUserEventsRequest other)

public RejoinUserEventsRequest.Builder mergeFrom(RejoinUserEventsRequest other)
Parameter
NameDescription
otherRejoinUserEventsRequest
Returns
TypeDescription
RejoinUserEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RejoinUserEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RejoinUserEventsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RejoinUserEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RejoinUserEventsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RejoinUserEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Parameter
NameDescription
valueRejoinUserEventsRequest.UserEventRejoinScope

The userEventRejoinScope to set.

Returns
TypeDescription
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.v2.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
RejoinUserEventsRequest.Builder

This builder for chaining.