Class ImportErrorConfig.Builder (0.42.0)

public static final class ImportErrorConfig.Builder extends GeneratedMessageV3.Builder<ImportErrorConfig.Builder> implements ImportErrorConfigOrBuilder

Configuration of destination for Import related errors.

Protobuf type google.cloud.discoveryengine.v1alpha.ImportErrorConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportErrorConfig build()
Returns
Type Description
ImportErrorConfig

buildPartial()

public ImportErrorConfig buildPartial()
Returns
Type Description
ImportErrorConfig

clear()

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

clearDestination()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsPrefix()

public ImportErrorConfig.Builder clearGcsPrefix()

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
ImportErrorConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportErrorConfig getDefaultInstanceForType()
Returns
Type Description
ImportErrorConfig

getDescriptorForType()

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

getDestinationCase()

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

getGcsPrefix()

public String getGcsPrefix()

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()

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()

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(ImportErrorConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsPrefix(String value)

public ImportErrorConfig.Builder setGcsPrefix(String value)

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
ImportErrorConfig.Builder

This builder for chaining.

setGcsPrefixBytes(ByteString value)

public ImportErrorConfig.Builder setGcsPrefixBytes(ByteString value)

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
ImportErrorConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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