java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
org.yamcs.protobuf.CreateItemRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CreateItemRequestOrBuilder
- Enclosing class:
- CreateItemRequest
public static final class CreateItemRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
implements CreateItemRequestOrBuilder
Items **********************Protobuf type
yamcs.protobuf.timeline.CreateItemRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(Iterable<String> values) tagsaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) tagsaddTagsBytes(com.google.protobuf.ByteString value) tagsbuild()clear()item duration.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) if this item is part of a group, this is the group identifierYamcs instance nameItem nameclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)Item sourceitem start.tagsType of itemclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Durationitem duration.com.google.protobuf.Duration.Builderitem duration.com.google.protobuf.DurationOrBuilderitem duration.if this item is part of a group, this is the group identifiercom.google.protobuf.ByteStringif this item is part of a group, this is the group identifierYamcs instance namecom.google.protobuf.ByteStringYamcs instance namegetName()Item namecom.google.protobuf.ByteStringItem nameif this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)Item sourcecom.google.protobuf.ByteStringItem sourcecom.google.protobuf.TimestampgetStart()item start.com.google.protobuf.Timestamp.Builderitem start.com.google.protobuf.TimestampOrBuilderitem start.getTags(int index) tagscom.google.protobuf.ByteStringgetTagsBytes(int index) tagsinttagscom.google.protobuf.ProtocolStringListtagsgetType()Type of itembooleanitem duration.booleanif this item is part of a group, this is the group identifierbooleanYamcs instance namebooleanhasName()Item namebooleanif this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)booleanItem sourcebooleanhasStart()item start.booleanhasType()Type of itemprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDuration(com.google.protobuf.Duration value) item duration.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(CreateItemRequest other) mergeRelativeTime(RelativeTime value) if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)mergeStart(com.google.protobuf.Timestamp value) item start.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDuration(com.google.protobuf.Duration value) item duration.setDuration(com.google.protobuf.Duration.Builder builderForValue) item duration.setGroupId(String value) if this item is part of a group, this is the group identifiersetGroupIdBytes(com.google.protobuf.ByteString value) if this item is part of a group, this is the group identifiersetInstance(String value) Yamcs instance namesetInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance nameItem namesetNameBytes(com.google.protobuf.ByteString value) Item namesetRelativeTime(RelativeTime value) if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)setRelativeTime(RelativeTime.Builder builderForValue) if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Item sourcesetSourceBytes(com.google.protobuf.ByteString value) Item sourcesetStart(com.google.protobuf.Timestamp value) item start.setStart(com.google.protobuf.Timestamp.Builder builderForValue) item start.tagssetType(TimelineItemType value) Type of itemsetUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.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<CreateItemRequest.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<CreateItemRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<CreateItemRequest.Builder>
-
setField
public CreateItemRequest.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<CreateItemRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
-
setRepeatedField
public CreateItemRequest.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<CreateItemRequest.Builder>
-
addRepeatedField
public CreateItemRequest.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<CreateItemRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateItemRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
-
mergeFrom
public CreateItemRequest.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<CreateItemRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceCreateItemRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceCreateItemRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceCreateItemRequestOrBuilder- Returns:
- The bytes for instance.
-
setInstance
Yamcs instance name
optional string instance = 1;- Parameters:
value- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Yamcs instance name
optional string instance = 1;- Returns:
- This builder for chaining.
-
setInstanceBytes
Yamcs instance name
optional string instance = 1;- Parameters:
value- The bytes for instance to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()Item source
optional string source = 2;- Specified by:
hasSourcein interfaceCreateItemRequestOrBuilder- Returns:
- Whether the source field is set.
-
getSource
Item source
optional string source = 2;- Specified by:
getSourcein interfaceCreateItemRequestOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()Item source
optional string source = 2;- Specified by:
getSourceBytesin interfaceCreateItemRequestOrBuilder- Returns:
- The bytes for source.
-
setSource
Item source
optional string source = 2;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
Item source
optional string source = 2;- Returns:
- This builder for chaining.
-
setSourceBytes
Item source
optional string source = 2;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Item name
optional string name = 3;- Specified by:
hasNamein interfaceCreateItemRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
Item name
optional string name = 3;- Specified by:
getNamein interfaceCreateItemRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Item name
optional string name = 3;- Specified by:
getNameBytesin interfaceCreateItemRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Item name
optional string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Item name
optional string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
Item name
optional string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()Type of item
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;- Specified by:
hasTypein interfaceCreateItemRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
Type of item
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;- Specified by:
getTypein interfaceCreateItemRequestOrBuilder- Returns:
- The type.
-
setType
Type of item
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of item
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;- Returns:
- This builder for chaining.
-
hasStart
public boolean hasStart()item start. The start and the relativeTime (below) are mutually exclusive
optional .google.protobuf.Timestamp start = 5;- Specified by:
hasStartin interfaceCreateItemRequestOrBuilder- Returns:
- Whether the start field is set.
-
getStart
public com.google.protobuf.Timestamp getStart()item start. The start and the relativeTime (below) are mutually exclusive
optional .google.protobuf.Timestamp start = 5;- Specified by:
getStartin interfaceCreateItemRequestOrBuilder- Returns:
- The start.
-
setStart
item start. The start and the relativeTime (below) are mutually exclusive
optional .google.protobuf.Timestamp start = 5; -
setStart
item start. The start and the relativeTime (below) are mutually exclusive
optional .google.protobuf.Timestamp start = 5; -
mergeStart
item start. The start and the relativeTime (below) are mutually exclusive
optional .google.protobuf.Timestamp start = 5; -
clearStart
item start. The start and the relativeTime (below) are mutually exclusive
optional .google.protobuf.Timestamp start = 5; -
getStartBuilder
public com.google.protobuf.Timestamp.Builder getStartBuilder()item start. The start and the relativeTime (below) are mutually exclusive
optional .google.protobuf.Timestamp start = 5; -
getStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()item start. The start and the relativeTime (below) are mutually exclusive
optional .google.protobuf.Timestamp start = 5;- Specified by:
getStartOrBuilderin interfaceCreateItemRequestOrBuilder
-
hasDuration
public boolean hasDuration()item duration. Applies also if the relativeTime is specified
optional .google.protobuf.Duration duration = 6;- Specified by:
hasDurationin interfaceCreateItemRequestOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()item duration. Applies also if the relativeTime is specified
optional .google.protobuf.Duration duration = 6;- Specified by:
getDurationin interfaceCreateItemRequestOrBuilder- Returns:
- The duration.
-
setDuration
item duration. Applies also if the relativeTime is specified
optional .google.protobuf.Duration duration = 6; -
setDuration
item duration. Applies also if the relativeTime is specified
optional .google.protobuf.Duration duration = 6; -
mergeDuration
item duration. Applies also if the relativeTime is specified
optional .google.protobuf.Duration duration = 6; -
clearDuration
item duration. Applies also if the relativeTime is specified
optional .google.protobuf.Duration duration = 6; -
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()item duration. Applies also if the relativeTime is specified
optional .google.protobuf.Duration duration = 6; -
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()item duration. Applies also if the relativeTime is specified
optional .google.protobuf.Duration duration = 6;- Specified by:
getDurationOrBuilderin interfaceCreateItemRequestOrBuilder
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()tags
repeated string tags = 7;- Specified by:
getTagsListin interfaceCreateItemRequestOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()tags
repeated string tags = 7;- Specified by:
getTagsCountin interfaceCreateItemRequestOrBuilder- Returns:
- The count of tags.
-
getTags
tags
repeated string tags = 7;- Specified by:
getTagsin interfaceCreateItemRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) tags
repeated string tags = 7;- Specified by:
getTagsBytesin interfaceCreateItemRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
tags
repeated string tags = 7;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
tags
repeated string tags = 7;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
tags
repeated string tags = 7;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
tags
repeated string tags = 7;- Returns:
- This builder for chaining.
-
addTagsBytes
tags
repeated string tags = 7;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
hasGroupId
public boolean hasGroupId()if this item is part of a group, this is the group identifier
optional string groupId = 8;- Specified by:
hasGroupIdin interfaceCreateItemRequestOrBuilder- Returns:
- Whether the groupId field is set.
-
getGroupId
if this item is part of a group, this is the group identifier
optional string groupId = 8;- Specified by:
getGroupIdin interfaceCreateItemRequestOrBuilder- Returns:
- The groupId.
-
getGroupIdBytes
public com.google.protobuf.ByteString getGroupIdBytes()if this item is part of a group, this is the group identifier
optional string groupId = 8;- Specified by:
getGroupIdBytesin interfaceCreateItemRequestOrBuilder- Returns:
- The bytes for groupId.
-
setGroupId
if this item is part of a group, this is the group identifier
optional string groupId = 8;- Parameters:
value- The groupId to set.- Returns:
- This builder for chaining.
-
clearGroupId
if this item is part of a group, this is the group identifier
optional string groupId = 8;- Returns:
- This builder for chaining.
-
setGroupIdBytes
if this item is part of a group, this is the group identifier
optional string groupId = 8;- Parameters:
value- The bytes for groupId to set.- Returns:
- This builder for chaining.
-
hasRelativeTime
public boolean hasRelativeTime()if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;- Specified by:
hasRelativeTimein interfaceCreateItemRequestOrBuilder- Returns:
- Whether the relativeTime field is set.
-
getRelativeTime
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;- Specified by:
getRelativeTimein interfaceCreateItemRequestOrBuilder- Returns:
- The relativeTime.
-
setRelativeTime
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9; -
setRelativeTime
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9; -
mergeRelativeTime
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9; -
clearRelativeTime
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9; -
getRelativeTimeBuilder
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9; -
getRelativeTimeOrBuilder
if this item time specification is relative to another item, relativeTime contains a reference to that item as well as the relative start (the duration is the same as given by the duration above)
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;- Specified by:
getRelativeTimeOrBuilderin interfaceCreateItemRequestOrBuilder
-
setUnknownFields
public final CreateItemRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
-
mergeUnknownFields
public final CreateItemRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateItemRequest.Builder>
-