Package org.opensearch.protobufs
Class NestedSortValue.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NestedSortValue.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NestedSortValue.Builder>
org.opensearch.protobufs.NestedSortValue.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,NestedSortValueOrBuilder
- Enclosing class:
NestedSortValue
public static final class NestedSortValue.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<NestedSortValue.Builder>
implements NestedSortValueOrBuilder
Protobuf type
org.opensearch.protobufs.NestedSortValue-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];optional int32 max_children = 3 [json_name = "maxChildren"];optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) string path = 1 [json_name = "path"];clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];intoptional int32 max_children = 3 [json_name = "maxChildren"];optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];getPath()string path = 1 [json_name = "path"];com.google.protobuf.ByteStringstring path = 1 [json_name = "path"];booleanoptional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];booleanoptional int32 max_children = 3 [json_name = "maxChildren"];booleanoptional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFilter(QueryContainer value) optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(NestedSortValue other) mergeNested(NestedSortValue value) optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];final NestedSortValue.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFilter(QueryContainer value) optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];setFilter(QueryContainer.Builder builderForValue) optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];setMaxChildren(int value) optional int32 max_children = 3 [json_name = "maxChildren"];setNested(NestedSortValue value) optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];setNested(NestedSortValue.Builder builderForValue) optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];string path = 1 [json_name = "path"];setPathBytes(com.google.protobuf.ByteString value) string path = 1 [json_name = "path"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final NestedSortValue.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, 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<NestedSortValue.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<NestedSortValue.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<NestedSortValue.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<NestedSortValue.Builder>
-
setField
public NestedSortValue.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<NestedSortValue.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NestedSortValue.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NestedSortValue.Builder>
-
setRepeatedField
public NestedSortValue.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<NestedSortValue.Builder>
-
addRepeatedField
public NestedSortValue.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<NestedSortValue.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NestedSortValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NestedSortValue.Builder>
-
mergeFrom
public NestedSortValue.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<NestedSortValue.Builder>- Throws:
IOException
-
getPath
string path = 1 [json_name = "path"];- Specified by:
getPathin interfaceNestedSortValueOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()string path = 1 [json_name = "path"];- Specified by:
getPathBytesin interfaceNestedSortValueOrBuilder- Returns:
- The bytes for path.
-
setPath
string path = 1 [json_name = "path"];- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
string path = 1 [json_name = "path"];- Returns:
- This builder for chaining.
-
setPathBytes
string path = 1 [json_name = "path"];- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasFilter
public boolean hasFilter()optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];- Specified by:
hasFilterin interfaceNestedSortValueOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];- Specified by:
getFilterin interfaceNestedSortValueOrBuilder- Returns:
- The filter.
-
setFilter
optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"]; -
setFilter
optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"]; -
mergeFilter
optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"]; -
clearFilter
optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"]; -
getFilterBuilder
optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"]; -
getFilterOrBuilder
optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];- Specified by:
getFilterOrBuilderin interfaceNestedSortValueOrBuilder
-
hasMaxChildren
public boolean hasMaxChildren()optional int32 max_children = 3 [json_name = "maxChildren"];- Specified by:
hasMaxChildrenin interfaceNestedSortValueOrBuilder- Returns:
- Whether the maxChildren field is set.
-
getMaxChildren
public int getMaxChildren()optional int32 max_children = 3 [json_name = "maxChildren"];- Specified by:
getMaxChildrenin interfaceNestedSortValueOrBuilder- Returns:
- The maxChildren.
-
setMaxChildren
optional int32 max_children = 3 [json_name = "maxChildren"];- Parameters:
value- The maxChildren to set.- Returns:
- This builder for chaining.
-
clearMaxChildren
optional int32 max_children = 3 [json_name = "maxChildren"];- Returns:
- This builder for chaining.
-
hasNested
public boolean hasNested()optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];- Specified by:
hasNestedin interfaceNestedSortValueOrBuilder- Returns:
- Whether the nested field is set.
-
getNested
optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];- Specified by:
getNestedin interfaceNestedSortValueOrBuilder- Returns:
- The nested.
-
setNested
optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"]; -
setNested
optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"]; -
mergeNested
optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"]; -
clearNested
optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"]; -
getNestedBuilder
optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"]; -
getNestedOrBuilder
optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];- Specified by:
getNestedOrBuilderin interfaceNestedSortValueOrBuilder
-
setUnknownFields
public final NestedSortValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NestedSortValue.Builder>
-
mergeUnknownFields
public final NestedSortValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NestedSortValue.Builder>
-