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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportErrorsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ExportErrorsConfig build()
Returns
buildPartial()
public ExportErrorsConfig buildPartial()
Returns
clear()
public ExportErrorsConfig.Builder clear()
Returns
Overrides
clearDestination()
public ExportErrorsConfig.Builder clearDestination()
Returns
clearField(Descriptors.FieldDescriptor field)
public ExportErrorsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportErrorsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ExportErrorsConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ExportErrorsConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDestinationCase()
public ExportErrorsConfig.DestinationCase getDestinationCase()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExportErrorsConfig other)
public ExportErrorsConfig.Builder mergeFrom(ExportErrorsConfig other)
Parameter
Returns
public ExportErrorsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExportErrorsConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportErrorsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExportErrorsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportErrorsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportErrorsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides