Class ImportCatalogItemsRequest.Builder (0.10.4)

public static final class ImportCatalogItemsRequest.Builder extends GeneratedMessageV3.Builder<ImportCatalogItemsRequest.Builder> implements ImportCatalogItemsRequestOrBuilder

Request message for Import methods.

Protobuf type google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportCatalogItemsRequest build()
Returns
TypeDescription
ImportCatalogItemsRequest

buildPartial()

public ImportCatalogItemsRequest buildPartial()
Returns
TypeDescription
ImportCatalogItemsRequest

clear()

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

clearErrorsConfig()

public ImportCatalogItemsRequest.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];

Returns
TypeDescription
ImportCatalogItemsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInputConfig()

public ImportCatalogItemsRequest.Builder clearInputConfig()

Required. The desired input location of the data.

.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ImportCatalogItemsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportCatalogItemsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportCatalogItemsRequest.Builder
Overrides

clearParent()

public ImportCatalogItemsRequest.Builder clearParent()

Required. projects/1234/locations/global/catalogs/default_catalog

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ImportCatalogItemsRequest.Builder

This builder for chaining.

clearRequestId()

public ImportCatalogItemsRequest.Builder clearRequestId()

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ImportCatalogItemsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ImportCatalogItemsRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportCatalogItemsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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];

Returns
TypeDescription
ImportErrorsConfig

The errorsConfig.

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];

Returns
TypeDescription
ImportErrorsConfig.Builder

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];

Returns
TypeDescription
ImportErrorsConfigOrBuilder

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];

Returns
TypeDescription
InputConfig

The inputConfig.

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];

Returns
TypeDescription
InputConfig.Builder

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];

Returns
TypeDescription
InputConfigOrBuilder

getParent()

public String getParent()

Required. projects/1234/locations/global/catalogs/default_catalog

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. projects/1234/locations/global/catalogs/default_catalog

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for requestId.

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];

Returns
TypeDescription
boolean

Whether the errorsConfig field is set.

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];

Returns
TypeDescription
boolean

Whether the inputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeErrorsConfig(ImportErrorsConfig value)

public ImportCatalogItemsRequest.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];

Parameter
NameDescription
valueImportErrorsConfig
Returns
TypeDescription
ImportCatalogItemsRequest.Builder

mergeFrom(ImportCatalogItemsRequest other)

public ImportCatalogItemsRequest.Builder mergeFrom(ImportCatalogItemsRequest other)
Parameter
NameDescription
otherImportCatalogItemsRequest
Returns
TypeDescription
ImportCatalogItemsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInputConfig(InputConfig value)

public ImportCatalogItemsRequest.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];

Parameter
NameDescription
valueInputConfig
Returns
TypeDescription
ImportCatalogItemsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrorsConfig(ImportErrorsConfig value)

public ImportCatalogItemsRequest.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];

Parameter
NameDescription
valueImportErrorsConfig
Returns
TypeDescription
ImportCatalogItemsRequest.Builder

setErrorsConfig(ImportErrorsConfig.Builder builderForValue)

public ImportCatalogItemsRequest.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];

Parameter
NameDescription
builderForValueImportErrorsConfig.Builder
Returns
TypeDescription
ImportCatalogItemsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputConfig(InputConfig value)

public ImportCatalogItemsRequest.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];

Parameter
NameDescription
valueInputConfig
Returns
TypeDescription
ImportCatalogItemsRequest.Builder

setInputConfig(InputConfig.Builder builderForValue)

public ImportCatalogItemsRequest.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];

Parameter
NameDescription
builderForValueInputConfig.Builder
Returns
TypeDescription
ImportCatalogItemsRequest.Builder

setParent(String value)

public ImportCatalogItemsRequest.Builder setParent(String value)

Required. projects/1234/locations/global/catalogs/default_catalog

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ImportCatalogItemsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ImportCatalogItemsRequest.Builder setParentBytes(ByteString value)

Required. projects/1234/locations/global/catalogs/default_catalog

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ImportCatalogItemsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportCatalogItemsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportCatalogItemsRequest.Builder
Overrides

setRequestId(String value)

public ImportCatalogItemsRequest.Builder setRequestId(String value)

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
ImportCatalogItemsRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ImportCatalogItemsRequest.Builder setRequestIdBytes(ByteString value)

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response.

string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
ImportCatalogItemsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportCatalogItemsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportCatalogItemsRequest.Builder
Overrides