Class PurgeErrorConfig.Builder (0.79.0)

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

Configuration of destination for Purge related errors.

Protobuf type google.cloud.discoveryengine.v1.PurgeErrorConfig

Static Methods

getDescriptor()

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

Methods

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

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.

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

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.