java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.RemoteFile
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,RemoteFileOrBuilder
public final class RemoteFile
extends com.google.protobuf.GeneratedMessageV3
implements RemoteFileOrBuilder
Protobuf type
yamcs.protobuf.filetransfer.RemoteFile- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.filetransfer.RemoteFileNested 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<RemoteFile> Deprecated.static 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 TypeMethodDescriptionbooleanstatic RemoteFilestatic final com.google.protobuf.Descriptors.DescriptorOptional display name.com.google.protobuf.ByteStringOptional display name.com.google.protobuf.StructgetExtra()Implementation-specific fieldscom.google.protobuf.StructOrBuilderImplementation-specific fieldsbooleanTrue if the path represents a directorycom.google.protobuf.TimestampModification timecom.google.protobuf.TimestampOrBuilderModification timegetName()File identifier Typically, a remote file path, or a filename in case of a flat file table.com.google.protobuf.ByteStringFile identifier Typically, a remote file path, or a filename in case of a flat file table.com.google.protobuf.Parser<RemoteFile> intlonggetSize()File sizefinal com.google.protobuf.UnknownFieldSetbooleanOptional display name.booleanhasExtra()Implementation-specific fieldsinthashCode()booleanTrue if the path represents a directorybooleanModification timebooleanhasName()File identifier Typically, a remote file path, or a filename in case of a flat file table.booleanhasSize()File sizeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RemoteFile.Builderstatic RemoteFile.BuildernewBuilder(RemoteFile prototype) protected RemoteFile.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RemoteFileparseDelimitedFrom(InputStream input) static RemoteFileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteFileparseFrom(byte[] data) static RemoteFileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteFileparseFrom(com.google.protobuf.ByteString data) static RemoteFileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteFileparseFrom(com.google.protobuf.CodedInputStream input) static RemoteFileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteFileparseFrom(InputStream input) static RemoteFileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RemoteFileparseFrom(ByteBuffer data) static RemoteFileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RemoteFile> 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:
-
DISPLAYNAME_FIELD_NUMBER
public static final int DISPLAYNAME_FIELD_NUMBER- See Also:
-
ISDIRECTORY_FIELD_NUMBER
public static final int ISDIRECTORY_FIELD_NUMBER- See Also:
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER- See Also:
-
MODIFIED_FIELD_NUMBER
public static final int MODIFIED_FIELD_NUMBER- See Also:
-
EXTRA_FIELD_NUMBER
public static final int EXTRA_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()File identifier Typically, a remote file path, or a filename in case of a flat file table.
optional string name = 1;- Specified by:
hasNamein interfaceRemoteFileOrBuilder- Returns:
- Whether the name field is set.
-
getName
File identifier Typically, a remote file path, or a filename in case of a flat file table.
optional string name = 1;- Specified by:
getNamein interfaceRemoteFileOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()File identifier Typically, a remote file path, or a filename in case of a flat file table.
optional string name = 1;- Specified by:
getNameBytesin interfaceRemoteFileOrBuilder- Returns:
- The bytes for name.
-
hasDisplayName
public boolean hasDisplayName()Optional display name. Can be used when the ``name`` field contains information that should be hidden from the user.
optional string displayName = 5;- Specified by:
hasDisplayNamein interfaceRemoteFileOrBuilder- Returns:
- Whether the displayName field is set.
-
getDisplayName
Optional display name. Can be used when the ``name`` field contains information that should be hidden from the user.
optional string displayName = 5;- Specified by:
getDisplayNamein interfaceRemoteFileOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional display name. Can be used when the ``name`` field contains information that should be hidden from the user.
optional string displayName = 5;- Specified by:
getDisplayNameBytesin interfaceRemoteFileOrBuilder- Returns:
- The bytes for displayName.
-
hasIsDirectory
public boolean hasIsDirectory()True if the path represents a directory
optional bool isDirectory = 2;- Specified by:
hasIsDirectoryin interfaceRemoteFileOrBuilder- Returns:
- Whether the isDirectory field is set.
-
getIsDirectory
public boolean getIsDirectory()True if the path represents a directory
optional bool isDirectory = 2;- Specified by:
getIsDirectoryin interfaceRemoteFileOrBuilder- Returns:
- The isDirectory.
-
hasSize
public boolean hasSize()File size
optional uint64 size = 3;- Specified by:
hasSizein interfaceRemoteFileOrBuilder- Returns:
- Whether the size field is set.
-
getSize
public long getSize()File size
optional uint64 size = 3;- Specified by:
getSizein interfaceRemoteFileOrBuilder- Returns:
- The size.
-
hasModified
public boolean hasModified()Modification time
optional .google.protobuf.Timestamp modified = 4;- Specified by:
hasModifiedin interfaceRemoteFileOrBuilder- Returns:
- Whether the modified field is set.
-
getModified
public com.google.protobuf.Timestamp getModified()Modification time
optional .google.protobuf.Timestamp modified = 4;- Specified by:
getModifiedin interfaceRemoteFileOrBuilder- Returns:
- The modified.
-
getModifiedOrBuilder
public com.google.protobuf.TimestampOrBuilder getModifiedOrBuilder()Modification time
optional .google.protobuf.Timestamp modified = 4;- Specified by:
getModifiedOrBuilderin interfaceRemoteFileOrBuilder
-
hasExtra
public boolean hasExtra()Implementation-specific fields
optional .google.protobuf.Struct extra = 6;- Specified by:
hasExtrain interfaceRemoteFileOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Implementation-specific fields
optional .google.protobuf.Struct extra = 6;- Specified by:
getExtrain interfaceRemoteFileOrBuilder- Returns:
- The extra.
-
getExtraOrBuilder
public com.google.protobuf.StructOrBuilder getExtraOrBuilder()Implementation-specific fields
optional .google.protobuf.Struct extra = 6;- Specified by:
getExtraOrBuilderin interfaceRemoteFileOrBuilder
-
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 RemoteFile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteFile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteFile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteFile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RemoteFile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RemoteFile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RemoteFile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RemoteFile 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 RemoteFile.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
-