Package org.opensearch.protobufs
Class FetchProfile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FetchProfile.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<FetchProfile.Builder>
org.opensearch.protobufs.FetchProfile.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,FetchProfileOrBuilder
- Enclosing class:
FetchProfile
public static final class FetchProfile.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<FetchProfile.Builder>
implements FetchProfileOrBuilder
Protobuf type
FetchProfile-
Method Summary
Modifier and TypeMethodDescriptionaddAllChildren(Iterable<? extends FetchProfile> values) repeated .FetchProfile children = 6 [json_name = "children"];addChildren(int index, FetchProfile value) repeated .FetchProfile children = 6 [json_name = "children"];addChildren(int index, FetchProfile.Builder builderForValue) repeated .FetchProfile children = 6 [json_name = "children"];addChildren(FetchProfile value) repeated .FetchProfile children = 6 [json_name = "children"];addChildren(FetchProfile.Builder builderForValue) repeated .FetchProfile children = 6 [json_name = "children"];repeated .FetchProfile children = 6 [json_name = "children"];addChildrenBuilder(int index) repeated .FetchProfile children = 6 [json_name = "children"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];repeated .FetchProfile children = 6 [json_name = "children"];optional .FetchProfileDebug debug = 5 [json_name = "debug"];optional string description = 2 [json_name = "description"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional int64 time_in_nanos = 3 [json_name = "timeInNanos"];optional string type = 1 [json_name = "type"];clone()optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];getChildren(int index) repeated .FetchProfile children = 6 [json_name = "children"];getChildrenBuilder(int index) repeated .FetchProfile children = 6 [json_name = "children"];repeated .FetchProfile children = 6 [json_name = "children"];intrepeated .FetchProfile children = 6 [json_name = "children"];repeated .FetchProfile children = 6 [json_name = "children"];getChildrenOrBuilder(int index) repeated .FetchProfile children = 6 [json_name = "children"];List<? extends FetchProfileOrBuilder> repeated .FetchProfile children = 6 [json_name = "children"];getDebug()optional .FetchProfileDebug debug = 5 [json_name = "debug"];optional .FetchProfileDebug debug = 5 [json_name = "debug"];optional .FetchProfileDebug debug = 5 [json_name = "debug"];optional string description = 2 [json_name = "description"];com.google.protobuf.ByteStringoptional string description = 2 [json_name = "description"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongoptional int64 time_in_nanos = 3 [json_name = "timeInNanos"];getType()optional string type = 1 [json_name = "type"];com.google.protobuf.ByteStringoptional string type = 1 [json_name = "type"];booleanoptional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];booleanhasDebug()optional .FetchProfileDebug debug = 5 [json_name = "debug"];booleanoptional string description = 2 [json_name = "description"];booleanoptional int64 time_in_nanos = 3 [json_name = "timeInNanos"];booleanhasType()optional string type = 1 [json_name = "type"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanoptional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];mergeDebug(FetchProfileDebug value) optional .FetchProfileDebug debug = 5 [json_name = "debug"];mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(FetchProfile other) final FetchProfile.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeChildren(int index) repeated .FetchProfile children = 6 [json_name = "children"];optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];setBreakdown(FetchProfileBreakdown.Builder builderForValue) optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];setChildren(int index, FetchProfile value) repeated .FetchProfile children = 6 [json_name = "children"];setChildren(int index, FetchProfile.Builder builderForValue) repeated .FetchProfile children = 6 [json_name = "children"];setDebug(FetchProfileDebug value) optional .FetchProfileDebug debug = 5 [json_name = "debug"];setDebug(FetchProfileDebug.Builder builderForValue) optional .FetchProfileDebug debug = 5 [json_name = "debug"];setDescription(String value) optional string description = 2 [json_name = "description"];setDescriptionBytes(com.google.protobuf.ByteString value) optional string description = 2 [json_name = "description"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTimeInNanos(long value) optional int64 time_in_nanos = 3 [json_name = "timeInNanos"];optional string type = 1 [json_name = "type"];setTypeBytes(com.google.protobuf.ByteString value) optional string type = 1 [json_name = "type"];final FetchProfile.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<FetchProfile.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<FetchProfile.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<FetchProfile.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<FetchProfile.Builder>
-
setField
public FetchProfile.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<FetchProfile.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchProfile.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchProfile.Builder>
-
setRepeatedField
public FetchProfile.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<FetchProfile.Builder>
-
addRepeatedField
public FetchProfile.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<FetchProfile.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FetchProfile.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchProfile.Builder>
-
mergeFrom
public FetchProfile.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<FetchProfile.Builder>- Throws:
IOException
-
hasType
public boolean hasType()optional string type = 1 [json_name = "type"];- Specified by:
hasTypein interfaceFetchProfileOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 1 [json_name = "type"];- Specified by:
getTypein interfaceFetchProfileOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 1 [json_name = "type"];- Specified by:
getTypeBytesin interfaceFetchProfileOrBuilder- Returns:
- The bytes for type.
-
setType
optional string type = 1 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional string type = 1 [json_name = "type"];- Returns:
- This builder for chaining.
-
setTypeBytes
optional string type = 1 [json_name = "type"];- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()optional string description = 2 [json_name = "description"];- Specified by:
hasDescriptionin interfaceFetchProfileOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 2 [json_name = "description"];- Specified by:
getDescriptionin interfaceFetchProfileOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 2 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceFetchProfileOrBuilder- Returns:
- The bytes for description.
-
setDescription
optional string description = 2 [json_name = "description"];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
optional string description = 2 [json_name = "description"];- Returns:
- This builder for chaining.
-
setDescriptionBytes
optional string description = 2 [json_name = "description"];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasTimeInNanos
public boolean hasTimeInNanos()optional int64 time_in_nanos = 3 [json_name = "timeInNanos"];- Specified by:
hasTimeInNanosin interfaceFetchProfileOrBuilder- Returns:
- Whether the timeInNanos field is set.
-
getTimeInNanos
public long getTimeInNanos()optional int64 time_in_nanos = 3 [json_name = "timeInNanos"];- Specified by:
getTimeInNanosin interfaceFetchProfileOrBuilder- Returns:
- The timeInNanos.
-
setTimeInNanos
optional int64 time_in_nanos = 3 [json_name = "timeInNanos"];- Parameters:
value- The timeInNanos to set.- Returns:
- This builder for chaining.
-
clearTimeInNanos
optional int64 time_in_nanos = 3 [json_name = "timeInNanos"];- Returns:
- This builder for chaining.
-
hasBreakdown
public boolean hasBreakdown()optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];- Specified by:
hasBreakdownin interfaceFetchProfileOrBuilder- Returns:
- Whether the breakdown field is set.
-
getBreakdown
optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];- Specified by:
getBreakdownin interfaceFetchProfileOrBuilder- Returns:
- The breakdown.
-
setBreakdown
optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"]; -
setBreakdown
optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"]; -
mergeBreakdown
optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"]; -
clearBreakdown
optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"]; -
getBreakdownBuilder
optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"]; -
getBreakdownOrBuilder
optional .FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];- Specified by:
getBreakdownOrBuilderin interfaceFetchProfileOrBuilder
-
hasDebug
public boolean hasDebug()optional .FetchProfileDebug debug = 5 [json_name = "debug"];- Specified by:
hasDebugin interfaceFetchProfileOrBuilder- Returns:
- Whether the debug field is set.
-
getDebug
optional .FetchProfileDebug debug = 5 [json_name = "debug"];- Specified by:
getDebugin interfaceFetchProfileOrBuilder- Returns:
- The debug.
-
setDebug
optional .FetchProfileDebug debug = 5 [json_name = "debug"]; -
setDebug
optional .FetchProfileDebug debug = 5 [json_name = "debug"]; -
mergeDebug
optional .FetchProfileDebug debug = 5 [json_name = "debug"]; -
clearDebug
optional .FetchProfileDebug debug = 5 [json_name = "debug"]; -
getDebugBuilder
optional .FetchProfileDebug debug = 5 [json_name = "debug"]; -
getDebugOrBuilder
optional .FetchProfileDebug debug = 5 [json_name = "debug"];- Specified by:
getDebugOrBuilderin interfaceFetchProfileOrBuilder
-
getChildrenList
repeated .FetchProfile children = 6 [json_name = "children"];- Specified by:
getChildrenListin interfaceFetchProfileOrBuilder
-
getChildrenCount
public int getChildrenCount()repeated .FetchProfile children = 6 [json_name = "children"];- Specified by:
getChildrenCountin interfaceFetchProfileOrBuilder
-
getChildren
repeated .FetchProfile children = 6 [json_name = "children"];- Specified by:
getChildrenin interfaceFetchProfileOrBuilder
-
setChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
setChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
addChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
addChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
addChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
addChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
addAllChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
clearChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
removeChildren
repeated .FetchProfile children = 6 [json_name = "children"]; -
getChildrenBuilder
repeated .FetchProfile children = 6 [json_name = "children"]; -
getChildrenOrBuilder
repeated .FetchProfile children = 6 [json_name = "children"];- Specified by:
getChildrenOrBuilderin interfaceFetchProfileOrBuilder
-
getChildrenOrBuilderList
repeated .FetchProfile children = 6 [json_name = "children"];- Specified by:
getChildrenOrBuilderListin interfaceFetchProfileOrBuilder
-
addChildrenBuilder
repeated .FetchProfile children = 6 [json_name = "children"]; -
addChildrenBuilder
repeated .FetchProfile children = 6 [json_name = "children"]; -
getChildrenBuilderList
repeated .FetchProfile children = 6 [json_name = "children"]; -
setUnknownFields
public final FetchProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchProfile.Builder>
-
mergeUnknownFields
public final FetchProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FetchProfile.Builder>
-