Class ExportErrorsConfig (2.34.0)

public final class ExportErrorsConfig extends GeneratedMessageV3 implements ExportErrorsConfigOrBuilder

Configuration of destination for Export related errors.

Protobuf type google.cloud.retail.v2alpha.ExportErrorsConfig

Static Fields

GCS_PREFIX_FIELD_NUMBER

public static final int GCS_PREFIX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportErrorsConfig getDefaultInstance()
Returns
TypeDescription
ExportErrorsConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ExportErrorsConfig prototype)

public static ExportErrorsConfig.Builder newBuilder(ExportErrorsConfig prototype)
Parameter
NameDescription
prototypeExportErrorsConfig
Returns
TypeDescription
ExportErrorsConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExportErrorsConfig getDefaultInstanceForType()
Returns
TypeDescription
ExportErrorsConfig

getDestinationCase()

public ExportErrorsConfig.DestinationCase getDestinationCase()
Returns
TypeDescription
ExportErrorsConfig.DestinationCase

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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcsPrefix.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
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 ExportErrorsConfig.Builder newBuilderForType()
Returns
TypeDescription
ExportErrorsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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