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
Modifier and TypeClassDescriptionstatic final class
CUSTOMISABLE FILE TRANSFER OPTIONSstatic enum
Protobuf enumyamcs.protobuf.filetransfer.FileTransferOption.Type
static final class
Protobuf typeyamcs.protobuf.filetransfer.FileTransferOption.Value
static interface
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 com.google.protobuf.Parser<FileTransferOption>
Deprecated.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
boolean
Whether a custom field is needed when using the drop-down menuPlaceholder for fields and label for checkboxescom.google.protobuf.ByteString
Placeholder for fields and label for checkboxesDefault value for the fieldcom.google.protobuf.ByteString
Default value for the fieldstatic FileTransferOption
Help text shown on hovercom.google.protobuf.ByteString
Help text shown on hoverstatic final com.google.protobuf.Descriptors.Descriptor
getName()
Identifiercom.google.protobuf.ByteString
Identifiercom.google.protobuf.Parser<FileTransferOption>
int
getTitle()
Title for the optioncom.google.protobuf.ByteString
Title for the optiongetType()
Option typefinal com.google.protobuf.UnknownFieldSet
getValues
(int index) Values for potential dropdown menuint
Values for potential dropdown menuValues for potential dropdown menugetValuesOrBuilder
(int index) Values for potential dropdown menuList<? extends FileTransferOption.ValueOrBuilder>
Values for potential dropdown menuboolean
Whether a custom field is needed when using the drop-down menuboolean
Placeholder for fields and label for checkboxesboolean
Default value for the fieldboolean
Help text shown on hoverint
hashCode()
boolean
hasName()
Identifierboolean
hasTitle()
Title for the optionboolean
hasType()
Option typeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static FileTransferOption.Builder
static FileTransferOption.Builder
newBuilder
(FileTransferOption prototype) protected FileTransferOption.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FileTransferOption
parseDelimitedFrom
(InputStream input) static FileTransferOption
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOption
parseFrom
(byte[] data) static FileTransferOption
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOption
parseFrom
(com.google.protobuf.ByteString data) static FileTransferOption
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOption
parseFrom
(com.google.protobuf.CodedInputStream input) static FileTransferOption
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOption
parseFrom
(InputStream input) static FileTransferOption
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileTransferOption
parseFrom
(ByteBuffer data) static FileTransferOption
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FileTransferOption>
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, 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
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
-
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:
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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()Identifier
optional string name = 1;
- Specified by:
hasName
in interfaceFileTransferOptionOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Identifier
optional string name = 1;
- Specified by:
getName
in interfaceFileTransferOptionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier
optional string name = 1;
- Specified by:
getNameBytes
in interfaceFileTransferOptionOrBuilder
- Returns:
- The bytes for name.
-
hasType
public boolean hasType()Option type
optional .yamcs.protobuf.filetransfer.FileTransferOption.Type type = 2;
- Specified by:
hasType
in interfaceFileTransferOptionOrBuilder
- Returns:
- Whether the type field is set.
-
getType
Option type
optional .yamcs.protobuf.filetransfer.FileTransferOption.Type type = 2;
- Specified by:
getType
in interfaceFileTransferOptionOrBuilder
- Returns:
- The type.
-
hasTitle
public boolean hasTitle()Title for the option
optional string title = 3;
- Specified by:
hasTitle
in interfaceFileTransferOptionOrBuilder
- Returns:
- Whether the title field is set.
-
getTitle
Title for the option
optional string title = 3;
- Specified by:
getTitle
in interfaceFileTransferOptionOrBuilder
- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Title for the option
optional string title = 3;
- Specified by:
getTitleBytes
in interfaceFileTransferOptionOrBuilder
- Returns:
- The bytes for title.
-
hasDescription
public boolean hasDescription()Help text shown on hover
optional string description = 4;
- Specified by:
hasDescription
in interfaceFileTransferOptionOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
Help text shown on hover
optional string description = 4;
- Specified by:
getDescription
in interfaceFileTransferOptionOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Help text shown on hover
optional string description = 4;
- Specified by:
getDescriptionBytes
in interfaceFileTransferOptionOrBuilder
- Returns:
- The bytes for description.
-
hasAssociatedText
public boolean hasAssociatedText()Placeholder for fields and label for checkboxes
optional string associatedText = 5;
- Specified by:
hasAssociatedText
in interfaceFileTransferOptionOrBuilder
- Returns:
- Whether the associatedText field is set.
-
getAssociatedText
Placeholder for fields and label for checkboxes
optional string associatedText = 5;
- Specified by:
getAssociatedText
in interfaceFileTransferOptionOrBuilder
- Returns:
- The associatedText.
-
getAssociatedTextBytes
public com.google.protobuf.ByteString getAssociatedTextBytes()Placeholder for fields and label for checkboxes
optional string associatedText = 5;
- Specified by:
getAssociatedTextBytes
in interfaceFileTransferOptionOrBuilder
- Returns:
- The bytes for associatedText.
-
hasDefault
public boolean hasDefault()Default value for the field
optional string default = 6;
- Specified by:
hasDefault
in interfaceFileTransferOptionOrBuilder
- Returns:
- Whether the default field is set.
-
getDefault
Default value for the field
optional string default = 6;
- Specified by:
getDefault
in interfaceFileTransferOptionOrBuilder
- Returns:
- The default.
-
getDefaultBytes
public com.google.protobuf.ByteString getDefaultBytes()Default value for the field
optional string default = 6;
- Specified by:
getDefaultBytes
in interfaceFileTransferOptionOrBuilder
- Returns:
- The bytes for default.
-
getValuesList
Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;
- Specified by:
getValuesList
in interfaceFileTransferOptionOrBuilder
-
getValuesOrBuilderList
Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;
- Specified by:
getValuesOrBuilderList
in interfaceFileTransferOptionOrBuilder
-
getValuesCount
public int getValuesCount()Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;
- Specified by:
getValuesCount
in interfaceFileTransferOptionOrBuilder
-
getValues
Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;
- Specified by:
getValues
in interfaceFileTransferOptionOrBuilder
-
getValuesOrBuilder
Values for potential dropdown menu
repeated .yamcs.protobuf.filetransfer.FileTransferOption.Value values = 7;
- Specified by:
getValuesOrBuilder
in interfaceFileTransferOptionOrBuilder
-
hasAllowCustomOption
public boolean hasAllowCustomOption()Whether a custom field is needed when using the drop-down menu
optional bool allowCustomOption = 8;
- Specified by:
hasAllowCustomOption
in 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:
getAllowCustomOption
in interfaceFileTransferOptionOrBuilder
- Returns:
- The allowCustomOption.
-
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 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:
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 FileTransferOption.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
-