Package org.opensearch.protobufs
Class IntervalsQuery.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<IntervalsQuery.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<IntervalsQuery.Builder>
org.opensearch.protobufs.IntervalsQuery.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,IntervalsQueryOrBuilder
- Enclosing class:
IntervalsQuery
public static final class IntervalsQuery.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<IntervalsQuery.Builder>
implements IntervalsQueryOrBuilder
Protobuf type
IntervalsQuery-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().IntervalsAllOf all_of = 4 [json_name = "allOf"];.IntervalsAnyOf any_of = 5 [json_name = "anyOf"];optional float boost = 2 [json_name = "boost"];string field = 1 [json_name = "field"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];.IntervalsMatch match = 7 [json_name = "match"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .IntervalsPrefix prefix = 8 [json_name = "prefix"];.IntervalsWildcard wildcard = 9 [json_name = "wildcard"];optional string x_name = 3 [json_name = "xName"];clone()getAllOf().IntervalsAllOf all_of = 4 [json_name = "allOf"];.IntervalsAllOf all_of = 4 [json_name = "allOf"];.IntervalsAllOf all_of = 4 [json_name = "allOf"];getAnyOf().IntervalsAnyOf any_of = 5 [json_name = "anyOf"];.IntervalsAnyOf any_of = 5 [json_name = "anyOf"];.IntervalsAnyOf any_of = 5 [json_name = "anyOf"];floatgetBoost()optional float boost = 2 [json_name = "boost"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetField()string field = 1 [json_name = "field"];com.google.protobuf.ByteStringstring field = 1 [json_name = "field"];getFuzzy().IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];getMatch().IntervalsMatch match = 7 [json_name = "match"];.IntervalsMatch match = 7 [json_name = "match"];.IntervalsMatch match = 7 [json_name = "match"];.IntervalsPrefix prefix = 8 [json_name = "prefix"];.IntervalsPrefix prefix = 8 [json_name = "prefix"];.IntervalsPrefix prefix = 8 [json_name = "prefix"];.IntervalsWildcard wildcard = 9 [json_name = "wildcard"];.IntervalsWildcard wildcard = 9 [json_name = "wildcard"];.IntervalsWildcard wildcard = 9 [json_name = "wildcard"];getXName()optional string x_name = 3 [json_name = "xName"];com.google.protobuf.ByteStringoptional string x_name = 3 [json_name = "xName"];booleanhasAllOf().IntervalsAllOf all_of = 4 [json_name = "allOf"];booleanhasAnyOf().IntervalsAnyOf any_of = 5 [json_name = "anyOf"];booleanhasBoost()optional float boost = 2 [json_name = "boost"];booleanhasFuzzy().IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];booleanhasMatch().IntervalsMatch match = 7 [json_name = "match"];boolean.IntervalsPrefix prefix = 8 [json_name = "prefix"];boolean.IntervalsWildcard wildcard = 9 [json_name = "wildcard"];booleanhasXName()optional string x_name = 3 [json_name = "xName"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAllOf(IntervalsAllOf value) .IntervalsAllOf all_of = 4 [json_name = "allOf"];mergeAnyOf(IntervalsAnyOf value) .IntervalsAnyOf any_of = 5 [json_name = "anyOf"];mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(IntervalsQuery other) mergeFuzzy(IntervalsFuzzy value) .IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];mergeMatch(IntervalsMatch value) .IntervalsMatch match = 7 [json_name = "match"];mergePrefix(IntervalsPrefix value) .IntervalsPrefix prefix = 8 [json_name = "prefix"];final IntervalsQuery.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeWildcard(IntervalsWildcard value) .IntervalsWildcard wildcard = 9 [json_name = "wildcard"];setAllOf(IntervalsAllOf value) .IntervalsAllOf all_of = 4 [json_name = "allOf"];setAllOf(IntervalsAllOf.Builder builderForValue) .IntervalsAllOf all_of = 4 [json_name = "allOf"];setAnyOf(IntervalsAnyOf value) .IntervalsAnyOf any_of = 5 [json_name = "anyOf"];setAnyOf(IntervalsAnyOf.Builder builderForValue) .IntervalsAnyOf any_of = 5 [json_name = "anyOf"];setBoost(float value) optional float boost = 2 [json_name = "boost"];string field = 1 [json_name = "field"];setFieldBytes(com.google.protobuf.ByteString value) string field = 1 [json_name = "field"];setFuzzy(IntervalsFuzzy value) .IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];setFuzzy(IntervalsFuzzy.Builder builderForValue) .IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];setMatch(IntervalsMatch value) .IntervalsMatch match = 7 [json_name = "match"];setMatch(IntervalsMatch.Builder builderForValue) .IntervalsMatch match = 7 [json_name = "match"];setPrefix(IntervalsPrefix value) .IntervalsPrefix prefix = 8 [json_name = "prefix"];setPrefix(IntervalsPrefix.Builder builderForValue) .IntervalsPrefix prefix = 8 [json_name = "prefix"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final IntervalsQuery.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWildcard(IntervalsWildcard value) .IntervalsWildcard wildcard = 9 [json_name = "wildcard"];setWildcard(IntervalsWildcard.Builder builderForValue) .IntervalsWildcard wildcard = 9 [json_name = "wildcard"];optional string x_name = 3 [json_name = "xName"];setXNameBytes(com.google.protobuf.ByteString value) optional string x_name = 3 [json_name = "xName"];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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IntervalsQuery.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<IntervalsQuery.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<IntervalsQuery.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<IntervalsQuery.Builder>
-
setField
public IntervalsQuery.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<IntervalsQuery.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IntervalsQuery.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IntervalsQuery.Builder>
-
setRepeatedField
public IntervalsQuery.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<IntervalsQuery.Builder>
-
addRepeatedField
public IntervalsQuery.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<IntervalsQuery.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IntervalsQuery.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IntervalsQuery.Builder>
-
mergeFrom
public IntervalsQuery.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<IntervalsQuery.Builder>- Throws:
IOException
-
getIntervalsQueryCase
- Specified by:
getIntervalsQueryCasein interfaceIntervalsQueryOrBuilder
-
clearIntervalsQuery
-
getField
string field = 1 [json_name = "field"];- Specified by:
getFieldin interfaceIntervalsQueryOrBuilder- Returns:
- The field.
-
getFieldBytes
public com.google.protobuf.ByteString getFieldBytes()string field = 1 [json_name = "field"];- Specified by:
getFieldBytesin interfaceIntervalsQueryOrBuilder- Returns:
- The bytes for field.
-
setField
string field = 1 [json_name = "field"];- Parameters:
value- The field to set.- Returns:
- This builder for chaining.
-
clearField
string field = 1 [json_name = "field"];- Returns:
- This builder for chaining.
-
setFieldBytes
string field = 1 [json_name = "field"];- Parameters:
value- The bytes for field to set.- Returns:
- This builder for chaining.
-
hasBoost
public boolean hasBoost()optional float boost = 2 [json_name = "boost"];- Specified by:
hasBoostin interfaceIntervalsQueryOrBuilder- Returns:
- Whether the boost field is set.
-
getBoost
public float getBoost()optional float boost = 2 [json_name = "boost"];- Specified by:
getBoostin interfaceIntervalsQueryOrBuilder- Returns:
- The boost.
-
setBoost
optional float boost = 2 [json_name = "boost"];- Parameters:
value- The boost to set.- Returns:
- This builder for chaining.
-
clearBoost
optional float boost = 2 [json_name = "boost"];- Returns:
- This builder for chaining.
-
hasXName
public boolean hasXName()optional string x_name = 3 [json_name = "xName"];- Specified by:
hasXNamein interfaceIntervalsQueryOrBuilder- Returns:
- Whether the xName field is set.
-
getXName
optional string x_name = 3 [json_name = "xName"];- Specified by:
getXNamein interfaceIntervalsQueryOrBuilder- Returns:
- The xName.
-
getXNameBytes
public com.google.protobuf.ByteString getXNameBytes()optional string x_name = 3 [json_name = "xName"];- Specified by:
getXNameBytesin interfaceIntervalsQueryOrBuilder- Returns:
- The bytes for xName.
-
setXName
optional string x_name = 3 [json_name = "xName"];- Parameters:
value- The xName to set.- Returns:
- This builder for chaining.
-
clearXName
optional string x_name = 3 [json_name = "xName"];- Returns:
- This builder for chaining.
-
setXNameBytes
optional string x_name = 3 [json_name = "xName"];- Parameters:
value- The bytes for xName to set.- Returns:
- This builder for chaining.
-
hasAllOf
public boolean hasAllOf().IntervalsAllOf all_of = 4 [json_name = "allOf"];- Specified by:
hasAllOfin interfaceIntervalsQueryOrBuilder- Returns:
- Whether the allOf field is set.
-
getAllOf
.IntervalsAllOf all_of = 4 [json_name = "allOf"];- Specified by:
getAllOfin interfaceIntervalsQueryOrBuilder- Returns:
- The allOf.
-
setAllOf
.IntervalsAllOf all_of = 4 [json_name = "allOf"]; -
setAllOf
.IntervalsAllOf all_of = 4 [json_name = "allOf"]; -
mergeAllOf
.IntervalsAllOf all_of = 4 [json_name = "allOf"]; -
clearAllOf
.IntervalsAllOf all_of = 4 [json_name = "allOf"]; -
getAllOfBuilder
.IntervalsAllOf all_of = 4 [json_name = "allOf"]; -
getAllOfOrBuilder
.IntervalsAllOf all_of = 4 [json_name = "allOf"];- Specified by:
getAllOfOrBuilderin interfaceIntervalsQueryOrBuilder
-
hasAnyOf
public boolean hasAnyOf().IntervalsAnyOf any_of = 5 [json_name = "anyOf"];- Specified by:
hasAnyOfin interfaceIntervalsQueryOrBuilder- Returns:
- Whether the anyOf field is set.
-
getAnyOf
.IntervalsAnyOf any_of = 5 [json_name = "anyOf"];- Specified by:
getAnyOfin interfaceIntervalsQueryOrBuilder- Returns:
- The anyOf.
-
setAnyOf
.IntervalsAnyOf any_of = 5 [json_name = "anyOf"]; -
setAnyOf
.IntervalsAnyOf any_of = 5 [json_name = "anyOf"]; -
mergeAnyOf
.IntervalsAnyOf any_of = 5 [json_name = "anyOf"]; -
clearAnyOf
.IntervalsAnyOf any_of = 5 [json_name = "anyOf"]; -
getAnyOfBuilder
.IntervalsAnyOf any_of = 5 [json_name = "anyOf"]; -
getAnyOfOrBuilder
.IntervalsAnyOf any_of = 5 [json_name = "anyOf"];- Specified by:
getAnyOfOrBuilderin interfaceIntervalsQueryOrBuilder
-
hasFuzzy
public boolean hasFuzzy().IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];- Specified by:
hasFuzzyin interfaceIntervalsQueryOrBuilder- Returns:
- Whether the fuzzy field is set.
-
getFuzzy
.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];- Specified by:
getFuzzyin interfaceIntervalsQueryOrBuilder- Returns:
- The fuzzy.
-
setFuzzy
.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"]; -
setFuzzy
.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"]; -
mergeFuzzy
.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"]; -
clearFuzzy
.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"]; -
getFuzzyBuilder
.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"]; -
getFuzzyOrBuilder
.IntervalsFuzzy fuzzy = 6 [json_name = "fuzzy"];- Specified by:
getFuzzyOrBuilderin interfaceIntervalsQueryOrBuilder
-
hasMatch
public boolean hasMatch().IntervalsMatch match = 7 [json_name = "match"];- Specified by:
hasMatchin interfaceIntervalsQueryOrBuilder- Returns:
- Whether the match field is set.
-
getMatch
.IntervalsMatch match = 7 [json_name = "match"];- Specified by:
getMatchin interfaceIntervalsQueryOrBuilder- Returns:
- The match.
-
setMatch
.IntervalsMatch match = 7 [json_name = "match"]; -
setMatch
.IntervalsMatch match = 7 [json_name = "match"]; -
mergeMatch
.IntervalsMatch match = 7 [json_name = "match"]; -
clearMatch
.IntervalsMatch match = 7 [json_name = "match"]; -
getMatchBuilder
.IntervalsMatch match = 7 [json_name = "match"]; -
getMatchOrBuilder
.IntervalsMatch match = 7 [json_name = "match"];- Specified by:
getMatchOrBuilderin interfaceIntervalsQueryOrBuilder
-
hasPrefix
public boolean hasPrefix().IntervalsPrefix prefix = 8 [json_name = "prefix"];- Specified by:
hasPrefixin interfaceIntervalsQueryOrBuilder- Returns:
- Whether the prefix field is set.
-
getPrefix
.IntervalsPrefix prefix = 8 [json_name = "prefix"];- Specified by:
getPrefixin interfaceIntervalsQueryOrBuilder- Returns:
- The prefix.
-
setPrefix
.IntervalsPrefix prefix = 8 [json_name = "prefix"]; -
setPrefix
.IntervalsPrefix prefix = 8 [json_name = "prefix"]; -
mergePrefix
.IntervalsPrefix prefix = 8 [json_name = "prefix"]; -
clearPrefix
.IntervalsPrefix prefix = 8 [json_name = "prefix"]; -
getPrefixBuilder
.IntervalsPrefix prefix = 8 [json_name = "prefix"]; -
getPrefixOrBuilder
.IntervalsPrefix prefix = 8 [json_name = "prefix"];- Specified by:
getPrefixOrBuilderin interfaceIntervalsQueryOrBuilder
-
hasWildcard
public boolean hasWildcard().IntervalsWildcard wildcard = 9 [json_name = "wildcard"];- Specified by:
hasWildcardin interfaceIntervalsQueryOrBuilder- Returns:
- Whether the wildcard field is set.
-
getWildcard
.IntervalsWildcard wildcard = 9 [json_name = "wildcard"];- Specified by:
getWildcardin interfaceIntervalsQueryOrBuilder- Returns:
- The wildcard.
-
setWildcard
.IntervalsWildcard wildcard = 9 [json_name = "wildcard"]; -
setWildcard
.IntervalsWildcard wildcard = 9 [json_name = "wildcard"]; -
mergeWildcard
.IntervalsWildcard wildcard = 9 [json_name = "wildcard"]; -
clearWildcard
.IntervalsWildcard wildcard = 9 [json_name = "wildcard"]; -
getWildcardBuilder
.IntervalsWildcard wildcard = 9 [json_name = "wildcard"]; -
getWildcardOrBuilder
.IntervalsWildcard wildcard = 9 [json_name = "wildcard"];- Specified by:
getWildcardOrBuilderin interfaceIntervalsQueryOrBuilder
-
setUnknownFields
public final IntervalsQuery.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IntervalsQuery.Builder>
-
mergeUnknownFields
public final IntervalsQuery.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IntervalsQuery.Builder>
-