Class RejoinUserEventsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RejoinUserEventsRequest.Builder>
com.google.cloud.retail.v2alpha.RejoinUserEventsRequest.Builder
All Implemented Interfaces:
RejoinUserEventsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RejoinUserEventsRequest

public static final class RejoinUserEventsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<RejoinUserEventsRequest.Builder> implements RejoinUserEventsRequestOrBuilder
 Request message for RejoinUserEvents method.
 
Protobuf type google.cloud.retail.v2alpha.RejoinUserEventsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RejoinUserEventsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RejoinUserEventsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RejoinUserEventsRequest.Builder>
    • getDefaultInstanceForType

      public RejoinUserEventsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RejoinUserEventsRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RejoinUserEventsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RejoinUserEventsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RejoinUserEventsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RejoinUserEventsRequest.Builder>
    • mergeFrom

      public RejoinUserEventsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RejoinUserEventsRequest.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getParent in interface RejoinUserEventsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.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];
      Specified by:
      getParentBytes in interface RejoinUserEventsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      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];
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setParentBytes

      public RejoinUserEventsRequest.Builder setParentBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • 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.v2alpha.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;
      Specified by:
      getUserEventRejoinScopeValue in interface RejoinUserEventsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for userEventRejoinScope.
    • setUserEventRejoinScopeValue

      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.v2alpha.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;
      Parameters:
      value - The enum numeric value on the wire for userEventRejoinScope to set.
      Returns:
      This builder for chaining.
    • 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.v2alpha.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;
      Specified by:
      getUserEventRejoinScope in interface RejoinUserEventsRequestOrBuilder
      Returns:
      The userEventRejoinScope.
    • setUserEventRejoinScope

       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.v2alpha.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;
      Parameters:
      value - The userEventRejoinScope to set.
      Returns:
      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.v2alpha.RejoinUserEventsRequest.UserEventRejoinScope user_event_rejoin_scope = 2;
      Returns:
      This builder for chaining.