Package org.yamcs.api
Class HttpRoute
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.api.HttpRoute
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,HttpRouteOrBuilder
public final class HttpRoute extends com.google.protobuf.GeneratedMessageV3 implements HttpRouteOrBuilder
Protobuf typeyamcs.api.HttpRoute- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpRoute.BuilderProtobuf typeyamcs.api.HttpRoutestatic classHttpRoute.PatternCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-
-
Field Summary
Fields Modifier and Type Field Description static intADDITIONAL_BINDINGS_FIELD_NUMBERstatic intBODY_FIELD_NUMBERstatic intDELETE_FIELD_NUMBERstatic intDEPRECATED_FIELD_NUMBERstatic intFIELD_MASK_ROOT_FIELD_NUMBERstatic intGET_FIELD_NUMBERstatic intMAX_BODY_SIZE_FIELD_NUMBERstatic intOFFLOADED_FIELD_NUMBERstatic com.google.protobuf.Parser<HttpRoute>PARSERDeprecated.static intPATCH_FIELD_NUMBERstatic intPOST_FIELD_NUMBERstatic intPUT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)HttpRoutegetAdditionalBindings(int index)repeated .yamcs.api.HttpRoute additional_bindings = 11;intgetAdditionalBindingsCount()repeated .yamcs.api.HttpRoute additional_bindings = 11;List<HttpRoute>getAdditionalBindingsList()repeated .yamcs.api.HttpRoute additional_bindings = 11;HttpRouteOrBuildergetAdditionalBindingsOrBuilder(int index)repeated .yamcs.api.HttpRoute additional_bindings = 11;List<? extends HttpRouteOrBuilder>getAdditionalBindingsOrBuilderList()repeated .yamcs.api.HttpRoute additional_bindings = 11;StringgetBody()Name of the field in the request message that maps to the request body The special value "*" indicates that the request message as a whole represents the body (excepting route params).com.google.protobuf.ByteStringgetBodyBytes()Name of the field in the request message that maps to the request body The special value "*" indicates that the request message as a whole represents the body (excepting route params).static HttpRoutegetDefaultInstance()HttpRoutegetDefaultInstanceForType()StringgetDelete()Maps to HTTP DELETE.com.google.protobuf.ByteStringgetDeleteBytes()Maps to HTTP DELETE.booleangetDeprecated()optional bool deprecated = 6;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFieldMaskRoot()Name of the field in the response message where a user-specified field mask is applied to.com.google.protobuf.ByteStringgetFieldMaskRootBytes()Name of the field in the response message where a user-specified field mask is applied to.StringgetGet()Maps to HTTP GET.com.google.protobuf.ByteStringgetGetBytes()Maps to HTTP GET.intgetMaxBodySize()optional int32 max_body_size = 8;booleangetOffloaded()Set true if the execution of the route is expected to take a long time (more than 0.5 seconds).com.google.protobuf.Parser<HttpRoute>getParserForType()StringgetPatch()Maps to HTTP PATCH.com.google.protobuf.ByteStringgetPatchBytes()Maps to HTTP PATCH.HttpRoute.PatternCasegetPatternCase()StringgetPost()Maps to HTTP POST.com.google.protobuf.ByteStringgetPostBytes()Maps to HTTP POST.StringgetPut()Maps to HTTP PUT.com.google.protobuf.ByteStringgetPutBytes()Maps to HTTP PUT.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasBody()Name of the field in the request message that maps to the request body The special value "*" indicates that the request message as a whole represents the body (excepting route params).booleanhasDelete()Maps to HTTP DELETE.booleanhasDeprecated()optional bool deprecated = 6;booleanhasFieldMaskRoot()Name of the field in the response message where a user-specified field mask is applied to.booleanhasGet()Maps to HTTP GET.inthashCode()booleanhasMaxBodySize()optional int32 max_body_size = 8;booleanhasOffloaded()Set true if the execution of the route is expected to take a long time (more than 0.5 seconds).booleanhasPatch()Maps to HTTP PATCH.booleanhasPost()Maps to HTTP POST.booleanhasPut()Maps to HTTP PUT.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static HttpRoute.BuildernewBuilder()static HttpRoute.BuildernewBuilder(HttpRoute prototype)HttpRoute.BuildernewBuilderForType()protected HttpRoute.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static HttpRouteparseDelimitedFrom(InputStream input)static HttpRouteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteparseFrom(byte[] data)static HttpRouteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteparseFrom(com.google.protobuf.ByteString data)static HttpRouteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteparseFrom(com.google.protobuf.CodedInputStream input)static HttpRouteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteparseFrom(InputStream input)static HttpRouteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HttpRouteparseFrom(ByteBuffer data)static HttpRouteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HttpRoute>parser()HttpRoute.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
GET_FIELD_NUMBER
public static final int GET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUT_FIELD_NUMBER
public static final int PUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POST_FIELD_NUMBER
public static final int POST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATCH_FIELD_NUMBER
public static final int PATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BODY_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_BODY_SIZE_FIELD_NUMBER
public static final int MAX_BODY_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OFFLOADED_FIELD_NUMBER
public static final int OFFLOADED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIELD_MASK_ROOT_FIELD_NUMBER
public static final int FIELD_MASK_ROOT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_BINDINGS_FIELD_NUMBER
public static final int ADDITIONAL_BINDINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<HttpRoute> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPatternCase
public HttpRoute.PatternCase getPatternCase()
- Specified by:
getPatternCasein interfaceHttpRouteOrBuilder
-
hasGet
public boolean hasGet()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;- Specified by:
hasGetin interfaceHttpRouteOrBuilder
-
getGet
public String getGet()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;- Specified by:
getGetin interfaceHttpRouteOrBuilder
-
getGetBytes
public com.google.protobuf.ByteString getGetBytes()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;- Specified by:
getGetBytesin interfaceHttpRouteOrBuilder
-
hasPut
public boolean hasPut()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;- Specified by:
hasPutin interfaceHttpRouteOrBuilder
-
getPut
public String getPut()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;- Specified by:
getPutin interfaceHttpRouteOrBuilder
-
getPutBytes
public com.google.protobuf.ByteString getPutBytes()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;- Specified by:
getPutBytesin interfaceHttpRouteOrBuilder
-
hasPost
public boolean hasPost()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;- Specified by:
hasPostin interfaceHttpRouteOrBuilder
-
getPost
public String getPost()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;- Specified by:
getPostin interfaceHttpRouteOrBuilder
-
getPostBytes
public com.google.protobuf.ByteString getPostBytes()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;- Specified by:
getPostBytesin interfaceHttpRouteOrBuilder
-
hasDelete
public boolean hasDelete()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;- Specified by:
hasDeletein interfaceHttpRouteOrBuilder
-
getDelete
public String getDelete()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;- Specified by:
getDeletein interfaceHttpRouteOrBuilder
-
getDeleteBytes
public com.google.protobuf.ByteString getDeleteBytes()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;- Specified by:
getDeleteBytesin interfaceHttpRouteOrBuilder
-
hasPatch
public boolean hasPatch()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;- Specified by:
hasPatchin interfaceHttpRouteOrBuilder
-
getPatch
public String getPatch()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;- Specified by:
getPatchin interfaceHttpRouteOrBuilder
-
getPatchBytes
public com.google.protobuf.ByteString getPatchBytes()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;- Specified by:
getPatchBytesin interfaceHttpRouteOrBuilder
-
hasDeprecated
public boolean hasDeprecated()
optional bool deprecated = 6;- Specified by:
hasDeprecatedin interfaceHttpRouteOrBuilder
-
getDeprecated
public boolean getDeprecated()
optional bool deprecated = 6;- Specified by:
getDeprecatedin interfaceHttpRouteOrBuilder
-
hasBody
public boolean hasBody()
Name of the field in the request message that maps to the request body The special value "*" indicates that the request message as a whole represents the body (excepting route params).
optional string body = 7;- Specified by:
hasBodyin interfaceHttpRouteOrBuilder
-
getBody
public String getBody()
Name of the field in the request message that maps to the request body The special value "*" indicates that the request message as a whole represents the body (excepting route params).
optional string body = 7;- Specified by:
getBodyin interfaceHttpRouteOrBuilder
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()
Name of the field in the request message that maps to the request body The special value "*" indicates that the request message as a whole represents the body (excepting route params).
optional string body = 7;- Specified by:
getBodyBytesin interfaceHttpRouteOrBuilder
-
hasMaxBodySize
public boolean hasMaxBodySize()
optional int32 max_body_size = 8;- Specified by:
hasMaxBodySizein interfaceHttpRouteOrBuilder
-
getMaxBodySize
public int getMaxBodySize()
optional int32 max_body_size = 8;- Specified by:
getMaxBodySizein interfaceHttpRouteOrBuilder
-
hasOffloaded
public boolean hasOffloaded()
Set true if the execution of the route is expected to take a long time (more than 0.5 seconds). It will be offloaded to a worker thread. Leave false if the route uses its own threading mechanism (most of the routes should do that).
optional bool offloaded = 9;- Specified by:
hasOffloadedin interfaceHttpRouteOrBuilder
-
getOffloaded
public boolean getOffloaded()
Set true if the execution of the route is expected to take a long time (more than 0.5 seconds). It will be offloaded to a worker thread. Leave false if the route uses its own threading mechanism (most of the routes should do that).
optional bool offloaded = 9;- Specified by:
getOffloadedin interfaceHttpRouteOrBuilder
-
hasFieldMaskRoot
public boolean hasFieldMaskRoot()
Name of the field in the response message where a user-specified field mask is applied to. If this indicates a repeated field, the field mask is applied to each of those messages. If unspecified, Yamcs will try to derive this itself.
optional string field_mask_root = 10;- Specified by:
hasFieldMaskRootin interfaceHttpRouteOrBuilder
-
getFieldMaskRoot
public String getFieldMaskRoot()
Name of the field in the response message where a user-specified field mask is applied to. If this indicates a repeated field, the field mask is applied to each of those messages. If unspecified, Yamcs will try to derive this itself.
optional string field_mask_root = 10;- Specified by:
getFieldMaskRootin interfaceHttpRouteOrBuilder
-
getFieldMaskRootBytes
public com.google.protobuf.ByteString getFieldMaskRootBytes()
Name of the field in the response message where a user-specified field mask is applied to. If this indicates a repeated field, the field mask is applied to each of those messages. If unspecified, Yamcs will try to derive this itself.
optional string field_mask_root = 10;- Specified by:
getFieldMaskRootBytesin interfaceHttpRouteOrBuilder
-
getAdditionalBindingsList
public List<HttpRoute> getAdditionalBindingsList()
repeated .yamcs.api.HttpRoute additional_bindings = 11;- Specified by:
getAdditionalBindingsListin interfaceHttpRouteOrBuilder
-
getAdditionalBindingsOrBuilderList
public List<? extends HttpRouteOrBuilder> getAdditionalBindingsOrBuilderList()
repeated .yamcs.api.HttpRoute additional_bindings = 11;- Specified by:
getAdditionalBindingsOrBuilderListin interfaceHttpRouteOrBuilder
-
getAdditionalBindingsCount
public int getAdditionalBindingsCount()
repeated .yamcs.api.HttpRoute additional_bindings = 11;- Specified by:
getAdditionalBindingsCountin interfaceHttpRouteOrBuilder
-
getAdditionalBindings
public HttpRoute getAdditionalBindings(int index)
repeated .yamcs.api.HttpRoute additional_bindings = 11;- Specified by:
getAdditionalBindingsin interfaceHttpRouteOrBuilder
-
getAdditionalBindingsOrBuilder
public HttpRouteOrBuilder getAdditionalBindingsOrBuilder(int index)
repeated .yamcs.api.HttpRoute additional_bindings = 11;- Specified by:
getAdditionalBindingsOrBuilderin interfaceHttpRouteOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HttpRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HttpRoute parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HttpRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HttpRoute parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HttpRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HttpRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HttpRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HttpRoute.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HttpRoute.Builder newBuilder()
-
newBuilder
public static HttpRoute.Builder newBuilder(HttpRoute prototype)
-
toBuilder
public HttpRoute.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HttpRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HttpRoute getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HttpRoute> parser()
-
getParserForType
public com.google.protobuf.Parser<HttpRoute> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HttpRoute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-