com.dimajix.flowman.kernel.proto.MetricSeries Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common.proto
package com.dimajix.flowman.kernel.proto;
/**
* Protobuf type {@code com.dimajix.flowman.kernel.MetricSeries}
*/
public final class MetricSeries extends
com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.MetricSeries)
MetricSeriesOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetricSeries.newBuilder() to construct.
private MetricSeries(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MetricSeries() {
metric_ = "";
namespace_ = "";
project_ = "";
job_ = "";
phase_ = 0;
measurements_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MetricSeries();
}
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.CommonProto.internal_static_com_dimajix_flowman_kernel_MetricSeries_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 6:
return internalGetLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.CommonProto.internal_static_com_dimajix_flowman_kernel_MetricSeries_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.MetricSeries.class, com.dimajix.flowman.kernel.proto.MetricSeries.Builder.class);
}
public static final int METRIC_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object metric_ = "";
/**
* string metric = 1;
* @return The metric.
*/
@java.lang.Override
public java.lang.String getMetric() {
java.lang.Object ref = metric_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
metric_ = s;
return s;
}
}
/**
* string metric = 1;
* @return The bytes for metric.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getMetricBytes() {
java.lang.Object ref = metric_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metric_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int NAMESPACE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object namespace_ = "";
/**
* string namespace = 2;
* @return The namespace.
*/
@java.lang.Override
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
namespace_ = s;
return s;
}
}
/**
* string namespace = 2;
* @return The bytes for namespace.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int PROJECT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object project_ = "";
/**
* string project = 3;
* @return The project.
*/
@java.lang.Override
public java.lang.String getProject() {
java.lang.Object ref = project_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
project_ = s;
return s;
}
}
/**
* string project = 3;
* @return The bytes for project.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getProjectBytes() {
java.lang.Object ref = project_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
project_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int JOB_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object job_ = "";
/**
* string job = 4;
* @return The job.
*/
@java.lang.Override
public java.lang.String getJob() {
java.lang.Object ref = job_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
job_ = s;
return s;
}
}
/**
* string job = 4;
* @return The bytes for job.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getJobBytes() {
java.lang.Object ref = job_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
job_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int PHASE_FIELD_NUMBER = 5;
private int phase_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 5;
* @return The enum numeric value on the wire for phase.
*/
@java.lang.Override public int getPhaseValue() {
return phase_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 5;
* @return The phase.
*/
@java.lang.Override public com.dimajix.flowman.kernel.proto.ExecutionPhase getPhase() {
com.dimajix.flowman.kernel.proto.ExecutionPhase result = com.dimajix.flowman.kernel.proto.ExecutionPhase.forNumber(phase_);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionPhase.UNRECOGNIZED : result;
}
public static final int LABELS_FIELD_NUMBER = 6;
private static final class LabelsDefaultEntryHolder {
static final com.dimajix.shaded.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.dimajix.shaded.protobuf.MapEntry
.newDefaultInstance(
com.dimajix.flowman.kernel.proto.CommonProto.internal_static_com_dimajix_flowman_kernel_MetricSeries_LabelsEntry_descriptor,
com.dimajix.shaded.protobuf.WireFormat.FieldType.STRING,
"",
com.dimajix.shaded.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.dimajix.shaded.protobuf.MapField<
java.lang.String, java.lang.String> labels_;
private com.dimajix.shaded.protobuf.MapField
internalGetLabels() {
if (labels_ == null) {
return com.google.protobuf.MapField.emptyMapField(
LabelsDefaultEntryHolder.defaultEntry);
}
return labels_;
}
public int getLabelsCount() {
return internalGetLabels().getMap().size();
}
/**
* map<string, string> labels = 6;
*/
@java.lang.Override
public boolean containsLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetLabels().getMap().containsKey(key);
}
/**
* Use {@link #getLabelsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
}
/**
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
/**
* map<string, string> labels = 6;
*/
@java.lang.Override
public /* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLabels().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.lang.String getLabelsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLabels().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int MEASUREMENTS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private java.util.List measurements_;
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
@java.lang.Override
public java.util.List getMeasurementsList() {
return measurements_;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
@java.lang.Override
public java.util.List extends com.dimajix.flowman.kernel.proto.MeasurementOrBuilder>
getMeasurementsOrBuilderList() {
return measurements_;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
@java.lang.Override
public int getMeasurementsCount() {
return measurements_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Measurement getMeasurements(int index) {
return measurements_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.MeasurementOrBuilder getMeasurementsOrBuilder(
int index) {
return measurements_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.dimajix.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 1, metric_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(project_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 3, project_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(job_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 4, job_);
}
if (phase_ != com.dimajix.flowman.kernel.proto.ExecutionPhase.VALIDATE.getNumber()) {
output.writeEnum(5, phase_);
}
com.dimajix.shaded.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetLabels(),
LabelsDefaultEntryHolder.defaultEntry,
6);
for (int i = 0; i < measurements_.size(); i++) {
output.writeMessage(7, measurements_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(1, metric_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(project_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(3, project_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(job_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(4, job_);
}
if (phase_ != com.dimajix.flowman.kernel.proto.ExecutionPhase.VALIDATE.getNumber()) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeEnumSize(5, phase_);
}
for (java.util.Map.Entry entry
: internalGetLabels().getMap().entrySet()) {
com.dimajix.shaded.protobuf.MapEntry
labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(6, labels__);
}
for (int i = 0; i < measurements_.size(); i++) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(7, measurements_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.dimajix.flowman.kernel.proto.MetricSeries)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.MetricSeries other = (com.dimajix.flowman.kernel.proto.MetricSeries) obj;
if (!getMetric()
.equals(other.getMetric())) return false;
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (!getProject()
.equals(other.getProject())) return false;
if (!getJob()
.equals(other.getJob())) return false;
if (phase_ != other.phase_) return false;
if (!internalGetLabels().equals(
other.internalGetLabels())) return false;
if (!getMeasurementsList()
.equals(other.getMeasurementsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + METRIC_FIELD_NUMBER;
hash = (53 * hash) + getMetric().hashCode();
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
hash = (37 * hash) + PROJECT_FIELD_NUMBER;
hash = (53 * hash) + getProject().hashCode();
hash = (37 * hash) + JOB_FIELD_NUMBER;
hash = (53 * hash) + getJob().hashCode();
hash = (37 * hash) + PHASE_FIELD_NUMBER;
hash = (53 * hash) + phase_;
if (!internalGetLabels().getMap().isEmpty()) {
hash = (37 * hash) + LABELS_FIELD_NUMBER;
hash = (53 * hash) + internalGetLabels().hashCode();
}
if (getMeasurementsCount() > 0) {
hash = (37 * hash) + MEASUREMENTS_FIELD_NUMBER;
hash = (53 * hash) + getMeasurementsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(
java.nio.ByteBuffer data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(
java.nio.ByteBuffer data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(
com.dimajix.shaded.protobuf.ByteString data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(
com.dimajix.shaded.protobuf.ByteString data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(byte[] data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(
byte[] data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseDelimitedFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.MetricSeries parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.dimajix.flowman.kernel.proto.MetricSeries prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.dimajix.flowman.kernel.MetricSeries}
*/
public static final class Builder extends
com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.MetricSeries)
com.dimajix.flowman.kernel.proto.MetricSeriesOrBuilder {
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.CommonProto.internal_static_com_dimajix_flowman_kernel_MetricSeries_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 6:
return internalGetLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.dimajix.shaded.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 6:
return internalGetMutableLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.CommonProto.internal_static_com_dimajix_flowman_kernel_MetricSeries_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.MetricSeries.class, com.dimajix.flowman.kernel.proto.MetricSeries.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.MetricSeries.newBuilder()
private Builder() {
}
private Builder(
com.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
metric_ = "";
namespace_ = "";
project_ = "";
job_ = "";
phase_ = 0;
internalGetMutableLabels().clear();
if (measurementsBuilder_ == null) {
measurements_ = java.util.Collections.emptyList();
} else {
measurements_ = null;
measurementsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dimajix.flowman.kernel.proto.CommonProto.internal_static_com_dimajix_flowman_kernel_MetricSeries_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.MetricSeries getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.MetricSeries.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.MetricSeries build() {
com.dimajix.flowman.kernel.proto.MetricSeries result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.MetricSeries buildPartial() {
com.dimajix.flowman.kernel.proto.MetricSeries result = new com.dimajix.flowman.kernel.proto.MetricSeries(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.dimajix.flowman.kernel.proto.MetricSeries result) {
if (measurementsBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
measurements_ = java.util.Collections.unmodifiableList(measurements_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.measurements_ = measurements_;
} else {
result.measurements_ = measurementsBuilder_.build();
}
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.MetricSeries result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.metric_ = metric_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.namespace_ = namespace_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.project_ = project_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.job_ = job_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.phase_ = phase_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
}
}
@java.lang.Override
public Builder mergeFrom(com.dimajix.shaded.protobuf.Message other) {
if (other instanceof com.dimajix.flowman.kernel.proto.MetricSeries) {
return mergeFrom((com.dimajix.flowman.kernel.proto.MetricSeries)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.MetricSeries other) {
if (other == com.dimajix.flowman.kernel.proto.MetricSeries.getDefaultInstance()) return this;
if (!other.getMetric().isEmpty()) {
metric_ = other.metric_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getProject().isEmpty()) {
project_ = other.project_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getJob().isEmpty()) {
job_ = other.job_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.phase_ != 0) {
setPhaseValue(other.getPhaseValue());
}
internalGetMutableLabels().mergeFrom(
other.internalGetLabels());
bitField0_ |= 0x00000020;
if (measurementsBuilder_ == null) {
if (!other.measurements_.isEmpty()) {
if (measurements_.isEmpty()) {
measurements_ = other.measurements_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureMeasurementsIsMutable();
measurements_.addAll(other.measurements_);
}
onChanged();
}
} else {
if (!other.measurements_.isEmpty()) {
if (measurementsBuilder_.isEmpty()) {
measurementsBuilder_.dispose();
measurementsBuilder_ = null;
measurements_ = other.measurements_;
bitField0_ = (bitField0_ & ~0x00000040);
measurementsBuilder_ =
com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMeasurementsFieldBuilder() : null;
} else {
measurementsBuilder_.addAllMessages(other.measurements_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
metric_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
namespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
project_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
job_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
phase_ = input.readEnum();
bitField0_ |= 0x00000010;
break;
} // case 40
case 50: {
com.dimajix.shaded.protobuf.MapEntry
labels__ = input.readMessage(
LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableLabels().getMutableMap().put(
labels__.getKey(), labels__.getValue());
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
com.dimajix.flowman.kernel.proto.Measurement m =
input.readMessage(
com.dimajix.flowman.kernel.proto.Measurement.parser(),
extensionRegistry);
if (measurementsBuilder_ == null) {
ensureMeasurementsIsMutable();
measurements_.add(m);
} else {
measurementsBuilder_.addMessage(m);
}
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object metric_ = "";
/**
* string metric = 1;
* @return The metric.
*/
public java.lang.String getMetric() {
java.lang.Object ref = metric_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
metric_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string metric = 1;
* @return The bytes for metric.
*/
public com.dimajix.shaded.protobuf.ByteString
getMetricBytes() {
java.lang.Object ref = metric_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metric_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string metric = 1;
* @param value The metric to set.
* @return This builder for chaining.
*/
public Builder setMetric(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
metric_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string metric = 1;
* @return This builder for chaining.
*/
public Builder clearMetric() {
metric_ = getDefaultInstance().getMetric();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string metric = 1;
* @param value The bytes for metric to set.
* @return This builder for chaining.
*/
public Builder setMetricBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
metric_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object namespace_ = "";
/**
* string namespace = 2;
* @return The namespace.
*/
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
namespace_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string namespace = 2;
* @return The bytes for namespace.
*/
public com.dimajix.shaded.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string namespace = 2;
* @param value The namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespace(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
namespace_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string namespace = 2;
* @return This builder for chaining.
*/
public Builder clearNamespace() {
namespace_ = getDefaultInstance().getNamespace();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string namespace = 2;
* @param value The bytes for namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespaceBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
namespace_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object project_ = "";
/**
* string project = 3;
* @return The project.
*/
public java.lang.String getProject() {
java.lang.Object ref = project_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
project_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string project = 3;
* @return The bytes for project.
*/
public com.dimajix.shaded.protobuf.ByteString
getProjectBytes() {
java.lang.Object ref = project_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
project_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string project = 3;
* @param value The project to set.
* @return This builder for chaining.
*/
public Builder setProject(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
project_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string project = 3;
* @return This builder for chaining.
*/
public Builder clearProject() {
project_ = getDefaultInstance().getProject();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string project = 3;
* @param value The bytes for project to set.
* @return This builder for chaining.
*/
public Builder setProjectBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
project_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object job_ = "";
/**
* string job = 4;
* @return The job.
*/
public java.lang.String getJob() {
java.lang.Object ref = job_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
job_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string job = 4;
* @return The bytes for job.
*/
public com.dimajix.shaded.protobuf.ByteString
getJobBytes() {
java.lang.Object ref = job_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
job_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string job = 4;
* @param value The job to set.
* @return This builder for chaining.
*/
public Builder setJob(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
job_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* string job = 4;
* @return This builder for chaining.
*/
public Builder clearJob() {
job_ = getDefaultInstance().getJob();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* string job = 4;
* @param value The bytes for job to set.
* @return This builder for chaining.
*/
public Builder setJobBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
job_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private int phase_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 5;
* @return The enum numeric value on the wire for phase.
*/
@java.lang.Override public int getPhaseValue() {
return phase_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 5;
* @param value The enum numeric value on the wire for phase to set.
* @return This builder for chaining.
*/
public Builder setPhaseValue(int value) {
phase_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 5;
* @return The phase.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ExecutionPhase getPhase() {
com.dimajix.flowman.kernel.proto.ExecutionPhase result = com.dimajix.flowman.kernel.proto.ExecutionPhase.forNumber(phase_);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionPhase.UNRECOGNIZED : result;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 5;
* @param value The phase to set.
* @return This builder for chaining.
*/
public Builder setPhase(com.dimajix.flowman.kernel.proto.ExecutionPhase value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
phase_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 5;
* @return This builder for chaining.
*/
public Builder clearPhase() {
bitField0_ = (bitField0_ & ~0x00000010);
phase_ = 0;
onChanged();
return this;
}
private com.dimajix.shaded.protobuf.MapField<
java.lang.String, java.lang.String> labels_;
private com.dimajix.shaded.protobuf.MapField
internalGetLabels() {
if (labels_ == null) {
return com.google.protobuf.MapField.emptyMapField(
LabelsDefaultEntryHolder.defaultEntry);
}
return labels_;
}
private com.dimajix.shaded.protobuf.MapField
internalGetMutableLabels() {
if (labels_ == null) {
labels_ = com.dimajix.shaded.protobuf.MapField.newMapField(
LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
bitField0_ |= 0x00000020;
onChanged();
return labels_;
}
public int getLabelsCount() {
return internalGetLabels().getMap().size();
}
/**
* map<string, string> labels = 6;
*/
@java.lang.Override
public boolean containsLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetLabels().getMap().containsKey(key);
}
/**
* Use {@link #getLabelsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getLabels() {
return getLabelsMap();
}
/**
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.util.Map getLabelsMap() {
return internalGetLabels().getMap();
}
/**
* map<string, string> labels = 6;
*/
@java.lang.Override
public /* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLabels().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> labels = 6;
*/
@java.lang.Override
public java.lang.String getLabelsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetLabels().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearLabels() {
bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableLabels().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> labels = 6;
*/
public Builder removeLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableLabels().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableLabels() {
bitField0_ |= 0x00000020;
return internalGetMutableLabels().getMutableMap();
}
/**
* map<string, string> labels = 6;
*/
public Builder putLabels(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableLabels().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000020;
return this;
}
/**
* map<string, string> labels = 6;
*/
public Builder putAllLabels(
java.util.Map values) {
internalGetMutableLabels().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000020;
return this;
}
private java.util.List measurements_ =
java.util.Collections.emptyList();
private void ensureMeasurementsIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
measurements_ = new java.util.ArrayList(measurements_);
bitField0_ |= 0x00000040;
}
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Measurement, com.dimajix.flowman.kernel.proto.Measurement.Builder, com.dimajix.flowman.kernel.proto.MeasurementOrBuilder> measurementsBuilder_;
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public java.util.List getMeasurementsList() {
if (measurementsBuilder_ == null) {
return java.util.Collections.unmodifiableList(measurements_);
} else {
return measurementsBuilder_.getMessageList();
}
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public int getMeasurementsCount() {
if (measurementsBuilder_ == null) {
return measurements_.size();
} else {
return measurementsBuilder_.getCount();
}
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public com.dimajix.flowman.kernel.proto.Measurement getMeasurements(int index) {
if (measurementsBuilder_ == null) {
return measurements_.get(index);
} else {
return measurementsBuilder_.getMessage(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder setMeasurements(
int index, com.dimajix.flowman.kernel.proto.Measurement value) {
if (measurementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMeasurementsIsMutable();
measurements_.set(index, value);
onChanged();
} else {
measurementsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder setMeasurements(
int index, com.dimajix.flowman.kernel.proto.Measurement.Builder builderForValue) {
if (measurementsBuilder_ == null) {
ensureMeasurementsIsMutable();
measurements_.set(index, builderForValue.build());
onChanged();
} else {
measurementsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder addMeasurements(com.dimajix.flowman.kernel.proto.Measurement value) {
if (measurementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMeasurementsIsMutable();
measurements_.add(value);
onChanged();
} else {
measurementsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder addMeasurements(
int index, com.dimajix.flowman.kernel.proto.Measurement value) {
if (measurementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMeasurementsIsMutable();
measurements_.add(index, value);
onChanged();
} else {
measurementsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder addMeasurements(
com.dimajix.flowman.kernel.proto.Measurement.Builder builderForValue) {
if (measurementsBuilder_ == null) {
ensureMeasurementsIsMutable();
measurements_.add(builderForValue.build());
onChanged();
} else {
measurementsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder addMeasurements(
int index, com.dimajix.flowman.kernel.proto.Measurement.Builder builderForValue) {
if (measurementsBuilder_ == null) {
ensureMeasurementsIsMutable();
measurements_.add(index, builderForValue.build());
onChanged();
} else {
measurementsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder addAllMeasurements(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.Measurement> values) {
if (measurementsBuilder_ == null) {
ensureMeasurementsIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, measurements_);
onChanged();
} else {
measurementsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder clearMeasurements() {
if (measurementsBuilder_ == null) {
measurements_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
measurementsBuilder_.clear();
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public Builder removeMeasurements(int index) {
if (measurementsBuilder_ == null) {
ensureMeasurementsIsMutable();
measurements_.remove(index);
onChanged();
} else {
measurementsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public com.dimajix.flowman.kernel.proto.Measurement.Builder getMeasurementsBuilder(
int index) {
return getMeasurementsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public com.dimajix.flowman.kernel.proto.MeasurementOrBuilder getMeasurementsOrBuilder(
int index) {
if (measurementsBuilder_ == null) {
return measurements_.get(index); } else {
return measurementsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public java.util.List extends com.dimajix.flowman.kernel.proto.MeasurementOrBuilder>
getMeasurementsOrBuilderList() {
if (measurementsBuilder_ != null) {
return measurementsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(measurements_);
}
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public com.dimajix.flowman.kernel.proto.Measurement.Builder addMeasurementsBuilder() {
return getMeasurementsFieldBuilder().addBuilder(
com.dimajix.flowman.kernel.proto.Measurement.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public com.dimajix.flowman.kernel.proto.Measurement.Builder addMeasurementsBuilder(
int index) {
return getMeasurementsFieldBuilder().addBuilder(
index, com.dimajix.flowman.kernel.proto.Measurement.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.Measurement measurements = 7;
*/
public java.util.List
getMeasurementsBuilderList() {
return getMeasurementsFieldBuilder().getBuilderList();
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Measurement, com.dimajix.flowman.kernel.proto.Measurement.Builder, com.dimajix.flowman.kernel.proto.MeasurementOrBuilder>
getMeasurementsFieldBuilder() {
if (measurementsBuilder_ == null) {
measurementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Measurement, com.dimajix.flowman.kernel.proto.Measurement.Builder, com.dimajix.flowman.kernel.proto.MeasurementOrBuilder>(
measurements_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
measurements_ = null;
}
return measurementsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.dimajix.flowman.kernel.MetricSeries)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.MetricSeries)
private static final com.dimajix.flowman.kernel.proto.MetricSeries DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.MetricSeries();
}
public static com.dimajix.flowman.kernel.proto.MetricSeries getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.dimajix.shaded.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MetricSeries parsePartialFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.dimajix.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.dimajix.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.MetricSeries getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy