
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yaml-tests Show documentation
Show all versions of yaml-tests Show documentation
Tests of the Relational project driven off of YAML specifications.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: planner_metrics.proto
// Protobuf Java Version: 3.25.5
package com.apple.foundationdb.relational.yamltests.generated.stats;
public final class PlannerMetricsProto {
private PlannerMetricsProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface EntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.relational.yamltests.generated.stats.Entry)
com.google.protobuf.MessageOrBuilder {
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
* @return Whether the identifier field is set.
*/
boolean hasIdentifier();
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
* @return The identifier.
*/
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier getIdentifier();
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.IdentifierOrBuilder getIdentifierOrBuilder();
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
* @return Whether the info field is set.
*/
boolean hasInfo();
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
* @return The info.
*/
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info getInfo();
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.InfoOrBuilder getInfoOrBuilder();
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.stats.Entry}
*/
@SuppressWarnings("deprecation") public static final class Entry extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.relational.yamltests.generated.stats.Entry)
EntryOrBuilder {
private static final long serialVersionUID = 0L;
// Use Entry.newBuilder() to construct.
private Entry(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Entry() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Entry();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry.class, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry.Builder.class);
}
private int bitField0_;
public static final int IDENTIFIER_FIELD_NUMBER = 1;
private com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier identifier_;
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
* @return Whether the identifier field is set.
*/
@java.lang.Override
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
* @return The identifier.
*/
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier getIdentifier() {
return identifier_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.getDefaultInstance() : identifier_;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.IdentifierOrBuilder getIdentifierOrBuilder() {
return identifier_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.getDefaultInstance() : identifier_;
}
public static final int INFO_FIELD_NUMBER = 2;
private com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info info_;
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
* @return Whether the info field is set.
*/
@java.lang.Override
public boolean hasInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
* @return The info.
*/
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info getInfo() {
return info_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.getDefaultInstance() : info_;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.InfoOrBuilder getInfoOrBuilder() {
return info_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.getDefaultInstance() : info_;
}
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.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getIdentifier());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIdentifier());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getInfo());
}
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.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry)) {
return super.equals(obj);
}
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry other = (com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry) obj;
if (hasIdentifier() != other.hasIdentifier()) return false;
if (hasIdentifier()) {
if (!getIdentifier()
.equals(other.getIdentifier())) return false;
}
if (hasInfo() != other.hasInfo()) return false;
if (hasInfo()) {
if (!getInfo()
.equals(other.getInfo())) 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();
if (hasIdentifier()) {
hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
hash = (53 * hash) + getIdentifier().hashCode();
}
if (hasInfo()) {
hash = (37 * hash) + INFO_FIELD_NUMBER;
hash = (53 * hash) + getInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry 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.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.stats.Entry}
*/
@SuppressWarnings("deprecation") public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.relational.yamltests.generated.stats.Entry)
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.EntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry.class, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry.Builder.class);
}
// Construct using com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getIdentifierFieldBuilder();
getInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
identifier_ = null;
if (identifierBuilder_ != null) {
identifierBuilder_.dispose();
identifierBuilder_ = null;
}
info_ = null;
if (infoBuilder_ != null) {
infoBuilder_.dispose();
infoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_descriptor;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry getDefaultInstanceForType() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry.getDefaultInstance();
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry build() {
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry buildPartial() {
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry result = new com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.identifier_ = identifierBuilder_ == null
? identifier_
: identifierBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.info_ = infoBuilder_ == null
? info_
: infoBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry) {
return mergeFrom((com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry other) {
if (other == com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry.getDefaultInstance()) return this;
if (other.hasIdentifier()) {
mergeIdentifier(other.getIdentifier());
}
if (other.hasInfo()) {
mergeInfo(other.getInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.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: {
input.readMessage(
getIdentifierFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier identifier_;
private com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.IdentifierOrBuilder> identifierBuilder_;
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
* @return Whether the identifier field is set.
*/
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
* @return The identifier.
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier getIdentifier() {
if (identifierBuilder_ == null) {
return identifier_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.getDefaultInstance() : identifier_;
} else {
return identifierBuilder_.getMessage();
}
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
public Builder setIdentifier(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier value) {
if (identifierBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
identifier_ = value;
} else {
identifierBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
public Builder setIdentifier(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.Builder builderForValue) {
if (identifierBuilder_ == null) {
identifier_ = builderForValue.build();
} else {
identifierBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
public Builder mergeIdentifier(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier value) {
if (identifierBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
identifier_ != null &&
identifier_ != com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.getDefaultInstance()) {
getIdentifierBuilder().mergeFrom(value);
} else {
identifier_ = value;
}
} else {
identifierBuilder_.mergeFrom(value);
}
if (identifier_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
public Builder clearIdentifier() {
bitField0_ = (bitField0_ & ~0x00000001);
identifier_ = null;
if (identifierBuilder_ != null) {
identifierBuilder_.dispose();
identifierBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.Builder getIdentifierBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getIdentifierFieldBuilder().getBuilder();
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.IdentifierOrBuilder getIdentifierOrBuilder() {
if (identifierBuilder_ != null) {
return identifierBuilder_.getMessageOrBuilder();
} else {
return identifier_ == null ?
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.getDefaultInstance() : identifier_;
}
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Identifier identifier = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.IdentifierOrBuilder>
getIdentifierFieldBuilder() {
if (identifierBuilder_ == null) {
identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.IdentifierOrBuilder>(
getIdentifier(),
getParentForChildren(),
isClean());
identifier_ = null;
}
return identifierBuilder_;
}
private com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info info_;
private com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.InfoOrBuilder> infoBuilder_;
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
* @return Whether the info field is set.
*/
public boolean hasInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
* @return The info.
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info getInfo() {
if (infoBuilder_ == null) {
return info_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.getDefaultInstance() : info_;
} else {
return infoBuilder_.getMessage();
}
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
public Builder setInfo(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info value) {
if (infoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
} else {
infoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
public Builder setInfo(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.Builder builderForValue) {
if (infoBuilder_ == null) {
info_ = builderForValue.build();
} else {
infoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
public Builder mergeInfo(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info value) {
if (infoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
info_ != null &&
info_ != com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.getDefaultInstance()) {
getInfoBuilder().mergeFrom(value);
} else {
info_ = value;
}
} else {
infoBuilder_.mergeFrom(value);
}
if (info_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
public Builder clearInfo() {
bitField0_ = (bitField0_ & ~0x00000002);
info_ = null;
if (infoBuilder_ != null) {
infoBuilder_.dispose();
infoBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.Builder getInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getInfoFieldBuilder().getBuilder();
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.InfoOrBuilder getInfoOrBuilder() {
if (infoBuilder_ != null) {
return infoBuilder_.getMessageOrBuilder();
} else {
return info_ == null ?
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.getDefaultInstance() : info_;
}
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.Info info = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.InfoOrBuilder>
getInfoFieldBuilder() {
if (infoBuilder_ == null) {
infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.InfoOrBuilder>(
getInfo(),
getParentForChildren(),
isClean());
info_ = null;
}
return infoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.apple.foundationdb.relational.yamltests.generated.stats.Entry)
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.relational.yamltests.generated.stats.Entry)
private static final com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry();
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Entry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.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.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Entry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IdentifierOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.relational.yamltests.generated.stats.Identifier)
com.google.protobuf.MessageOrBuilder {
/**
* optional string blockName = 1;
* @return Whether the blockName field is set.
*/
boolean hasBlockName();
/**
* optional string blockName = 1;
* @return The blockName.
*/
java.lang.String getBlockName();
/**
* optional string blockName = 1;
* @return The bytes for blockName.
*/
com.google.protobuf.ByteString
getBlockNameBytes();
/**
* optional string query = 2;
* @return Whether the query field is set.
*/
boolean hasQuery();
/**
* optional string query = 2;
* @return The query.
*/
java.lang.String getQuery();
/**
* optional string query = 2;
* @return The bytes for query.
*/
com.google.protobuf.ByteString
getQueryBytes();
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.stats.Identifier}
*/
@SuppressWarnings("deprecation") public static final class Identifier extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.relational.yamltests.generated.stats.Identifier)
IdentifierOrBuilder {
private static final long serialVersionUID = 0L;
// Use Identifier.newBuilder() to construct.
private Identifier(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Identifier() {
blockName_ = "";
query_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Identifier();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.class, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.Builder.class);
}
private int bitField0_;
public static final int BLOCKNAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object blockName_ = "";
/**
* optional string blockName = 1;
* @return Whether the blockName field is set.
*/
@java.lang.Override
public boolean hasBlockName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string blockName = 1;
* @return The blockName.
*/
@java.lang.Override
public java.lang.String getBlockName() {
java.lang.Object ref = blockName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
blockName_ = s;
return s;
}
}
/**
* optional string blockName = 1;
* @return The bytes for blockName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBlockNameBytes() {
java.lang.Object ref = blockName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
blockName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int QUERY_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object query_ = "";
/**
* optional string query = 2;
* @return Whether the query field is set.
*/
@java.lang.Override
public boolean hasQuery() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string query = 2;
* @return The query.
*/
@java.lang.Override
public java.lang.String getQuery() {
java.lang.Object ref = query_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
query_ = s;
return s;
}
}
/**
* optional string query = 2;
* @return The bytes for query.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQueryBytes() {
java.lang.Object ref = query_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
query_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, blockName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, query_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, blockName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, query_);
}
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.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier)) {
return super.equals(obj);
}
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier other = (com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier) obj;
if (hasBlockName() != other.hasBlockName()) return false;
if (hasBlockName()) {
if (!getBlockName()
.equals(other.getBlockName())) return false;
}
if (hasQuery() != other.hasQuery()) return false;
if (hasQuery()) {
if (!getQuery()
.equals(other.getQuery())) 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();
if (hasBlockName()) {
hash = (37 * hash) + BLOCKNAME_FIELD_NUMBER;
hash = (53 * hash) + getBlockName().hashCode();
}
if (hasQuery()) {
hash = (37 * hash) + QUERY_FIELD_NUMBER;
hash = (53 * hash) + getQuery().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier 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.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.stats.Identifier}
*/
@SuppressWarnings("deprecation") public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.relational.yamltests.generated.stats.Identifier)
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.IdentifierOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.class, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.Builder.class);
}
// Construct using com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
blockName_ = "";
query_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_descriptor;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier getDefaultInstanceForType() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.getDefaultInstance();
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier build() {
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier buildPartial() {
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier result = new com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.blockName_ = blockName_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.query_ = query_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier) {
return mergeFrom((com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier other) {
if (other == com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier.getDefaultInstance()) return this;
if (other.hasBlockName()) {
blockName_ = other.blockName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasQuery()) {
query_ = other.query_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.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: {
blockName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
query_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object blockName_ = "";
/**
* optional string blockName = 1;
* @return Whether the blockName field is set.
*/
public boolean hasBlockName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string blockName = 1;
* @return The blockName.
*/
public java.lang.String getBlockName() {
java.lang.Object ref = blockName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
blockName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string blockName = 1;
* @return The bytes for blockName.
*/
public com.google.protobuf.ByteString
getBlockNameBytes() {
java.lang.Object ref = blockName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
blockName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string blockName = 1;
* @param value The blockName to set.
* @return This builder for chaining.
*/
public Builder setBlockName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
blockName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string blockName = 1;
* @return This builder for chaining.
*/
public Builder clearBlockName() {
blockName_ = getDefaultInstance().getBlockName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string blockName = 1;
* @param value The bytes for blockName to set.
* @return This builder for chaining.
*/
public Builder setBlockNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
blockName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object query_ = "";
/**
* optional string query = 2;
* @return Whether the query field is set.
*/
public boolean hasQuery() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string query = 2;
* @return The query.
*/
public java.lang.String getQuery() {
java.lang.Object ref = query_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
query_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string query = 2;
* @return The bytes for query.
*/
public com.google.protobuf.ByteString
getQueryBytes() {
java.lang.Object ref = query_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
query_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string query = 2;
* @param value The query to set.
* @return This builder for chaining.
*/
public Builder setQuery(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
query_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string query = 2;
* @return This builder for chaining.
*/
public Builder clearQuery() {
query_ = getDefaultInstance().getQuery();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string query = 2;
* @param value The bytes for query to set.
* @return This builder for chaining.
*/
public Builder setQueryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
query_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.apple.foundationdb.relational.yamltests.generated.stats.Identifier)
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.relational.yamltests.generated.stats.Identifier)
private static final com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier();
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Identifier parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.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.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Identifier getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.relational.yamltests.generated.stats.Info)
com.google.protobuf.MessageOrBuilder {
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
* @return Whether the countersAndTimers field is set.
*/
boolean hasCountersAndTimers();
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
* @return The countersAndTimers.
*/
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers getCountersAndTimers();
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimersOrBuilder getCountersAndTimersOrBuilder();
/**
* optional string explain = 2;
* @return Whether the explain field is set.
*/
boolean hasExplain();
/**
* optional string explain = 2;
* @return The explain.
*/
java.lang.String getExplain();
/**
* optional string explain = 2;
* @return The bytes for explain.
*/
com.google.protobuf.ByteString
getExplainBytes();
/**
* optional string dot = 3;
* @return Whether the dot field is set.
*/
boolean hasDot();
/**
* optional string dot = 3;
* @return The dot.
*/
java.lang.String getDot();
/**
* optional string dot = 3;
* @return The bytes for dot.
*/
com.google.protobuf.ByteString
getDotBytes();
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.stats.Info}
*/
@SuppressWarnings("deprecation") public static final class Info extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.relational.yamltests.generated.stats.Info)
InfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use Info.newBuilder() to construct.
private Info(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Info() {
explain_ = "";
dot_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Info();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.class, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.Builder.class);
}
private int bitField0_;
public static final int COUNTERS_AND_TIMERS_FIELD_NUMBER = 1;
private com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers countersAndTimers_;
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
* @return Whether the countersAndTimers field is set.
*/
@java.lang.Override
public boolean hasCountersAndTimers() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
* @return The countersAndTimers.
*/
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers getCountersAndTimers() {
return countersAndTimers_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.getDefaultInstance() : countersAndTimers_;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimersOrBuilder getCountersAndTimersOrBuilder() {
return countersAndTimers_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.getDefaultInstance() : countersAndTimers_;
}
public static final int EXPLAIN_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object explain_ = "";
/**
* optional string explain = 2;
* @return Whether the explain field is set.
*/
@java.lang.Override
public boolean hasExplain() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string explain = 2;
* @return The explain.
*/
@java.lang.Override
public java.lang.String getExplain() {
java.lang.Object ref = explain_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
explain_ = s;
return s;
}
}
/**
* optional string explain = 2;
* @return The bytes for explain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExplainBytes() {
java.lang.Object ref = explain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
explain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object dot_ = "";
/**
* optional string dot = 3;
* @return Whether the dot field is set.
*/
@java.lang.Override
public boolean hasDot() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string dot = 3;
* @return The dot.
*/
@java.lang.Override
public java.lang.String getDot() {
java.lang.Object ref = dot_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dot_ = s;
return s;
}
}
/**
* optional string dot = 3;
* @return The bytes for dot.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDotBytes() {
java.lang.Object ref = dot_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dot_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getCountersAndTimers());
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, explain_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dot_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCountersAndTimers());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, explain_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dot_);
}
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.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info)) {
return super.equals(obj);
}
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info other = (com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info) obj;
if (hasCountersAndTimers() != other.hasCountersAndTimers()) return false;
if (hasCountersAndTimers()) {
if (!getCountersAndTimers()
.equals(other.getCountersAndTimers())) return false;
}
if (hasExplain() != other.hasExplain()) return false;
if (hasExplain()) {
if (!getExplain()
.equals(other.getExplain())) return false;
}
if (hasDot() != other.hasDot()) return false;
if (hasDot()) {
if (!getDot()
.equals(other.getDot())) 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();
if (hasCountersAndTimers()) {
hash = (37 * hash) + COUNTERS_AND_TIMERS_FIELD_NUMBER;
hash = (53 * hash) + getCountersAndTimers().hashCode();
}
if (hasExplain()) {
hash = (37 * hash) + EXPLAIN_FIELD_NUMBER;
hash = (53 * hash) + getExplain().hashCode();
}
if (hasDot()) {
hash = (37 * hash) + DOT_FIELD_NUMBER;
hash = (53 * hash) + getDot().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info 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.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.stats.Info}
*/
@SuppressWarnings("deprecation") public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.relational.yamltests.generated.stats.Info)
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.InfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.class, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.Builder.class);
}
// Construct using com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCountersAndTimersFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
countersAndTimers_ = null;
if (countersAndTimersBuilder_ != null) {
countersAndTimersBuilder_.dispose();
countersAndTimersBuilder_ = null;
}
explain_ = "";
dot_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_descriptor;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info getDefaultInstanceForType() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.getDefaultInstance();
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info build() {
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info buildPartial() {
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info result = new com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.countersAndTimers_ = countersAndTimersBuilder_ == null
? countersAndTimers_
: countersAndTimersBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.explain_ = explain_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.dot_ = dot_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info) {
return mergeFrom((com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info other) {
if (other == com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info.getDefaultInstance()) return this;
if (other.hasCountersAndTimers()) {
mergeCountersAndTimers(other.getCountersAndTimers());
}
if (other.hasExplain()) {
explain_ = other.explain_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasDot()) {
dot_ = other.dot_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.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: {
input.readMessage(
getCountersAndTimersFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
explain_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
dot_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers countersAndTimers_;
private com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimersOrBuilder> countersAndTimersBuilder_;
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
* @return Whether the countersAndTimers field is set.
*/
public boolean hasCountersAndTimers() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
* @return The countersAndTimers.
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers getCountersAndTimers() {
if (countersAndTimersBuilder_ == null) {
return countersAndTimers_ == null ? com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.getDefaultInstance() : countersAndTimers_;
} else {
return countersAndTimersBuilder_.getMessage();
}
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
public Builder setCountersAndTimers(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers value) {
if (countersAndTimersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
countersAndTimers_ = value;
} else {
countersAndTimersBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
public Builder setCountersAndTimers(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.Builder builderForValue) {
if (countersAndTimersBuilder_ == null) {
countersAndTimers_ = builderForValue.build();
} else {
countersAndTimersBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
public Builder mergeCountersAndTimers(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers value) {
if (countersAndTimersBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
countersAndTimers_ != null &&
countersAndTimers_ != com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.getDefaultInstance()) {
getCountersAndTimersBuilder().mergeFrom(value);
} else {
countersAndTimers_ = value;
}
} else {
countersAndTimersBuilder_.mergeFrom(value);
}
if (countersAndTimers_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
public Builder clearCountersAndTimers() {
bitField0_ = (bitField0_ & ~0x00000001);
countersAndTimers_ = null;
if (countersAndTimersBuilder_ != null) {
countersAndTimersBuilder_.dispose();
countersAndTimersBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.Builder getCountersAndTimersBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getCountersAndTimersFieldBuilder().getBuilder();
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimersOrBuilder getCountersAndTimersOrBuilder() {
if (countersAndTimersBuilder_ != null) {
return countersAndTimersBuilder_.getMessageOrBuilder();
} else {
return countersAndTimers_ == null ?
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.getDefaultInstance() : countersAndTimers_;
}
}
/**
* optional .com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers counters_and_timers = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimersOrBuilder>
getCountersAndTimersFieldBuilder() {
if (countersAndTimersBuilder_ == null) {
countersAndTimersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.Builder, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimersOrBuilder>(
getCountersAndTimers(),
getParentForChildren(),
isClean());
countersAndTimers_ = null;
}
return countersAndTimersBuilder_;
}
private java.lang.Object explain_ = "";
/**
* optional string explain = 2;
* @return Whether the explain field is set.
*/
public boolean hasExplain() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string explain = 2;
* @return The explain.
*/
public java.lang.String getExplain() {
java.lang.Object ref = explain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
explain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string explain = 2;
* @return The bytes for explain.
*/
public com.google.protobuf.ByteString
getExplainBytes() {
java.lang.Object ref = explain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
explain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string explain = 2;
* @param value The explain to set.
* @return This builder for chaining.
*/
public Builder setExplain(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
explain_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string explain = 2;
* @return This builder for chaining.
*/
public Builder clearExplain() {
explain_ = getDefaultInstance().getExplain();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string explain = 2;
* @param value The bytes for explain to set.
* @return This builder for chaining.
*/
public Builder setExplainBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
explain_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object dot_ = "";
/**
* optional string dot = 3;
* @return Whether the dot field is set.
*/
public boolean hasDot() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string dot = 3;
* @return The dot.
*/
public java.lang.String getDot() {
java.lang.Object ref = dot_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dot_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string dot = 3;
* @return The bytes for dot.
*/
public com.google.protobuf.ByteString
getDotBytes() {
java.lang.Object ref = dot_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dot_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string dot = 3;
* @param value The dot to set.
* @return This builder for chaining.
*/
public Builder setDot(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
dot_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string dot = 3;
* @return This builder for chaining.
*/
public Builder clearDot() {
dot_ = getDefaultInstance().getDot();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string dot = 3;
* @param value The bytes for dot to set.
* @return This builder for chaining.
*/
public Builder setDotBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
dot_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.apple.foundationdb.relational.yamltests.generated.stats.Info)
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.relational.yamltests.generated.stats.Info)
private static final com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info();
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Info parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.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.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.Info getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CountersAndTimersOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 task_count = 1;
* @return Whether the taskCount field is set.
*/
boolean hasTaskCount();
/**
* optional int64 task_count = 1;
* @return The taskCount.
*/
long getTaskCount();
/**
* optional int64 task_total_time_ns = 2;
* @return Whether the taskTotalTimeNs field is set.
*/
boolean hasTaskTotalTimeNs();
/**
* optional int64 task_total_time_ns = 2;
* @return The taskTotalTimeNs.
*/
long getTaskTotalTimeNs();
/**
* optional int64 transform_count = 3;
* @return Whether the transformCount field is set.
*/
boolean hasTransformCount();
/**
* optional int64 transform_count = 3;
* @return The transformCount.
*/
long getTransformCount();
/**
* optional int64 transform_time_ns = 4;
* @return Whether the transformTimeNs field is set.
*/
boolean hasTransformTimeNs();
/**
* optional int64 transform_time_ns = 4;
* @return The transformTimeNs.
*/
long getTransformTimeNs();
/**
* optional int64 transform_yield_count = 5;
* @return Whether the transformYieldCount field is set.
*/
boolean hasTransformYieldCount();
/**
* optional int64 transform_yield_count = 5;
* @return The transformYieldCount.
*/
long getTransformYieldCount();
/**
* optional int64 insert_time_ns = 6;
* @return Whether the insertTimeNs field is set.
*/
boolean hasInsertTimeNs();
/**
* optional int64 insert_time_ns = 6;
* @return The insertTimeNs.
*/
long getInsertTimeNs();
/**
* optional int64 insert_new_count = 7;
* @return Whether the insertNewCount field is set.
*/
boolean hasInsertNewCount();
/**
* optional int64 insert_new_count = 7;
* @return The insertNewCount.
*/
long getInsertNewCount();
/**
* optional int64 insert_reused_count = 8;
* @return Whether the insertReusedCount field is set.
*/
boolean hasInsertReusedCount();
/**
* optional int64 insert_reused_count = 8;
* @return The insertReusedCount.
*/
long getInsertReusedCount();
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers}
*/
@SuppressWarnings("deprecation") public static final class CountersAndTimers extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers)
CountersAndTimersOrBuilder {
private static final long serialVersionUID = 0L;
// Use CountersAndTimers.newBuilder() to construct.
private CountersAndTimers(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CountersAndTimers() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CountersAndTimers();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.class, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.Builder.class);
}
private int bitField0_;
public static final int TASK_COUNT_FIELD_NUMBER = 1;
private long taskCount_ = 0L;
/**
* optional int64 task_count = 1;
* @return Whether the taskCount field is set.
*/
@java.lang.Override
public boolean hasTaskCount() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 task_count = 1;
* @return The taskCount.
*/
@java.lang.Override
public long getTaskCount() {
return taskCount_;
}
public static final int TASK_TOTAL_TIME_NS_FIELD_NUMBER = 2;
private long taskTotalTimeNs_ = 0L;
/**
* optional int64 task_total_time_ns = 2;
* @return Whether the taskTotalTimeNs field is set.
*/
@java.lang.Override
public boolean hasTaskTotalTimeNs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 task_total_time_ns = 2;
* @return The taskTotalTimeNs.
*/
@java.lang.Override
public long getTaskTotalTimeNs() {
return taskTotalTimeNs_;
}
public static final int TRANSFORM_COUNT_FIELD_NUMBER = 3;
private long transformCount_ = 0L;
/**
* optional int64 transform_count = 3;
* @return Whether the transformCount field is set.
*/
@java.lang.Override
public boolean hasTransformCount() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 transform_count = 3;
* @return The transformCount.
*/
@java.lang.Override
public long getTransformCount() {
return transformCount_;
}
public static final int TRANSFORM_TIME_NS_FIELD_NUMBER = 4;
private long transformTimeNs_ = 0L;
/**
* optional int64 transform_time_ns = 4;
* @return Whether the transformTimeNs field is set.
*/
@java.lang.Override
public boolean hasTransformTimeNs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 transform_time_ns = 4;
* @return The transformTimeNs.
*/
@java.lang.Override
public long getTransformTimeNs() {
return transformTimeNs_;
}
public static final int TRANSFORM_YIELD_COUNT_FIELD_NUMBER = 5;
private long transformYieldCount_ = 0L;
/**
* optional int64 transform_yield_count = 5;
* @return Whether the transformYieldCount field is set.
*/
@java.lang.Override
public boolean hasTransformYieldCount() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int64 transform_yield_count = 5;
* @return The transformYieldCount.
*/
@java.lang.Override
public long getTransformYieldCount() {
return transformYieldCount_;
}
public static final int INSERT_TIME_NS_FIELD_NUMBER = 6;
private long insertTimeNs_ = 0L;
/**
* optional int64 insert_time_ns = 6;
* @return Whether the insertTimeNs field is set.
*/
@java.lang.Override
public boolean hasInsertTimeNs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 insert_time_ns = 6;
* @return The insertTimeNs.
*/
@java.lang.Override
public long getInsertTimeNs() {
return insertTimeNs_;
}
public static final int INSERT_NEW_COUNT_FIELD_NUMBER = 7;
private long insertNewCount_ = 0L;
/**
* optional int64 insert_new_count = 7;
* @return Whether the insertNewCount field is set.
*/
@java.lang.Override
public boolean hasInsertNewCount() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 insert_new_count = 7;
* @return The insertNewCount.
*/
@java.lang.Override
public long getInsertNewCount() {
return insertNewCount_;
}
public static final int INSERT_REUSED_COUNT_FIELD_NUMBER = 8;
private long insertReusedCount_ = 0L;
/**
* optional int64 insert_reused_count = 8;
* @return Whether the insertReusedCount field is set.
*/
@java.lang.Override
public boolean hasInsertReusedCount() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int64 insert_reused_count = 8;
* @return The insertReusedCount.
*/
@java.lang.Override
public long getInsertReusedCount() {
return insertReusedCount_;
}
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.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, taskCount_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, taskTotalTimeNs_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, transformCount_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, transformTimeNs_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, transformYieldCount_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, insertTimeNs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, insertNewCount_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(8, insertReusedCount_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, taskCount_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, taskTotalTimeNs_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, transformCount_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, transformTimeNs_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, transformYieldCount_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, insertTimeNs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, insertNewCount_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, insertReusedCount_);
}
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.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers)) {
return super.equals(obj);
}
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers other = (com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers) obj;
if (hasTaskCount() != other.hasTaskCount()) return false;
if (hasTaskCount()) {
if (getTaskCount()
!= other.getTaskCount()) return false;
}
if (hasTaskTotalTimeNs() != other.hasTaskTotalTimeNs()) return false;
if (hasTaskTotalTimeNs()) {
if (getTaskTotalTimeNs()
!= other.getTaskTotalTimeNs()) return false;
}
if (hasTransformCount() != other.hasTransformCount()) return false;
if (hasTransformCount()) {
if (getTransformCount()
!= other.getTransformCount()) return false;
}
if (hasTransformTimeNs() != other.hasTransformTimeNs()) return false;
if (hasTransformTimeNs()) {
if (getTransformTimeNs()
!= other.getTransformTimeNs()) return false;
}
if (hasTransformYieldCount() != other.hasTransformYieldCount()) return false;
if (hasTransformYieldCount()) {
if (getTransformYieldCount()
!= other.getTransformYieldCount()) return false;
}
if (hasInsertTimeNs() != other.hasInsertTimeNs()) return false;
if (hasInsertTimeNs()) {
if (getInsertTimeNs()
!= other.getInsertTimeNs()) return false;
}
if (hasInsertNewCount() != other.hasInsertNewCount()) return false;
if (hasInsertNewCount()) {
if (getInsertNewCount()
!= other.getInsertNewCount()) return false;
}
if (hasInsertReusedCount() != other.hasInsertReusedCount()) return false;
if (hasInsertReusedCount()) {
if (getInsertReusedCount()
!= other.getInsertReusedCount()) 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();
if (hasTaskCount()) {
hash = (37 * hash) + TASK_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTaskCount());
}
if (hasTaskTotalTimeNs()) {
hash = (37 * hash) + TASK_TOTAL_TIME_NS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTaskTotalTimeNs());
}
if (hasTransformCount()) {
hash = (37 * hash) + TRANSFORM_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTransformCount());
}
if (hasTransformTimeNs()) {
hash = (37 * hash) + TRANSFORM_TIME_NS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTransformTimeNs());
}
if (hasTransformYieldCount()) {
hash = (37 * hash) + TRANSFORM_YIELD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTransformYieldCount());
}
if (hasInsertTimeNs()) {
hash = (37 * hash) + INSERT_TIME_NS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInsertTimeNs());
}
if (hasInsertNewCount()) {
hash = (37 * hash) + INSERT_NEW_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInsertNewCount());
}
if (hasInsertReusedCount()) {
hash = (37 * hash) + INSERT_REUSED_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInsertReusedCount());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.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.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers 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.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers}
*/
@SuppressWarnings("deprecation") public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers)
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimersOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.class, com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.Builder.class);
}
// Construct using com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
taskCount_ = 0L;
taskTotalTimeNs_ = 0L;
transformCount_ = 0L;
transformTimeNs_ = 0L;
transformYieldCount_ = 0L;
insertTimeNs_ = 0L;
insertNewCount_ = 0L;
insertReusedCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_descriptor;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers getDefaultInstanceForType() {
return com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.getDefaultInstance();
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers build() {
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers buildPartial() {
com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers result = new com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.taskCount_ = taskCount_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.taskTotalTimeNs_ = taskTotalTimeNs_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.transformCount_ = transformCount_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.transformTimeNs_ = transformTimeNs_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.transformYieldCount_ = transformYieldCount_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.insertTimeNs_ = insertTimeNs_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.insertNewCount_ = insertNewCount_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.insertReusedCount_ = insertReusedCount_;
to_bitField0_ |= 0x00000080;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers) {
return mergeFrom((com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers other) {
if (other == com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers.getDefaultInstance()) return this;
if (other.hasTaskCount()) {
setTaskCount(other.getTaskCount());
}
if (other.hasTaskTotalTimeNs()) {
setTaskTotalTimeNs(other.getTaskTotalTimeNs());
}
if (other.hasTransformCount()) {
setTransformCount(other.getTransformCount());
}
if (other.hasTransformTimeNs()) {
setTransformTimeNs(other.getTransformTimeNs());
}
if (other.hasTransformYieldCount()) {
setTransformYieldCount(other.getTransformYieldCount());
}
if (other.hasInsertTimeNs()) {
setInsertTimeNs(other.getInsertTimeNs());
}
if (other.hasInsertNewCount()) {
setInsertNewCount(other.getInsertNewCount());
}
if (other.hasInsertReusedCount()) {
setInsertReusedCount(other.getInsertReusedCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.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 8: {
taskCount_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
taskTotalTimeNs_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
transformCount_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
transformTimeNs_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
transformYieldCount_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
insertTimeNs_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
insertNewCount_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
insertReusedCount_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long taskCount_ ;
/**
* optional int64 task_count = 1;
* @return Whether the taskCount field is set.
*/
@java.lang.Override
public boolean hasTaskCount() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 task_count = 1;
* @return The taskCount.
*/
@java.lang.Override
public long getTaskCount() {
return taskCount_;
}
/**
* optional int64 task_count = 1;
* @param value The taskCount to set.
* @return This builder for chaining.
*/
public Builder setTaskCount(long value) {
taskCount_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional int64 task_count = 1;
* @return This builder for chaining.
*/
public Builder clearTaskCount() {
bitField0_ = (bitField0_ & ~0x00000001);
taskCount_ = 0L;
onChanged();
return this;
}
private long taskTotalTimeNs_ ;
/**
* optional int64 task_total_time_ns = 2;
* @return Whether the taskTotalTimeNs field is set.
*/
@java.lang.Override
public boolean hasTaskTotalTimeNs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 task_total_time_ns = 2;
* @return The taskTotalTimeNs.
*/
@java.lang.Override
public long getTaskTotalTimeNs() {
return taskTotalTimeNs_;
}
/**
* optional int64 task_total_time_ns = 2;
* @param value The taskTotalTimeNs to set.
* @return This builder for chaining.
*/
public Builder setTaskTotalTimeNs(long value) {
taskTotalTimeNs_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional int64 task_total_time_ns = 2;
* @return This builder for chaining.
*/
public Builder clearTaskTotalTimeNs() {
bitField0_ = (bitField0_ & ~0x00000002);
taskTotalTimeNs_ = 0L;
onChanged();
return this;
}
private long transformCount_ ;
/**
* optional int64 transform_count = 3;
* @return Whether the transformCount field is set.
*/
@java.lang.Override
public boolean hasTransformCount() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int64 transform_count = 3;
* @return The transformCount.
*/
@java.lang.Override
public long getTransformCount() {
return transformCount_;
}
/**
* optional int64 transform_count = 3;
* @param value The transformCount to set.
* @return This builder for chaining.
*/
public Builder setTransformCount(long value) {
transformCount_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional int64 transform_count = 3;
* @return This builder for chaining.
*/
public Builder clearTransformCount() {
bitField0_ = (bitField0_ & ~0x00000004);
transformCount_ = 0L;
onChanged();
return this;
}
private long transformTimeNs_ ;
/**
* optional int64 transform_time_ns = 4;
* @return Whether the transformTimeNs field is set.
*/
@java.lang.Override
public boolean hasTransformTimeNs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 transform_time_ns = 4;
* @return The transformTimeNs.
*/
@java.lang.Override
public long getTransformTimeNs() {
return transformTimeNs_;
}
/**
* optional int64 transform_time_ns = 4;
* @param value The transformTimeNs to set.
* @return This builder for chaining.
*/
public Builder setTransformTimeNs(long value) {
transformTimeNs_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional int64 transform_time_ns = 4;
* @return This builder for chaining.
*/
public Builder clearTransformTimeNs() {
bitField0_ = (bitField0_ & ~0x00000008);
transformTimeNs_ = 0L;
onChanged();
return this;
}
private long transformYieldCount_ ;
/**
* optional int64 transform_yield_count = 5;
* @return Whether the transformYieldCount field is set.
*/
@java.lang.Override
public boolean hasTransformYieldCount() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int64 transform_yield_count = 5;
* @return The transformYieldCount.
*/
@java.lang.Override
public long getTransformYieldCount() {
return transformYieldCount_;
}
/**
* optional int64 transform_yield_count = 5;
* @param value The transformYieldCount to set.
* @return This builder for chaining.
*/
public Builder setTransformYieldCount(long value) {
transformYieldCount_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional int64 transform_yield_count = 5;
* @return This builder for chaining.
*/
public Builder clearTransformYieldCount() {
bitField0_ = (bitField0_ & ~0x00000010);
transformYieldCount_ = 0L;
onChanged();
return this;
}
private long insertTimeNs_ ;
/**
* optional int64 insert_time_ns = 6;
* @return Whether the insertTimeNs field is set.
*/
@java.lang.Override
public boolean hasInsertTimeNs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int64 insert_time_ns = 6;
* @return The insertTimeNs.
*/
@java.lang.Override
public long getInsertTimeNs() {
return insertTimeNs_;
}
/**
* optional int64 insert_time_ns = 6;
* @param value The insertTimeNs to set.
* @return This builder for chaining.
*/
public Builder setInsertTimeNs(long value) {
insertTimeNs_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional int64 insert_time_ns = 6;
* @return This builder for chaining.
*/
public Builder clearInsertTimeNs() {
bitField0_ = (bitField0_ & ~0x00000020);
insertTimeNs_ = 0L;
onChanged();
return this;
}
private long insertNewCount_ ;
/**
* optional int64 insert_new_count = 7;
* @return Whether the insertNewCount field is set.
*/
@java.lang.Override
public boolean hasInsertNewCount() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 insert_new_count = 7;
* @return The insertNewCount.
*/
@java.lang.Override
public long getInsertNewCount() {
return insertNewCount_;
}
/**
* optional int64 insert_new_count = 7;
* @param value The insertNewCount to set.
* @return This builder for chaining.
*/
public Builder setInsertNewCount(long value) {
insertNewCount_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional int64 insert_new_count = 7;
* @return This builder for chaining.
*/
public Builder clearInsertNewCount() {
bitField0_ = (bitField0_ & ~0x00000040);
insertNewCount_ = 0L;
onChanged();
return this;
}
private long insertReusedCount_ ;
/**
* optional int64 insert_reused_count = 8;
* @return Whether the insertReusedCount field is set.
*/
@java.lang.Override
public boolean hasInsertReusedCount() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional int64 insert_reused_count = 8;
* @return The insertReusedCount.
*/
@java.lang.Override
public long getInsertReusedCount() {
return insertReusedCount_;
}
/**
* optional int64 insert_reused_count = 8;
* @param value The insertReusedCount to set.
* @return This builder for chaining.
*/
public Builder setInsertReusedCount(long value) {
insertReusedCount_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional int64 insert_reused_count = 8;
* @return This builder for chaining.
*/
public Builder clearInsertReusedCount() {
bitField0_ = (bitField0_ & ~0x00000080);
insertReusedCount_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers)
}
// @@protoc_insertion_point(class_scope:com.apple.foundationdb.relational.yamltests.generated.stats.CountersAndTimers)
private static final com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers();
}
public static com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CountersAndTimers parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.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.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.apple.foundationdb.relational.yamltests.generated.stats.PlannerMetricsProto.CountersAndTimers getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\025planner_metrics.proto\022;com.apple.found" +
"ationdb.relational.yamltests.generated.s" +
"tats\"\327\001\n\005Entry\022`\n\nidentifier\030\001 \001(\0132G.com" +
".apple.foundationdb.relational.yamltests" +
".generated.stats.IdentifierH\000\210\001\001\022T\n\004info" +
"\030\002 \001(\0132A.com.apple.foundationdb.relation" +
"al.yamltests.generated.stats.InfoH\001\210\001\001B\r" +
"\n\013_identifierB\007\n\005_info\"P\n\nIdentifier\022\026\n\t" +
"blockName\030\001 \001(\tH\000\210\001\001\022\022\n\005query\030\002 \001(\tH\001\210\001\001" +
"B\014\n\n_blockNameB\010\n\006_query\"\314\001\n\004Info\022p\n\023cou" +
"nters_and_timers\030\001 \001(\0132N.com.apple.found" +
"ationdb.relational.yamltests.generated.s" +
"tats.CountersAndTimersH\000\210\001\001\022\024\n\007explain\030\002" +
" \001(\tH\001\210\001\001\022\020\n\003dot\030\003 \001(\tH\002\210\001\001B\026\n\024_counters" +
"_and_timersB\n\n\010_explainB\006\n\004_dot\"\267\003\n\021Coun" +
"tersAndTimers\022\027\n\ntask_count\030\001 \001(\003H\000\210\001\001\022\037" +
"\n\022task_total_time_ns\030\002 \001(\003H\001\210\001\001\022\034\n\017trans" +
"form_count\030\003 \001(\003H\002\210\001\001\022\036\n\021transform_time_" +
"ns\030\004 \001(\003H\003\210\001\001\022\"\n\025transform_yield_count\030\005" +
" \001(\003H\004\210\001\001\022\033\n\016insert_time_ns\030\006 \001(\003H\005\210\001\001\022\035" +
"\n\020insert_new_count\030\007 \001(\003H\006\210\001\001\022 \n\023insert_" +
"reused_count\030\010 \001(\003H\007\210\001\001B\r\n\013_task_countB\025" +
"\n\023_task_total_time_nsB\022\n\020_transform_coun" +
"tB\024\n\022_transform_time_nsB\030\n\026_transform_yi" +
"eld_countB\021\n\017_insert_time_nsB\023\n\021_insert_" +
"new_countB\026\n\024_insert_reused_countB\025B\023Pla" +
"nnerMetricsProtob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Entry_descriptor,
new java.lang.String[] { "Identifier", "Info", });
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Identifier_descriptor,
new java.lang.String[] { "BlockName", "Query", });
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_Info_descriptor,
new java.lang.String[] { "CountersAndTimers", "Explain", "Dot", });
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_com_apple_foundationdb_relational_yamltests_generated_stats_CountersAndTimers_descriptor,
new java.lang.String[] { "TaskCount", "TaskTotalTimeNs", "TransformCount", "TransformTimeNs", "TransformYieldCount", "InsertTimeNs", "InsertNewCount", "InsertReusedCount", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy