Class ImportErrorsConfig.Builder (2.44.0)

public static final class ImportErrorsConfig.Builder extends GeneratedMessageV3.Builder<ImportErrorsConfig.Builder> implements ImportErrorsConfigOrBuilder

Configuration of destination for Import related errors.

Protobuf type google.cloud.retail.v2.ImportErrorsConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportErrorsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

build()

public ImportErrorsConfig build()
Returns
Type Description
ImportErrorsConfig

buildPartial()

public ImportErrorsConfig buildPartial()
Returns
Type Description
ImportErrorsConfig

clear()

public ImportErrorsConfig.Builder clear()
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

clearDestination()

public ImportErrorsConfig.Builder clearDestination()
Returns
Type Description
ImportErrorsConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportErrorsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

clearGcsPrefix()

public ImportErrorsConfig.Builder clearGcsPrefix()

Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

string gcs_prefix = 1;

Returns
Type Description
ImportErrorsConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportErrorsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

clone()

public ImportErrorsConfig.Builder clone()
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

getDefaultInstanceForType()

public ImportErrorsConfig getDefaultInstanceForType()
Returns
Type Description
ImportErrorsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinationCase()

public ImportErrorsConfig.DestinationCase getDestinationCase()
Returns
Type Description
ImportErrorsConfig.DestinationCase

getGcsPrefix()

public String getGcsPrefix()

Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

string gcs_prefix = 1;

Returns
Type Description
String

The gcsPrefix.

getGcsPrefixBytes()

public ByteString getGcsPrefixBytes()

Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

string gcs_prefix = 1;

Returns
Type Description
ByteString

The bytes for gcsPrefix.

hasGcsPrefix()

public boolean hasGcsPrefix()

Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

string gcs_prefix = 1;

Returns
Type Description
boolean

Whether the gcsPrefix field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportErrorsConfig other)

public ImportErrorsConfig.Builder mergeFrom(ImportErrorsConfig other)
Parameter
Name Description
other ImportErrorsConfig
Returns
Type Description
ImportErrorsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportErrorsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportErrorsConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportErrorsConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportErrorsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImportErrorsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

setGcsPrefix(String value)

public ImportErrorsConfig.Builder setGcsPrefix(String value)

Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

string gcs_prefix = 1;

Parameter
Name Description
value String

The gcsPrefix to set.

Returns
Type Description
ImportErrorsConfig.Builder

This builder for chaining.

setGcsPrefixBytes(ByteString value)

public ImportErrorsConfig.Builder setGcsPrefixBytes(ByteString value)

Google Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

string gcs_prefix = 1;

Parameter
Name Description
value ByteString

The bytes for gcsPrefix to set.

Returns
Type Description
ImportErrorsConfig.Builder

This builder for chaining.

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

public ImportErrorsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportErrorsConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportErrorsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportErrorsConfig.Builder
Overrides