Package org.apache.drill.exec.proto
Class UserBitShared.OperatorProfile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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.Descriptor
com.google.protobuf.Descriptors.Descriptor
getInputProfile
(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;
int
repeated .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;
int
repeated .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;
int
optional int32 operator_id = 3;
int
Deprecated.optional string operator_type_name = 10;
com.google.protobuf.ByteString
optional string operator_type_name = 10;
long
optional int64 peak_local_memory_allocated = 7;
long
optional int64 process_nanos = 6;
long
optional int64 setup_nanos = 5;
long
optional int64 wait_nanos = 9;
boolean
optional int32 operator_id = 3;
boolean
Deprecated.boolean
optional string operator_type_name = 10;
boolean
optional int64 peak_local_memory_allocated = 7;
boolean
optional int64 process_nanos = 6;
boolean
optional int64 setup_nanos = 5;
boolean
optional int64 wait_nanos = 9;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
setField
public UserBitShared.OperatorProfile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
clearField
public UserBitShared.OperatorProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
clearOneof
public UserBitShared.OperatorProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
addRepeatedField
public UserBitShared.OperatorProfile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.OperatorProfile.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.OperatorProfile.Builder>
- Throws:
IOException
-
getInputProfileList
repeated .exec.shared.StreamProfile input_profile = 1;
- Specified by:
getInputProfileList
in interfaceUserBitShared.OperatorProfileOrBuilder
-
getInputProfileCount
public int getInputProfileCount()repeated .exec.shared.StreamProfile input_profile = 1;
- Specified by:
getInputProfileCount
in interfaceUserBitShared.OperatorProfileOrBuilder
-
getInputProfile
repeated .exec.shared.StreamProfile input_profile = 1;
- Specified by:
getInputProfile
in 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:
getInputProfileOrBuilder
in interfaceUserBitShared.OperatorProfileOrBuilder
-
getInputProfileOrBuilderList
repeated .exec.shared.StreamProfile input_profile = 1;
- Specified by:
getInputProfileOrBuilderList
in 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:
hasOperatorId
in interfaceUserBitShared.OperatorProfileOrBuilder
- Returns:
- Whether the operatorId field is set.
-
getOperatorId
public int getOperatorId()optional int32 operator_id = 3;
- Specified by:
getOperatorId
in 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:
hasOperatorType
in interfaceUserBitShared.OperatorProfileOrBuilder
- Returns:
- Whether the operatorType field is set.
-
getOperatorType
Deprecated.optional int32 operator_type = 4 [deprecated = true];
- Specified by:
getOperatorType
in 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:
hasSetupNanos
in interfaceUserBitShared.OperatorProfileOrBuilder
- Returns:
- Whether the setupNanos field is set.
-
getSetupNanos
public long getSetupNanos()optional int64 setup_nanos = 5;
- Specified by:
getSetupNanos
in 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:
hasProcessNanos
in interfaceUserBitShared.OperatorProfileOrBuilder
- Returns:
- Whether the processNanos field is set.
-
getProcessNanos
public long getProcessNanos()optional int64 process_nanos = 6;
- Specified by:
getProcessNanos
in 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:
hasPeakLocalMemoryAllocated
in interfaceUserBitShared.OperatorProfileOrBuilder
- Returns:
- Whether the peakLocalMemoryAllocated field is set.
-
getPeakLocalMemoryAllocated
public long getPeakLocalMemoryAllocated()optional int64 peak_local_memory_allocated = 7;
- Specified by:
getPeakLocalMemoryAllocated
in 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:
getMetricList
in interfaceUserBitShared.OperatorProfileOrBuilder
-
getMetricCount
public int getMetricCount()repeated .exec.shared.MetricValue metric = 8;
- Specified by:
getMetricCount
in interfaceUserBitShared.OperatorProfileOrBuilder
-
getMetric
repeated .exec.shared.MetricValue metric = 8;
- Specified by:
getMetric
in 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:
getMetricOrBuilder
in interfaceUserBitShared.OperatorProfileOrBuilder
-
getMetricOrBuilderList
repeated .exec.shared.MetricValue metric = 8;
- Specified by:
getMetricOrBuilderList
in 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:
hasWaitNanos
in interfaceUserBitShared.OperatorProfileOrBuilder
- Returns:
- Whether the waitNanos field is set.
-
getWaitNanos
public long getWaitNanos()optional int64 wait_nanos = 9;
- Specified by:
getWaitNanos
in 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:
hasOperatorTypeName
in interfaceUserBitShared.OperatorProfileOrBuilder
- Returns:
- Whether the operatorTypeName field is set.
-
getOperatorTypeName
optional string operator_type_name = 10;
- Specified by:
getOperatorTypeName
in interfaceUserBitShared.OperatorProfileOrBuilder
- Returns:
- The operatorTypeName.
-
getOperatorTypeNameBytes
public com.google.protobuf.ByteString getOperatorTypeNameBytes()optional string operator_type_name = 10;
- Specified by:
getOperatorTypeNameBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-
mergeUnknownFields
public final UserBitShared.OperatorProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.OperatorProfile.Builder>
-