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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RejoinUserEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RejoinUserEventsRequest build()
Returns
buildPartial()
public RejoinUserEventsRequest buildPartial()
Returns
clear()
public RejoinUserEventsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RejoinUserEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RejoinUserEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public RejoinUserEventsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RejoinUserEventsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RejoinUserEventsRequest other)
public RejoinUserEventsRequest.Builder mergeFrom(RejoinUserEventsRequest other)
Parameter
Returns
public RejoinUserEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RejoinUserEventsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RejoinUserEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RejoinUserEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RejoinUserEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RejoinUserEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Name | Description |
value | int
The enum numeric value on the wire for userEventRejoinScope to set.
|
Returns