Class ExportErrorsConfig.Builder (2.9.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.v2alpha.ExportErrorsConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportErrorsConfig build()
Returns
TypeDescription
ExportErrorsConfig

buildPartial()

public ExportErrorsConfig buildPartial()
Returns
TypeDescription
ExportErrorsConfig

clear()

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

clearDestination()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ExportErrorsConfig getDefaultInstanceForType()
Returns
TypeDescription
ExportErrorsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

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

public ExportErrorsConfig.Builder mergeFrom(ExportErrorsConfig other)
Parameter
NameDescription
otherExportErrorsConfig
Returns
TypeDescription
ExportErrorsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The gcsPrefix to set.

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

The bytes for gcsPrefix to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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