Class ImportUserEventsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportUserEventsRequest.Builder>
com.google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest.Builder
All Implemented Interfaces:
ImportUserEventsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportUserEventsRequest

public static final class ImportUserEventsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportUserEventsRequest.Builder> implements ImportUserEventsRequestOrBuilder
 Request message for the ImportUserEvents request.
 
Protobuf type google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest
  • 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<ImportUserEventsRequest.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<ImportUserEventsRequest.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<ImportUserEventsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public ImportUserEventsRequest.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<ImportUserEventsRequest.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<ImportUserEventsRequest.Builder>
    • mergeFrom

      public ImportUserEventsRequest.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<ImportUserEventsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required.
       `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ImportUserEventsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required.
       `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ImportUserEventsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ImportUserEventsRequest.Builder setParent(String value)
       Required.
       `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ImportUserEventsRequest.Builder clearParent()
       Required.
       `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ImportUserEventsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required.
       `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       Optional. Unique identifier provided by client, within the ancestor
       dataset scope. Ensures idempotency for expensive long running operations.
       Server-generated if unspecified. Up to 128 characters long. This is
       returned as google.longrunning.Operation.name in the response. Note that
       this field must not be set if the desired input config is
       catalog_inline_source.
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestId in interface ImportUserEventsRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. Unique identifier provided by client, within the ancestor
       dataset scope. Ensures idempotency for expensive long running operations.
       Server-generated if unspecified. Up to 128 characters long. This is
       returned as google.longrunning.Operation.name in the response. Note that
       this field must not be set if the desired input config is
       catalog_inline_source.
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestIdBytes in interface ImportUserEventsRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public ImportUserEventsRequest.Builder setRequestId(String value)
       Optional. Unique identifier provided by client, within the ancestor
       dataset scope. Ensures idempotency for expensive long running operations.
       Server-generated if unspecified. Up to 128 characters long. This is
       returned as google.longrunning.Operation.name in the response. Note that
       this field must not be set if the desired input config is
       catalog_inline_source.
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public ImportUserEventsRequest.Builder clearRequestId()
       Optional. Unique identifier provided by client, within the ancestor
       dataset scope. Ensures idempotency for expensive long running operations.
       Server-generated if unspecified. Up to 128 characters long. This is
       returned as google.longrunning.Operation.name in the response. Note that
       this field must not be set if the desired input config is
       catalog_inline_source.
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public ImportUserEventsRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. Unique identifier provided by client, within the ancestor
       dataset scope. Ensures idempotency for expensive long running operations.
       Server-generated if unspecified. Up to 128 characters long. This is
       returned as google.longrunning.Operation.name in the response. Note that
       this field must not be set if the desired input config is
       catalog_inline_source.
       
      string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • hasInputConfig

      public boolean hasInputConfig()
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasInputConfig in interface ImportUserEventsRequestOrBuilder
      Returns:
      Whether the inputConfig field is set.
    • getInputConfig

      public InputConfig getInputConfig()
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputConfig in interface ImportUserEventsRequestOrBuilder
      Returns:
      The inputConfig.
    • setInputConfig

      public ImportUserEventsRequest.Builder setInputConfig(InputConfig value)
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • setInputConfig

      public ImportUserEventsRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeInputConfig

      public ImportUserEventsRequest.Builder mergeInputConfig(InputConfig value)
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearInputConfig

      public ImportUserEventsRequest.Builder clearInputConfig()
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getInputConfigBuilder

      public InputConfig.Builder getInputConfigBuilder()
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
    • getInputConfigOrBuilder

      public InputConfigOrBuilder getInputConfigOrBuilder()
       Required. The desired input location of the data.
       
      .google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputConfigOrBuilder in interface ImportUserEventsRequestOrBuilder
    • hasErrorsConfig

      public boolean hasErrorsConfig()
       Optional. The desired location of errors incurred during the Import.
       
      .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasErrorsConfig in interface ImportUserEventsRequestOrBuilder
      Returns:
      Whether the errorsConfig field is set.
    • getErrorsConfig

      public ImportErrorsConfig getErrorsConfig()
       Optional. The desired location of errors incurred during the Import.
       
      .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorsConfig in interface ImportUserEventsRequestOrBuilder
      Returns:
      The errorsConfig.
    • setErrorsConfig

      public ImportUserEventsRequest.Builder setErrorsConfig(ImportErrorsConfig value)
       Optional. The desired location of errors incurred during the Import.
       
      .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setErrorsConfig

      public ImportUserEventsRequest.Builder setErrorsConfig(ImportErrorsConfig.Builder builderForValue)
       Optional. The desired location of errors incurred during the Import.
       
      .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeErrorsConfig

      public ImportUserEventsRequest.Builder mergeErrorsConfig(ImportErrorsConfig value)
       Optional. The desired location of errors incurred during the Import.
       
      .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearErrorsConfig

      public ImportUserEventsRequest.Builder clearErrorsConfig()
       Optional. The desired location of errors incurred during the Import.
       
      .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getErrorsConfigBuilder

      public ImportErrorsConfig.Builder getErrorsConfigBuilder()
       Optional. The desired location of errors incurred during the Import.
       
      .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getErrorsConfigOrBuilder

      public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()
       Optional. The desired location of errors incurred during the Import.
       
      .google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getErrorsConfigOrBuilder in interface ImportUserEventsRequestOrBuilder