Package org.yamcs.protobuf
Class CreateItemRequest
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
Modifier and TypeClassDescriptionstatic final class
Protobuf typeyamcs.protobuf.timeline.CreateItemRequest
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<CreateItemRequest>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsProperties
(String key) Additional properties used by yamcs-web to render this itemboolean
Activity definition associated to this item.Activity definition associated to this item.static CreateItemRequest
Item descriptioncom.google.protobuf.ByteString
Item descriptionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Duration
Item duration.com.google.protobuf.DurationOrBuilder
Item duration.If this item is part of a group, this is the group identifiercom.google.protobuf.ByteString
If this item is part of a group, this is the group identifierYamcs instance namecom.google.protobuf.ByteString
Yamcs instance namegetName()
Item namecom.google.protobuf.ByteString
Item namecom.google.protobuf.Parser<CreateItemRequest>
Deprecated.int
Additional 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 above).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 above).int
Item sourcecom.google.protobuf.ByteString
Item sourcecom.google.protobuf.Timestamp
getStart()
Item start.com.google.protobuf.TimestampOrBuilder
Item start.getTags
(int index) Tagscom.google.protobuf.ByteString
getTagsBytes
(int index) Tagsint
Tagscom.google.protobuf.ProtocolStringList
TagsgetType()
Item typefinal com.google.protobuf.UnknownFieldSet
boolean
Activity definition associated to this item.boolean
Item descriptionboolean
Item duration.boolean
If this item is part of a group, this is the group identifierint
hashCode()
boolean
Yamcs instance nameboolean
hasName()
Item nameboolean
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 above).boolean
Item sourceboolean
hasStart()
Item start.boolean
hasType()
Item typeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) final boolean
static CreateItemRequest.Builder
static CreateItemRequest.Builder
newBuilder
(CreateItemRequest prototype) protected CreateItemRequest.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CreateItemRequest
parseDelimitedFrom
(InputStream input) static CreateItemRequest
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequest
parseFrom
(byte[] data) static CreateItemRequest
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequest
parseFrom
(com.google.protobuf.ByteString data) static CreateItemRequest
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequest
parseFrom
(com.google.protobuf.CodedInputStream input) static CreateItemRequest
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequest
parseFrom
(InputStream input) static CreateItemRequest
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateItemRequest
parseFrom
(ByteBuffer data) static CreateItemRequest
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CreateItemRequest>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;
- Specified by:
hasInstance
in interfaceCreateItemRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;
- Specified by:
getInstance
in interfaceCreateItemRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceCreateItemRequestOrBuilder
- Returns:
- The bytes for instance.
-
hasSource
public boolean hasSource()Item source
optional string source = 2;
- Specified by:
hasSource
in interfaceCreateItemRequestOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
Item source
optional string source = 2;
- Specified by:
getSource
in interfaceCreateItemRequestOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()Item source
optional string source = 2;
- Specified by:
getSourceBytes
in interfaceCreateItemRequestOrBuilder
- Returns:
- The bytes for source.
-
hasName
public boolean hasName()Item name
optional string name = 3;
- Specified by:
hasName
in interfaceCreateItemRequestOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Item name
optional string name = 3;
- Specified by:
getName
in interfaceCreateItemRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Item name
optional string name = 3;
- Specified by:
getNameBytes
in interfaceCreateItemRequestOrBuilder
- Returns:
- The bytes for name.
-
hasType
public boolean hasType()Item type
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
- Specified by:
hasType
in interfaceCreateItemRequestOrBuilder
- Returns:
- Whether the type field is set.
-
getType
Item type
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;
- Specified by:
getType
in 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:
hasStart
in 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:
getStart
in 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:
getStartOrBuilder
in interfaceCreateItemRequestOrBuilder
-
hasDuration
public boolean hasDuration()Item duration. Applies also if ``relativeTime`` is specified
optional .google.protobuf.Duration duration = 6;
- Specified by:
hasDuration
in 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:
getDuration
in 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:
getDurationOrBuilder
in interfaceCreateItemRequestOrBuilder
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Tags
repeated string tags = 7;
- Specified by:
getTagsList
in interfaceCreateItemRequestOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Tags
repeated string tags = 7;
- Specified by:
getTagsCount
in interfaceCreateItemRequestOrBuilder
- Returns:
- The count of tags.
-
getTags
Tags
repeated string tags = 7;
- Specified by:
getTags
in 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:
getTagsBytes
in 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:
hasGroupId
in 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:
getGroupId
in 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:
getGroupIdBytes
in 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 above).
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
- Specified by:
hasRelativeTime
in 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 above).
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
- Specified by:
getRelativeTime
in 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 above).
optional .yamcs.protobuf.timeline.RelativeTime relativeTime = 9;
- Specified by:
getRelativeTimeOrBuilder
in interfaceCreateItemRequestOrBuilder
-
hasDescription
public boolean hasDescription()Item description
optional string description = 10;
- Specified by:
hasDescription
in interfaceCreateItemRequestOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
Item description
optional string description = 10;
- Specified by:
getDescription
in interfaceCreateItemRequestOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Item description
optional string description = 10;
- Specified by:
getDescriptionBytes
in interfaceCreateItemRequestOrBuilder
- Returns:
- The bytes for description.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:CreateItemRequestOrBuilder
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;
- Specified by:
getPropertiesCount
in interfaceCreateItemRequestOrBuilder
-
containsProperties
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;
- Specified by:
containsProperties
in interfaceCreateItemRequestOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()
instead.- Specified by:
getProperties
in interfaceCreateItemRequestOrBuilder
-
getPropertiesMap
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;
- Specified by:
getPropertiesMap
in interfaceCreateItemRequestOrBuilder
-
getPropertiesOrDefault
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;
- Specified by:
getPropertiesOrDefault
in interfaceCreateItemRequestOrBuilder
-
getPropertiesOrThrow
Additional properties used by yamcs-web to render this item
map<string, string> properties = 11;
- Specified by:
getPropertiesOrThrow
in 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:
hasActivityDefinition
in 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:
getActivityDefinition
in 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:
getActivityDefinitionOrBuilder
in interfaceCreateItemRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateItemRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-