Package org.yamcs.api
Class HttpRoute.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
org.yamcs.api.HttpRoute.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,HttpRouteOrBuilder
- Enclosing class:
- HttpRoute
public static final class HttpRoute.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
implements HttpRouteOrBuilder
Protobuf type
yamcs.api.HttpRoute
-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalBindings
(int index, HttpRoute value) repeated .yamcs.api.HttpRoute additional_bindings = 11;
addAdditionalBindings
(int index, HttpRoute.Builder builderForValue) repeated .yamcs.api.HttpRoute additional_bindings = 11;
addAdditionalBindings
(HttpRoute value) repeated .yamcs.api.HttpRoute additional_bindings = 11;
addAdditionalBindings
(HttpRoute.Builder builderForValue) repeated .yamcs.api.HttpRoute additional_bindings = 11;
repeated .yamcs.api.HttpRoute additional_bindings = 11;
addAdditionalBindingsBuilder
(int index) repeated .yamcs.api.HttpRoute additional_bindings = 11;
addAllAdditionalBindings
(Iterable<? extends HttpRoute> values) repeated .yamcs.api.HttpRoute additional_bindings = 11;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated .yamcs.api.HttpRoute additional_bindings = 11;
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).Maps to HTTP DELETE.optional bool deprecated = 6;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Name of the field in the response message where a user-specified field mask is applied to.clearGet()
Maps to HTTP GET.Optional method label.clearLog()
Human-friendly log message format.optional int32 max_body_size = 8;
Set true if the execution of the route is expected to take a long time (more than 0.5 seconds).clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Maps to HTTP PATCH.Maps to HTTP POST.clearPut()
Maps to HTTP PUT.clone()
getAdditionalBindings
(int index) repeated .yamcs.api.HttpRoute additional_bindings = 11;
getAdditionalBindingsBuilder
(int index) repeated .yamcs.api.HttpRoute additional_bindings = 11;
repeated .yamcs.api.HttpRoute additional_bindings = 11;
int
repeated .yamcs.api.HttpRoute additional_bindings = 11;
repeated .yamcs.api.HttpRoute additional_bindings = 11;
getAdditionalBindingsOrBuilder
(int index) repeated .yamcs.api.HttpRoute additional_bindings = 11;
List<? extends HttpRouteOrBuilder>
repeated .yamcs.api.HttpRoute additional_bindings = 11;
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
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).Maps to HTTP DELETE.com.google.protobuf.ByteString
Maps to HTTP DELETE.boolean
optional bool deprecated = 6;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Name of the field in the response message where a user-specified field mask is applied to.com.google.protobuf.ByteString
Name of the field in the response message where a user-specified field mask is applied to.getGet()
Maps to HTTP GET.com.google.protobuf.ByteString
Maps to HTTP GET.getLabel()
Optional method label.com.google.protobuf.ByteString
Optional method label.getLog()
Human-friendly log message format.com.google.protobuf.ByteString
Human-friendly log message format.int
optional int32 max_body_size = 8;
boolean
Set true if the execution of the route is expected to take a long time (more than 0.5 seconds).getPatch()
Maps to HTTP PATCH.com.google.protobuf.ByteString
Maps to HTTP PATCH.getPost()
Maps to HTTP POST.com.google.protobuf.ByteString
Maps to HTTP POST.getPut()
Maps to HTTP PUT.com.google.protobuf.ByteString
Maps to HTTP PUT.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
Maps to HTTP DELETE.boolean
optional bool deprecated = 6;
boolean
Name of the field in the response message where a user-specified field mask is applied to.boolean
hasGet()
Maps to HTTP GET.boolean
hasLabel()
Optional method label.boolean
hasLog()
Human-friendly log message format.boolean
optional int32 max_body_size = 8;
boolean
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
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final HttpRoute.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeAdditionalBindings
(int index) repeated .yamcs.api.HttpRoute additional_bindings = 11;
setAdditionalBindings
(int index, HttpRoute value) repeated .yamcs.api.HttpRoute additional_bindings = 11;
setAdditionalBindings
(int index, HttpRoute.Builder builderForValue) repeated .yamcs.api.HttpRoute additional_bindings = 11;
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).setBodyBytes
(com.google.protobuf.ByteString value) 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).Maps to HTTP DELETE.setDeleteBytes
(com.google.protobuf.ByteString value) Maps to HTTP DELETE.setDeprecated
(boolean value) optional bool deprecated = 6;
setFieldMaskRoot
(String value) Name of the field in the response message where a user-specified field mask is applied to.setFieldMaskRootBytes
(com.google.protobuf.ByteString value) Name of the field in the response message where a user-specified field mask is applied to.Maps to HTTP GET.setGetBytes
(com.google.protobuf.ByteString value) Maps to HTTP GET.Optional method label.setLabelBytes
(com.google.protobuf.ByteString value) Optional method label.Human-friendly log message format.setLogBytes
(com.google.protobuf.ByteString value) Human-friendly log message format.setMaxBodySize
(int value) optional int32 max_body_size = 8;
setOffloaded
(boolean value) Set true if the execution of the route is expected to take a long time (more than 0.5 seconds).Maps to HTTP PATCH.setPatchBytes
(com.google.protobuf.ByteString value) Maps to HTTP PATCH.Maps to HTTP POST.setPostBytes
(com.google.protobuf.ByteString value) Maps to HTTP POST.Maps to HTTP PUT.setPutBytes
(com.google.protobuf.ByteString value) Maps to HTTP PUT.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final HttpRoute.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
setField
public HttpRoute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
setRepeatedField
public HttpRoute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
addRepeatedField
public HttpRoute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpRoute.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
mergeFrom
public HttpRoute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpRoute.Builder>
- Throws:
IOException
-
getPatternCase
- Specified by:
getPatternCase
in interfaceHttpRouteOrBuilder
-
clearPattern
-
hasGet
public boolean hasGet()Maps to HTTP GET. Used for listing and getting information about resources.
string get = 1;
- Specified by:
hasGet
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the get field is set.
-
getGet
Maps to HTTP GET. Used for listing and getting information about resources.
string get = 1;
- Specified by:
getGet
in interfaceHttpRouteOrBuilder
- Returns:
- The get.
-
getGetBytes
public com.google.protobuf.ByteString getGetBytes()Maps to HTTP GET. Used for listing and getting information about resources.
string get = 1;
- Specified by:
getGetBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for get.
-
setGet
Maps to HTTP GET. Used for listing and getting information about resources.
string get = 1;
- Parameters:
value
- The get to set.- Returns:
- This builder for chaining.
-
clearGet
Maps to HTTP GET. Used for listing and getting information about resources.
string get = 1;
- Returns:
- This builder for chaining.
-
setGetBytes
Maps to HTTP GET. Used for listing and getting information about resources.
string get = 1;
- Parameters:
value
- The bytes for get to set.- Returns:
- This builder for chaining.
-
hasPut
public boolean hasPut()Maps to HTTP PUT. Used for replacing a resource.
string put = 2;
- Specified by:
hasPut
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the put field is set.
-
getPut
Maps to HTTP PUT. Used for replacing a resource.
string put = 2;
- Specified by:
getPut
in interfaceHttpRouteOrBuilder
- Returns:
- The put.
-
getPutBytes
public com.google.protobuf.ByteString getPutBytes()Maps to HTTP PUT. Used for replacing a resource.
string put = 2;
- Specified by:
getPutBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for put.
-
setPut
Maps to HTTP PUT. Used for replacing a resource.
string put = 2;
- Parameters:
value
- The put to set.- Returns:
- This builder for chaining.
-
clearPut
Maps to HTTP PUT. Used for replacing a resource.
string put = 2;
- Returns:
- This builder for chaining.
-
setPutBytes
Maps to HTTP PUT. Used for replacing a resource.
string put = 2;
- Parameters:
value
- The bytes for put to set.- Returns:
- This builder for chaining.
-
hasPost
public boolean hasPost()Maps to HTTP POST. Used for creating a resource or performing an action.
string post = 3;
- Specified by:
hasPost
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the post field is set.
-
getPost
Maps to HTTP POST. Used for creating a resource or performing an action.
string post = 3;
- Specified by:
getPost
in interfaceHttpRouteOrBuilder
- Returns:
- The post.
-
getPostBytes
public com.google.protobuf.ByteString getPostBytes()Maps to HTTP POST. Used for creating a resource or performing an action.
string post = 3;
- Specified by:
getPostBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for post.
-
setPost
Maps to HTTP POST. Used for creating a resource or performing an action.
string post = 3;
- Parameters:
value
- The post to set.- Returns:
- This builder for chaining.
-
clearPost
Maps to HTTP POST. Used for creating a resource or performing an action.
string post = 3;
- Returns:
- This builder for chaining.
-
setPostBytes
Maps to HTTP POST. Used for creating a resource or performing an action.
string post = 3;
- Parameters:
value
- The bytes for post to set.- Returns:
- This builder for chaining.
-
hasDelete
public boolean hasDelete()Maps to HTTP DELETE. Used for deleting a resource.
string delete = 4;
- Specified by:
hasDelete
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the delete field is set.
-
getDelete
Maps to HTTP DELETE. Used for deleting a resource.
string delete = 4;
- Specified by:
getDelete
in interfaceHttpRouteOrBuilder
- Returns:
- The delete.
-
getDeleteBytes
public com.google.protobuf.ByteString getDeleteBytes()Maps to HTTP DELETE. Used for deleting a resource.
string delete = 4;
- Specified by:
getDeleteBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for delete.
-
setDelete
Maps to HTTP DELETE. Used for deleting a resource.
string delete = 4;
- Parameters:
value
- The delete to set.- Returns:
- This builder for chaining.
-
clearDelete
Maps to HTTP DELETE. Used for deleting a resource.
string delete = 4;
- Returns:
- This builder for chaining.
-
setDeleteBytes
Maps to HTTP DELETE. Used for deleting a resource.
string delete = 4;
- Parameters:
value
- The bytes for delete to set.- Returns:
- This builder for chaining.
-
hasPatch
public boolean hasPatch()Maps to HTTP PATCH. Used for updating a resource.
string patch = 5;
- Specified by:
hasPatch
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the patch field is set.
-
getPatch
Maps to HTTP PATCH. Used for updating a resource.
string patch = 5;
- Specified by:
getPatch
in interfaceHttpRouteOrBuilder
- Returns:
- The patch.
-
getPatchBytes
public com.google.protobuf.ByteString getPatchBytes()Maps to HTTP PATCH. Used for updating a resource.
string patch = 5;
- Specified by:
getPatchBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for patch.
-
setPatch
Maps to HTTP PATCH. Used for updating a resource.
string patch = 5;
- Parameters:
value
- The patch to set.- Returns:
- This builder for chaining.
-
clearPatch
Maps to HTTP PATCH. Used for updating a resource.
string patch = 5;
- Returns:
- This builder for chaining.
-
setPatchBytes
Maps to HTTP PATCH. Used for updating a resource.
string patch = 5;
- Parameters:
value
- The bytes for patch to set.- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()optional bool deprecated = 6;
- Specified by:
hasDeprecated
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()optional bool deprecated = 6;
- Specified by:
getDeprecated
in interfaceHttpRouteOrBuilder
- Returns:
- The deprecated.
-
setDeprecated
optional bool deprecated = 6;
- Parameters:
value
- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
optional bool deprecated = 6;
- Returns:
- This builder for chaining.
-
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:
hasBody
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the body field is set.
-
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:
getBody
in interfaceHttpRouteOrBuilder
- Returns:
- The body.
-
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:
getBodyBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for body.
-
setBody
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;
- Parameters:
value
- The body to set.- Returns:
- This builder for chaining.
-
clearBody
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;
- Returns:
- This builder for chaining.
-
setBodyBytes
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;
- Parameters:
value
- The bytes for body to set.- Returns:
- This builder for chaining.
-
hasMaxBodySize
public boolean hasMaxBodySize()optional int32 max_body_size = 8;
- Specified by:
hasMaxBodySize
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the maxBodySize field is set.
-
getMaxBodySize
public int getMaxBodySize()optional int32 max_body_size = 8;
- Specified by:
getMaxBodySize
in interfaceHttpRouteOrBuilder
- Returns:
- The maxBodySize.
-
setMaxBodySize
optional int32 max_body_size = 8;
- Parameters:
value
- The maxBodySize to set.- Returns:
- This builder for chaining.
-
clearMaxBodySize
optional int32 max_body_size = 8;
- Returns:
- This builder for chaining.
-
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:
hasOffloaded
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the offloaded field is set.
-
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:
getOffloaded
in interfaceHttpRouteOrBuilder
- Returns:
- The offloaded.
-
setOffloaded
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;
- Parameters:
value
- The offloaded to set.- Returns:
- This builder for chaining.
-
clearOffloaded
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;
- Returns:
- This builder for chaining.
-
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:
hasFieldMaskRoot
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the fieldMaskRoot field is set.
-
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:
getFieldMaskRoot
in interfaceHttpRouteOrBuilder
- Returns:
- The fieldMaskRoot.
-
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:
getFieldMaskRootBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for fieldMaskRoot.
-
setFieldMaskRoot
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;
- Parameters:
value
- The fieldMaskRoot to set.- Returns:
- This builder for chaining.
-
clearFieldMaskRoot
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;
- Returns:
- This builder for chaining.
-
setFieldMaskRootBytes
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;
- Parameters:
value
- The bytes for fieldMaskRoot to set.- Returns:
- This builder for chaining.
-
getAdditionalBindingsList
repeated .yamcs.api.HttpRoute additional_bindings = 11;
- Specified by:
getAdditionalBindingsList
in interfaceHttpRouteOrBuilder
-
getAdditionalBindingsCount
public int getAdditionalBindingsCount()repeated .yamcs.api.HttpRoute additional_bindings = 11;
- Specified by:
getAdditionalBindingsCount
in interfaceHttpRouteOrBuilder
-
getAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
- Specified by:
getAdditionalBindings
in interfaceHttpRouteOrBuilder
-
setAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
setAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
addAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
addAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
addAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
addAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
addAllAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
clearAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
removeAdditionalBindings
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
getAdditionalBindingsBuilder
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
getAdditionalBindingsOrBuilder
repeated .yamcs.api.HttpRoute additional_bindings = 11;
- Specified by:
getAdditionalBindingsOrBuilder
in interfaceHttpRouteOrBuilder
-
getAdditionalBindingsOrBuilderList
repeated .yamcs.api.HttpRoute additional_bindings = 11;
- Specified by:
getAdditionalBindingsOrBuilderList
in interfaceHttpRouteOrBuilder
-
addAdditionalBindingsBuilder
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
addAdditionalBindingsBuilder
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
getAdditionalBindingsBuilderList
repeated .yamcs.api.HttpRoute additional_bindings = 11;
-
hasLog
public boolean hasLog()Human-friendly log message format.
optional string log = 12;
- Specified by:
hasLog
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the log field is set.
-
getLog
Human-friendly log message format.
optional string log = 12;
- Specified by:
getLog
in interfaceHttpRouteOrBuilder
- Returns:
- The log.
-
getLogBytes
public com.google.protobuf.ByteString getLogBytes()Human-friendly log message format.
optional string log = 12;
- Specified by:
getLogBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for log.
-
setLog
Human-friendly log message format.
optional string log = 12;
- Parameters:
value
- The log to set.- Returns:
- This builder for chaining.
-
clearLog
Human-friendly log message format.
optional string log = 12;
- Returns:
- This builder for chaining.
-
setLogBytes
Human-friendly log message format.
optional string log = 12;
- Parameters:
value
- The bytes for log to set.- Returns:
- This builder for chaining.
-
hasLabel
public boolean hasLabel()Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 13;
- Specified by:
hasLabel
in interfaceHttpRouteOrBuilder
- Returns:
- Whether the label field is set.
-
getLabel
Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 13;
- Specified by:
getLabel
in interfaceHttpRouteOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 13;
- Specified by:
getLabelBytes
in interfaceHttpRouteOrBuilder
- Returns:
- The bytes for label.
-
setLabel
Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 13;
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 13;
- Returns:
- This builder for chaining.
-
setLabelBytes
Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 13;
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-
mergeUnknownFields
public final HttpRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HttpRoute.Builder>
-