Interface ItemInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ItemInfo
,ItemInfo.Builder
public interface ItemInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEtag()
Opaque string value representing a hash of the contents of this file, if available.com.google.protobuf.ByteString
Opaque string value representing a hash of the contents of this file, if available.getPath()
The path to the item that this message describes.com.google.protobuf.ByteString
The path to the item that this message describes.long
getSize()
If this message represents a file, this is the size of the file.getType()
The type of this item, either file or directory.int
The type of this item, either file or directory.boolean
hasEtag()
Opaque string value representing a hash of the contents of this file, if available.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPath
String getPath()The path to the item that this message describes.
string path = 1;
- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()The path to the item that this message describes.
string path = 1;
- Returns:
- The bytes for path.
-
getTypeValue
int getTypeValue()The type of this item, either file or directory.
.io.deephaven.proto.backplane.grpc.ItemType type = 2;
- Returns:
- The enum numeric value on the wire for type.
-
getType
ItemType getType()The type of this item, either file or directory.
.io.deephaven.proto.backplane.grpc.ItemType type = 2;
- Returns:
- The type.
-
getSize
long getSize()If this message represents a file, this is the size of the file.
sint64 size = 3 [jstype = JS_STRING];
- Returns:
- The size.
-
hasEtag
boolean hasEtag()Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Returns:
- Whether the etag field is set.
-
getEtag
String getEtag()Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Returns:
- The bytes for etag.
-