Package io.qdrant.client.grpc
Class SnapshotsService.SnapshotDescription.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SnapshotsService.SnapshotDescription.Builder>
io.qdrant.client.grpc.SnapshotsService.SnapshotDescription.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,SnapshotsService.SnapshotDescriptionOrBuilder
,Cloneable
- Enclosing class:
- SnapshotsService.SnapshotDescription
public static final class SnapshotsService.SnapshotDescription.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SnapshotsService.SnapshotDescription.Builder>
implements SnapshotsService.SnapshotDescriptionOrBuilder
Protobuf type
qdrant.SnapshotDescription
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Creation time of the snapshotclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Name of the snapshotclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Size of the snapshot in bytesclone()
com.google.protobuf.Timestamp
Creation time of the snapshotcom.google.protobuf.Timestamp.Builder
Creation time of the snapshotcom.google.protobuf.TimestampOrBuilder
Creation time of the snapshotstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getName()
Name of the snapshotcom.google.protobuf.ByteString
Name of the snapshotlong
getSize()
Size of the snapshot in bytesboolean
Creation time of the snapshotprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeCreationTime
(com.google.protobuf.Timestamp value) Creation time of the snapshotmergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCreationTime
(com.google.protobuf.Timestamp value) Creation time of the snapshotsetCreationTime
(com.google.protobuf.Timestamp.Builder builderForValue) Creation time of the snapshotName of the snapshotsetNameBytes
(com.google.protobuf.ByteString value) Name of the snapshotsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSize
(long value) Size of the snapshot in bytessetUnknownFields
(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, internalGetMutableMapField, 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<SnapshotsService.SnapshotDescription.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<SnapshotsService.SnapshotDescription.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<SnapshotsService.SnapshotDescription.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<SnapshotsService.SnapshotDescription.Builder>
-
setField
public SnapshotsService.SnapshotDescription.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<SnapshotsService.SnapshotDescription.Builder>
-
clearField
public SnapshotsService.SnapshotDescription.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotsService.SnapshotDescription.Builder>
-
clearOneof
public SnapshotsService.SnapshotDescription.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotsService.SnapshotDescription.Builder>
-
setRepeatedField
public SnapshotsService.SnapshotDescription.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<SnapshotsService.SnapshotDescription.Builder>
-
addRepeatedField
public SnapshotsService.SnapshotDescription.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<SnapshotsService.SnapshotDescription.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SnapshotsService.SnapshotDescription.Builder>
-
mergeFrom
public SnapshotsService.SnapshotDescription.Builder mergeFrom(SnapshotsService.SnapshotDescription other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotsService.SnapshotDescription.Builder>
-
mergeFrom
public SnapshotsService.SnapshotDescription.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<SnapshotsService.SnapshotDescription.Builder>
- Throws:
IOException
-
getName
Name of the snapshot
string name = 1;
- Specified by:
getName
in interfaceSnapshotsService.SnapshotDescriptionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the snapshot
string name = 1;
- Specified by:
getNameBytes
in interfaceSnapshotsService.SnapshotDescriptionOrBuilder
- Returns:
- The bytes for name.
-
setName
Name of the snapshot
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the snapshot
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public SnapshotsService.SnapshotDescription.Builder setNameBytes(com.google.protobuf.ByteString value) Name of the snapshot
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreationTime
public boolean hasCreationTime()Creation time of the snapshot
.google.protobuf.Timestamp creation_time = 2;
- Specified by:
hasCreationTime
in interfaceSnapshotsService.SnapshotDescriptionOrBuilder
- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public com.google.protobuf.Timestamp getCreationTime()Creation time of the snapshot
.google.protobuf.Timestamp creation_time = 2;
- Specified by:
getCreationTime
in interfaceSnapshotsService.SnapshotDescriptionOrBuilder
- Returns:
- The creationTime.
-
setCreationTime
public SnapshotsService.SnapshotDescription.Builder setCreationTime(com.google.protobuf.Timestamp value) Creation time of the snapshot
.google.protobuf.Timestamp creation_time = 2;
-
setCreationTime
public SnapshotsService.SnapshotDescription.Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue) Creation time of the snapshot
.google.protobuf.Timestamp creation_time = 2;
-
mergeCreationTime
public SnapshotsService.SnapshotDescription.Builder mergeCreationTime(com.google.protobuf.Timestamp value) Creation time of the snapshot
.google.protobuf.Timestamp creation_time = 2;
-
clearCreationTime
Creation time of the snapshot
.google.protobuf.Timestamp creation_time = 2;
-
getCreationTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()Creation time of the snapshot
.google.protobuf.Timestamp creation_time = 2;
-
getCreationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()Creation time of the snapshot
.google.protobuf.Timestamp creation_time = 2;
- Specified by:
getCreationTimeOrBuilder
in interfaceSnapshotsService.SnapshotDescriptionOrBuilder
-
getSize
public long getSize()Size of the snapshot in bytes
int64 size = 3;
- Specified by:
getSize
in interfaceSnapshotsService.SnapshotDescriptionOrBuilder
- Returns:
- The size.
-
setSize
Size of the snapshot in bytes
int64 size = 3;
- Parameters:
value
- The size to set.- Returns:
- This builder for chaining.
-
clearSize
Size of the snapshot in bytes
int64 size = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SnapshotsService.SnapshotDescription.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotsService.SnapshotDescription.Builder>
-
mergeUnknownFields
public final SnapshotsService.SnapshotDescription.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SnapshotsService.SnapshotDescription.Builder>
-