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