Package org.yamcs.api
Interface HttpRouteOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpRoute,HttpRoute.Builder
public interface HttpRouteOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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).StringgetDelete()Maps to HTTP DELETE.com.google.protobuf.ByteStringgetDeleteBytes()Maps to HTTP DELETE.booleangetDeprecated()optional bool deprecated = 6;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).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.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasGet
boolean hasGet()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;
-
getGet
String getGet()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;
-
getGetBytes
com.google.protobuf.ByteString getGetBytes()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;
-
hasPut
boolean hasPut()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;
-
getPut
String getPut()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;
-
getPutBytes
com.google.protobuf.ByteString getPutBytes()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;
-
hasPost
boolean hasPost()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;
-
getPost
String getPost()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;
-
getPostBytes
com.google.protobuf.ByteString getPostBytes()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;
-
hasDelete
boolean hasDelete()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;
-
getDelete
String getDelete()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;
-
getDeleteBytes
com.google.protobuf.ByteString getDeleteBytes()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;
-
hasPatch
boolean hasPatch()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;
-
getPatch
String getPatch()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;
-
getPatchBytes
com.google.protobuf.ByteString getPatchBytes()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;
-
hasDeprecated
boolean hasDeprecated()
optional bool deprecated = 6;
-
getDeprecated
boolean getDeprecated()
optional bool deprecated = 6;
-
hasBody
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;
-
getBody
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;
-
getBodyBytes
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;
-
hasMaxBodySize
boolean hasMaxBodySize()
optional int32 max_body_size = 8;
-
getMaxBodySize
int getMaxBodySize()
optional int32 max_body_size = 8;
-
hasOffloaded
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;
-
getOffloaded
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;
-
hasFieldMaskRoot
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;
-
getFieldMaskRoot
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;
-
getFieldMaskRootBytes
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;
-
getAdditionalBindingsList
List<HttpRoute> getAdditionalBindingsList()
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
getAdditionalBindings
HttpRoute getAdditionalBindings(int index)
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
getAdditionalBindingsCount
int getAdditionalBindingsCount()
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
getAdditionalBindingsOrBuilderList
List<? extends HttpRouteOrBuilder> getAdditionalBindingsOrBuilderList()
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
getAdditionalBindingsOrBuilder
HttpRouteOrBuilder getAdditionalBindingsOrBuilder(int index)
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
getPatternCase
HttpRoute.PatternCase getPatternCase()
-
-