public static final class Elastic.Sort.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder> implements Elastic.SortOrBuilder
see: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.htmlProtobuf type
dstore.elastic.Sort| Modifier and Type | Method and Description |
|---|---|
Elastic.Sort.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Elastic.Sort |
build() |
Elastic.Sort |
buildPartial() |
Elastic.Sort.Builder |
clear() |
Elastic.Sort.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Elastic.Sort.Builder |
clearFieldSort()
optional .dstore.elastic.Sort.FieldSort field_sort = 1; |
Elastic.Sort.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Elastic.Sort.Builder |
clearScoreSort()
optional .dstore.elastic.Sort.ScoreSort score_sort = 2; |
Elastic.Sort.Builder |
clearSortBy() |
Elastic.Sort.Builder |
clone() |
Elastic.Sort |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Elastic.Sort.FieldSort |
getFieldSort()
optional .dstore.elastic.Sort.FieldSort field_sort = 1; |
Elastic.Sort.FieldSort.Builder |
getFieldSortBuilder()
optional .dstore.elastic.Sort.FieldSort field_sort = 1; |
Elastic.Sort.FieldSortOrBuilder |
getFieldSortOrBuilder()
optional .dstore.elastic.Sort.FieldSort field_sort = 1; |
Elastic.Sort.ScoreSort |
getScoreSort()
optional .dstore.elastic.Sort.ScoreSort score_sort = 2; |
Elastic.Sort.ScoreSort.Builder |
getScoreSortBuilder()
optional .dstore.elastic.Sort.ScoreSort score_sort = 2; |
Elastic.Sort.ScoreSortOrBuilder |
getScoreSortOrBuilder()
optional .dstore.elastic.Sort.ScoreSort score_sort = 2; |
Elastic.Sort.SortByCase |
getSortByCase() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Elastic.Sort.Builder |
mergeFieldSort(Elastic.Sort.FieldSort value)
optional .dstore.elastic.Sort.FieldSort field_sort = 1; |
Elastic.Sort.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Elastic.Sort.Builder |
mergeFrom(Elastic.Sort other) |
Elastic.Sort.Builder |
mergeFrom(com.google.protobuf.Message other) |
Elastic.Sort.Builder |
mergeScoreSort(Elastic.Sort.ScoreSort value)
optional .dstore.elastic.Sort.ScoreSort score_sort = 2; |
Elastic.Sort.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Elastic.Sort.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Elastic.Sort.Builder |
setFieldSort(Elastic.Sort.FieldSort.Builder builderForValue)
optional .dstore.elastic.Sort.FieldSort field_sort = 1; |
Elastic.Sort.Builder |
setFieldSort(Elastic.Sort.FieldSort value)
optional .dstore.elastic.Sort.FieldSort field_sort = 1; |
Elastic.Sort.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Elastic.Sort.Builder |
setScoreSort(Elastic.Sort.ScoreSort.Builder builderForValue)
optional .dstore.elastic.Sort.ScoreSort score_sort = 2; |
Elastic.Sort.Builder |
setScoreSort(Elastic.Sort.ScoreSort value)
optional .dstore.elastic.Sort.ScoreSort score_sort = 2; |
Elastic.Sort.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Elastic.Sort build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Elastic.Sort buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Elastic.Sort.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder mergeFrom(Elastic.Sort other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public Elastic.Sort.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Elastic.Sort.Builder>java.io.IOExceptionpublic Elastic.Sort.SortByCase getSortByCase()
getSortByCase in interface Elastic.SortOrBuilderpublic Elastic.Sort.Builder clearSortBy()
public Elastic.Sort.FieldSort getFieldSort()
optional .dstore.elastic.Sort.FieldSort field_sort = 1;getFieldSort in interface Elastic.SortOrBuilderpublic Elastic.Sort.Builder setFieldSort(Elastic.Sort.FieldSort value)
optional .dstore.elastic.Sort.FieldSort field_sort = 1;public Elastic.Sort.Builder setFieldSort(Elastic.Sort.FieldSort.Builder builderForValue)
optional .dstore.elastic.Sort.FieldSort field_sort = 1;public Elastic.Sort.Builder mergeFieldSort(Elastic.Sort.FieldSort value)
optional .dstore.elastic.Sort.FieldSort field_sort = 1;public Elastic.Sort.Builder clearFieldSort()
optional .dstore.elastic.Sort.FieldSort field_sort = 1;public Elastic.Sort.FieldSort.Builder getFieldSortBuilder()
optional .dstore.elastic.Sort.FieldSort field_sort = 1;public Elastic.Sort.FieldSortOrBuilder getFieldSortOrBuilder()
optional .dstore.elastic.Sort.FieldSort field_sort = 1;getFieldSortOrBuilder in interface Elastic.SortOrBuilderpublic Elastic.Sort.ScoreSort getScoreSort()
optional .dstore.elastic.Sort.ScoreSort score_sort = 2;getScoreSort in interface Elastic.SortOrBuilderpublic Elastic.Sort.Builder setScoreSort(Elastic.Sort.ScoreSort value)
optional .dstore.elastic.Sort.ScoreSort score_sort = 2;public Elastic.Sort.Builder setScoreSort(Elastic.Sort.ScoreSort.Builder builderForValue)
optional .dstore.elastic.Sort.ScoreSort score_sort = 2;public Elastic.Sort.Builder mergeScoreSort(Elastic.Sort.ScoreSort value)
optional .dstore.elastic.Sort.ScoreSort score_sort = 2;public Elastic.Sort.Builder clearScoreSort()
optional .dstore.elastic.Sort.ScoreSort score_sort = 2;public Elastic.Sort.ScoreSort.Builder getScoreSortBuilder()
optional .dstore.elastic.Sort.ScoreSort score_sort = 2;public Elastic.Sort.ScoreSortOrBuilder getScoreSortOrBuilder()
optional .dstore.elastic.Sort.ScoreSort score_sort = 2;getScoreSortOrBuilder in interface Elastic.SortOrBuilderpublic final Elastic.Sort.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>public final Elastic.Sort.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Elastic.Sort.Builder>