
org.yamcs.api.AnnotationsProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-api Show documentation
Show all versions of yamcs-api Show documentation
Used by external clients to communicate with Yamcs
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yamcs/api/annotations.proto
package org.yamcs.api;
public final class AnnotationsProto {
private AnnotationsProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(org.yamcs.api.AnnotationsProto.label);
registry.add(org.yamcs.api.AnnotationsProto.route);
registry.add(org.yamcs.api.AnnotationsProto.websocket);
registry.add(org.yamcs.api.AnnotationsProto.fieldBehavior);
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public static final int LABEL_FIELD_NUMBER = 2048;
/**
*
* Short, human-friendly label describing this service.
* This is a hint to programs that process proto
* definitions (example: document generation).
* Example:
* service MdbApi {
* option (yamcs.api.label) = "MDB";
* }
*
*
* extend .google.protobuf.ServiceOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.ServiceOptions,
java.lang.String> label = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
java.lang.String.class,
null);
public static final int ROUTE_FIELD_NUMBER = 6433;
/**
* extend .google.protobuf.MethodOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MethodOptions,
org.yamcs.api.HttpRoute> route = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
org.yamcs.api.HttpRoute.class,
org.yamcs.api.HttpRoute.getDefaultInstance());
public static final int WEBSOCKET_FIELD_NUMBER = 6443;
/**
* extend .google.protobuf.MethodOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.MethodOptions,
org.yamcs.api.WebSocketTopic> websocket = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
org.yamcs.api.WebSocketTopic.class,
org.yamcs.api.WebSocketTopic.getDefaultInstance());
public static final int FIELD_BEHAVIOR_FIELD_NUMBER = 6533;
/**
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
java.util.List> fieldBehavior = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
org.yamcs.api.FieldBehavior.class,
null);
static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_api_HttpRoute_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_api_HttpRoute_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_yamcs_api_WebSocketTopic_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yamcs_api_WebSocketTopic_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\033yamcs/api/annotations.proto\022\tyamcs.api" +
"\032 google/protobuf/descriptor.proto\"\233\002\n\tH" +
"ttpRoute\022\r\n\003get\030\001 \001(\tH\000\022\r\n\003put\030\002 \001(\tH\000\022\016" +
"\n\004post\030\003 \001(\tH\000\022\020\n\006delete\030\004 \001(\tH\000\022\017\n\005patc" +
"h\030\005 \001(\tH\000\022\022\n\ndeprecated\030\006 \001(\010\022\014\n\004body\030\007 " +
"\001(\t\022\025\n\rmax_body_size\030\010 \001(\005\022\021\n\toffloaded\030" +
"\t \001(\010\022\027\n\017field_mask_root\030\n \001(\t\0221\n\023additi" +
"onal_bindings\030\013 \003(\0132\024.yamcs.api.HttpRout" +
"e\022\013\n\003log\030\014 \001(\t\022\r\n\005label\030\r \001(\tB\t\n\007pattern" +
"\"z\n\016WebSocketTopic\022\r\n\005topic\030\001 \001(\t\022\022\n\ndep" +
"recated\030\002 \001(\010\0226\n\023additional_bindings\030\003 \003" +
"(\0132\031.yamcs.api.WebSocketTopic\022\r\n\005label\030\004" +
" \001(\t*;\n\rFieldBehavior\022\036\n\032FIELD_BEHAVIOR_" +
"UNSPECIFIED\020\000\022\n\n\006SECRET\020\001:/\n\005label\022\037.goo" +
"gle.protobuf.ServiceOptions\030\200\020 \001(\t:D\n\005ro" +
"ute\022\036.google.protobuf.MethodOptions\030\2412 \001" +
"(\0132\024.yamcs.api.HttpRoute:M\n\twebsocket\022\036." +
"google.protobuf.MethodOptions\030\2532 \001(\0132\031.y" +
"amcs.api.WebSocketTopic:P\n\016field_behavio" +
"r\022\035.google.protobuf.FieldOptions\030\2053 \003(\0162" +
"\030.yamcs.api.FieldBehaviorB#\n\rorg.yamcs.a" +
"piB\020AnnotationsProtoP\001"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.DescriptorProtos.getDescriptor(),
});
internal_static_yamcs_api_HttpRoute_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yamcs_api_HttpRoute_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_api_HttpRoute_descriptor,
new java.lang.String[] { "Get", "Put", "Post", "Delete", "Patch", "Deprecated", "Body", "MaxBodySize", "Offloaded", "FieldMaskRoot", "AdditionalBindings", "Log", "Label", "Pattern", });
internal_static_yamcs_api_WebSocketTopic_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yamcs_api_WebSocketTopic_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yamcs_api_WebSocketTopic_descriptor,
new java.lang.String[] { "Topic", "Deprecated", "AdditionalBindings", "Label", });
label.internalInit(descriptor.getExtensions().get(0));
route.internalInit(descriptor.getExtensions().get(1));
websocket.internalInit(descriptor.getExtensions().get(2));
fieldBehavior.internalInit(descriptor.getExtensions().get(3));
com.google.protobuf.DescriptorProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy