
com.google.pubsub.v1.PubsubProto Maven / Gradle / Ivy
Go to download
High performance Cloud Pub/Sub client library.
(NOTE) This release includes only data plane operations, publishing and
pulling messages, and it is based on our gRPC beta release.
(ALPHA) This library uses features that are part of an invitation-only
release of the underlying Cloud Pub/Sub API. The library will generate
errors unless you have access to this API. This restriction should be
relaxed in the near future. Please contact [email protected] with any
questions in the meantime.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/pubsub.proto
package com.google.pubsub.v1;
public final class PubsubProto {
private PubsubProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_pubsub_v1_StreamingPullRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_pubsub_v1_PubsubMessage_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_pubsub_v1_PubsubMessage_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_pubsub_v1_ReceivedMessage_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_pubsub_v1_StreamingPullResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\032google/pubsub/pubsub.proto\022\020google.pub" +
"sub.v1\032\037google/protobuf/timestamp.proto\"" +
"\244\001\n\024StreamingPullRequest\022\024\n\014subscription" +
"\030\001 \001(\t\022\017\n\007ack_ids\030\002 \003(\t\022\037\n\027modify_deadli" +
"ne_seconds\030\003 \003(\005\022\037\n\027modify_deadline_ack_" +
"ids\030\004 \003(\t\022#\n\033stream_ack_deadline_seconds" +
"\030\005 \001(\005\"\333\001\n\rPubsubMessage\022\014\n\004data\030\001 \001(\014\022C" +
"\n\nattributes\030\002 \003(\0132/.google.pubsub.v1.Pu" +
"bsubMessage.AttributesEntry\022\022\n\nmessage_i" +
"d\030\003 \001(\t\0220\n\014publish_time\030\004 \001(\0132\032.google.p",
"rotobuf.Timestamp\0321\n\017AttributesEntry\022\013\n\003" +
"key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"S\n\017Received" +
"Message\022\016\n\006ack_id\030\001 \001(\t\0220\n\007message\030\002 \001(\013" +
"2\037.google.pubsub.v1.PubsubMessage\"U\n\025Str" +
"eamingPullResponse\022<\n\021received_messages\030" +
"\001 \003(\0132!.google.pubsub.v1.ReceivedMessage" +
"2t\n\nSubscriber\022f\n\rStreamingPull\022&.google" +
".pubsub.v1.StreamingPullRequest\032\'.google" +
".pubsub.v1.StreamingPullResponse\"\000(\0010\001B%" +
"\n\024com.google.pubsub.v1B\013PubsubProtoP\001b\006p",
"roto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.TimestampProto.getDescriptor(),
}, assigner);
internal_static_google_pubsub_v1_StreamingPullRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_StreamingPullRequest_descriptor,
new java.lang.String[] { "Subscription", "AckIds", "ModifyDeadlineSeconds", "ModifyDeadlineAckIds", "StreamAckDeadlineSeconds", });
internal_static_google_pubsub_v1_PubsubMessage_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_pubsub_v1_PubsubMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_PubsubMessage_descriptor,
new java.lang.String[] { "Data", "Attributes", "MessageId", "PublishTime", });
internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_descriptor =
internal_static_google_pubsub_v1_PubsubMessage_descriptor.getNestedTypes().get(0);
internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_PubsubMessage_AttributesEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_google_pubsub_v1_ReceivedMessage_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ReceivedMessage_descriptor,
new java.lang.String[] { "AckId", "Message", });
internal_static_google_pubsub_v1_StreamingPullResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_StreamingPullResponse_descriptor,
new java.lang.String[] { "ReceivedMessages", });
com.google.protobuf.TimestampProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy