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
Items **********************
Protobuf typeyamcs.protobuf.timeline.CreateItemRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateItemRequest.BuilderItems **********************-
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
-
-
Field Summary
Fields Modifier and Type Field Description static intDURATION_FIELD_NUMBERstatic intGROUPID_FIELD_NUMBERstatic intINSTANCE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<CreateItemRequest>PARSERDeprecated.static intRELATIVETIME_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intSTART_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static CreateItemRequestgetDefaultInstance()CreateItemRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetDuration()item duration.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()item duration.StringgetGroupId()if this item is part of a group, this is the group identifiercom.google.protobuf.ByteStringgetGroupIdBytes()if this item is part of a group, this is the group identifierStringgetInstance()Yamcs instance namecom.google.protobuf.ByteStringgetInstanceBytes()Yamcs instance nameStringgetName()Item namecom.google.protobuf.ByteStringgetNameBytes()Item namecom.google.protobuf.Parser<CreateItemRequest>getParserForType()RelativeTimegetRelativeTime()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)RelativeTimeOrBuildergetRelativeTimeOrBuilder()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)intgetSerializedSize()StringgetSource()Item sourcecom.google.protobuf.ByteStringgetSourceBytes()Item sourcecom.google.protobuf.TimestampgetStart()item start.com.google.protobuf.TimestampOrBuildergetStartOrBuilder()item start.StringgetTags(int index)tagscom.google.protobuf.ByteStringgetTagsBytes(int index)tagsintgetTagsCount()tagscom.google.protobuf.ProtocolStringListgetTagsList()tagsTimelineItemTypegetType()Type of itemcom.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDuration()item duration.booleanhasGroupId()if this item is part of a group, this is the group identifierinthashCode()booleanhasInstance()Yamcs instance namebooleanhasName()Item namebooleanhasRelativeTime()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)booleanhasSource()Item sourcebooleanhasStart()item start.booleanhasType()Type of itemprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CreateItemRequest.BuildernewBuilder()static CreateItemRequest.BuildernewBuilder(CreateItemRequest prototype)CreateItemRequest.BuildernewBuilderForType()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()CreateItemRequest.BuildertoBuilder()voidwriteTo(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, internalGetMapField, 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
-
-
-
-
Field Detail
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GROUPID_FIELD_NUMBER
public static final int GROUPID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATIVETIME_FIELD_NUMBER
public static final int RELATIVETIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<CreateItemRequest> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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()
-
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
public String 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
public String 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
public String 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()
Type of item
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;- Specified by:
hasTypein interfaceCreateItemRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
public TimelineItemType getType()
Type of item
optional .yamcs.protobuf.timeline.TimelineItemType type = 4;- Specified by:
getTypein interfaceCreateItemRequestOrBuilder- Returns:
- The type.
-
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.
-
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.
-
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
public String getTags(int index)
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
public String 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 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
public RelativeTime 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.
-
getRelativeTimeOrBuilder
public RelativeTimeOrBuilder 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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static CreateItemRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CreateItemRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CreateItemRequest parseDelimitedFrom(InputStream input) throws IOException
- 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
public CreateItemRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CreateItemRequest.Builder newBuilder()
-
newBuilder
public static CreateItemRequest.Builder newBuilder(CreateItemRequest prototype)
-
toBuilder
public CreateItemRequest.Builder 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
public static CreateItemRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CreateItemRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<CreateItemRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CreateItemRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-