grpc.gateway.protoc_gen_openapiv2.options.Annotations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protoc-gen-openapiv2/options/annotations.proto
package grpc.gateway.protoc_gen_openapiv2.options;
public final class Annotations {
private Annotations() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Swagger);
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Operation);
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Schema);
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Tag);
registry.add(grpc.gateway.protoc_gen_openapiv2.options.Annotations.openapiv2Field);
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public static final int OPENAPIV2_SWAGGER_FIELD_NUMBER = 1042;
/**
*
* ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
* All IDs are the same, as assigned. It is okay that they are the same, as they extend
* different descriptor messages.
*
*
* extend .google.protobuf.FileOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FileOptions,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Swagger> openapiv2Swagger = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Swagger.class,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Swagger.getDefaultInstance());
public static final int OPENAPIV2_OPERATION_FIELD_NUMBER = 1042;
/**
*
* ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
* All IDs are the same, as assigned. It is okay that they are the same, as they extend
* different descriptor messages.
*
*
* extend .google.protobuf.MethodOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MethodOptions,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Operation> openapiv2Operation = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Operation.class,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Operation.getDefaultInstance());
public static final int OPENAPIV2_SCHEMA_FIELD_NUMBER = 1042;
/**
*
* ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
* All IDs are the same, as assigned. It is okay that they are the same, as they extend
* different descriptor messages.
*
*
* extend .google.protobuf.MessageOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MessageOptions,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Schema> openapiv2Schema = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Schema.class,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Schema.getDefaultInstance());
public static final int OPENAPIV2_TAG_FIELD_NUMBER = 1042;
/**
*
* ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
* All IDs are the same, as assigned. It is okay that they are the same, as they extend
* different descriptor messages.
*
*
* extend .google.protobuf.ServiceOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.ServiceOptions,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Tag> openapiv2Tag = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Tag.class,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.Tag.getDefaultInstance());
public static final int OPENAPIV2_FIELD_FIELD_NUMBER = 1042;
/**
*
* ID assigned by protobuf-global-extension-registry@google.com for grpc-gateway project.
* All IDs are the same, as assigned. It is okay that they are the same, as they extend
* different descriptor messages.
*
*
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.JSONSchema> openapiv2Field = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.JSONSchema.class,
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.JSONSchema.getDefaultInstance());
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n.protoc-gen-openapiv2/options/annotatio" +
"ns.proto\022)grpc.gateway.protoc_gen_openap" +
"iv2.options\032 google/protobuf/descriptor." +
"proto\032,protoc-gen-openapiv2/options/open" +
"apiv2.proto:l\n\021openapiv2_swagger\022\034.googl" +
"e.protobuf.FileOptions\030\222\010 \001(\01322.grpc.gat" +
"eway.protoc_gen_openapiv2.options.Swagge" +
"r:r\n\023openapiv2_operation\022\036.google.protob" +
"uf.MethodOptions\030\222\010 \001(\01324.grpc.gateway.p" +
"rotoc_gen_openapiv2.options.Operation:m\n" +
"\020openapiv2_schema\022\037.google.protobuf.Mess" +
"ageOptions\030\222\010 \001(\01321.grpc.gateway.protoc_" +
"gen_openapiv2.options.Schema:g\n\ropenapiv" +
"2_tag\022\037.google.protobuf.ServiceOptions\030\222" +
"\010 \001(\0132..grpc.gateway.protoc_gen_openapiv" +
"2.options.Tag:n\n\017openapiv2_field\022\035.googl" +
"e.protobuf.FieldOptions\030\222\010 \001(\01325.grpc.ga" +
"teway.protoc_gen_openapiv2.options.JSONS" +
"chemaBHZFgithub.com/grpc-ecosystem/grpc-" +
"gateway/v2/protoc-gen-openapiv2/optionsb" +
"\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.DescriptorProtos.getDescriptor(),
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.getDescriptor(),
});
openapiv2Swagger.internalInit(descriptor.getExtensions().get(0));
openapiv2Operation.internalInit(descriptor.getExtensions().get(1));
openapiv2Schema.internalInit(descriptor.getExtensions().get(2));
openapiv2Tag.internalInit(descriptor.getExtensions().get(3));
openapiv2Field.internalInit(descriptor.getExtensions().get(4));
com.google.protobuf.DescriptorProtos.getDescriptor();
grpc.gateway.protoc_gen_openapiv2.options.Openapiv2.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}