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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RejoinUserEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RejoinUserEventsRequest build()
buildPartial()
public RejoinUserEventsRequest buildPartial()
clear()
public RejoinUserEventsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RejoinUserEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RejoinUserEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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;
clone()
public RejoinUserEventsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public RejoinUserEventsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v2.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RejoinUserEventsRequest other)
public RejoinUserEventsRequest.Builder mergeFrom(RejoinUserEventsRequest other)
public RejoinUserEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RejoinUserEventsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RejoinUserEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RejoinUserEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RejoinUserEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RejoinUserEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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.
|