java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.CreateItemRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,CreateItemRequestOrBuilder
public final class CreateItemRequest
extends com.google.protobuf.GeneratedMessageV3
implements CreateItemRequestOrBuilder
Protobuf type
yamcs.protobuf.timeline.CreateItemRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.timeline.CreateItemRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<CreateItemRequest>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsProperties(String key) Additional properties used by yamcs-web to render this itembooleanActivity definition associated to this item.Activity definition associated to this item.static CreateItemRequestItem descriptioncom.google.protobuf.ByteStringItem descriptionstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationItem 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 namecom.google.protobuf.Parser<CreateItemRequest>Deprecated.intAdditional properties used by yamcs-web to render this itemAdditional properties used by yamcs-web to render this itemgetPropertiesOrDefault(String key, String defaultValue) Additional properties used by yamcs-web to render this itemAdditional properties used by yamcs-web to render this itemIf the 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`` field).If the 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`` field).intItem sourcecom.google.protobuf.ByteStringItem sourcecom.google.protobuf.TimestampgetStart()Item start.com.google.protobuf.TimestampOrBuilderItem start.getTags(int index) Tagscom.google.protobuf.ByteStringgetTagsBytes(int index) TagsintTagscom.google.protobuf.ProtocolStringListTagsgetType()Item typefinal com.google.protobuf.UnknownFieldSetbooleanActivity definition associated to this item.booleanItem descriptionbooleanItem duration.booleanIf this item is part of a group, this is the group identifierinthashCode()booleanYamcs instance namebooleanhasName()Item namebooleanIf the 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`` field).booleanItem sourcebooleanhasStart()Item start.booleanhasType()Item typeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic CreateItemRequest.Builderstatic CreateItemRequest.BuildernewBuilder(CreateItemRequest prototype) protected CreateItemRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CreateItemRequestparseDelimitedFrom(InputStream input) static CreateItemRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequestparseFrom(byte[] data) static CreateItemRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequestparseFrom(com.google.protobuf.ByteString data) static CreateItemRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequestparseFrom(com.google.protobuf.CodedInputStream input) static CreateItemRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequestparseFrom(InputStream input) static CreateItemRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequestparseFrom(ByteBuffer data) static CreateItemRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CreateItemRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER- See Also:
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
GROUPID_FIELD_NUMBER
public static final int GROUPID_FIELD_NUMBER- See Also:
-
RELATIVETIME_FIELD_NUMBER
public static final int RELATIVETIME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
ACTIVITYDEFINITION_FIELD_NUMBER
public static final int ACTIVITYDEFINITION_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
hasType
public boolean hasType()Item type
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;- Specified by:
hasTypein interfaceCreateItemRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
Item type
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;- Specified by:
getTypein interfaceCreateItemRequestOrBuilder- Returns:
- The type.
-
hasStart
public boolean hasStart()Item start. The fields ``start`` and ``relativeTime`` 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 fields ``start`` and ``relativeTime`` are mutually exclusive
optional .google.protobuf.Timestamp start = 5;- Specified by:
getStartin interfaceCreateItemRequestOrBuilder- Returns:
- The start.
-
getStartOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()Item start. The fields ``start`` and ``relativeTime`` are mutually exclusive
optional .google.protobuf.Timestamp start = 5;- Specified by:
getStartOrBuilderin interfaceCreateItemRequestOrBuilder
-
hasDuration
public boolean hasDuration()Item duration. Applies also if ``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 ``relativeTime`` is specified
optional .google.protobuf.Duration duration = 6;- Specified by:
getDurationin interfaceCreateItemRequestOrBuilder- Returns:
- The duration.
-
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Item duration. Applies also if ``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.
-
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.
-
hasRelativeTime
public boolean hasRelativeTime()If the 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`` field).
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;- Specified by:
hasRelativeTimein interfaceCreateItemRequestOrBuilder- Returns:
- Whether the relativeTime field is set.
-
getRelativeTime
If the 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`` field).
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;- Specified by:
getRelativeTimein interfaceCreateItemRequestOrBuilder- Returns:
- The relativeTime.
-
getRelativeTimeOrBuilder
If the 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`` field).
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;- Specified by:
getRelativeTimeOrBuilderin interfaceCreateItemRequestOrBuilder
-
hasDescription
public boolean hasDescription()Item description
optional string description = 10;- Specified by:
hasDescriptionin interfaceCreateItemRequestOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Item description
optional string description = 10;- Specified by:
getDescriptionin interfaceCreateItemRequestOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Item description
optional string description = 10;- Specified by:
getDescriptionBytesin interfaceCreateItemRequestOrBuilder- Returns:
- The bytes for description.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:CreateItemRequestOrBuilderAdditional properties used by yamcs-web to render this item
map<string, string> properties = 11;- Specified by:
getPropertiesCountin interfaceCreateItemRequestOrBuilder
-
containsProperties
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;- Specified by:
containsPropertiesin interfaceCreateItemRequestOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceCreateItemRequestOrBuilder
-
getPropertiesMap
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;- Specified by:
getPropertiesMapin interfaceCreateItemRequestOrBuilder
-
getPropertiesOrDefault
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;- Specified by:
getPropertiesOrDefaultin interfaceCreateItemRequestOrBuilder
-
getPropertiesOrThrow
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;- Specified by:
getPropertiesOrThrowin interfaceCreateItemRequestOrBuilder
-
hasActivityDefinition
public boolean hasActivityDefinition()Activity definition associated to this item. Required if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;- Specified by:
hasActivityDefinitionin interfaceCreateItemRequestOrBuilder- Returns:
- Whether the activityDefinition field is set.
-
getActivityDefinition
Activity definition associated to this item. Required if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;- Specified by:
getActivityDefinitionin interfaceCreateItemRequestOrBuilder- Returns:
- The activityDefinition.
-
getActivityDefinitionOrBuilder
Activity definition associated to this item. Required if ``type`` is ACTIVITY.
optional .yamcs.protobuf.activities.ActivityDefinitionInfo activityDefinition = 12;- Specified by:
getActivityDefinitionOrBuilderin interfaceCreateItemRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CreateItemRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateItemRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateItemRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateItemRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateItemRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateItemRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CreateItemRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CreateItemRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CreateItemRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CreateItemRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateItemRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-