Class IngestionFailureEvent.CloudStorageFailure (1.134.1)

public static final class IngestionFailureEvent.CloudStorageFailure extends GeneratedMessageV3 implements IngestionFailureEvent.CloudStorageFailureOrBuilder

Failure when ingesting from a Cloud Storage source.

Protobuf type google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestionFailureEvent.CloudStorageFailure

Static Fields

API_VIOLATION_REASON_FIELD_NUMBER

public static final int API_VIOLATION_REASON_FIELD_NUMBER
Field Value
Type Description
int

AVRO_FAILURE_REASON_FIELD_NUMBER

public static final int AVRO_FAILURE_REASON_FIELD_NUMBER
Field Value
Type Description
int

BUCKET_FIELD_NUMBER

public static final int BUCKET_FIELD_NUMBER
Field Value
Type Description
int

OBJECT_GENERATION_FIELD_NUMBER

public static final int OBJECT_GENERATION_FIELD_NUMBER
Field Value
Type Description
int

OBJECT_NAME_FIELD_NUMBER

public static final int OBJECT_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestionFailureEvent.CloudStorageFailure getDefaultInstance()
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure

getDescriptor()

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

newBuilder()

public static IngestionFailureEvent.CloudStorageFailure.Builder newBuilder()
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure.Builder

newBuilder(IngestionFailureEvent.CloudStorageFailure prototype)

public static IngestionFailureEvent.CloudStorageFailure.Builder newBuilder(IngestionFailureEvent.CloudStorageFailure prototype)
Parameter
Name Description
prototype IngestionFailureEvent.CloudStorageFailure
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure.Builder

parseDelimitedFrom(InputStream input)

public static IngestionFailureEvent.CloudStorageFailure parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionFailureEvent.CloudStorageFailure parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestionFailureEvent.CloudStorageFailure parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IngestionFailureEvent.CloudStorageFailure> parser()
Returns
Type Description
Parser<CloudStorageFailure>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApiViolationReason()

public IngestionFailureEvent.ApiViolationReason getApiViolationReason()

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ApiViolationReason

The apiViolationReason.

getApiViolationReasonOrBuilder()

public IngestionFailureEvent.ApiViolationReasonOrBuilder getApiViolationReasonOrBuilder()

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ApiViolationReasonOrBuilder

getAvroFailureReason()

public IngestionFailureEvent.AvroFailureReason getAvroFailureReason()

Optional. Failure encountered when parsing an Avro file.

.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.AvroFailureReason

The avroFailureReason.

getAvroFailureReasonOrBuilder()

public IngestionFailureEvent.AvroFailureReasonOrBuilder getAvroFailureReasonOrBuilder()

Optional. Failure encountered when parsing an Avro file.

.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.AvroFailureReasonOrBuilder

getBucket()

public String getBucket()

Optional. Name of the Cloud Storage bucket used for ingestion.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Optional. Name of the Cloud Storage bucket used for ingestion.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public IngestionFailureEvent.CloudStorageFailure getDefaultInstanceForType()
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure

getObjectGeneration()

public long getObjectGeneration()

Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.

int64 object_generation = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The objectGeneration.

getObjectName()

public String getObjectName()

Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.

string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The objectName.

getObjectNameBytes()

public ByteString getObjectNameBytes()

Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.

string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for objectName.

getParserForType()

public Parser<IngestionFailureEvent.CloudStorageFailure> getParserForType()
Returns
Type Description
Parser<CloudStorageFailure>
Overrides

getReasonCase()

public IngestionFailureEvent.CloudStorageFailure.ReasonCase getReasonCase()
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure.ReasonCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasApiViolationReason()

public boolean hasApiViolationReason()

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the apiViolationReason field is set.

hasAvroFailureReason()

public boolean hasAvroFailureReason()

Optional. Failure encountered when parsing an Avro file.

.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the avroFailureReason field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IngestionFailureEvent.CloudStorageFailure.Builder newBuilderForType()
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestionFailureEvent.CloudStorageFailure.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IngestionFailureEvent.CloudStorageFailure.Builder toBuilder()
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException