public final class HttpRoute extends com.google.protobuf.GeneratedMessageV3 implements HttpRouteOrBuilder
yamcs.api.HttpRoute| Modifier and Type | Class and Description |
|---|---|
static class |
HttpRoute.Builder
Protobuf type
yamcs.api.HttpRoute |
static class |
HttpRoute.PatternCase |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ADDITIONAL_BINDINGS_FIELD_NUMBER |
static int |
BODY_FIELD_NUMBER |
static int |
DELETE_FIELD_NUMBER |
static int |
DEPRECATED_FIELD_NUMBER |
static int |
GET_FIELD_NUMBER |
static int |
MAX_BODY_SIZE_FIELD_NUMBER |
static int |
OFFLOADED_FIELD_NUMBER |
static com.google.protobuf.Parser<HttpRoute> |
PARSER
Deprecated.
|
static int |
PATCH_FIELD_NUMBER |
static int |
POST_FIELD_NUMBER |
static int |
PUT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
HttpRoute |
getAdditionalBindings(int index)
repeated .yamcs.api.HttpRoute additional_bindings = 11; |
int |
getAdditionalBindingsCount()
repeated .yamcs.api.HttpRoute additional_bindings = 11; |
List<HttpRoute> |
getAdditionalBindingsList()
repeated .yamcs.api.HttpRoute additional_bindings = 11; |
HttpRouteOrBuilder |
getAdditionalBindingsOrBuilder(int index)
repeated .yamcs.api.HttpRoute additional_bindings = 11; |
List<? extends HttpRouteOrBuilder> |
getAdditionalBindingsOrBuilderList()
repeated .yamcs.api.HttpRoute additional_bindings = 11; |
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).
|
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).
|
static HttpRoute |
getDefaultInstance() |
HttpRoute |
getDefaultInstanceForType() |
String |
getDelete()
Maps to HTTP DELETE.
|
com.google.protobuf.ByteString |
getDeleteBytes()
Maps to HTTP DELETE.
|
boolean |
getDeprecated()
optional bool deprecated = 6; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGet()
Maps to HTTP GET.
|
com.google.protobuf.ByteString |
getGetBytes()
Maps to HTTP GET.
|
int |
getMaxBodySize()
optional int32 max_body_size = 8; |
boolean |
getOffloaded()
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() |
String |
getPatch()
Maps to HTTP PATCH.
|
com.google.protobuf.ByteString |
getPatchBytes()
Maps to HTTP PATCH.
|
HttpRoute.PatternCase |
getPatternCase() |
String |
getPost()
Maps to HTTP POST.
|
com.google.protobuf.ByteString |
getPostBytes()
Maps to HTTP POST.
|
String |
getPut()
Maps to HTTP PUT.
|
com.google.protobuf.ByteString |
getPutBytes()
Maps to HTTP PUT.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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).
|
boolean |
hasDelete()
Maps to HTTP DELETE.
|
boolean |
hasDeprecated()
optional bool deprecated = 6; |
boolean |
hasGet()
Maps to HTTP GET.
|
int |
hashCode() |
boolean |
hasMaxBodySize()
optional int32 max_body_size = 8; |
boolean |
hasOffloaded()
Set true if the execution of the route is expected to take a long time
(more than 0.5 seconds).
|
boolean |
hasPatch()
Maps to HTTP PATCH.
|
boolean |
hasPost()
Maps to HTTP POST.
|
boolean |
hasPut()
Maps to HTTP PUT.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HttpRoute.Builder |
newBuilder() |
static HttpRoute.Builder |
newBuilder(HttpRoute prototype) |
HttpRoute.Builder |
newBuilderForType() |
protected HttpRoute.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static HttpRoute |
parseDelimitedFrom(InputStream input) |
static HttpRoute |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpRoute |
parseFrom(byte[] data) |
static HttpRoute |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpRoute |
parseFrom(ByteBuffer data) |
static HttpRoute |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpRoute |
parseFrom(com.google.protobuf.ByteString data) |
static HttpRoute |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpRoute |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HttpRoute |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HttpRoute |
parseFrom(InputStream input) |
static HttpRoute |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HttpRoute> |
parser() |
HttpRoute.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GET_FIELD_NUMBER
public static final int PUT_FIELD_NUMBER
public static final int POST_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
public static final int PATCH_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
public static final int MAX_BODY_SIZE_FIELD_NUMBER
public static final int OFFLOADED_FIELD_NUMBER
public static final int ADDITIONAL_BINDINGS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<HttpRoute> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public HttpRoute.PatternCase getPatternCase()
getPatternCase in interface HttpRouteOrBuilderpublic boolean hasGet()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;hasGet in interface HttpRouteOrBuilderpublic String getGet()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;getGet in interface HttpRouteOrBuilderpublic com.google.protobuf.ByteString getGetBytes()
Maps to HTTP GET. Used for listing and getting information about resources.
optional string get = 1;getGetBytes in interface HttpRouteOrBuilderpublic boolean hasPut()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;hasPut in interface HttpRouteOrBuilderpublic String getPut()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;getPut in interface HttpRouteOrBuilderpublic com.google.protobuf.ByteString getPutBytes()
Maps to HTTP PUT. Used for replacing a resource.
optional string put = 2;getPutBytes in interface HttpRouteOrBuilderpublic boolean hasPost()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;hasPost in interface HttpRouteOrBuilderpublic String getPost()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;getPost in interface HttpRouteOrBuilderpublic com.google.protobuf.ByteString getPostBytes()
Maps to HTTP POST. Used for creating a resource or performing an action.
optional string post = 3;getPostBytes in interface HttpRouteOrBuilderpublic boolean hasDelete()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;hasDelete in interface HttpRouteOrBuilderpublic String getDelete()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;getDelete in interface HttpRouteOrBuilderpublic com.google.protobuf.ByteString getDeleteBytes()
Maps to HTTP DELETE. Used for deleting a resource.
optional string delete = 4;getDeleteBytes in interface HttpRouteOrBuilderpublic boolean hasPatch()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;hasPatch in interface HttpRouteOrBuilderpublic String getPatch()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;getPatch in interface HttpRouteOrBuilderpublic com.google.protobuf.ByteString getPatchBytes()
Maps to HTTP PATCH. Used for updating a resource.
optional string patch = 5;getPatchBytes in interface HttpRouteOrBuilderpublic boolean hasDeprecated()
optional bool deprecated = 6;hasDeprecated in interface HttpRouteOrBuilderpublic boolean getDeprecated()
optional bool deprecated = 6;getDeprecated in interface HttpRouteOrBuilderpublic 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;hasBody in interface HttpRouteOrBuilderpublic 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;getBody in interface HttpRouteOrBuilderpublic 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;getBodyBytes in interface HttpRouteOrBuilderpublic boolean hasMaxBodySize()
optional int32 max_body_size = 8;hasMaxBodySize in interface HttpRouteOrBuilderpublic int getMaxBodySize()
optional int32 max_body_size = 8;getMaxBodySize in interface HttpRouteOrBuilderpublic 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;hasOffloaded in interface HttpRouteOrBuilderpublic 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;getOffloaded in interface HttpRouteOrBuilderpublic List<HttpRoute> getAdditionalBindingsList()
repeated .yamcs.api.HttpRoute additional_bindings = 11;getAdditionalBindingsList in interface HttpRouteOrBuilderpublic List<? extends HttpRouteOrBuilder> getAdditionalBindingsOrBuilderList()
repeated .yamcs.api.HttpRoute additional_bindings = 11;getAdditionalBindingsOrBuilderList in interface HttpRouteOrBuilderpublic int getAdditionalBindingsCount()
repeated .yamcs.api.HttpRoute additional_bindings = 11;getAdditionalBindingsCount in interface HttpRouteOrBuilderpublic HttpRoute getAdditionalBindings(int index)
repeated .yamcs.api.HttpRoute additional_bindings = 11;getAdditionalBindings in interface HttpRouteOrBuilderpublic HttpRouteOrBuilder getAdditionalBindingsOrBuilder(int index)
repeated .yamcs.api.HttpRoute additional_bindings = 11;getAdditionalBindingsOrBuilder in interface HttpRouteOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HttpRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HttpRoute parseFrom(InputStream input) throws IOException
IOExceptionpublic static HttpRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HttpRoute parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HttpRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HttpRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HttpRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HttpRoute.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HttpRoute.Builder newBuilder()
public static HttpRoute.Builder newBuilder(HttpRoute prototype)
public HttpRoute.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HttpRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HttpRoute getDefaultInstance()
public static com.google.protobuf.Parser<HttpRoute> parser()
public com.google.protobuf.Parser<HttpRoute> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HttpRoute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Space Applications Services. All rights reserved.