/** * <code>optional .exec.shared.CoreOperatorTypeMetricsMap operator_type_metrics_map = 33;</code> */ public Builder mergeOperatorTypeMetricsMap(com.dremio.exec.proto.UserBitShared.CoreOperatorTypeMetricsMap value) { if (operatorTypeMetricsMapBuilder_ == null) { if (((bitField0_ & 0x10000000) == 0x10000000) && operatorTypeMetricsMap_ != com.dremio.exec.proto.UserBitShared.CoreOperatorTypeMetricsMap.getDefaultInstance()) { operatorTypeMetricsMap_ = com.dremio.exec.proto.UserBitShared.CoreOperatorTypeMetricsMap.newBuilder(operatorTypeMetricsMap_).mergeFrom(value).buildPartial(); } else { operatorTypeMetricsMap_ = value; } onChanged(); } else { operatorTypeMetricsMapBuilder_.mergeFrom(value); } bitField0_ |= 0x10000000; return this; } /**
break; case 33: builder.setOperatorTypeMetricsMap(input.mergeObject(com.dremio.exec.proto.UserBitShared.CoreOperatorTypeMetricsMap.newBuilder(), com.dremio.exec.proto.SchemaUserBitShared.CoreOperatorTypeMetricsMap.MERGE));
public Builder toBuilder() { return newBuilder(this); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.dremio.exec.proto.UserBitShared.CoreOperatorTypeMetricsMap prototype) {
public static Builder newBuilder(com.dremio.exec.proto.UserBitShared.CoreOperatorTypeMetricsMap prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public com.dremio.exec.proto.UserBitShared.CoreOperatorTypeMetricsMap.Builder newMessage() { return com.dremio.exec.proto.UserBitShared.CoreOperatorTypeMetricsMap.newBuilder(); } public java.lang.String getFieldName(int number)
private static CoreOperatorTypeMetricsMap.Builder getMapBuilder() { CoreOperatorTypeMetricsMap.Builder builder = CoreOperatorTypeMetricsMap.newBuilder(); for (int i = 0; i < CoreOperatorType.values().length; i++) { // Initalizing with metricsdef object with empty list => This can be modified later at the time of registration builder.addMetricsDef(MetricsDef.getDefaultInstance()); } return builder; }