Class PurgeErrorConfig.Builder (0.43.0)

public static final class PurgeErrorConfig.Builder extends GeneratedMessageV3.Builder<PurgeErrorConfig.Builder> implements PurgeErrorConfigOrBuilder

Configuration of destination for Purge related errors.

Protobuf type google.cloud.discoveryengine.v1alpha.PurgeErrorConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeErrorConfig build()
Returns
Type Description
PurgeErrorConfig

buildPartial()

public PurgeErrorConfig buildPartial()
Returns
Type Description
PurgeErrorConfig

clear()

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

clearDestination()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsPrefix()

public PurgeErrorConfig.Builder clearGcsPrefix()

Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are 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
PurgeErrorConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PurgeErrorConfig getDefaultInstanceForType()
Returns
Type Description
PurgeErrorConfig

getDescriptorForType()

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

getDestinationCase()

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

getGcsPrefix()

public String getGcsPrefix()

Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are 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()

Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are 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
ByteString

The bytes for gcsPrefix.

hasGcsPrefix()

public boolean hasGcsPrefix()

Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are 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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PurgeErrorConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsPrefix(String value)

public PurgeErrorConfig.Builder setGcsPrefix(String value)

Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are 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
Type Description
PurgeErrorConfig.Builder

This builder for chaining.

setGcsPrefixBytes(ByteString value)

public PurgeErrorConfig.Builder setGcsPrefixBytes(ByteString value)

Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are 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
Type Description
PurgeErrorConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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