Package org.yamcs.protobuf
Class ListItemsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
org.yamcs.protobuf.ListItemsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ListItemsResponseOrBuilder
- Enclosing class:
- ListItemsResponse
public static final class ListItemsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
implements ListItemsResponseOrBuilder
Protobuf type
yamcs.protobuf.timeline.ListItemsResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllItems
(Iterable<? extends TimelineItem> values) itemsaddItems
(int index, TimelineItem value) itemsaddItems
(int index, TimelineItem.Builder builderForValue) itemsaddItems
(TimelineItem value) itemsaddItems
(TimelineItem.Builder builderForValue) itemsitemsaddItemsBuilder
(int index) itemsaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Token indicating the response is only partial.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) itemsclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) item sourceclone()
Token indicating the response is only partial.com.google.protobuf.ByteString
Token indicating the response is only partial.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getItems
(int index) itemsgetItemsBuilder
(int index) itemsitemsint
itemsitemsgetItemsOrBuilder
(int index) itemsList<? extends TimelineItemOrBuilder>
itemsitem sourcecom.google.protobuf.ByteString
item sourceboolean
Token indicating the response is only partial.boolean
item sourceprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(ListItemsResponse other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeItems
(int index) itemssetContinuationToken
(String value) Token indicating the response is only partial.setContinuationTokenBytes
(com.google.protobuf.ByteString value) Token indicating the response is only partial.setItems
(int index, TimelineItem value) itemssetItems
(int index, TimelineItem.Builder builderForValue) itemssetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) item sourcesetSourceBytes
(com.google.protobuf.ByteString value) item sourcesetUnknownFields
(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<ListItemsResponse.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<ListItemsResponse.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<ListItemsResponse.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<ListItemsResponse.Builder>
-
setField
public ListItemsResponse.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<ListItemsResponse.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
-
setRepeatedField
public ListItemsResponse.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<ListItemsResponse.Builder>
-
addRepeatedField
public ListItemsResponse.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<ListItemsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListItemsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
-
mergeFrom
public ListItemsResponse.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<ListItemsResponse.Builder>
- Throws:
IOException
-
hasSource
public boolean hasSource()item source
optional string source = 1;
- Specified by:
hasSource
in interfaceListItemsResponseOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
item source
optional string source = 1;
- Specified by:
getSource
in interfaceListItemsResponseOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()item source
optional string source = 1;
- Specified by:
getSourceBytes
in interfaceListItemsResponseOrBuilder
- Returns:
- The bytes for source.
-
setSource
item source
optional string source = 1;
- Parameters:
value
- The source to set.- Returns:
- This builder for chaining.
-
clearSource
item source
optional string source = 1;
- Returns:
- This builder for chaining.
-
setSourceBytes
item source
optional string source = 1;
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-
getItemsList
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
- Specified by:
getItemsList
in interfaceListItemsResponseOrBuilder
-
getItemsCount
public int getItemsCount()items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
- Specified by:
getItemsCount
in interfaceListItemsResponseOrBuilder
-
getItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
- Specified by:
getItems
in interfaceListItemsResponseOrBuilder
-
setItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
setItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
addItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
addItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
addItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
addItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
addAllItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
clearItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
removeItems
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
getItemsBuilder
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
getItemsOrBuilder
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
- Specified by:
getItemsOrBuilder
in interfaceListItemsResponseOrBuilder
-
getItemsOrBuilderList
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
- Specified by:
getItemsOrBuilderList
in interfaceListItemsResponseOrBuilder
-
addItemsBuilder
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
addItemsBuilder
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
getItemsBuilderList
items
repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
-
hasContinuationToken
public boolean hasContinuationToken()Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 3;
- Specified by:
hasContinuationToken
in interfaceListItemsResponseOrBuilder
- Returns:
- Whether the continuationToken field is set.
-
getContinuationToken
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 3;
- Specified by:
getContinuationToken
in interfaceListItemsResponseOrBuilder
- Returns:
- The continuationToken.
-
getContinuationTokenBytes
public com.google.protobuf.ByteString getContinuationTokenBytes()Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 3;
- Specified by:
getContinuationTokenBytes
in interfaceListItemsResponseOrBuilder
- Returns:
- The bytes for continuationToken.
-
setContinuationToken
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 3;
- Parameters:
value
- The continuationToken to set.- Returns:
- This builder for chaining.
-
clearContinuationToken
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 3;
- Returns:
- This builder for chaining.
-
setContinuationTokenBytes
Token indicating the response is only partial. More results can then be obtained by performing the same request (including all original query parameters) and setting the ``next`` parameter to this token.
optional string continuationToken = 3;
- Parameters:
value
- The bytes for continuationToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListItemsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
-
mergeUnknownFields
public final ListItemsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
-