Package org.apache.drill.exec.proto
Class UserBitShared.MinorFragmentProfile.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.MinorFragmentProfile.Builder>
org.apache.drill.exec.proto.UserBitShared.MinorFragmentProfile.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,UserBitShared.MinorFragmentProfileOrBuilder
- Enclosing class:
- UserBitShared.MinorFragmentProfile
public static final class UserBitShared.MinorFragmentProfile.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.MinorFragmentProfile.Builder>
implements UserBitShared.MinorFragmentProfileOrBuilder
Protobuf type
exec.shared.MinorFragmentProfile
-
Method Summary
Modifier and TypeMethodDescriptionaddAllOperatorProfile
(Iterable<? extends UserBitShared.OperatorProfile> values) repeated .exec.shared.OperatorProfile operator_profile = 4;
addOperatorProfile
(int index, UserBitShared.OperatorProfile value) repeated .exec.shared.OperatorProfile operator_profile = 4;
addOperatorProfile
(int index, UserBitShared.OperatorProfile.Builder builderForValue) repeated .exec.shared.OperatorProfile operator_profile = 4;
repeated .exec.shared.OperatorProfile operator_profile = 4;
addOperatorProfile
(UserBitShared.OperatorProfile.Builder builderForValue) repeated .exec.shared.OperatorProfile operator_profile = 4;
repeated .exec.shared.OperatorProfile operator_profile = 4;
addOperatorProfileBuilder
(int index) repeated .exec.shared.OperatorProfile operator_profile = 4;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional .exec.DrillbitEndpoint endpoint = 9;
optional int64 end_time = 6;
optional .exec.shared.DrillPBError error = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional int64 last_progress = 11;
optional int64 last_update = 10;
optional int64 max_memory_used = 8;
optional int64 memory_used = 7;
optional int32 minor_fragment_id = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .exec.shared.OperatorProfile operator_profile = 4;
optional int64 start_time = 5;
optional .exec.shared.FragmentState state = 1;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional .exec.DrillbitEndpoint endpoint = 9;
optional .exec.DrillbitEndpoint endpoint = 9;
optional .exec.DrillbitEndpoint endpoint = 9;
long
optional int64 end_time = 6;
getError()
optional .exec.shared.DrillPBError error = 2;
optional .exec.shared.DrillPBError error = 2;
optional .exec.shared.DrillPBError error = 2;
long
optional int64 last_progress = 11;
long
optional int64 last_update = 10;
long
optional int64 max_memory_used = 8;
long
optional int64 memory_used = 7;
int
optional int32 minor_fragment_id = 3;
getOperatorProfile
(int index) repeated .exec.shared.OperatorProfile operator_profile = 4;
getOperatorProfileBuilder
(int index) repeated .exec.shared.OperatorProfile operator_profile = 4;
repeated .exec.shared.OperatorProfile operator_profile = 4;
int
repeated .exec.shared.OperatorProfile operator_profile = 4;
repeated .exec.shared.OperatorProfile operator_profile = 4;
getOperatorProfileOrBuilder
(int index) repeated .exec.shared.OperatorProfile operator_profile = 4;
List<? extends UserBitShared.OperatorProfileOrBuilder>
repeated .exec.shared.OperatorProfile operator_profile = 4;
long
optional int64 start_time = 5;
getState()
optional .exec.shared.FragmentState state = 1;
boolean
optional .exec.DrillbitEndpoint endpoint = 9;
boolean
optional int64 end_time = 6;
boolean
hasError()
optional .exec.shared.DrillPBError error = 2;
boolean
optional int64 last_progress = 11;
boolean
optional int64 last_update = 10;
boolean
optional int64 max_memory_used = 8;
boolean
optional int64 memory_used = 7;
boolean
optional int32 minor_fragment_id = 3;
boolean
optional int64 start_time = 5;
boolean
hasState()
optional .exec.shared.FragmentState state = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .exec.DrillbitEndpoint endpoint = 9;
optional .exec.shared.DrillPBError error = 2;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeOperatorProfile
(int index) repeated .exec.shared.OperatorProfile operator_profile = 4;
optional .exec.DrillbitEndpoint endpoint = 9;
setEndpoint
(CoordinationProtos.DrillbitEndpoint.Builder builderForValue) optional .exec.DrillbitEndpoint endpoint = 9;
setEndTime
(long value) optional int64 end_time = 6;
optional .exec.shared.DrillPBError error = 2;
setError
(UserBitShared.DrillPBError.Builder builderForValue) optional .exec.shared.DrillPBError error = 2;
setLastProgress
(long value) optional int64 last_progress = 11;
setLastUpdate
(long value) optional int64 last_update = 10;
setMaxMemoryUsed
(long value) optional int64 max_memory_used = 8;
setMemoryUsed
(long value) optional int64 memory_used = 7;
setMinorFragmentId
(int value) optional int32 minor_fragment_id = 3;
setOperatorProfile
(int index, UserBitShared.OperatorProfile value) repeated .exec.shared.OperatorProfile operator_profile = 4;
setOperatorProfile
(int index, UserBitShared.OperatorProfile.Builder builderForValue) repeated .exec.shared.OperatorProfile operator_profile = 4;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartTime
(long value) optional int64 start_time = 5;
optional .exec.shared.FragmentState state = 1;
setUnknownFields
(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, 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.MinorFragmentProfile.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.MinorFragmentProfile.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.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
-
setField
public UserBitShared.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
-
clearField
public UserBitShared.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
-
clearOneof
public UserBitShared.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
-
setRepeatedField
public UserBitShared.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
-
addRepeatedField
public UserBitShared.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserBitShared.MinorFragmentProfile.Builder>
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserBitShared.MinorFragmentProfile.Builder>
-
mergeFrom
public UserBitShared.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
- Throws:
IOException
-
hasState
public boolean hasState()optional .exec.shared.FragmentState state = 1;
- Specified by:
hasState
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the state field is set.
-
getState
optional .exec.shared.FragmentState state = 1;
- Specified by:
getState
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The state.
-
clearState
optional .exec.shared.FragmentState state = 1;
- Returns:
- This builder for chaining.
-
hasError
public boolean hasError()optional .exec.shared.DrillPBError error = 2;
- Specified by:
hasError
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the error field is set.
-
getError
optional .exec.shared.DrillPBError error = 2;
- Specified by:
getError
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The error.
-
clearError
optional .exec.shared.DrillPBError error = 2;
-
getErrorBuilder
optional .exec.shared.DrillPBError error = 2;
-
getErrorOrBuilder
optional .exec.shared.DrillPBError error = 2;
- Specified by:
getErrorOrBuilder
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
-
hasMinorFragmentId
public boolean hasMinorFragmentId()optional int32 minor_fragment_id = 3;
- Specified by:
hasMinorFragmentId
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the minorFragmentId field is set.
-
getMinorFragmentId
public int getMinorFragmentId()optional int32 minor_fragment_id = 3;
- Specified by:
getMinorFragmentId
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The minorFragmentId.
-
setMinorFragmentId
optional int32 minor_fragment_id = 3;
- Parameters:
value
- The minorFragmentId to set.- Returns:
- This builder for chaining.
-
clearMinorFragmentId
optional int32 minor_fragment_id = 3;
- Returns:
- This builder for chaining.
-
getOperatorProfileList
repeated .exec.shared.OperatorProfile operator_profile = 4;
- Specified by:
getOperatorProfileList
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
-
getOperatorProfileCount
public int getOperatorProfileCount()repeated .exec.shared.OperatorProfile operator_profile = 4;
- Specified by:
getOperatorProfileCount
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
-
getOperatorProfile
repeated .exec.shared.OperatorProfile operator_profile = 4;
- Specified by:
getOperatorProfile
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
-
addAllOperatorProfile
public UserBitShared.MinorFragmentProfile.Builder addAllOperatorProfile(Iterable<? extends UserBitShared.OperatorProfile> values) repeated .exec.shared.OperatorProfile operator_profile = 4;
-
clearOperatorProfile
repeated .exec.shared.OperatorProfile operator_profile = 4;
-
removeOperatorProfile
repeated .exec.shared.OperatorProfile operator_profile = 4;
-
getOperatorProfileBuilder
repeated .exec.shared.OperatorProfile operator_profile = 4;
-
getOperatorProfileOrBuilder
repeated .exec.shared.OperatorProfile operator_profile = 4;
- Specified by:
getOperatorProfileOrBuilder
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
-
getOperatorProfileOrBuilderList
repeated .exec.shared.OperatorProfile operator_profile = 4;
- Specified by:
getOperatorProfileOrBuilderList
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
-
addOperatorProfileBuilder
repeated .exec.shared.OperatorProfile operator_profile = 4;
-
addOperatorProfileBuilder
repeated .exec.shared.OperatorProfile operator_profile = 4;
-
getOperatorProfileBuilderList
repeated .exec.shared.OperatorProfile operator_profile = 4;
-
hasStartTime
public boolean hasStartTime()optional int64 start_time = 5;
- Specified by:
hasStartTime
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public long getStartTime()optional int64 start_time = 5;
- Specified by:
getStartTime
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The startTime.
-
setStartTime
optional int64 start_time = 5;
- Parameters:
value
- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
optional int64 start_time = 5;
- Returns:
- This builder for chaining.
-
hasEndTime
public boolean hasEndTime()optional int64 end_time = 6;
- Specified by:
hasEndTime
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public long getEndTime()optional int64 end_time = 6;
- Specified by:
getEndTime
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The endTime.
-
setEndTime
optional int64 end_time = 6;
- Parameters:
value
- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
optional int64 end_time = 6;
- Returns:
- This builder for chaining.
-
hasMemoryUsed
public boolean hasMemoryUsed()optional int64 memory_used = 7;
- Specified by:
hasMemoryUsed
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the memoryUsed field is set.
-
getMemoryUsed
public long getMemoryUsed()optional int64 memory_used = 7;
- Specified by:
getMemoryUsed
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The memoryUsed.
-
setMemoryUsed
optional int64 memory_used = 7;
- Parameters:
value
- The memoryUsed to set.- Returns:
- This builder for chaining.
-
clearMemoryUsed
optional int64 memory_used = 7;
- Returns:
- This builder for chaining.
-
hasMaxMemoryUsed
public boolean hasMaxMemoryUsed()optional int64 max_memory_used = 8;
- Specified by:
hasMaxMemoryUsed
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the maxMemoryUsed field is set.
-
getMaxMemoryUsed
public long getMaxMemoryUsed()optional int64 max_memory_used = 8;
- Specified by:
getMaxMemoryUsed
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The maxMemoryUsed.
-
setMaxMemoryUsed
optional int64 max_memory_used = 8;
- Parameters:
value
- The maxMemoryUsed to set.- Returns:
- This builder for chaining.
-
clearMaxMemoryUsed
optional int64 max_memory_used = 8;
- Returns:
- This builder for chaining.
-
hasEndpoint
public boolean hasEndpoint()optional .exec.DrillbitEndpoint endpoint = 9;
- Specified by:
hasEndpoint
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the endpoint field is set.
-
getEndpoint
optional .exec.DrillbitEndpoint endpoint = 9;
- Specified by:
getEndpoint
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The endpoint.
-
setEndpoint
public UserBitShared.MinorFragmentProfile.Builder setEndpoint(CoordinationProtos.DrillbitEndpoint value) optional .exec.DrillbitEndpoint endpoint = 9;
-
setEndpoint
public UserBitShared.MinorFragmentProfile.Builder setEndpoint(CoordinationProtos.DrillbitEndpoint.Builder builderForValue) optional .exec.DrillbitEndpoint endpoint = 9;
-
mergeEndpoint
public UserBitShared.MinorFragmentProfile.Builder mergeEndpoint(CoordinationProtos.DrillbitEndpoint value) optional .exec.DrillbitEndpoint endpoint = 9;
-
clearEndpoint
optional .exec.DrillbitEndpoint endpoint = 9;
-
getEndpointBuilder
optional .exec.DrillbitEndpoint endpoint = 9;
-
getEndpointOrBuilder
optional .exec.DrillbitEndpoint endpoint = 9;
- Specified by:
getEndpointOrBuilder
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
-
hasLastUpdate
public boolean hasLastUpdate()optional int64 last_update = 10;
- Specified by:
hasLastUpdate
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the lastUpdate field is set.
-
getLastUpdate
public long getLastUpdate()optional int64 last_update = 10;
- Specified by:
getLastUpdate
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The lastUpdate.
-
setLastUpdate
optional int64 last_update = 10;
- Parameters:
value
- The lastUpdate to set.- Returns:
- This builder for chaining.
-
clearLastUpdate
optional int64 last_update = 10;
- Returns:
- This builder for chaining.
-
hasLastProgress
public boolean hasLastProgress()optional int64 last_progress = 11;
- Specified by:
hasLastProgress
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- Whether the lastProgress field is set.
-
getLastProgress
public long getLastProgress()optional int64 last_progress = 11;
- Specified by:
getLastProgress
in interfaceUserBitShared.MinorFragmentProfileOrBuilder
- Returns:
- The lastProgress.
-
setLastProgress
optional int64 last_progress = 11;
- Parameters:
value
- The lastProgress to set.- Returns:
- This builder for chaining.
-
clearLastProgress
optional int64 last_progress = 11;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserBitShared.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
-
mergeUnknownFields
public final UserBitShared.MinorFragmentProfile.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.MinorFragmentProfile.Builder>
-