public static final class ImportErrorsConfig.Builder extends GeneratedMessageV3.Builder<ImportErrorsConfig.Builder> implements ImportErrorsConfigOrBuilder
Configuration of destination for Import related errors.
Protobuf type google.cloud.retail.v2alpha.ImportErrorsConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportErrorsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImportErrorsConfig build()
Returns
buildPartial()
public ImportErrorsConfig buildPartial()
Returns
clear()
public ImportErrorsConfig.Builder clear()
Returns
Overrides
clearDestination()
public ImportErrorsConfig.Builder clearDestination()
Returns
clearField(Descriptors.FieldDescriptor field)
public ImportErrorsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGcsPrefix()
public ImportErrorsConfig.Builder clearGcsPrefix()
Google 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
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportErrorsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ImportErrorsConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImportErrorsConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDestinationCase()
public ImportErrorsConfig.DestinationCase getDestinationCase()
Returns
getGcsPrefix()
public String getGcsPrefix()
Google 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
Type | Description |
String | The gcsPrefix.
|
getGcsPrefixBytes()
public ByteString getGcsPrefixBytes()
Google 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
hasGcsPrefix()
public boolean hasGcsPrefix()
Google 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
Type | Description |
boolean | Whether the gcsPrefix field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportErrorsConfig other)
public ImportErrorsConfig.Builder mergeFrom(ImportErrorsConfig other)
Parameter
Returns
public ImportErrorsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportErrorsConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportErrorsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImportErrorsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGcsPrefix(String value)
public ImportErrorsConfig.Builder setGcsPrefix(String value)
Google 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
Name | Description |
value | String
The gcsPrefix to set.
|
Returns
setGcsPrefixBytes(ByteString value)
public ImportErrorsConfig.Builder setGcsPrefixBytes(ByteString value)
Google 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
Name | Description |
value | ByteString
The bytes for gcsPrefix to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportErrorsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportErrorsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides