com.google.api.AnnotationsProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-core-proto Show documentation
Show all versions of grpc-core-proto Show documentation
GoogleAPI classes generated from core protos
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/annotations.proto
package com.google.api;
public final class AnnotationsProto {
private AnnotationsProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registry.add(com.google.api.AnnotationsProto.fileVisibility);
registry.add(com.google.api.AnnotationsProto.apiVisibility);
registry.add(com.google.api.AnnotationsProto.methodVisibility);
registry.add(com.google.api.AnnotationsProto.http);
registry.add(com.google.api.AnnotationsProto.messageVisibility);
registry.add(com.google.api.AnnotationsProto.customError);
registry.add(com.google.api.AnnotationsProto.fieldVisibility);
registry.add(com.google.api.AnnotationsProto.enumVisibility);
registry.add(com.google.api.AnnotationsProto.valueVisibility);
}
public static final int FILE_VISIBILITY_FIELD_NUMBER = 72295727;
/**
* extend .google.protobuf.FileOptions { ... }
*
*
* See `VisibilityRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FileOptions,
com.google.api.VisibilityRule> fileVisibility = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.VisibilityRule.class,
com.google.api.VisibilityRule.getDefaultInstance());
public static final int API_VISIBILITY_FIELD_NUMBER = 72295727;
/**
* extend .google.protobuf.ServiceOptions { ... }
*
*
* See `VisibilityRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.ServiceOptions,
com.google.api.VisibilityRule> apiVisibility = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.VisibilityRule.class,
com.google.api.VisibilityRule.getDefaultInstance());
public static final int METHOD_VISIBILITY_FIELD_NUMBER = 72295727;
/**
* extend .google.protobuf.MethodOptions { ... }
*
*
* See `VisibilityRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MethodOptions,
com.google.api.VisibilityRule> methodVisibility = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.VisibilityRule.class,
com.google.api.VisibilityRule.getDefaultInstance());
public static final int HTTP_FIELD_NUMBER = 72295728;
/**
* extend .google.protobuf.MethodOptions { ... }
*
*
* See `HttpRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MethodOptions,
com.google.api.HttpRule> http = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.HttpRule.class,
com.google.api.HttpRule.getDefaultInstance());
public static final int MESSAGE_VISIBILITY_FIELD_NUMBER = 72295727;
/**
* extend .google.protobuf.MessageOptions { ... }
*
*
* See `VisibilityRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MessageOptions,
com.google.api.VisibilityRule> messageVisibility = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.VisibilityRule.class,
com.google.api.VisibilityRule.getDefaultInstance());
public static final int CUSTOM_ERROR_FIELD_NUMBER = 79365461;
/**
* extend .google.protobuf.MessageOptions { ... }
*
*
* See `CustomErrorRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MessageOptions,
com.google.api.CustomErrorRule> customError = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.CustomErrorRule.class,
com.google.api.CustomErrorRule.getDefaultInstance());
public static final int FIELD_VISIBILITY_FIELD_NUMBER = 72295727;
/**
* extend .google.protobuf.FieldOptions { ... }
*
*
* See `VisibilityRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
com.google.api.VisibilityRule> fieldVisibility = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.VisibilityRule.class,
com.google.api.VisibilityRule.getDefaultInstance());
public static final int ENUM_VISIBILITY_FIELD_NUMBER = 72295727;
/**
* extend .google.protobuf.EnumOptions { ... }
*
*
* See `VisibilityRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.EnumOptions,
com.google.api.VisibilityRule> enumVisibility = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.VisibilityRule.class,
com.google.api.VisibilityRule.getDefaultInstance());
public static final int VALUE_VISIBILITY_FIELD_NUMBER = 72295727;
/**
* extend .google.protobuf.EnumValueOptions { ... }
*
*
* See `VisibilityRule`.
*
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.EnumValueOptions,
com.google.api.VisibilityRule> valueVisibility = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
com.google.api.VisibilityRule.class,
com.google.api.VisibilityRule.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\034google/api/annotations.proto\022\ngoogle.a" +
"pi\032 google/protobuf/descriptor.proto\032\026go" +
"ogle/api/error.proto\032\025google/api/http.pr" +
"oto\032\033google/api/visibility.proto:T\n\017file" +
"_visibility\022\034.google.protobuf.FileOption" +
"s\030\257\312\274\" \001(\0132\032.google.api.VisibilityRule:V" +
"\n\016api_visibility\022\037.google.protobuf.Servi" +
"ceOptions\030\257\312\274\" \001(\0132\032.google.api.Visibili" +
"tyRule:X\n\021method_visibility\022\036.google.pro" +
"tobuf.MethodOptions\030\257\312\274\" \001(\0132\032.google.ap",
"i.VisibilityRule:E\n\004http\022\036.google.protob" +
"uf.MethodOptions\030\260\312\274\" \001(\0132\024.google.api.H" +
"ttpRule:Z\n\022message_visibility\022\037.google.p" +
"rotobuf.MessageOptions\030\257\312\274\" \001(\0132\032.google" +
".api.VisibilityRule:U\n\014custom_error\022\037.go" +
"ogle.protobuf.MessageOptions\030\325\212\354% \001(\0132\033." +
"google.api.CustomErrorRule:V\n\020field_visi" +
"bility\022\035.google.protobuf.FieldOptions\030\257\312" +
"\274\" \001(\0132\032.google.api.VisibilityRule:T\n\017en" +
"um_visibility\022\034.google.protobuf.EnumOpti",
"ons\030\257\312\274\" \001(\0132\032.google.api.VisibilityRule" +
":Z\n\020value_visibility\022!.google.protobuf.E" +
"numValueOptions\030\257\312\274\" \001(\0132\032.google.api.Vi" +
"sibilityRuleB$\n\016com.google.apiB\020Annotati" +
"onsProtoP\001b\006proto3"
};
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.DescriptorProtos.getDescriptor(),
com.google.api.ErrorFormatProto.getDescriptor(),
com.google.api.HttpProto.getDescriptor(),
com.google.api.VisibilityProto.getDescriptor(),
}, assigner);
fileVisibility.internalInit(descriptor.getExtensions().get(0));
apiVisibility.internalInit(descriptor.getExtensions().get(1));
methodVisibility.internalInit(descriptor.getExtensions().get(2));
http.internalInit(descriptor.getExtensions().get(3));
messageVisibility.internalInit(descriptor.getExtensions().get(4));
customError.internalInit(descriptor.getExtensions().get(5));
fieldVisibility.internalInit(descriptor.getExtensions().get(6));
enumVisibility.internalInit(descriptor.getExtensions().get(7));
valueVisibility.internalInit(descriptor.getExtensions().get(8));
com.google.protobuf.DescriptorProtos.getDescriptor();
com.google.api.ErrorFormatProto.getDescriptor();
com.google.api.HttpProto.getDescriptor();
com.google.api.VisibilityProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}