Class ExportErrorsConfig.Builder (2.85.0)

public static final class ExportErrorsConfig.Builder extends GeneratedMessage.Builder<ExportErrorsConfig.Builder> implements ExportErrorsConfigOrBuilder

Configuration of destination for Export related errors.

Protobuf type google.cloud.retail.v2.ExportErrorsConfig

Static Methods

getDescriptor()

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

Methods

build()

public ExportErrorsConfig build()
Returns
Type Description
ExportErrorsConfig

buildPartial()

public ExportErrorsConfig buildPartial()
Returns
Type Description
ExportErrorsConfig

clear()

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

clearDestination()

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

clearGcsPrefix()

public ExportErrorsConfig.Builder clearGcsPrefix()

Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, one per line, as a JSON-encoded google.rpc.Status message.

string gcs_prefix = 1;

Returns
Type Description
ExportErrorsConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportErrorsConfig getDefaultInstanceForType()
Returns
Type Description
ExportErrorsConfig

getDescriptorForType()

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

getDestinationCase()

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

getGcsPrefix()

public String getGcsPrefix()

Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, 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 path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, 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 path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportErrorsConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGcsPrefix(String value)

public ExportErrorsConfig.Builder setGcsPrefix(String value)

Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, 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
ExportErrorsConfig.Builder

This builder for chaining.

setGcsPrefixBytes(ByteString value)

public ExportErrorsConfig.Builder setGcsPrefixBytes(ByteString value)

Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, 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
ExportErrorsConfig.Builder

This builder for chaining.