Class PurgeErrorConfig.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeErrorConfig build()
Returns
TypeDescription
PurgeErrorConfig

buildPartial()

public PurgeErrorConfig buildPartial()
Returns
TypeDescription
PurgeErrorConfig

clear()

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

clearDestination()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PurgeErrorConfig getDefaultInstanceForType()
Returns
TypeDescription
PurgeErrorConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

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

public PurgeErrorConfig.Builder mergeFrom(PurgeErrorConfig other)
Parameter
NameDescription
otherPurgeErrorConfig
Returns
TypeDescription
PurgeErrorConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The gcsPrefix to set.

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

The bytes for gcsPrefix to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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