Class ImportErrorConfig.Builder (0.12.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.v1beta.ImportErrorConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportErrorConfig build()
Returns
TypeDescription
ImportErrorConfig

buildPartial()

public ImportErrorConfig buildPartial()
Returns
TypeDescription
ImportErrorConfig

clear()

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

clearDestination()

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

clearField(Descriptors.FieldDescriptor field)

public ImportErrorConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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 will be written to sharded files in this directory, one per line, as a JSON-encoded google.rpc.Status message.

string gcs_prefix = 1;

Returns
TypeDescription
ImportErrorConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportErrorConfig getDefaultInstanceForType()
Returns
TypeDescription
ImportErrorConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public ImportErrorConfig.DestinationCase getDestinationCase()
Returns
TypeDescription
ImportErrorConfig.DestinationCase

getGcsPrefix()

public String getGcsPrefix()

Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be 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()

Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be 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()

Cloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors will be 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(ImportErrorConfig other)

public ImportErrorConfig.Builder mergeFrom(ImportErrorConfig other)
Parameter
NameDescription
otherImportErrorConfig
Returns
TypeDescription
ImportErrorConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportErrorConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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 will be 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
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 will be 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
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportErrorConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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