Package io.milvus.grpc
Class GetImportStateResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
- io.milvus.grpc.GetImportStateResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetImportStateResponseOrBuilder,Cloneable
- Enclosing class:
- GetImportStateResponse
public static final class GetImportStateResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder> implements GetImportStateResponseOrBuilder
Protobuf typemilvus.proto.milvus.GetImportStateResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetImportStateResponse.BuilderaddAllIdList(Iterable<? extends Long> values)auto generated ids if the primary key is autoidGetImportStateResponse.BuilderaddAllInfos(Iterable<? extends KeyValuePair> values)more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuilderaddAllSegmentIds(Iterable<? extends Long> values)a list of segment IDs created by the import task.GetImportStateResponse.BuilderaddIdList(long value)auto generated ids if the primary key is autoidGetImportStateResponse.BuilderaddInfos(int index, KeyValuePair value)more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuilderaddInfos(int index, KeyValuePair.Builder builderForValue)more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuilderaddInfos(KeyValuePair value)more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuilderaddInfos(KeyValuePair.Builder builderForValue)more information about the task, progress percent, file path, failed reason, etc.KeyValuePair.BuilderaddInfosBuilder()more information about the task, progress percent, file path, failed reason, etc.KeyValuePair.BuilderaddInfosBuilder(int index)more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetImportStateResponse.BuilderaddSegmentIds(long value)a list of segment IDs created by the import task.GetImportStateResponsebuild()GetImportStateResponsebuildPartial()GetImportStateResponse.Builderclear()GetImportStateResponse.BuilderclearCollectionId()collection ID of the import task.GetImportStateResponse.BuilderclearCreateTs()timestamp when the import task is created.GetImportStateResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GetImportStateResponse.BuilderclearId()id of an import taskGetImportStateResponse.BuilderclearIdList()auto generated ids if the primary key is autoidGetImportStateResponse.BuilderclearInfos()more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GetImportStateResponse.BuilderclearRowCount()if the task is finished, this value is how many rows are imported.GetImportStateResponse.BuilderclearSegmentIds()a list of segment IDs created by the import task.GetImportStateResponse.BuilderclearState()is this import task finished or notGetImportStateResponse.BuilderclearStatus().milvus.proto.common.Status status = 1;GetImportStateResponse.Builderclone()longgetCollectionId()collection ID of the import task.longgetCreateTs()timestamp when the import task is created.GetImportStateResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetId()id of an import tasklonggetIdList(int index)auto generated ids if the primary key is autoidintgetIdListCount()auto generated ids if the primary key is autoidList<Long>getIdListList()auto generated ids if the primary key is autoidKeyValuePairgetInfos(int index)more information about the task, progress percent, file path, failed reason, etc.KeyValuePair.BuildergetInfosBuilder(int index)more information about the task, progress percent, file path, failed reason, etc.List<KeyValuePair.Builder>getInfosBuilderList()more information about the task, progress percent, file path, failed reason, etc.intgetInfosCount()more information about the task, progress percent, file path, failed reason, etc.List<KeyValuePair>getInfosList()more information about the task, progress percent, file path, failed reason, etc.KeyValuePairOrBuildergetInfosOrBuilder(int index)more information about the task, progress percent, file path, failed reason, etc.List<? extends KeyValuePairOrBuilder>getInfosOrBuilderList()more information about the task, progress percent, file path, failed reason, etc.longgetRowCount()if the task is finished, this value is how many rows are imported.longgetSegmentIds(int index)a list of segment IDs created by the import task.intgetSegmentIdsCount()a list of segment IDs created by the import task.List<Long>getSegmentIdsList()a list of segment IDs created by the import task.ImportStategetState()is this import task finished or notintgetStateValue()is this import task finished or notStatusgetStatus().milvus.proto.common.Status status = 1;Status.BuildergetStatusBuilder().milvus.proto.common.Status status = 1;StatusOrBuildergetStatusOrBuilder().milvus.proto.common.Status status = 1;booleanhasStatus().milvus.proto.common.Status status = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GetImportStateResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetImportStateResponse.BuildermergeFrom(com.google.protobuf.Message other)GetImportStateResponse.BuildermergeFrom(GetImportStateResponse other)GetImportStateResponse.BuildermergeStatus(Status value).milvus.proto.common.Status status = 1;GetImportStateResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetImportStateResponse.BuilderremoveInfos(int index)more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuildersetCollectionId(long value)collection ID of the import task.GetImportStateResponse.BuildersetCreateTs(long value)timestamp when the import task is created.GetImportStateResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetImportStateResponse.BuildersetId(long value)id of an import taskGetImportStateResponse.BuildersetIdList(int index, long value)auto generated ids if the primary key is autoidGetImportStateResponse.BuildersetInfos(int index, KeyValuePair value)more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuildersetInfos(int index, KeyValuePair.Builder builderForValue)more information about the task, progress percent, file path, failed reason, etc.GetImportStateResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GetImportStateResponse.BuildersetRowCount(long value)if the task is finished, this value is how many rows are imported.GetImportStateResponse.BuildersetSegmentIds(int index, long value)a list of segment IDs created by the import task.GetImportStateResponse.BuildersetState(ImportState value)is this import task finished or notGetImportStateResponse.BuildersetStateValue(int value)is this import task finished or notGetImportStateResponse.BuildersetStatus(Status value).milvus.proto.common.Status status = 1;GetImportStateResponse.BuildersetStatus(Status.Builder builderForValue).milvus.proto.common.Status status = 1;GetImportStateResponse.BuildersetUnknownFields(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
-
-
-
-
Method Detail
-
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.Builder<GetImportStateResponse.Builder>
-
clear
public GetImportStateResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
getDefaultInstanceForType
public GetImportStateResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetImportStateResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetImportStateResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetImportStateResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
setField
public GetImportStateResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
clearField
public GetImportStateResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
clearOneof
public GetImportStateResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
setRepeatedField
public GetImportStateResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
addRepeatedField
public GetImportStateResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
mergeFrom
public GetImportStateResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetImportStateResponse.Builder>
-
mergeFrom
public GetImportStateResponse.Builder mergeFrom(GetImportStateResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
mergeFrom
public GetImportStateResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetImportStateResponse.Builder>- Throws:
IOException
-
hasStatus
public boolean hasStatus()
.milvus.proto.common.Status status = 1;- Specified by:
hasStatusin interfaceGetImportStateResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public Status getStatus()
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceGetImportStateResponseOrBuilder- Returns:
- The status.
-
setStatus
public GetImportStateResponse.Builder setStatus(Status value)
.milvus.proto.common.Status status = 1;
-
setStatus
public GetImportStateResponse.Builder setStatus(Status.Builder builderForValue)
.milvus.proto.common.Status status = 1;
-
mergeStatus
public GetImportStateResponse.Builder mergeStatus(Status value)
.milvus.proto.common.Status status = 1;
-
clearStatus
public GetImportStateResponse.Builder clearStatus()
.milvus.proto.common.Status status = 1;
-
getStatusBuilder
public Status.Builder getStatusBuilder()
.milvus.proto.common.Status status = 1;
-
getStatusOrBuilder
public StatusOrBuilder getStatusOrBuilder()
.milvus.proto.common.Status status = 1;- Specified by:
getStatusOrBuilderin interfaceGetImportStateResponseOrBuilder
-
getStateValue
public int getStateValue()
is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Specified by:
getStateValuein interfaceGetImportStateResponseOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public GetImportStateResponse.Builder setStateValue(int value)
is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public ImportState getState()
is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Specified by:
getStatein interfaceGetImportStateResponseOrBuilder- Returns:
- The state.
-
setState
public GetImportStateResponse.Builder setState(ImportState value)
is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public GetImportStateResponse.Builder clearState()
is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Returns:
- This builder for chaining.
-
getRowCount
public long getRowCount()
if the task is finished, this value is how many rows are imported. if the task is not finished, this value is how many rows are parsed. return 0 if failed.
int64 row_count = 3;- Specified by:
getRowCountin interfaceGetImportStateResponseOrBuilder- Returns:
- The rowCount.
-
setRowCount
public GetImportStateResponse.Builder setRowCount(long value)
if the task is finished, this value is how many rows are imported. if the task is not finished, this value is how many rows are parsed. return 0 if failed.
int64 row_count = 3;- Parameters:
value- The rowCount to set.- Returns:
- This builder for chaining.
-
clearRowCount
public GetImportStateResponse.Builder clearRowCount()
if the task is finished, this value is how many rows are imported. if the task is not finished, this value is how many rows are parsed. return 0 if failed.
int64 row_count = 3;- Returns:
- This builder for chaining.
-
getIdListList
public List<Long> getIdListList()
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Specified by:
getIdListListin interfaceGetImportStateResponseOrBuilder- Returns:
- A list containing the idList.
-
getIdListCount
public int getIdListCount()
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Specified by:
getIdListCountin interfaceGetImportStateResponseOrBuilder- Returns:
- The count of idList.
-
getIdList
public long getIdList(int index)
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Specified by:
getIdListin interfaceGetImportStateResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The idList at the given index.
-
setIdList
public GetImportStateResponse.Builder setIdList(int index, long value)
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Parameters:
index- The index to set the value at.value- The idList to set.- Returns:
- This builder for chaining.
-
addIdList
public GetImportStateResponse.Builder addIdList(long value)
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Parameters:
value- The idList to add.- Returns:
- This builder for chaining.
-
addAllIdList
public GetImportStateResponse.Builder addAllIdList(Iterable<? extends Long> values)
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Parameters:
values- The idList to add.- Returns:
- This builder for chaining.
-
clearIdList
public GetImportStateResponse.Builder clearIdList()
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Returns:
- This builder for chaining.
-
getInfosList
public List<KeyValuePair> getInfosList()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosListin interfaceGetImportStateResponseOrBuilder
-
getInfosCount
public int getInfosCount()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosCountin interfaceGetImportStateResponseOrBuilder
-
getInfos
public KeyValuePair getInfos(int index)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosin interfaceGetImportStateResponseOrBuilder
-
setInfos
public GetImportStateResponse.Builder setInfos(int index, KeyValuePair value)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
setInfos
public GetImportStateResponse.Builder setInfos(int index, KeyValuePair.Builder builderForValue)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
addInfos
public GetImportStateResponse.Builder addInfos(KeyValuePair value)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
addInfos
public GetImportStateResponse.Builder addInfos(int index, KeyValuePair value)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
addInfos
public GetImportStateResponse.Builder addInfos(KeyValuePair.Builder builderForValue)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
addInfos
public GetImportStateResponse.Builder addInfos(int index, KeyValuePair.Builder builderForValue)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
addAllInfos
public GetImportStateResponse.Builder addAllInfos(Iterable<? extends KeyValuePair> values)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
clearInfos
public GetImportStateResponse.Builder clearInfos()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
removeInfos
public GetImportStateResponse.Builder removeInfos(int index)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
getInfosBuilder
public KeyValuePair.Builder getInfosBuilder(int index)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
getInfosOrBuilder
public KeyValuePairOrBuilder getInfosOrBuilder(int index)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosOrBuilderin interfaceGetImportStateResponseOrBuilder
-
getInfosOrBuilderList
public List<? extends KeyValuePairOrBuilder> getInfosOrBuilderList()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosOrBuilderListin interfaceGetImportStateResponseOrBuilder
-
addInfosBuilder
public KeyValuePair.Builder addInfosBuilder()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
addInfosBuilder
public KeyValuePair.Builder addInfosBuilder(int index)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
getInfosBuilderList
public List<KeyValuePair.Builder> getInfosBuilderList()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;
-
getId
public long getId()
id of an import task
int64 id = 6;- Specified by:
getIdin interfaceGetImportStateResponseOrBuilder- Returns:
- The id.
-
setId
public GetImportStateResponse.Builder setId(long value)
id of an import task
int64 id = 6;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public GetImportStateResponse.Builder clearId()
id of an import task
int64 id = 6;- Returns:
- This builder for chaining.
-
getCollectionId
public long getCollectionId()
collection ID of the import task.
int64 collection_id = 7;- Specified by:
getCollectionIdin interfaceGetImportStateResponseOrBuilder- Returns:
- The collectionId.
-
setCollectionId
public GetImportStateResponse.Builder setCollectionId(long value)
collection ID of the import task.
int64 collection_id = 7;- Parameters:
value- The collectionId to set.- Returns:
- This builder for chaining.
-
clearCollectionId
public GetImportStateResponse.Builder clearCollectionId()
collection ID of the import task.
int64 collection_id = 7;- Returns:
- This builder for chaining.
-
getSegmentIdsList
public List<Long> getSegmentIdsList()
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Specified by:
getSegmentIdsListin interfaceGetImportStateResponseOrBuilder- Returns:
- A list containing the segmentIds.
-
getSegmentIdsCount
public int getSegmentIdsCount()
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Specified by:
getSegmentIdsCountin interfaceGetImportStateResponseOrBuilder- Returns:
- The count of segmentIds.
-
getSegmentIds
public long getSegmentIds(int index)
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Specified by:
getSegmentIdsin interfaceGetImportStateResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The segmentIds at the given index.
-
setSegmentIds
public GetImportStateResponse.Builder setSegmentIds(int index, long value)
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Parameters:
index- The index to set the value at.value- The segmentIds to set.- Returns:
- This builder for chaining.
-
addSegmentIds
public GetImportStateResponse.Builder addSegmentIds(long value)
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Parameters:
value- The segmentIds to add.- Returns:
- This builder for chaining.
-
addAllSegmentIds
public GetImportStateResponse.Builder addAllSegmentIds(Iterable<? extends Long> values)
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Parameters:
values- The segmentIds to add.- Returns:
- This builder for chaining.
-
clearSegmentIds
public GetImportStateResponse.Builder clearSegmentIds()
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Returns:
- This builder for chaining.
-
getCreateTs
public long getCreateTs()
timestamp when the import task is created.
int64 create_ts = 9;- Specified by:
getCreateTsin interfaceGetImportStateResponseOrBuilder- Returns:
- The createTs.
-
setCreateTs
public GetImportStateResponse.Builder setCreateTs(long value)
timestamp when the import task is created.
int64 create_ts = 9;- Parameters:
value- The createTs to set.- Returns:
- This builder for chaining.
-
clearCreateTs
public GetImportStateResponse.Builder clearCreateTs()
timestamp when the import task is created.
int64 create_ts = 9;- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetImportStateResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
mergeUnknownFields
public final GetImportStateResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetImportStateResponse.Builder>
-
-