Class ExportErrorsConfig.Builder (2.55.0)

public static final class ExportErrorsConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ExportErrorsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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