Package org.yamcs.protobuf
Class FileTransferOption
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.FileTransferOption
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,FileTransferOptionOrBuilder
public final class FileTransferOption
extends com.google.protobuf.GeneratedMessageV3
implements FileTransferOptionOrBuilder
CUSTOMISABLE FILE TRANSFER OPTIONSProtobuf type
yamcs.protobuf.filetransfer.FileTransferOption- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCUSTOMISABLE FILE TRANSFER OPTIONSstatic enumProtobuf enumyamcs.protobuf.filetransfer.FileTransferOption.Typestatic final classProtobuf typeyamcs.protobuf.filetransfer.FileTransferOption.Valuestatic interfaceNested 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 com.google.protobuf.Parser<FileTransferOption>Deprecated.static 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 TypeMethodDescriptionbooleanbooleanWhether a custom field is needed when using the drop-down menuPlaceholder for fields and label for checkboxescom.google.protobuf.ByteStringPlaceholder for fields and label for checkboxesDefault value for the fieldcom.google.protobuf.ByteStringDefault value for the fieldstatic FileTransferOptionHelp text shown on hovercom.google.protobuf.ByteStringHelp text shown on hoverstatic final com.google.protobuf.Descriptors.DescriptorgetName()Identifiercom.google.protobuf.ByteStringIdentifiercom.google.protobuf.Parser<FileTransferOption>intgetTitle()Title for the optioncom.google.protobuf.ByteStringTitle for the optiongetType()Option typefinal com.google.protobuf.UnknownFieldSetgetValues(int index) Values for potential dropdown menuintValues for potential dropdown menuValues for potential dropdown menugetValuesOrBuilder(int index) Values for potential dropdown menuList<? extends FileTransferOption.ValueOrBuilder>Values for potential dropdown menubooleanWhether a custom field is needed when using the drop-down menubooleanPlaceholder for fields and label for checkboxesbooleanDefault value for the fieldbooleanHelp text shown on hoverinthashCode()booleanhasName()IdentifierbooleanhasTitle()Title for the optionbooleanhasType()Option typeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic FileTransferOption.Builderstatic FileTransferOption.BuildernewBuilder(FileTransferOption prototype) protected FileTransferOption.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FileTransferOptionparseDelimitedFrom(InputStream input) static FileTransferOptionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOptionparseFrom(byte[] data) static FileTransferOptionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOptionparseFrom(com.google.protobuf.ByteString data) static FileTransferOptionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOptionparseFrom(com.google.protobuf.CodedInputStream input) static FileTransferOptionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOptionparseFrom(InputStream input) static FileTransferOptionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOptionparseFrom(ByteBuffer data) static FileTransferOptionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FileTransferOption>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, internalGetMapField, 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
ASSOCIATEDTEXT_FIELD_NUMBER
public static final int ASSOCIATEDTEXT_FIELD_NUMBER- See Also:
-
DEFAULT_FIELD_NUMBER
public static final int DEFAULT_FIELD_NUMBER- See Also:
-
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER- See Also:
-
ALLOWCUSTOMOPTION_FIELD_NUMBER
public static final int ALLOWCUSTOMOPTION_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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()Identifier
optional string name = 1;- Specified by:
hasNamein interfaceFileTransferOptionOrBuilder- Returns:
- Whether the name field is set.
-
getName
Identifier
optional string name = 1;- Specified by:
getNamein interfaceFileTransferOptionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier
optional string name = 1;- Specified by:
getNameBytesin interfaceFileTransferOptionOrBuilder- Returns:
- The bytes for name.
-
hasType
public boolean hasType()Option type
optional .yamcs.protobuf.filetransfer.FileTransferOption.Type type = 2;- Specified by:
hasTypein interfaceFileTransferOptionOrBuilder- Returns:
- Whether the type field is set.
-
getType
Option type
optional .yamcs.protobuf.filetransfer.FileTransferOption.Type type = 2;- Specified by:
getTypein interfaceFileTransferOptionOrBuilder- Returns:
- The type.
-
hasTitle
public boolean hasTitle()Title for the option
optional string title = 3;- Specified by:
hasTitlein interfaceFileTransferOptionOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
Title for the option
optional string title = 3;- Specified by:
getTitlein interfaceFileTransferOptionOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Title for the option
optional string title = 3;- Specified by:
getTitleBytesin interfaceFileTransferOptionOrBuilder- Returns:
- The bytes for title.
-
hasDescription
public boolean hasDescription()Help text shown on hover
optional string description = 4;- Specified by:
hasDescriptionin interfaceFileTransferOptionOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Help text shown on hover
optional string description = 4;- Specified by:
getDescriptionin interfaceFileTransferOptionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Help text shown on hover
optional string description = 4;- Specified by:
getDescriptionBytesin interfaceFileTransferOptionOrBuilder- Returns:
- The bytes for description.
-
hasAssociatedText
public boolean hasAssociatedText()Placeholder for fields and label for checkboxes
optional string associatedText = 5;- Specified by:
hasAssociatedTextin interfaceFileTransferOptionOrBuilder- Returns:
- Whether the associatedText field is set.
-
getAssociatedText
Placeholder for fields and label for checkboxes
optional string associatedText = 5;- Specified by:
getAssociatedTextin interfaceFileTransferOptionOrBuilder- Returns:
- The associatedText.
-
getAssociatedTextBytes
public com.google.protobuf.ByteString getAssociatedTextBytes()Placeholder for fields and label for checkboxes
optional string associatedText = 5;- Specified by:
getAssociatedTextBytesin interfaceFileTransferOptionOrBuilder- Returns:
- The bytes for associatedText.
-
hasDefault
public boolean hasDefault()Default value for the field
optional string default = 6;- Specified by:
hasDefaultin interfaceFileTransferOptionOrBuilder- Returns:
- Whether the default field is set.
-
getDefault
Default value for the field
optional string default = 6;- Specified by:
getDefaultin interfaceFileTransferOptionOrBuilder- Returns:
- The default.
-
getDefaultBytes
public com.google.protobuf.ByteString getDefaultBytes()Default value for the field
optional string default = 6;- Specified by:
getDefaultBytesin interfaceFileTransferOptionOrBuilder- Returns:
- The bytes for default.
-
getValuesList
Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;- Specified by:
getValuesListin interfaceFileTransferOptionOrBuilder
-
getValuesOrBuilderList
Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;- Specified by:
getValuesOrBuilderListin interfaceFileTransferOptionOrBuilder
-
getValuesCount
public int getValuesCount()Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;- Specified by:
getValuesCountin interfaceFileTransferOptionOrBuilder
-
getValues
Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;- Specified by:
getValuesin interfaceFileTransferOptionOrBuilder
-
getValuesOrBuilder
Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;- Specified by:
getValuesOrBuilderin interfaceFileTransferOptionOrBuilder
-
hasAllowCustomOption
public boolean hasAllowCustomOption()Whether a custom field is needed when using the drop-down menu
optional bool allowCustomOption = 8;- Specified by:
hasAllowCustomOptionin interfaceFileTransferOptionOrBuilder- Returns:
- Whether the allowCustomOption field is set.
-
getAllowCustomOption
public boolean getAllowCustomOption()Whether a custom field is needed when using the drop-down menu
optional bool allowCustomOption = 8;- Specified by:
getAllowCustomOptionin interfaceFileTransferOptionOrBuilder- Returns:
- The allowCustomOption.
-
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 FileTransferOption parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileTransferOption parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileTransferOption parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileTransferOption parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileTransferOption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileTransferOption parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FileTransferOption parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FileTransferOption parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FileTransferOption parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FileTransferOption 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 FileTransferOption.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
-