Class IngestionFailureEvent.CloudStorageFailure (1.136.1)
1.149.0 (latest)
1.148.0
1.147.0
1.145.0
1.143.1
1.142.0
1.141.5
1.140.2
1.139.4
1.138.0
1.137.1
1.136.1
1.135.0
1.134.2
1.133.1
1.132.2
1.131.0
1.130.0
1.129.6
1.127.3
1.126.6
1.125.13
1.123.18
1.122.2
1.121.1
1.120.24
1.119.1
1.118.0
1.117.0
1.116.4
1.115.5
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static IngestionFailureEvent . CloudStorageFailure . Builder newBuilder ()
newBuilder(IngestionFailureEvent.CloudStorageFailure prototype)
public static IngestionFailureEvent . CloudStorageFailure . Builder newBuilder ( IngestionFailureEvent . CloudStorageFailure prototype )
public static IngestionFailureEvent . CloudStorageFailure parseDelimitedFrom ( InputStream input )
public static IngestionFailureEvent . CloudStorageFailure parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( CodedInputStream input )
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( InputStream input )
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . CloudStorageFailure parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<IngestionFailureEvent . CloudStorageFailure > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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];
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];
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];
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];
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 ()
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 ()
Overrides
getReasonCase()
public IngestionFailureEvent . CloudStorageFailure . ReasonCase getReasonCase ()
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public IngestionFailureEvent . CloudStorageFailure . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestionFailureEvent . CloudStorageFailure . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public IngestionFailureEvent . CloudStorageFailure . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]