Class PurgeErrorConfig (0.35.0)

public final class PurgeErrorConfig extends GeneratedMessageV3 implements PurgeErrorConfigOrBuilder

Configuration of destination for Purge related errors.

Protobuf type google.cloud.discoveryengine.v1alpha.PurgeErrorConfig

Static Fields

GCS_PREFIX_FIELD_NUMBER

public static final int GCS_PREFIX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PurgeErrorConfig getDefaultInstance()
Returns
TypeDescription
PurgeErrorConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PurgeErrorConfig.Builder newBuilder()
Returns
TypeDescription
PurgeErrorConfig.Builder

newBuilder(PurgeErrorConfig prototype)

public static PurgeErrorConfig.Builder newBuilder(PurgeErrorConfig prototype)
Parameter
NameDescription
prototypePurgeErrorConfig
Returns
TypeDescription
PurgeErrorConfig.Builder

parseDelimitedFrom(InputStream input)

public static PurgeErrorConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeErrorConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PurgeErrorConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PurgeErrorConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PurgeErrorConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PurgeErrorConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PurgeErrorConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeErrorConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PurgeErrorConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeErrorConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PurgeErrorConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PurgeErrorConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PurgeErrorConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PurgeErrorConfig> parser()
Returns
TypeDescription
Parser<PurgeErrorConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PurgeErrorConfig getDefaultInstanceForType()
Returns
TypeDescription
PurgeErrorConfig

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.

getParserForType()

public Parser<PurgeErrorConfig> getParserForType()
Returns
TypeDescription
Parser<PurgeErrorConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PurgeErrorConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PurgeErrorConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException