Package org.apache.drill.exec.proto
Class UserBitShared.OperatorProfile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UserBitShared.OperatorProfile.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
org.apache.drill.exec.proto.UserBitShared.OperatorProfile.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,UserBitShared.OperatorProfileOrBuilder
- Enclosing class:
UserBitShared.OperatorProfile
public static final class UserBitShared.OperatorProfile.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
implements UserBitShared.OperatorProfileOrBuilder
Protobuf type
exec.shared.OperatorProfile-
Method Summary
Modifier and TypeMethodDescriptionaddAllInputProfile(Iterable<? extends UserBitShared.StreamProfile> values) repeated .exec.shared.StreamProfile input_profile = 1;addAllMetric(Iterable<? extends UserBitShared.MetricValue> values) repeated .exec.shared.MetricValue metric = 8;addInputProfile(int index, UserBitShared.StreamProfile value) repeated .exec.shared.StreamProfile input_profile = 1;addInputProfile(int index, UserBitShared.StreamProfile.Builder builderForValue) repeated .exec.shared.StreamProfile input_profile = 1;repeated .exec.shared.StreamProfile input_profile = 1;addInputProfile(UserBitShared.StreamProfile.Builder builderForValue) repeated .exec.shared.StreamProfile input_profile = 1;repeated .exec.shared.StreamProfile input_profile = 1;addInputProfileBuilder(int index) repeated .exec.shared.StreamProfile input_profile = 1;addMetric(int index, UserBitShared.MetricValue value) repeated .exec.shared.MetricValue metric = 8;addMetric(int index, UserBitShared.MetricValue.Builder builderForValue) repeated .exec.shared.MetricValue metric = 8;repeated .exec.shared.MetricValue metric = 8;addMetric(UserBitShared.MetricValue.Builder builderForValue) repeated .exec.shared.MetricValue metric = 8;repeated .exec.shared.MetricValue metric = 8;addMetricBuilder(int index) repeated .exec.shared.MetricValue metric = 8;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) repeated .exec.shared.StreamProfile input_profile = 1;repeated .exec.shared.MetricValue metric = 8;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional int32 operator_id = 3;Deprecated.optional string operator_type_name = 10;optional int64 peak_local_memory_allocated = 7;optional int64 process_nanos = 6;optional int64 setup_nanos = 5;optional int64 wait_nanos = 9;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInputProfile(int index) repeated .exec.shared.StreamProfile input_profile = 1;getInputProfileBuilder(int index) repeated .exec.shared.StreamProfile input_profile = 1;repeated .exec.shared.StreamProfile input_profile = 1;intrepeated .exec.shared.StreamProfile input_profile = 1;repeated .exec.shared.StreamProfile input_profile = 1;getInputProfileOrBuilder(int index) repeated .exec.shared.StreamProfile input_profile = 1;List<? extends UserBitShared.StreamProfileOrBuilder> repeated .exec.shared.StreamProfile input_profile = 1;getMetric(int index) repeated .exec.shared.MetricValue metric = 8;getMetricBuilder(int index) repeated .exec.shared.MetricValue metric = 8;repeated .exec.shared.MetricValue metric = 8;intrepeated .exec.shared.MetricValue metric = 8;repeated .exec.shared.MetricValue metric = 8;getMetricOrBuilder(int index) repeated .exec.shared.MetricValue metric = 8;List<? extends UserBitShared.MetricValueOrBuilder> repeated .exec.shared.MetricValue metric = 8;intoptional int32 operator_id = 3;intDeprecated.optional string operator_type_name = 10;com.google.protobuf.ByteStringoptional string operator_type_name = 10;longoptional int64 peak_local_memory_allocated = 7;longoptional int64 process_nanos = 6;longoptional int64 setup_nanos = 5;longoptional int64 wait_nanos = 9;booleanoptional int32 operator_id = 3;booleanDeprecated.booleanoptional string operator_type_name = 10;booleanoptional int64 peak_local_memory_allocated = 7;booleanoptional int64 process_nanos = 6;booleanoptional int64 setup_nanos = 5;booleanoptional int64 wait_nanos = 9;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeInputProfile(int index) repeated .exec.shared.StreamProfile input_profile = 1;removeMetric(int index) repeated .exec.shared.MetricValue metric = 8;setInputProfile(int index, UserBitShared.StreamProfile value) repeated .exec.shared.StreamProfile input_profile = 1;setInputProfile(int index, UserBitShared.StreamProfile.Builder builderForValue) repeated .exec.shared.StreamProfile input_profile = 1;setMetric(int index, UserBitShared.MetricValue value) repeated .exec.shared.MetricValue metric = 8;setMetric(int index, UserBitShared.MetricValue.Builder builderForValue) repeated .exec.shared.MetricValue metric = 8;setOperatorId(int value) optional int32 operator_id = 3;setOperatorType(int value) Deprecated.setOperatorTypeName(String value) optional string operator_type_name = 10;setOperatorTypeNameBytes(com.google.protobuf.ByteString value) optional string operator_type_name = 10;setPeakLocalMemoryAllocated(long value) optional int64 peak_local_memory_allocated = 7;setProcessNanos(long value) optional int64 process_nanos = 6;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSetupNanos(long value) optional int64 setup_nanos = 5;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWaitNanos(long value) optional int64 wait_nanos = 9;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<UserBitShared.OperatorProfile.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<UserBitShared.OperatorProfile.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<UserBitShared.OperatorProfile.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<UserBitShared.OperatorProfile.Builder>
-
setField
public UserBitShared.OperatorProfile.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<UserBitShared.OperatorProfile.Builder>
-
clearField
public UserBitShared.OperatorProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
clearOneof
public UserBitShared.OperatorProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
setRepeatedField
public UserBitShared.OperatorProfile.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<UserBitShared.OperatorProfile.Builder>
-
addRepeatedField
public UserBitShared.OperatorProfile.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<UserBitShared.OperatorProfile.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.OperatorProfile.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
mergeFrom
public UserBitShared.OperatorProfile.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<UserBitShared.OperatorProfile.Builder>- Throws:
IOException
-
getInputProfileList
repeated .exec.shared.StreamProfile input_profile = 1;- Specified by:
getInputProfileListin interfaceUserBitShared.OperatorProfileOrBuilder
-
getInputProfileCount
public int getInputProfileCount()repeated .exec.shared.StreamProfile input_profile = 1;- Specified by:
getInputProfileCountin interfaceUserBitShared.OperatorProfileOrBuilder
-
getInputProfile
repeated .exec.shared.StreamProfile input_profile = 1;- Specified by:
getInputProfilein interfaceUserBitShared.OperatorProfileOrBuilder
-
addAllInputProfile
public UserBitShared.OperatorProfile.Builder addAllInputProfile(Iterable<? extends UserBitShared.StreamProfile> values) repeated .exec.shared.StreamProfile input_profile = 1; -
clearInputProfile
repeated .exec.shared.StreamProfile input_profile = 1; -
removeInputProfile
repeated .exec.shared.StreamProfile input_profile = 1; -
getInputProfileBuilder
repeated .exec.shared.StreamProfile input_profile = 1; -
getInputProfileOrBuilder
repeated .exec.shared.StreamProfile input_profile = 1;- Specified by:
getInputProfileOrBuilderin interfaceUserBitShared.OperatorProfileOrBuilder
-
getInputProfileOrBuilderList
repeated .exec.shared.StreamProfile input_profile = 1;- Specified by:
getInputProfileOrBuilderListin interfaceUserBitShared.OperatorProfileOrBuilder
-
addInputProfileBuilder
repeated .exec.shared.StreamProfile input_profile = 1; -
addInputProfileBuilder
repeated .exec.shared.StreamProfile input_profile = 1; -
getInputProfileBuilderList
repeated .exec.shared.StreamProfile input_profile = 1; -
hasOperatorId
public boolean hasOperatorId()optional int32 operator_id = 3;- Specified by:
hasOperatorIdin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- Whether the operatorId field is set.
-
getOperatorId
public int getOperatorId()optional int32 operator_id = 3;- Specified by:
getOperatorIdin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- The operatorId.
-
setOperatorId
optional int32 operator_id = 3;- Parameters:
value- The operatorId to set.- Returns:
- This builder for chaining.
-
clearOperatorId
optional int32 operator_id = 3;- Returns:
- This builder for chaining.
-
hasOperatorType
Deprecated.optional int32 operator_type = 4 [deprecated = true];- Specified by:
hasOperatorTypein interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- Whether the operatorType field is set.
-
getOperatorType
Deprecated.optional int32 operator_type = 4 [deprecated = true];- Specified by:
getOperatorTypein interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- The operatorType.
-
setOperatorType
Deprecated.optional int32 operator_type = 4 [deprecated = true];- Parameters:
value- The operatorType to set.- Returns:
- This builder for chaining.
-
clearOperatorType
Deprecated.optional int32 operator_type = 4 [deprecated = true];- Returns:
- This builder for chaining.
-
hasSetupNanos
public boolean hasSetupNanos()optional int64 setup_nanos = 5;- Specified by:
hasSetupNanosin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- Whether the setupNanos field is set.
-
getSetupNanos
public long getSetupNanos()optional int64 setup_nanos = 5;- Specified by:
getSetupNanosin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- The setupNanos.
-
setSetupNanos
optional int64 setup_nanos = 5;- Parameters:
value- The setupNanos to set.- Returns:
- This builder for chaining.
-
clearSetupNanos
optional int64 setup_nanos = 5;- Returns:
- This builder for chaining.
-
hasProcessNanos
public boolean hasProcessNanos()optional int64 process_nanos = 6;- Specified by:
hasProcessNanosin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- Whether the processNanos field is set.
-
getProcessNanos
public long getProcessNanos()optional int64 process_nanos = 6;- Specified by:
getProcessNanosin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- The processNanos.
-
setProcessNanos
optional int64 process_nanos = 6;- Parameters:
value- The processNanos to set.- Returns:
- This builder for chaining.
-
clearProcessNanos
optional int64 process_nanos = 6;- Returns:
- This builder for chaining.
-
hasPeakLocalMemoryAllocated
public boolean hasPeakLocalMemoryAllocated()optional int64 peak_local_memory_allocated = 7;- Specified by:
hasPeakLocalMemoryAllocatedin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- Whether the peakLocalMemoryAllocated field is set.
-
getPeakLocalMemoryAllocated
public long getPeakLocalMemoryAllocated()optional int64 peak_local_memory_allocated = 7;- Specified by:
getPeakLocalMemoryAllocatedin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- The peakLocalMemoryAllocated.
-
setPeakLocalMemoryAllocated
optional int64 peak_local_memory_allocated = 7;- Parameters:
value- The peakLocalMemoryAllocated to set.- Returns:
- This builder for chaining.
-
clearPeakLocalMemoryAllocated
optional int64 peak_local_memory_allocated = 7;- Returns:
- This builder for chaining.
-
getMetricList
repeated .exec.shared.MetricValue metric = 8;- Specified by:
getMetricListin interfaceUserBitShared.OperatorProfileOrBuilder
-
getMetricCount
public int getMetricCount()repeated .exec.shared.MetricValue metric = 8;- Specified by:
getMetricCountin interfaceUserBitShared.OperatorProfileOrBuilder
-
getMetric
repeated .exec.shared.MetricValue metric = 8;- Specified by:
getMetricin interfaceUserBitShared.OperatorProfileOrBuilder
-
addAllMetric
public UserBitShared.OperatorProfile.Builder addAllMetric(Iterable<? extends UserBitShared.MetricValue> values) repeated .exec.shared.MetricValue metric = 8; -
clearMetric
repeated .exec.shared.MetricValue metric = 8; -
removeMetric
repeated .exec.shared.MetricValue metric = 8; -
getMetricBuilder
repeated .exec.shared.MetricValue metric = 8; -
getMetricOrBuilder
repeated .exec.shared.MetricValue metric = 8;- Specified by:
getMetricOrBuilderin interfaceUserBitShared.OperatorProfileOrBuilder
-
getMetricOrBuilderList
repeated .exec.shared.MetricValue metric = 8;- Specified by:
getMetricOrBuilderListin interfaceUserBitShared.OperatorProfileOrBuilder
-
addMetricBuilder
repeated .exec.shared.MetricValue metric = 8; -
addMetricBuilder
repeated .exec.shared.MetricValue metric = 8; -
getMetricBuilderList
repeated .exec.shared.MetricValue metric = 8; -
hasWaitNanos
public boolean hasWaitNanos()optional int64 wait_nanos = 9;- Specified by:
hasWaitNanosin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- Whether the waitNanos field is set.
-
getWaitNanos
public long getWaitNanos()optional int64 wait_nanos = 9;- Specified by:
getWaitNanosin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- The waitNanos.
-
setWaitNanos
optional int64 wait_nanos = 9;- Parameters:
value- The waitNanos to set.- Returns:
- This builder for chaining.
-
clearWaitNanos
optional int64 wait_nanos = 9;- Returns:
- This builder for chaining.
-
hasOperatorTypeName
public boolean hasOperatorTypeName()optional string operator_type_name = 10;- Specified by:
hasOperatorTypeNamein interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- Whether the operatorTypeName field is set.
-
getOperatorTypeName
optional string operator_type_name = 10;- Specified by:
getOperatorTypeNamein interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- The operatorTypeName.
-
getOperatorTypeNameBytes
public com.google.protobuf.ByteString getOperatorTypeNameBytes()optional string operator_type_name = 10;- Specified by:
getOperatorTypeNameBytesin interfaceUserBitShared.OperatorProfileOrBuilder- Returns:
- The bytes for operatorTypeName.
-
setOperatorTypeName
optional string operator_type_name = 10;- Parameters:
value- The operatorTypeName to set.- Returns:
- This builder for chaining.
-
clearOperatorTypeName
optional string operator_type_name = 10;- Returns:
- This builder for chaining.
-
setOperatorTypeNameBytes
public UserBitShared.OperatorProfile.Builder setOperatorTypeNameBytes(com.google.protobuf.ByteString value) optional string operator_type_name = 10;- Parameters:
value- The bytes for operatorTypeName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserBitShared.OperatorProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
mergeUnknownFields
public final UserBitShared.OperatorProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-