Package org.yamcs.protobuf
Class Mdb.ListCommandsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
- org.yamcs.protobuf.Mdb.ListCommandsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Mdb.ListCommandsRequestOrBuilder
- Enclosing class:
- Mdb.ListCommandsRequest
public static final class Mdb.ListCommandsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder> implements Mdb.ListCommandsRequestOrBuilder
Protobuf typeyamcs.protobuf.mdb.ListCommandsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Mdb.ListCommandsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Mdb.ListCommandsRequestbuild()Mdb.ListCommandsRequestbuildPartial()Mdb.ListCommandsRequest.Builderclear()Mdb.ListCommandsRequest.BuilderclearDetails()optional bool details = 4;Mdb.ListCommandsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Mdb.ListCommandsRequest.BuilderclearInstance()Yamcs instance name.Mdb.ListCommandsRequest.BuilderclearLimit()The maximum number of returned commands per page.Mdb.ListCommandsRequest.BuilderclearNext()Continuation token returned by a previous page response.Mdb.ListCommandsRequest.BuilderclearNoAbstract()Exclude abstract commandsMdb.ListCommandsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Mdb.ListCommandsRequest.BuilderclearPos()The zero-based row number at which to start outputting results.Mdb.ListCommandsRequest.BuilderclearQ()The search keywords.Mdb.ListCommandsRequest.BuilderclearSystem()List only direct child sub-systems or commands of the specified system.Mdb.ListCommandsRequest.Builderclone()Mdb.ListCommandsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDetails()optional bool details = 4;StringgetInstance()Yamcs instance name.com.google.protobuf.ByteStringgetInstanceBytes()Yamcs instance name.intgetLimit()The maximum number of returned commands per page.StringgetNext()Continuation token returned by a previous page response.com.google.protobuf.ByteStringgetNextBytes()Continuation token returned by a previous page response.booleangetNoAbstract()Exclude abstract commandsintgetPos()The zero-based row number at which to start outputting results.StringgetQ()The search keywords.com.google.protobuf.ByteStringgetQBytes()The search keywords.StringgetSystem()List only direct child sub-systems or commands of the specified system.com.google.protobuf.ByteStringgetSystemBytes()List only direct child sub-systems or commands of the specified system.booleanhasDetails()optional bool details = 4;booleanhasInstance()Yamcs instance name.booleanhasLimit()The maximum number of returned commands per page.booleanhasNext()Continuation token returned by a previous page response.booleanhasNoAbstract()Exclude abstract commandsbooleanhasPos()The zero-based row number at which to start outputting results.booleanhasQ()The search keywords.booleanhasSystem()List only direct child sub-systems or commands of the specified system.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Mdb.ListCommandsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Mdb.ListCommandsRequest.BuildermergeFrom(com.google.protobuf.Message other)Mdb.ListCommandsRequest.BuildermergeFrom(Mdb.ListCommandsRequest other)Mdb.ListCommandsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Mdb.ListCommandsRequest.BuildersetDetails(boolean value)optional bool details = 4;Mdb.ListCommandsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Mdb.ListCommandsRequest.BuildersetInstance(String value)Yamcs instance name.Mdb.ListCommandsRequest.BuildersetInstanceBytes(com.google.protobuf.ByteString value)Yamcs instance name.Mdb.ListCommandsRequest.BuildersetLimit(int value)The maximum number of returned commands per page.Mdb.ListCommandsRequest.BuildersetNext(String value)Continuation token returned by a previous page response.Mdb.ListCommandsRequest.BuildersetNextBytes(com.google.protobuf.ByteString value)Continuation token returned by a previous page response.Mdb.ListCommandsRequest.BuildersetNoAbstract(boolean value)Exclude abstract commandsMdb.ListCommandsRequest.BuildersetPos(int value)The zero-based row number at which to start outputting results.Mdb.ListCommandsRequest.BuildersetQ(String value)The search keywords.Mdb.ListCommandsRequest.BuildersetQBytes(com.google.protobuf.ByteString value)The search keywords.Mdb.ListCommandsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Mdb.ListCommandsRequest.BuildersetSystem(String value)List only direct child sub-systems or commands of the specified system.Mdb.ListCommandsRequest.BuildersetSystemBytes(com.google.protobuf.ByteString value)List only direct child sub-systems or commands of the specified system.Mdb.ListCommandsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
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.Builder<Mdb.ListCommandsRequest.Builder>
-
clear
public Mdb.ListCommandsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
getDefaultInstanceForType
public Mdb.ListCommandsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Mdb.ListCommandsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Mdb.ListCommandsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Mdb.ListCommandsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
setField
public Mdb.ListCommandsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
clearField
public Mdb.ListCommandsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
clearOneof
public Mdb.ListCommandsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
setRepeatedField
public Mdb.ListCommandsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
addRepeatedField
public Mdb.ListCommandsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
mergeFrom
public Mdb.ListCommandsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Mdb.ListCommandsRequest.Builder>
-
mergeFrom
public Mdb.ListCommandsRequest.Builder mergeFrom(Mdb.ListCommandsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
mergeFrom
public Mdb.ListCommandsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Mdb.ListCommandsRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()
Yamcs instance name.
optional string instance = 1;- Specified by:
hasInstancein interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
public String getInstance()
Yamcs instance name.
optional string instance = 1;- Specified by:
getInstancein interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name.
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The bytes for instance.
-
setInstance
public Mdb.ListCommandsRequest.Builder setInstance(String value)
Yamcs instance name.
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
public Mdb.ListCommandsRequest.Builder clearInstance()
Yamcs instance name.
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
public Mdb.ListCommandsRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
Yamcs instance name.
optional string instance = 1;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
hasQ
public boolean hasQ()
The search keywords. This supports searching on namespace or name.
optional string q = 2;- Specified by:
hasQin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- Whether the q field is set.
-
getQ
public String getQ()
The search keywords. This supports searching on namespace or name.
optional string q = 2;- Specified by:
getQin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The q.
-
getQBytes
public com.google.protobuf.ByteString getQBytes()
The search keywords. This supports searching on namespace or name.
optional string q = 2;- Specified by:
getQBytesin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The bytes for q.
-
setQ
public Mdb.ListCommandsRequest.Builder setQ(String value)
The search keywords. This supports searching on namespace or name.
optional string q = 2;- Parameters:
value- The q to set.- Returns:
- This builder for chaining.
-
clearQ
public Mdb.ListCommandsRequest.Builder clearQ()
The search keywords. This supports searching on namespace or name.
optional string q = 2;- Returns:
- This builder for chaining.
-
setQBytes
public Mdb.ListCommandsRequest.Builder setQBytes(com.google.protobuf.ByteString value)
The search keywords. This supports searching on namespace or name.
optional string q = 2;- Parameters:
value- The bytes for q to set.- Returns:
- This builder for chaining.
-
hasSystem
public boolean hasSystem()
List only direct child sub-systems or commands of the specified system. For example when querying the system "/a" against an MDB with commands "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the command "/a/c". When ``system`` and ``q`` are used together, matching commands at any depth are returned, starting from the specified space system.
optional string system = 11;- Specified by:
hasSystemin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- Whether the system field is set.
-
getSystem
public String getSystem()
List only direct child sub-systems or commands of the specified system. For example when querying the system "/a" against an MDB with commands "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the command "/a/c". When ``system`` and ``q`` are used together, matching commands at any depth are returned, starting from the specified space system.
optional string system = 11;- Specified by:
getSystemin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The system.
-
getSystemBytes
public com.google.protobuf.ByteString getSystemBytes()
List only direct child sub-systems or commands of the specified system. For example when querying the system "/a" against an MDB with commands "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the command "/a/c". When ``system`` and ``q`` are used together, matching commands at any depth are returned, starting from the specified space system.
optional string system = 11;- Specified by:
getSystemBytesin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The bytes for system.
-
setSystem
public Mdb.ListCommandsRequest.Builder setSystem(String value)
List only direct child sub-systems or commands of the specified system. For example when querying the system "/a" against an MDB with commands "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the command "/a/c". When ``system`` and ``q`` are used together, matching commands at any depth are returned, starting from the specified space system.
optional string system = 11;- Parameters:
value- The system to set.- Returns:
- This builder for chaining.
-
clearSystem
public Mdb.ListCommandsRequest.Builder clearSystem()
List only direct child sub-systems or commands of the specified system. For example when querying the system "/a" against an MDB with commands "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the command "/a/c". When ``system`` and ``q`` are used together, matching commands at any depth are returned, starting from the specified space system.
optional string system = 11;- Returns:
- This builder for chaining.
-
setSystemBytes
public Mdb.ListCommandsRequest.Builder setSystemBytes(com.google.protobuf.ByteString value)
List only direct child sub-systems or commands of the specified system. For example when querying the system "/a" against an MDB with commands "/a/b/c" and "/a/c", the result returns the sub system "/a/b" and the command "/a/c". When ``system`` and ``q`` are used together, matching commands at any depth are returned, starting from the specified space system.
optional string system = 11;- Parameters:
value- The bytes for system to set.- Returns:
- This builder for chaining.
-
hasDetails
public boolean hasDetails()
optional bool details = 4;- Specified by:
hasDetailsin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
public boolean getDetails()
optional bool details = 4;- Specified by:
getDetailsin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The details.
-
setDetails
public Mdb.ListCommandsRequest.Builder setDetails(boolean value)
optional bool details = 4;- Parameters:
value- The details to set.- Returns:
- This builder for chaining.
-
clearDetails
public Mdb.ListCommandsRequest.Builder clearDetails()
optional bool details = 4;- Returns:
- This builder for chaining.
-
hasNext
public boolean hasNext()
Continuation token returned by a previous page response.
optional string next = 7;- Specified by:
hasNextin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- Whether the next field is set.
-
getNext
public String getNext()
Continuation token returned by a previous page response.
optional string next = 7;- Specified by:
getNextin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The next.
-
getNextBytes
public com.google.protobuf.ByteString getNextBytes()
Continuation token returned by a previous page response.
optional string next = 7;- Specified by:
getNextBytesin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The bytes for next.
-
setNext
public Mdb.ListCommandsRequest.Builder setNext(String value)
Continuation token returned by a previous page response.
optional string next = 7;- Parameters:
value- The next to set.- Returns:
- This builder for chaining.
-
clearNext
public Mdb.ListCommandsRequest.Builder clearNext()
Continuation token returned by a previous page response.
optional string next = 7;- Returns:
- This builder for chaining.
-
setNextBytes
public Mdb.ListCommandsRequest.Builder setNextBytes(com.google.protobuf.ByteString value)
Continuation token returned by a previous page response.
optional string next = 7;- Parameters:
value- The bytes for next to set.- Returns:
- This builder for chaining.
-
hasPos
public boolean hasPos()
The zero-based row number at which to start outputting results. Default: ``0``
optional int32 pos = 8;- Specified by:
hasPosin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- Whether the pos field is set.
-
getPos
public int getPos()
The zero-based row number at which to start outputting results. Default: ``0``
optional int32 pos = 8;- Specified by:
getPosin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The pos.
-
setPos
public Mdb.ListCommandsRequest.Builder setPos(int value)
The zero-based row number at which to start outputting results. Default: ``0``
optional int32 pos = 8;- Parameters:
value- The pos to set.- Returns:
- This builder for chaining.
-
clearPos
public Mdb.ListCommandsRequest.Builder clearPos()
The zero-based row number at which to start outputting results. Default: ``0``
optional int32 pos = 8;- Returns:
- This builder for chaining.
-
hasLimit
public boolean hasLimit()
The maximum number of returned commands per page. Choose this value too high and you risk hitting the maximum response size limit enforced by the server. Default: ``100``
optional int32 limit = 9;- Specified by:
hasLimitin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- Whether the limit field is set.
-
getLimit
public int getLimit()
The maximum number of returned commands per page. Choose this value too high and you risk hitting the maximum response size limit enforced by the server. Default: ``100``
optional int32 limit = 9;- Specified by:
getLimitin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The limit.
-
setLimit
public Mdb.ListCommandsRequest.Builder setLimit(int value)
The maximum number of returned commands per page. Choose this value too high and you risk hitting the maximum response size limit enforced by the server. Default: ``100``
optional int32 limit = 9;- Parameters:
value- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
public Mdb.ListCommandsRequest.Builder clearLimit()
The maximum number of returned commands per page. Choose this value too high and you risk hitting the maximum response size limit enforced by the server. Default: ``100``
optional int32 limit = 9;- Returns:
- This builder for chaining.
-
hasNoAbstract
public boolean hasNoAbstract()
Exclude abstract commands
optional bool noAbstract = 10;- Specified by:
hasNoAbstractin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- Whether the noAbstract field is set.
-
getNoAbstract
public boolean getNoAbstract()
Exclude abstract commands
optional bool noAbstract = 10;- Specified by:
getNoAbstractin interfaceMdb.ListCommandsRequestOrBuilder- Returns:
- The noAbstract.
-
setNoAbstract
public Mdb.ListCommandsRequest.Builder setNoAbstract(boolean value)
Exclude abstract commands
optional bool noAbstract = 10;- Parameters:
value- The noAbstract to set.- Returns:
- This builder for chaining.
-
clearNoAbstract
public Mdb.ListCommandsRequest.Builder clearNoAbstract()
Exclude abstract commands
optional bool noAbstract = 10;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Mdb.ListCommandsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
mergeUnknownFields
public final Mdb.ListCommandsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsRequest.Builder>
-
-