Class ImportErrorsConfig.Builder (2.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportErrorsConfig build()
Returns
TypeDescription
ImportErrorsConfig

buildPartial()

public ImportErrorsConfig buildPartial()
Returns
TypeDescription
ImportErrorsConfig

clear()

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

clearDestination()

public ImportErrorsConfig.Builder clearDestination()
Returns
TypeDescription
ImportErrorsConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportErrorsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ImportErrorsConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportErrorsConfig getDefaultInstanceForType()
Returns
TypeDescription
ImportErrorsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public ImportErrorsConfig.DestinationCase getDestinationCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the gcsPrefix field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportErrorsConfig other)

public ImportErrorsConfig.Builder mergeFrom(ImportErrorsConfig other)
Parameter
NameDescription
otherImportErrorsConfig
Returns
TypeDescription
ImportErrorsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportErrorsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsPrefix to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsPrefix to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportErrorsConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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