public static final class IngestionFailureEvent.ApiViolationReason extends GeneratedMessageV3 implements IngestionFailureEvent.ApiViolationReasonOrBuilder
Specifies the reason why some data may have been left out of the desired Pub/Sub message due to the API message limits (https://cloud.google.com/pubsub/quotas#resource_limits). For example, when the number of attributes is larger than 100, the number of attributes is truncated to 100 to respect the limit on the attribute count. Other attribute limits are treated similarly. When the size of the desired message would've been larger than 10MB, the message won't be published at all, and ingestion of the subsequent messages will proceed as normal.
Protobuf type google.pubsub.v1.IngestionFailureEvent.ApiViolationReason
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestionFailureEvent.ApiViolationReasonStatic Methods
getDefaultInstance()
public static IngestionFailureEvent.ApiViolationReason getDefaultInstance()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static IngestionFailureEvent.ApiViolationReason.Builder newBuilder()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |
newBuilder(IngestionFailureEvent.ApiViolationReason prototype)
public static IngestionFailureEvent.ApiViolationReason.Builder newBuilder(IngestionFailureEvent.ApiViolationReason prototype)
Parameter | |
---|---|
Name | Description |
prototype |
IngestionFailureEvent.ApiViolationReason |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |
parseDelimitedFrom(InputStream input)
public static IngestionFailureEvent.ApiViolationReason parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ApiViolationReason parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static IngestionFailureEvent.ApiViolationReason parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ApiViolationReason parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static IngestionFailureEvent.ApiViolationReason parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ApiViolationReason parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static IngestionFailureEvent.ApiViolationReason parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ApiViolationReason parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static IngestionFailureEvent.ApiViolationReason parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ApiViolationReason parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static IngestionFailureEvent.ApiViolationReason parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ApiViolationReason parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<IngestionFailureEvent.ApiViolationReason> parser()
Returns | |
---|---|
Type | Description |
Parser<ApiViolationReason> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public IngestionFailureEvent.ApiViolationReason getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
getParserForType()
public Parser<IngestionFailureEvent.ApiViolationReason> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ApiViolationReason> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public IngestionFailureEvent.ApiViolationReason.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestionFailureEvent.ApiViolationReason.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public IngestionFailureEvent.ApiViolationReason.Builder toBuilder()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |