Class ItemInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
io.deephaven.proto.backplane.grpc.ItemInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ItemInfoOrBuilder
,Cloneable
- Enclosing class:
- ItemInfo
public static final class ItemInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
implements ItemInfoOrBuilder
Protobuf type
io.deephaven.proto.backplane.grpc.ItemInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Opaque string value representing a hash of the contents of this file, if available.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The path to the item that this message describes.If this message represents a file, this is the size of the file.The type of this item, either file or directory.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getEtag()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final ItemInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Opaque string value representing a hash of the contents of this file, if available.setEtagBytes
(com.google.protobuf.ByteString value) Opaque string value representing a hash of the contents of this file, if available.The path to the item that this message describes.setPathBytes
(com.google.protobuf.ByteString value) The path to the item that this message describes.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSize
(long value) If this message represents a file, this is the size of the file.The type of this item, either file or directory.setTypeValue
(int value) The type of this item, either file or directory.final ItemInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ItemInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
setField
public ItemInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
setRepeatedField
public ItemInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
addRepeatedField
public ItemInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ItemInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
mergeFrom
public ItemInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ItemInfo.Builder>
- Throws:
IOException
-
getPath
The path to the item that this message describes.
string path = 1;
- Specified by:
getPath
in interfaceItemInfoOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()The path to the item that this message describes.
string path = 1;
- Specified by:
getPathBytes
in interfaceItemInfoOrBuilder
- Returns:
- The bytes for path.
-
setPath
The path to the item that this message describes.
string path = 1;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
The path to the item that this message describes.
string path = 1;
- Returns:
- This builder for chaining.
-
setPathBytes
The path to the item that this message describes.
string path = 1;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()The type of this item, either file or directory.
.io.deephaven.proto.backplane.grpc.ItemType type = 2;
- Specified by:
getTypeValue
in interfaceItemInfoOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of this item, either file or directory.
.io.deephaven.proto.backplane.grpc.ItemType type = 2;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of this item, either file or directory.
.io.deephaven.proto.backplane.grpc.ItemType type = 2;
- Specified by:
getType
in interfaceItemInfoOrBuilder
- Returns:
- The type.
-
setType
The type of this item, either file or directory.
.io.deephaven.proto.backplane.grpc.ItemType type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of this item, either file or directory.
.io.deephaven.proto.backplane.grpc.ItemType type = 2;
- Returns:
- This builder for chaining.
-
getSize
public long getSize()If this message represents a file, this is the size of the file.
sint64 size = 3 [jstype = JS_STRING];
- Specified by:
getSize
in interfaceItemInfoOrBuilder
- Returns:
- The size.
-
setSize
If this message represents a file, this is the size of the file.
sint64 size = 3 [jstype = JS_STRING];
- Parameters:
value
- The size to set.- Returns:
- This builder for chaining.
-
clearSize
If this message represents a file, this is the size of the file.
sint64 size = 3 [jstype = JS_STRING];
- Returns:
- This builder for chaining.
-
hasEtag
public boolean hasEtag()Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Specified by:
hasEtag
in interfaceItemInfoOrBuilder
- Returns:
- Whether the etag field is set.
-
getEtag
Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Specified by:
getEtag
in interfaceItemInfoOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Specified by:
getEtagBytes
in interfaceItemInfoOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Returns:
- This builder for chaining.
-
setEtagBytes
Opaque string value representing a hash of the contents of this file, if available.
optional string etag = 4;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ItemInfo.Builder>
-