All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mdg.engine.proto.Reports Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: reports.proto

package mdg.engine.proto;

public final class Reports {
  private Reports() {}
  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 TraceOrBuilder extends
      // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Wallclock time when the trace began.
     * 
* * .google.protobuf.Timestamp start_time = 4; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** *
     * Wallclock time when the trace began.
     * 
* * .google.protobuf.Timestamp start_time = 4; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** *
     * Wallclock time when the trace began.
     * 
* * .google.protobuf.Timestamp start_time = 4; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** *
     * Wallclock time when the trace ended.
     * 
* * .google.protobuf.Timestamp end_time = 3; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** *
     * Wallclock time when the trace ended.
     * 
* * .google.protobuf.Timestamp end_time = 3; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** *
     * Wallclock time when the trace ended.
     * 
* * .google.protobuf.Timestamp end_time = 3; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** *
     * High precision duration of the trace; may not equal end_time-start_time
     * (eg, if your machine's clock changed during the trace).
     * 
* * uint64 duration_ns = 11; * @return The durationNs. */ long getDurationNs(); /** *
     * A tree containing information about all resolvers run directly by this
     * service, including errors.
     * 
* * .mdg.engine.proto.Trace.Node root = 14; * @return Whether the root field is set. */ boolean hasRoot(); /** *
     * A tree containing information about all resolvers run directly by this
     * service, including errors.
     * 
* * .mdg.engine.proto.Trace.Node root = 14; * @return The root. */ mdg.engine.proto.Reports.Trace.Node getRoot(); /** *
     * A tree containing information about all resolvers run directly by this
     * service, including errors.
     * 
* * .mdg.engine.proto.Trace.Node root = 14; */ mdg.engine.proto.Reports.Trace.NodeOrBuilder getRootOrBuilder(); /** *
     * In addition to details.raw_query, we include a "signature" of the query,
     * which can be normalized: for example, you may want to discard aliases, drop
     * unused operations and fragments, sort fields, etc. The most important thing
     * here is that the signature match the signature in StatsReports. In
     * StatsReports signatures show up as the key in the per_query map (with the
     * operation name prepended).  The signature should be a valid GraphQL query.
     * All traces must have a signature; if this Trace is in a FullTracesReport
     * that signature is in the key of traces_per_query rather than in this field.
     * Engineproxy provides the signature in legacy_signature_needs_resigning
     * instead.
     * 
* * string signature = 19; * @return The signature. */ java.lang.String getSignature(); /** *
     * In addition to details.raw_query, we include a "signature" of the query,
     * which can be normalized: for example, you may want to discard aliases, drop
     * unused operations and fragments, sort fields, etc. The most important thing
     * here is that the signature match the signature in StatsReports. In
     * StatsReports signatures show up as the key in the per_query map (with the
     * operation name prepended).  The signature should be a valid GraphQL query.
     * All traces must have a signature; if this Trace is in a FullTracesReport
     * that signature is in the key of traces_per_query rather than in this field.
     * Engineproxy provides the signature in legacy_signature_needs_resigning
     * instead.
     * 
* * string signature = 19; * @return The bytes for signature. */ com.google.protobuf.ByteString getSignatureBytes(); /** * .mdg.engine.proto.Trace.Details details = 6; * @return Whether the details field is set. */ boolean hasDetails(); /** * .mdg.engine.proto.Trace.Details details = 6; * @return The details. */ mdg.engine.proto.Reports.Trace.Details getDetails(); /** * .mdg.engine.proto.Trace.Details details = 6; */ mdg.engine.proto.Reports.Trace.DetailsOrBuilder getDetailsOrBuilder(); /** *
     * Note: engineproxy always sets client_name, client_version, and client_address to "none".
     * apollo-engine-reporting allows for them to be set by the user.
     * 
* * string client_name = 7; * @return The clientName. */ java.lang.String getClientName(); /** *
     * Note: engineproxy always sets client_name, client_version, and client_address to "none".
     * apollo-engine-reporting allows for them to be set by the user.
     * 
* * string client_name = 7; * @return The bytes for clientName. */ com.google.protobuf.ByteString getClientNameBytes(); /** * string client_version = 8; * @return The clientVersion. */ java.lang.String getClientVersion(); /** * string client_version = 8; * @return The bytes for clientVersion. */ com.google.protobuf.ByteString getClientVersionBytes(); /** * string client_address = 9; * @return The clientAddress. */ java.lang.String getClientAddress(); /** * string client_address = 9; * @return The bytes for clientAddress. */ com.google.protobuf.ByteString getClientAddressBytes(); /** * string client_reference_id = 23; * @return The clientReferenceId. */ java.lang.String getClientReferenceId(); /** * string client_reference_id = 23; * @return The bytes for clientReferenceId. */ com.google.protobuf.ByteString getClientReferenceIdBytes(); /** * .mdg.engine.proto.Trace.HTTP http = 10; * @return Whether the http field is set. */ boolean hasHttp(); /** * .mdg.engine.proto.Trace.HTTP http = 10; * @return The http. */ mdg.engine.proto.Reports.Trace.HTTP getHttp(); /** * .mdg.engine.proto.Trace.HTTP http = 10; */ mdg.engine.proto.Reports.Trace.HTTPOrBuilder getHttpOrBuilder(); /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; * @return Whether the cachePolicy field is set. */ boolean hasCachePolicy(); /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; * @return The cachePolicy. */ mdg.engine.proto.Reports.Trace.CachePolicy getCachePolicy(); /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder(); /** *
     * If this Trace was created by a gateway, this is the query plan, including
     * sub-Traces for federated services. Note that the 'root' tree on the
     * top-level Trace won't contain any resolvers (though it could contain errors
     * that occurred in the gateway itself).
     * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; * @return Whether the queryPlan field is set. */ boolean hasQueryPlan(); /** *
     * If this Trace was created by a gateway, this is the query plan, including
     * sub-Traces for federated services. Note that the 'root' tree on the
     * top-level Trace won't contain any resolvers (though it could contain errors
     * that occurred in the gateway itself).
     * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; * @return The queryPlan. */ mdg.engine.proto.Reports.Trace.QueryPlanNode getQueryPlan(); /** *
     * If this Trace was created by a gateway, this is the query plan, including
     * sub-Traces for federated services. Note that the 'root' tree on the
     * top-level Trace won't contain any resolvers (though it could contain errors
     * that occurred in the gateway itself).
     * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getQueryPlanOrBuilder(); /** *
     * Was this response served from a full query response cache?  (In that case
     * the node tree will have no resolvers.)
     * 
* * bool full_query_cache_hit = 20; * @return The fullQueryCacheHit. */ boolean getFullQueryCacheHit(); /** *
     * Was this query specified successfully as a persisted query hash?
     * 
* * bool persisted_query_hit = 21; * @return The persistedQueryHit. */ boolean getPersistedQueryHit(); /** *
     * Did this query contain both a full query string and a persisted query hash?
     * (This typically means that a previous request was rejected as an unknown
     * persisted query.)
     * 
* * bool persisted_query_register = 22; * @return The persistedQueryRegister. */ boolean getPersistedQueryRegister(); /** *
     * Was this operation registered and a part of the safelist?
     * 
* * bool registered_operation = 24; * @return The registeredOperation. */ boolean getRegisteredOperation(); /** *
     * Was this operation forbidden due to lack of safelisting?
     * 
* * bool forbidden_operation = 25; * @return The forbiddenOperation. */ boolean getForbiddenOperation(); /** *
     * --------------------------------------------------------------
     * Fields below this line are only set by the old Go engineproxy.
     * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; * @return Whether the originReportedStartTime field is set. */ boolean hasOriginReportedStartTime(); /** *
     * --------------------------------------------------------------
     * Fields below this line are only set by the old Go engineproxy.
     * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; * @return The originReportedStartTime. */ com.google.protobuf.Timestamp getOriginReportedStartTime(); /** *
     * --------------------------------------------------------------
     * Fields below this line are only set by the old Go engineproxy.
     * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ com.google.protobuf.TimestampOrBuilder getOriginReportedStartTimeOrBuilder(); /** * .google.protobuf.Timestamp origin_reported_end_time = 16; * @return Whether the originReportedEndTime field is set. */ boolean hasOriginReportedEndTime(); /** * .google.protobuf.Timestamp origin_reported_end_time = 16; * @return The originReportedEndTime. */ com.google.protobuf.Timestamp getOriginReportedEndTime(); /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ com.google.protobuf.TimestampOrBuilder getOriginReportedEndTimeOrBuilder(); /** * uint64 origin_reported_duration_ns = 17; * @return The originReportedDurationNs. */ long getOriginReportedDurationNs(); /** *
     * Older agents (eg the Go engineproxy) relied to some degree on the Engine
     * backend to run their own semi-compatible implementation of a specific
     * variant of query signatures. The backend does not do this for new agents (which
     * set the above 'signature' field). It used to still "re-sign" signatures
     * from engineproxy, but we've now simplified the backend to no longer do this.
     * Deprecated and ignored in FullTracesReports.
     * 
* * string legacy_signature_needs_resigning = 5; * @return The legacySignatureNeedsResigning. */ java.lang.String getLegacySignatureNeedsResigning(); /** *
     * Older agents (eg the Go engineproxy) relied to some degree on the Engine
     * backend to run their own semi-compatible implementation of a specific
     * variant of query signatures. The backend does not do this for new agents (which
     * set the above 'signature' field). It used to still "re-sign" signatures
     * from engineproxy, but we've now simplified the backend to no longer do this.
     * Deprecated and ignored in FullTracesReports.
     * 
* * string legacy_signature_needs_resigning = 5; * @return The bytes for legacySignatureNeedsResigning. */ com.google.protobuf.ByteString getLegacySignatureNeedsResigningBytes(); } /** * Protobuf type {@code mdg.engine.proto.Trace} */ public static final class Trace extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace) TraceOrBuilder { private static final long serialVersionUID = 0L; // Use Trace.newBuilder() to construct. private Trace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Trace() { signature_ = ""; clientName_ = ""; clientVersion_ = ""; clientAddress_ = ""; clientReferenceId_ = ""; legacySignatureNeedsResigning_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Trace(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Trace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 26: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (endTime_ != null) { subBuilder = endTime_.toBuilder(); } endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(endTime_); endTime_ = subBuilder.buildPartial(); } break; } case 34: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (startTime_ != null) { subBuilder = startTime_.toBuilder(); } startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(startTime_); startTime_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); legacySignatureNeedsResigning_ = s; break; } case 50: { mdg.engine.proto.Reports.Trace.Details.Builder subBuilder = null; if (details_ != null) { subBuilder = details_.toBuilder(); } details_ = input.readMessage(mdg.engine.proto.Reports.Trace.Details.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(details_); details_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); clientName_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); clientVersion_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); clientAddress_ = s; break; } case 82: { mdg.engine.proto.Reports.Trace.HTTP.Builder subBuilder = null; if (http_ != null) { subBuilder = http_.toBuilder(); } http_ = input.readMessage(mdg.engine.proto.Reports.Trace.HTTP.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(http_); http_ = subBuilder.buildPartial(); } break; } case 88: { durationNs_ = input.readUInt64(); break; } case 114: { mdg.engine.proto.Reports.Trace.Node.Builder subBuilder = null; if (root_ != null) { subBuilder = root_.toBuilder(); } root_ = input.readMessage(mdg.engine.proto.Reports.Trace.Node.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(root_); root_ = subBuilder.buildPartial(); } break; } case 122: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (originReportedStartTime_ != null) { subBuilder = originReportedStartTime_.toBuilder(); } originReportedStartTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(originReportedStartTime_); originReportedStartTime_ = subBuilder.buildPartial(); } break; } case 130: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (originReportedEndTime_ != null) { subBuilder = originReportedEndTime_.toBuilder(); } originReportedEndTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(originReportedEndTime_); originReportedEndTime_ = subBuilder.buildPartial(); } break; } case 136: { originReportedDurationNs_ = input.readUInt64(); break; } case 146: { mdg.engine.proto.Reports.Trace.CachePolicy.Builder subBuilder = null; if (cachePolicy_ != null) { subBuilder = cachePolicy_.toBuilder(); } cachePolicy_ = input.readMessage(mdg.engine.proto.Reports.Trace.CachePolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cachePolicy_); cachePolicy_ = subBuilder.buildPartial(); } break; } case 154: { java.lang.String s = input.readStringRequireUtf8(); signature_ = s; break; } case 160: { fullQueryCacheHit_ = input.readBool(); break; } case 168: { persistedQueryHit_ = input.readBool(); break; } case 176: { persistedQueryRegister_ = input.readBool(); break; } case 186: { java.lang.String s = input.readStringRequireUtf8(); clientReferenceId_ = s; break; } case 192: { registeredOperation_ = input.readBool(); break; } case 200: { forbiddenOperation_ = input.readBool(); break; } case 210: { mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder subBuilder = null; if (queryPlan_ != null) { subBuilder = queryPlan_.toBuilder(); } queryPlan_ = input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryPlan_); queryPlan_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.class, mdg.engine.proto.Reports.Trace.Builder.class); } public interface CachePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.CachePolicy) com.google.protobuf.MessageOrBuilder { /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @return The scope. */ mdg.engine.proto.Reports.Trace.CachePolicy.Scope getScope(); /** *
       * use 0 for absent, -1 for 0
       * 
* * int64 max_age_ns = 2; * @return The maxAgeNs. */ long getMaxAgeNs(); } /** * Protobuf type {@code mdg.engine.proto.Trace.CachePolicy} */ public static final class CachePolicy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.CachePolicy) CachePolicyOrBuilder { private static final long serialVersionUID = 0L; // Use CachePolicy.newBuilder() to construct. private CachePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CachePolicy() { scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CachePolicy(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CachePolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); scope_ = rawValue; break; } case 16: { maxAgeNs_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_CachePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_CachePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.CachePolicy.class, mdg.engine.proto.Reports.Trace.CachePolicy.Builder.class); } /** * Protobuf enum {@code mdg.engine.proto.Trace.CachePolicy.Scope} */ public enum Scope implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = 0; */ UNKNOWN(0), /** * PUBLIC = 1; */ PUBLIC(1), /** * PRIVATE = 2; */ PRIVATE(2), UNRECOGNIZED(-1), ; /** * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** * PUBLIC = 1; */ public static final int PUBLIC_VALUE = 1; /** * PRIVATE = 2; */ public static final int PRIVATE_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Scope valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Scope forNumber(int value) { switch (value) { case 0: return UNKNOWN; case 1: return PUBLIC; case 2: return PRIVATE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Scope> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Scope findValueByNumber(int number) { return Scope.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return mdg.engine.proto.Reports.Trace.CachePolicy.getDescriptor().getEnumTypes().get(0); } private static final Scope[] VALUES = values(); public static Scope valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Scope(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:mdg.engine.proto.Trace.CachePolicy.Scope) } public static final int SCOPE_FIELD_NUMBER = 1; private int scope_; /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @return The enum numeric value on the wire for scope. */ @java.lang.Override public int getScopeValue() { return scope_; } /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @return The scope. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicy.Scope getScope() { @SuppressWarnings("deprecation") mdg.engine.proto.Reports.Trace.CachePolicy.Scope result = mdg.engine.proto.Reports.Trace.CachePolicy.Scope.valueOf(scope_); return result == null ? mdg.engine.proto.Reports.Trace.CachePolicy.Scope.UNRECOGNIZED : result; } public static final int MAX_AGE_NS_FIELD_NUMBER = 2; private long maxAgeNs_; /** *
       * use 0 for absent, -1 for 0
       * 
* * int64 max_age_ns = 2; * @return The maxAgeNs. */ @java.lang.Override public long getMaxAgeNs() { return maxAgeNs_; } 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 (scope_ != mdg.engine.proto.Reports.Trace.CachePolicy.Scope.UNKNOWN.getNumber()) { output.writeEnum(1, scope_); } if (maxAgeNs_ != 0L) { output.writeInt64(2, maxAgeNs_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (scope_ != mdg.engine.proto.Reports.Trace.CachePolicy.Scope.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, scope_); } if (maxAgeNs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, maxAgeNs_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.CachePolicy)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.CachePolicy other = (mdg.engine.proto.Reports.Trace.CachePolicy) obj; if (scope_ != other.scope_) return false; if (getMaxAgeNs() != other.getMaxAgeNs()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SCOPE_FIELD_NUMBER; hash = (53 * hash) + scope_; hash = (37 * hash) + MAX_AGE_NS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxAgeNs()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.CachePolicy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.CachePolicy parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.CachePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.CachePolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.CachePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.CachePolicy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.CachePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.CachePolicy 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 mdg.engine.proto.Reports.Trace.CachePolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.CachePolicy 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 mdg.engine.proto.Reports.Trace.CachePolicy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.CachePolicy 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(mdg.engine.proto.Reports.Trace.CachePolicy 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 mdg.engine.proto.Trace.CachePolicy} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.CachePolicy) mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_CachePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_CachePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.CachePolicy.class, mdg.engine.proto.Reports.Trace.CachePolicy.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.CachePolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); scope_ = 0; maxAgeNs_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_CachePolicy_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicy getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.CachePolicy.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicy build() { mdg.engine.proto.Reports.Trace.CachePolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicy buildPartial() { mdg.engine.proto.Reports.Trace.CachePolicy result = new mdg.engine.proto.Reports.Trace.CachePolicy(this); result.scope_ = scope_; result.maxAgeNs_ = maxAgeNs_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.CachePolicy) { return mergeFrom((mdg.engine.proto.Reports.Trace.CachePolicy)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.CachePolicy other) { if (other == mdg.engine.proto.Reports.Trace.CachePolicy.getDefaultInstance()) return this; if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } if (other.getMaxAgeNs() != 0L) { setMaxAgeNs(other.getMaxAgeNs()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.CachePolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.CachePolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int scope_ = 0; /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @return The enum numeric value on the wire for scope. */ @java.lang.Override public int getScopeValue() { return scope_; } /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { scope_ = value; onChanged(); return this; } /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @return The scope. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicy.Scope getScope() { @SuppressWarnings("deprecation") mdg.engine.proto.Reports.Trace.CachePolicy.Scope result = mdg.engine.proto.Reports.Trace.CachePolicy.Scope.valueOf(scope_); return result == null ? mdg.engine.proto.Reports.Trace.CachePolicy.Scope.UNRECOGNIZED : result; } /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @param value The scope to set. * @return This builder for chaining. */ public Builder setScope(mdg.engine.proto.Reports.Trace.CachePolicy.Scope value) { if (value == null) { throw new NullPointerException(); } scope_ = value.getNumber(); onChanged(); return this; } /** * .mdg.engine.proto.Trace.CachePolicy.Scope scope = 1; * @return This builder for chaining. */ public Builder clearScope() { scope_ = 0; onChanged(); return this; } private long maxAgeNs_ ; /** *
         * use 0 for absent, -1 for 0
         * 
* * int64 max_age_ns = 2; * @return The maxAgeNs. */ @java.lang.Override public long getMaxAgeNs() { return maxAgeNs_; } /** *
         * use 0 for absent, -1 for 0
         * 
* * int64 max_age_ns = 2; * @param value The maxAgeNs to set. * @return This builder for chaining. */ public Builder setMaxAgeNs(long value) { maxAgeNs_ = value; onChanged(); return this; } /** *
         * use 0 for absent, -1 for 0
         * 
* * int64 max_age_ns = 2; * @return This builder for chaining. */ public Builder clearMaxAgeNs() { maxAgeNs_ = 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:mdg.engine.proto.Trace.CachePolicy) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.CachePolicy) private static final mdg.engine.proto.Reports.Trace.CachePolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.CachePolicy(); } public static mdg.engine.proto.Reports.Trace.CachePolicy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CachePolicy parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CachePolicy(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.Details) com.google.protobuf.MessageOrBuilder { /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ int getVariablesJsonCount(); /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ boolean containsVariablesJson( java.lang.String key); /** * Use {@link #getVariablesJsonMap()} instead. */ @java.lang.Deprecated java.util.Map getVariablesJson(); /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ java.util.Map getVariablesJsonMap(); /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ /* nullable */ java.lang.String getVariablesJsonOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ java.lang.String getVariablesJsonOrThrow( java.lang.String key); /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ int getVariablesCount(); /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ boolean containsVariables( java.lang.String key); /** * Use {@link #getVariablesMap()} instead. */ @java.lang.Deprecated java.util.Map getVariables(); /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ java.util.Map getVariablesMap(); /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ /* nullable */ com.google.protobuf.ByteString getVariablesOrDefault( java.lang.String key, /* nullable */ com.google.protobuf.ByteString defaultValue); /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ com.google.protobuf.ByteString getVariablesOrThrow( java.lang.String key); /** *
       * Optional: this is the original full query before the signature algorithm
       * is applied.  Engineproxy always sent this in all traces, which meant that
       * literal-masking done by the signature algorithm didn't fully hide
       * sensitive data from Engine servers. apollo-engine-reporting does not
       * include this by default.  (The Engine frontend does not currently show
       * this field.)
       * 
* * string raw_query = 2; * @return The rawQuery. */ java.lang.String getRawQuery(); /** *
       * Optional: this is the original full query before the signature algorithm
       * is applied.  Engineproxy always sent this in all traces, which meant that
       * literal-masking done by the signature algorithm didn't fully hide
       * sensitive data from Engine servers. apollo-engine-reporting does not
       * include this by default.  (The Engine frontend does not currently show
       * this field.)
       * 
* * string raw_query = 2; * @return The bytes for rawQuery. */ com.google.protobuf.ByteString getRawQueryBytes(); /** *
       * Don't include this in traces inside a FullTracesReport; the operation
       * name for these traces comes from the key of the traces_per_query map.
       * 
* * string operation_name = 3; * @return The operationName. */ java.lang.String getOperationName(); /** *
       * Don't include this in traces inside a FullTracesReport; the operation
       * name for these traces comes from the key of the traces_per_query map.
       * 
* * string operation_name = 3; * @return The bytes for operationName. */ com.google.protobuf.ByteString getOperationNameBytes(); } /** * Protobuf type {@code mdg.engine.proto.Trace.Details} */ public static final class Details extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.Details) DetailsOrBuilder { private static final long serialVersionUID = 0L; // Use Details.newBuilder() to construct. private Details(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Details() { rawQuery_ = ""; operationName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Details(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Details( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { variables_ = com.google.protobuf.MapField.newMapField( VariablesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry variables__ = input.readMessage( VariablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); variables_.getMutableMap().put( variables__.getKey(), variables__.getValue()); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); rawQuery_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); operationName_ = s; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { variablesJson_ = com.google.protobuf.MapField.newMapField( VariablesJsonDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry variablesJson__ = input.readMessage( VariablesJsonDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); variablesJson_.getMutableMap().put( variablesJson__.getKey(), variablesJson__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Details_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetVariablesJson(); case 1: return internalGetVariables(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Details_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.Details.class, mdg.engine.proto.Reports.Trace.Details.Builder.class); } public static final int VARIABLES_JSON_FIELD_NUMBER = 4; private static final class VariablesJsonDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Details_VariablesJsonEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> variablesJson_; private com.google.protobuf.MapField internalGetVariablesJson() { if (variablesJson_ == null) { return com.google.protobuf.MapField.emptyMapField( VariablesJsonDefaultEntryHolder.defaultEntry); } return variablesJson_; } public int getVariablesJsonCount() { return internalGetVariablesJson().getMap().size(); } /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ @java.lang.Override public boolean containsVariablesJson( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetVariablesJson().getMap().containsKey(key); } /** * Use {@link #getVariablesJsonMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getVariablesJson() { return getVariablesJsonMap(); } /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ @java.lang.Override public java.util.Map getVariablesJsonMap() { return internalGetVariablesJson().getMap(); } /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ @java.lang.Override public java.lang.String getVariablesJsonOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetVariablesJson().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * The variables associated with this query (unless the reporting agent is
       * configured to keep them all private). Values are JSON: ie, strings are
       * enclosed in double quotes, etc.  The value of a private variable is
       * the empty string.
       * 
* * map<string, string> variables_json = 4; */ @java.lang.Override public java.lang.String getVariablesJsonOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetVariablesJson().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int VARIABLES_FIELD_NUMBER = 1; private static final class VariablesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, com.google.protobuf.ByteString> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Details_VariablesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.BYTES, com.google.protobuf.ByteString.EMPTY); } private com.google.protobuf.MapField< java.lang.String, com.google.protobuf.ByteString> variables_; private com.google.protobuf.MapField internalGetVariables() { if (variables_ == null) { return com.google.protobuf.MapField.emptyMapField( VariablesDefaultEntryHolder.defaultEntry); } return variables_; } public int getVariablesCount() { return internalGetVariables().getMap().size(); } /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ @java.lang.Override public boolean containsVariables( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetVariables().getMap().containsKey(key); } /** * Use {@link #getVariablesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getVariables() { return getVariablesMap(); } /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ @java.lang.Override public java.util.Map getVariablesMap() { return internalGetVariables().getMap(); } /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ @java.lang.Override public com.google.protobuf.ByteString getVariablesOrDefault( java.lang.String key, com.google.protobuf.ByteString defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Deprecated. Engineproxy did not encode variable values as JSON, so you
       * couldn't tell numbers from numeric strings. Send variables_json instead.
       * 
* * map<string, bytes> variables = 1; */ @java.lang.Override public com.google.protobuf.ByteString getVariablesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int RAW_QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object rawQuery_; /** *
       * Optional: this is the original full query before the signature algorithm
       * is applied.  Engineproxy always sent this in all traces, which meant that
       * literal-masking done by the signature algorithm didn't fully hide
       * sensitive data from Engine servers. apollo-engine-reporting does not
       * include this by default.  (The Engine frontend does not currently show
       * this field.)
       * 
* * string raw_query = 2; * @return The rawQuery. */ @java.lang.Override public java.lang.String getRawQuery() { java.lang.Object ref = rawQuery_; 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(); rawQuery_ = s; return s; } } /** *
       * Optional: this is the original full query before the signature algorithm
       * is applied.  Engineproxy always sent this in all traces, which meant that
       * literal-masking done by the signature algorithm didn't fully hide
       * sensitive data from Engine servers. apollo-engine-reporting does not
       * include this by default.  (The Engine frontend does not currently show
       * this field.)
       * 
* * string raw_query = 2; * @return The bytes for rawQuery. */ @java.lang.Override public com.google.protobuf.ByteString getRawQueryBytes() { java.lang.Object ref = rawQuery_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rawQuery_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OPERATION_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object operationName_; /** *
       * Don't include this in traces inside a FullTracesReport; the operation
       * name for these traces comes from the key of the traces_per_query map.
       * 
* * string operation_name = 3; * @return The operationName. */ @java.lang.Override public java.lang.String getOperationName() { java.lang.Object ref = operationName_; 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(); operationName_ = s; return s; } } /** *
       * Don't include this in traces inside a FullTracesReport; the operation
       * name for these traces comes from the key of the traces_per_query map.
       * 
* * string operation_name = 3; * @return The bytes for operationName. */ @java.lang.Override public com.google.protobuf.ByteString getOperationNameBytes() { java.lang.Object ref = operationName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationName_ = 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 { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetVariables(), VariablesDefaultEntryHolder.defaultEntry, 1); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rawQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rawQuery_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, operationName_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetVariablesJson(), VariablesJsonDefaultEntryHolder.defaultEntry, 4); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetVariables().getMap().entrySet()) { com.google.protobuf.MapEntry variables__ = VariablesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, variables__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rawQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rawQuery_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, operationName_); } for (java.util.Map.Entry entry : internalGetVariablesJson().getMap().entrySet()) { com.google.protobuf.MapEntry variablesJson__ = VariablesJsonDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, variablesJson__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.Details)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.Details other = (mdg.engine.proto.Reports.Trace.Details) obj; if (!internalGetVariablesJson().equals( other.internalGetVariablesJson())) return false; if (!internalGetVariables().equals( other.internalGetVariables())) return false; if (!getRawQuery() .equals(other.getRawQuery())) return false; if (!getOperationName() .equals(other.getOperationName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetVariablesJson().getMap().isEmpty()) { hash = (37 * hash) + VARIABLES_JSON_FIELD_NUMBER; hash = (53 * hash) + internalGetVariablesJson().hashCode(); } if (!internalGetVariables().getMap().isEmpty()) { hash = (37 * hash) + VARIABLES_FIELD_NUMBER; hash = (53 * hash) + internalGetVariables().hashCode(); } hash = (37 * hash) + RAW_QUERY_FIELD_NUMBER; hash = (53 * hash) + getRawQuery().hashCode(); hash = (37 * hash) + OPERATION_NAME_FIELD_NUMBER; hash = (53 * hash) + getOperationName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.Details parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Details parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Details parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Details parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Details parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Details parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Details parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Details 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 mdg.engine.proto.Reports.Trace.Details parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Details 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 mdg.engine.proto.Reports.Trace.Details parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Details 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(mdg.engine.proto.Reports.Trace.Details 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 mdg.engine.proto.Trace.Details} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.Details) mdg.engine.proto.Reports.Trace.DetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Details_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetVariablesJson(); case 1: return internalGetVariables(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableVariablesJson(); case 1: return internalGetMutableVariables(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Details_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.Details.class, mdg.engine.proto.Reports.Trace.Details.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.Details.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableVariablesJson().clear(); internalGetMutableVariables().clear(); rawQuery_ = ""; operationName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Details_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Details getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.Details.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.Details build() { mdg.engine.proto.Reports.Trace.Details result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Details buildPartial() { mdg.engine.proto.Reports.Trace.Details result = new mdg.engine.proto.Reports.Trace.Details(this); int from_bitField0_ = bitField0_; result.variablesJson_ = internalGetVariablesJson(); result.variablesJson_.makeImmutable(); result.variables_ = internalGetVariables(); result.variables_.makeImmutable(); result.rawQuery_ = rawQuery_; result.operationName_ = operationName_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.Details) { return mergeFrom((mdg.engine.proto.Reports.Trace.Details)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.Details other) { if (other == mdg.engine.proto.Reports.Trace.Details.getDefaultInstance()) return this; internalGetMutableVariablesJson().mergeFrom( other.internalGetVariablesJson()); internalGetMutableVariables().mergeFrom( other.internalGetVariables()); if (!other.getRawQuery().isEmpty()) { rawQuery_ = other.rawQuery_; onChanged(); } if (!other.getOperationName().isEmpty()) { operationName_ = other.operationName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.Details parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.Details) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, java.lang.String> variablesJson_; private com.google.protobuf.MapField internalGetVariablesJson() { if (variablesJson_ == null) { return com.google.protobuf.MapField.emptyMapField( VariablesJsonDefaultEntryHolder.defaultEntry); } return variablesJson_; } private com.google.protobuf.MapField internalGetMutableVariablesJson() { onChanged();; if (variablesJson_ == null) { variablesJson_ = com.google.protobuf.MapField.newMapField( VariablesJsonDefaultEntryHolder.defaultEntry); } if (!variablesJson_.isMutable()) { variablesJson_ = variablesJson_.copy(); } return variablesJson_; } public int getVariablesJsonCount() { return internalGetVariablesJson().getMap().size(); } /** *
         * The variables associated with this query (unless the reporting agent is
         * configured to keep them all private). Values are JSON: ie, strings are
         * enclosed in double quotes, etc.  The value of a private variable is
         * the empty string.
         * 
* * map<string, string> variables_json = 4; */ @java.lang.Override public boolean containsVariablesJson( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetVariablesJson().getMap().containsKey(key); } /** * Use {@link #getVariablesJsonMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getVariablesJson() { return getVariablesJsonMap(); } /** *
         * The variables associated with this query (unless the reporting agent is
         * configured to keep them all private). Values are JSON: ie, strings are
         * enclosed in double quotes, etc.  The value of a private variable is
         * the empty string.
         * 
* * map<string, string> variables_json = 4; */ @java.lang.Override public java.util.Map getVariablesJsonMap() { return internalGetVariablesJson().getMap(); } /** *
         * The variables associated with this query (unless the reporting agent is
         * configured to keep them all private). Values are JSON: ie, strings are
         * enclosed in double quotes, etc.  The value of a private variable is
         * the empty string.
         * 
* * map<string, string> variables_json = 4; */ @java.lang.Override public java.lang.String getVariablesJsonOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetVariablesJson().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
         * The variables associated with this query (unless the reporting agent is
         * configured to keep them all private). Values are JSON: ie, strings are
         * enclosed in double quotes, etc.  The value of a private variable is
         * the empty string.
         * 
* * map<string, string> variables_json = 4; */ @java.lang.Override public java.lang.String getVariablesJsonOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetVariablesJson().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearVariablesJson() { internalGetMutableVariablesJson().getMutableMap() .clear(); return this; } /** *
         * The variables associated with this query (unless the reporting agent is
         * configured to keep them all private). Values are JSON: ie, strings are
         * enclosed in double quotes, etc.  The value of a private variable is
         * the empty string.
         * 
* * map<string, string> variables_json = 4; */ public Builder removeVariablesJson( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableVariablesJson().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableVariablesJson() { return internalGetMutableVariablesJson().getMutableMap(); } /** *
         * The variables associated with this query (unless the reporting agent is
         * configured to keep them all private). Values are JSON: ie, strings are
         * enclosed in double quotes, etc.  The value of a private variable is
         * the empty string.
         * 
* * map<string, string> variables_json = 4; */ public Builder putVariablesJson( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableVariablesJson().getMutableMap() .put(key, value); return this; } /** *
         * The variables associated with this query (unless the reporting agent is
         * configured to keep them all private). Values are JSON: ie, strings are
         * enclosed in double quotes, etc.  The value of a private variable is
         * the empty string.
         * 
* * map<string, string> variables_json = 4; */ public Builder putAllVariablesJson( java.util.Map values) { internalGetMutableVariablesJson().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, com.google.protobuf.ByteString> variables_; private com.google.protobuf.MapField internalGetVariables() { if (variables_ == null) { return com.google.protobuf.MapField.emptyMapField( VariablesDefaultEntryHolder.defaultEntry); } return variables_; } private com.google.protobuf.MapField internalGetMutableVariables() { onChanged();; if (variables_ == null) { variables_ = com.google.protobuf.MapField.newMapField( VariablesDefaultEntryHolder.defaultEntry); } if (!variables_.isMutable()) { variables_ = variables_.copy(); } return variables_; } public int getVariablesCount() { return internalGetVariables().getMap().size(); } /** *
         * Deprecated. Engineproxy did not encode variable values as JSON, so you
         * couldn't tell numbers from numeric strings. Send variables_json instead.
         * 
* * map<string, bytes> variables = 1; */ @java.lang.Override public boolean containsVariables( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetVariables().getMap().containsKey(key); } /** * Use {@link #getVariablesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getVariables() { return getVariablesMap(); } /** *
         * Deprecated. Engineproxy did not encode variable values as JSON, so you
         * couldn't tell numbers from numeric strings. Send variables_json instead.
         * 
* * map<string, bytes> variables = 1; */ @java.lang.Override public java.util.Map getVariablesMap() { return internalGetVariables().getMap(); } /** *
         * Deprecated. Engineproxy did not encode variable values as JSON, so you
         * couldn't tell numbers from numeric strings. Send variables_json instead.
         * 
* * map<string, bytes> variables = 1; */ @java.lang.Override public com.google.protobuf.ByteString getVariablesOrDefault( java.lang.String key, com.google.protobuf.ByteString defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
         * Deprecated. Engineproxy did not encode variable values as JSON, so you
         * couldn't tell numbers from numeric strings. Send variables_json instead.
         * 
* * map<string, bytes> variables = 1; */ @java.lang.Override public com.google.protobuf.ByteString getVariablesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetVariables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearVariables() { internalGetMutableVariables().getMutableMap() .clear(); return this; } /** *
         * Deprecated. Engineproxy did not encode variable values as JSON, so you
         * couldn't tell numbers from numeric strings. Send variables_json instead.
         * 
* * map<string, bytes> variables = 1; */ public Builder removeVariables( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableVariables().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableVariables() { return internalGetMutableVariables().getMutableMap(); } /** *
         * Deprecated. Engineproxy did not encode variable values as JSON, so you
         * couldn't tell numbers from numeric strings. Send variables_json instead.
         * 
* * map<string, bytes> variables = 1; */ public Builder putVariables( java.lang.String key, com.google.protobuf.ByteString value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableVariables().getMutableMap() .put(key, value); return this; } /** *
         * Deprecated. Engineproxy did not encode variable values as JSON, so you
         * couldn't tell numbers from numeric strings. Send variables_json instead.
         * 
* * map<string, bytes> variables = 1; */ public Builder putAllVariables( java.util.Map values) { internalGetMutableVariables().getMutableMap() .putAll(values); return this; } private java.lang.Object rawQuery_ = ""; /** *
         * Optional: this is the original full query before the signature algorithm
         * is applied.  Engineproxy always sent this in all traces, which meant that
         * literal-masking done by the signature algorithm didn't fully hide
         * sensitive data from Engine servers. apollo-engine-reporting does not
         * include this by default.  (The Engine frontend does not currently show
         * this field.)
         * 
* * string raw_query = 2; * @return The rawQuery. */ public java.lang.String getRawQuery() { java.lang.Object ref = rawQuery_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rawQuery_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * Optional: this is the original full query before the signature algorithm
         * is applied.  Engineproxy always sent this in all traces, which meant that
         * literal-masking done by the signature algorithm didn't fully hide
         * sensitive data from Engine servers. apollo-engine-reporting does not
         * include this by default.  (The Engine frontend does not currently show
         * this field.)
         * 
* * string raw_query = 2; * @return The bytes for rawQuery. */ public com.google.protobuf.ByteString getRawQueryBytes() { java.lang.Object ref = rawQuery_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rawQuery_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * Optional: this is the original full query before the signature algorithm
         * is applied.  Engineproxy always sent this in all traces, which meant that
         * literal-masking done by the signature algorithm didn't fully hide
         * sensitive data from Engine servers. apollo-engine-reporting does not
         * include this by default.  (The Engine frontend does not currently show
         * this field.)
         * 
* * string raw_query = 2; * @param value The rawQuery to set. * @return This builder for chaining. */ public Builder setRawQuery( java.lang.String value) { if (value == null) { throw new NullPointerException(); } rawQuery_ = value; onChanged(); return this; } /** *
         * Optional: this is the original full query before the signature algorithm
         * is applied.  Engineproxy always sent this in all traces, which meant that
         * literal-masking done by the signature algorithm didn't fully hide
         * sensitive data from Engine servers. apollo-engine-reporting does not
         * include this by default.  (The Engine frontend does not currently show
         * this field.)
         * 
* * string raw_query = 2; * @return This builder for chaining. */ public Builder clearRawQuery() { rawQuery_ = getDefaultInstance().getRawQuery(); onChanged(); return this; } /** *
         * Optional: this is the original full query before the signature algorithm
         * is applied.  Engineproxy always sent this in all traces, which meant that
         * literal-masking done by the signature algorithm didn't fully hide
         * sensitive data from Engine servers. apollo-engine-reporting does not
         * include this by default.  (The Engine frontend does not currently show
         * this field.)
         * 
* * string raw_query = 2; * @param value The bytes for rawQuery to set. * @return This builder for chaining. */ public Builder setRawQueryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rawQuery_ = value; onChanged(); return this; } private java.lang.Object operationName_ = ""; /** *
         * Don't include this in traces inside a FullTracesReport; the operation
         * name for these traces comes from the key of the traces_per_query map.
         * 
* * string operation_name = 3; * @return The operationName. */ public java.lang.String getOperationName() { java.lang.Object ref = operationName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * Don't include this in traces inside a FullTracesReport; the operation
         * name for these traces comes from the key of the traces_per_query map.
         * 
* * string operation_name = 3; * @return The bytes for operationName. */ public com.google.protobuf.ByteString getOperationNameBytes() { java.lang.Object ref = operationName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); operationName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * Don't include this in traces inside a FullTracesReport; the operation
         * name for these traces comes from the key of the traces_per_query map.
         * 
* * string operation_name = 3; * @param value The operationName to set. * @return This builder for chaining. */ public Builder setOperationName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } operationName_ = value; onChanged(); return this; } /** *
         * Don't include this in traces inside a FullTracesReport; the operation
         * name for these traces comes from the key of the traces_per_query map.
         * 
* * string operation_name = 3; * @return This builder for chaining. */ public Builder clearOperationName() { operationName_ = getDefaultInstance().getOperationName(); onChanged(); return this; } /** *
         * Don't include this in traces inside a FullTracesReport; the operation
         * name for these traces comes from the key of the traces_per_query map.
         * 
* * string operation_name = 3; * @param value The bytes for operationName to set. * @return This builder for chaining. */ public Builder setOperationNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationName_ = value; 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:mdg.engine.proto.Trace.Details) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.Details) private static final mdg.engine.proto.Reports.Trace.Details DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.Details(); } public static mdg.engine.proto.Reports.Trace.Details getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser
() { @java.lang.Override public Details parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Details(input, extensionRegistry); } }; public static com.google.protobuf.Parser
parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser
getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Details getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.Error) com.google.protobuf.MessageOrBuilder { /** *
       * required
       * 
* * string message = 1; * @return The message. */ java.lang.String getMessage(); /** *
       * required
       * 
* * string message = 1; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ java.util.List getLocationList(); /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ mdg.engine.proto.Reports.Trace.Location getLocation(int index); /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ int getLocationCount(); /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ java.util.List getLocationOrBuilderList(); /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ mdg.engine.proto.Reports.Trace.LocationOrBuilder getLocationOrBuilder( int index); /** * uint64 time_ns = 3; * @return The timeNs. */ long getTimeNs(); /** * string json = 4; * @return The json. */ java.lang.String getJson(); /** * string json = 4; * @return The bytes for json. */ com.google.protobuf.ByteString getJsonBytes(); } /** * Protobuf type {@code mdg.engine.proto.Trace.Error} */ public static final class Error extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.Error) ErrorOrBuilder { private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Error() { message_ = ""; location_ = java.util.Collections.emptyList(); json_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { location_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } location_.add( input.readMessage(mdg.engine.proto.Reports.Trace.Location.parser(), extensionRegistry)); break; } case 24: { timeNs_ = input.readUInt64(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); json_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { location_ = java.util.Collections.unmodifiableList(location_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.Error.class, mdg.engine.proto.Reports.Trace.Error.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** *
       * required
       * 
* * string message = 1; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** *
       * required
       * 
* * string message = 1; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCATION_FIELD_NUMBER = 2; private java.util.List location_; /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ @java.lang.Override public java.util.List getLocationList() { return location_; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ @java.lang.Override public java.util.List getLocationOrBuilderList() { return location_; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ @java.lang.Override public int getLocationCount() { return location_.size(); } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.Location getLocation(int index) { return location_.get(index); } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.LocationOrBuilder getLocationOrBuilder( int index) { return location_.get(index); } public static final int TIME_NS_FIELD_NUMBER = 3; private long timeNs_; /** * uint64 time_ns = 3; * @return The timeNs. */ @java.lang.Override public long getTimeNs() { return timeNs_; } public static final int JSON_FIELD_NUMBER = 4; private volatile java.lang.Object json_; /** * string json = 4; * @return The json. */ @java.lang.Override public java.lang.String getJson() { java.lang.Object ref = json_; 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(); json_ = s; return s; } } /** * string json = 4; * @return The bytes for json. */ @java.lang.Override public com.google.protobuf.ByteString getJsonBytes() { java.lang.Object ref = json_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); json_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } for (int i = 0; i < location_.size(); i++) { output.writeMessage(2, location_.get(i)); } if (timeNs_ != 0L) { output.writeUInt64(3, timeNs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(json_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, json_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); } for (int i = 0; i < location_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, location_.get(i)); } if (timeNs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, timeNs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(json_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, json_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.Error)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.Error other = (mdg.engine.proto.Reports.Trace.Error) obj; if (!getMessage() .equals(other.getMessage())) return false; if (!getLocationList() .equals(other.getLocationList())) return false; if (getTimeNs() != other.getTimeNs()) return false; if (!getJson() .equals(other.getJson())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); if (getLocationCount() > 0) { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocationList().hashCode(); } hash = (37 * hash) + TIME_NS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimeNs()); hash = (37 * hash) + JSON_FIELD_NUMBER; hash = (53 * hash) + getJson().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.Error parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Error parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Error parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Error parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Error 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 mdg.engine.proto.Reports.Trace.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Error 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 mdg.engine.proto.Reports.Trace.Error parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Error 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(mdg.engine.proto.Reports.Trace.Error 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 mdg.engine.proto.Trace.Error} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.Error) mdg.engine.proto.Reports.Trace.ErrorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.Error.class, mdg.engine.proto.Reports.Trace.Error.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.Error.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLocationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); message_ = ""; if (locationBuilder_ == null) { location_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { locationBuilder_.clear(); } timeNs_ = 0L; json_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Error_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Error getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.Error.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.Error build() { mdg.engine.proto.Reports.Trace.Error result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Error buildPartial() { mdg.engine.proto.Reports.Trace.Error result = new mdg.engine.proto.Reports.Trace.Error(this); int from_bitField0_ = bitField0_; result.message_ = message_; if (locationBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { location_ = java.util.Collections.unmodifiableList(location_); bitField0_ = (bitField0_ & ~0x00000001); } result.location_ = location_; } else { result.location_ = locationBuilder_.build(); } result.timeNs_ = timeNs_; result.json_ = json_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.Error) { return mergeFrom((mdg.engine.proto.Reports.Trace.Error)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.Error other) { if (other == mdg.engine.proto.Reports.Trace.Error.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (locationBuilder_ == null) { if (!other.location_.isEmpty()) { if (location_.isEmpty()) { location_ = other.location_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLocationIsMutable(); location_.addAll(other.location_); } onChanged(); } } else { if (!other.location_.isEmpty()) { if (locationBuilder_.isEmpty()) { locationBuilder_.dispose(); locationBuilder_ = null; location_ = other.location_; bitField0_ = (bitField0_ & ~0x00000001); locationBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLocationFieldBuilder() : null; } else { locationBuilder_.addAllMessages(other.location_); } } } if (other.getTimeNs() != 0L) { setTimeNs(other.getTimeNs()); } if (!other.getJson().isEmpty()) { json_ = other.json_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.Error parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object message_ = ""; /** *
         * required
         * 
* * string message = 1; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * required
         * 
* * string message = 1; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * required
         * 
* * string message = 1; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** *
         * required
         * 
* * string message = 1; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** *
         * required
         * 
* * string message = 1; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private java.util.List location_ = java.util.Collections.emptyList(); private void ensureLocationIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { location_ = new java.util.ArrayList(location_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Location, mdg.engine.proto.Reports.Trace.Location.Builder, mdg.engine.proto.Reports.Trace.LocationOrBuilder> locationBuilder_; /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public java.util.List getLocationList() { if (locationBuilder_ == null) { return java.util.Collections.unmodifiableList(location_); } else { return locationBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public int getLocationCount() { if (locationBuilder_ == null) { return location_.size(); } else { return locationBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public mdg.engine.proto.Reports.Trace.Location getLocation(int index) { if (locationBuilder_ == null) { return location_.get(index); } else { return locationBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder setLocation( int index, mdg.engine.proto.Reports.Trace.Location value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationIsMutable(); location_.set(index, value); onChanged(); } else { locationBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder setLocation( int index, mdg.engine.proto.Reports.Trace.Location.Builder builderForValue) { if (locationBuilder_ == null) { ensureLocationIsMutable(); location_.set(index, builderForValue.build()); onChanged(); } else { locationBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder addLocation(mdg.engine.proto.Reports.Trace.Location value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationIsMutable(); location_.add(value); onChanged(); } else { locationBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder addLocation( int index, mdg.engine.proto.Reports.Trace.Location value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationIsMutable(); location_.add(index, value); onChanged(); } else { locationBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder addLocation( mdg.engine.proto.Reports.Trace.Location.Builder builderForValue) { if (locationBuilder_ == null) { ensureLocationIsMutable(); location_.add(builderForValue.build()); onChanged(); } else { locationBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder addLocation( int index, mdg.engine.proto.Reports.Trace.Location.Builder builderForValue) { if (locationBuilder_ == null) { ensureLocationIsMutable(); location_.add(index, builderForValue.build()); onChanged(); } else { locationBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder addAllLocation( java.lang.Iterable values) { if (locationBuilder_ == null) { ensureLocationIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, location_); onChanged(); } else { locationBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder clearLocation() { if (locationBuilder_ == null) { location_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { locationBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public Builder removeLocation(int index) { if (locationBuilder_ == null) { ensureLocationIsMutable(); location_.remove(index); onChanged(); } else { locationBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public mdg.engine.proto.Reports.Trace.Location.Builder getLocationBuilder( int index) { return getLocationFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public mdg.engine.proto.Reports.Trace.LocationOrBuilder getLocationOrBuilder( int index) { if (locationBuilder_ == null) { return location_.get(index); } else { return locationBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public java.util.List getLocationOrBuilderList() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(location_); } } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public mdg.engine.proto.Reports.Trace.Location.Builder addLocationBuilder() { return getLocationFieldBuilder().addBuilder( mdg.engine.proto.Reports.Trace.Location.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public mdg.engine.proto.Reports.Trace.Location.Builder addLocationBuilder( int index) { return getLocationFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Trace.Location.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.Location location = 2; */ public java.util.List getLocationBuilderList() { return getLocationFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Location, mdg.engine.proto.Reports.Trace.Location.Builder, mdg.engine.proto.Reports.Trace.LocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { locationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Location, mdg.engine.proto.Reports.Trace.Location.Builder, mdg.engine.proto.Reports.Trace.LocationOrBuilder>( location_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; } private long timeNs_ ; /** * uint64 time_ns = 3; * @return The timeNs. */ @java.lang.Override public long getTimeNs() { return timeNs_; } /** * uint64 time_ns = 3; * @param value The timeNs to set. * @return This builder for chaining. */ public Builder setTimeNs(long value) { timeNs_ = value; onChanged(); return this; } /** * uint64 time_ns = 3; * @return This builder for chaining. */ public Builder clearTimeNs() { timeNs_ = 0L; onChanged(); return this; } private java.lang.Object json_ = ""; /** * string json = 4; * @return The json. */ public java.lang.String getJson() { java.lang.Object ref = json_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); json_ = s; return s; } else { return (java.lang.String) ref; } } /** * string json = 4; * @return The bytes for json. */ public com.google.protobuf.ByteString getJsonBytes() { java.lang.Object ref = json_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); json_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string json = 4; * @param value The json to set. * @return This builder for chaining. */ public Builder setJson( java.lang.String value) { if (value == null) { throw new NullPointerException(); } json_ = value; onChanged(); return this; } /** * string json = 4; * @return This builder for chaining. */ public Builder clearJson() { json_ = getDefaultInstance().getJson(); onChanged(); return this; } /** * string json = 4; * @param value The bytes for json to set. * @return This builder for chaining. */ public Builder setJsonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); json_ = value; 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:mdg.engine.proto.Trace.Error) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.Error) private static final mdg.engine.proto.Reports.Trace.Error DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.Error(); } public static mdg.engine.proto.Reports.Trace.Error getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Error parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Error(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HTTPOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.HTTP) com.google.protobuf.MessageOrBuilder { /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @return The enum numeric value on the wire for method. */ int getMethodValue(); /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @return The method. */ mdg.engine.proto.Reports.Trace.HTTP.Method getMethod(); /** * string host = 2; * @return The host. */ java.lang.String getHost(); /** * string host = 2; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** * string path = 3; * @return The path. */ java.lang.String getPath(); /** * string path = 3; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ int getRequestHeadersCount(); /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ boolean containsRequestHeaders( java.lang.String key); /** * Use {@link #getRequestHeadersMap()} instead. */ @java.lang.Deprecated java.util.Map getRequestHeaders(); /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ java.util.Map getRequestHeadersMap(); /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ /* nullable */ mdg.engine.proto.Reports.Trace.HTTP.Values getRequestHeadersOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.Trace.HTTP.Values defaultValue); /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ mdg.engine.proto.Reports.Trace.HTTP.Values getRequestHeadersOrThrow( java.lang.String key); /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ int getResponseHeadersCount(); /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ boolean containsResponseHeaders( java.lang.String key); /** * Use {@link #getResponseHeadersMap()} instead. */ @java.lang.Deprecated java.util.Map getResponseHeaders(); /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ java.util.Map getResponseHeadersMap(); /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ /* nullable */ mdg.engine.proto.Reports.Trace.HTTP.Values getResponseHeadersOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.Trace.HTTP.Values defaultValue); /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ mdg.engine.proto.Reports.Trace.HTTP.Values getResponseHeadersOrThrow( java.lang.String key); /** * uint32 status_code = 6; * @return The statusCode. */ int getStatusCode(); /** *
       * TLS was used
       * 
* * bool secure = 8; * @return The secure. */ boolean getSecure(); /** *
       * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
       * 
* * string protocol = 9; * @return The protocol. */ java.lang.String getProtocol(); /** *
       * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
       * 
* * string protocol = 9; * @return The bytes for protocol. */ com.google.protobuf.ByteString getProtocolBytes(); } /** * Protobuf type {@code mdg.engine.proto.Trace.HTTP} */ public static final class HTTP extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.HTTP) HTTPOrBuilder { private static final long serialVersionUID = 0L; // Use HTTP.newBuilder() to construct. private HTTP(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HTTP() { method_ = 0; host_ = ""; path_ = ""; protocol_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HTTP(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HTTP( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); method_ = rawValue; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); host_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { requestHeaders_ = com.google.protobuf.MapField.newMapField( RequestHeadersDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry requestHeaders__ = input.readMessage( RequestHeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); requestHeaders_.getMutableMap().put( requestHeaders__.getKey(), requestHeaders__.getValue()); break; } case 42: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { responseHeaders_ = com.google.protobuf.MapField.newMapField( ResponseHeadersDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry responseHeaders__ = input.readMessage( ResponseHeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); responseHeaders_.getMutableMap().put( responseHeaders__.getKey(), responseHeaders__.getValue()); break; } case 48: { statusCode_ = input.readUInt32(); break; } case 64: { secure_ = input.readBool(); break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); protocol_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetRequestHeaders(); case 5: return internalGetResponseHeaders(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.HTTP.class, mdg.engine.proto.Reports.Trace.HTTP.Builder.class); } /** * Protobuf enum {@code mdg.engine.proto.Trace.HTTP.Method} */ public enum Method implements com.google.protobuf.ProtocolMessageEnum { /** * UNKNOWN = 0; */ UNKNOWN(0), /** * OPTIONS = 1; */ OPTIONS(1), /** * GET = 2; */ GET(2), /** * HEAD = 3; */ HEAD(3), /** * POST = 4; */ POST(4), /** * PUT = 5; */ PUT(5), /** * DELETE = 6; */ DELETE(6), /** * TRACE = 7; */ TRACE(7), /** * CONNECT = 8; */ CONNECT(8), /** * PATCH = 9; */ PATCH(9), UNRECOGNIZED(-1), ; /** * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** * OPTIONS = 1; */ public static final int OPTIONS_VALUE = 1; /** * GET = 2; */ public static final int GET_VALUE = 2; /** * HEAD = 3; */ public static final int HEAD_VALUE = 3; /** * POST = 4; */ public static final int POST_VALUE = 4; /** * PUT = 5; */ public static final int PUT_VALUE = 5; /** * DELETE = 6; */ public static final int DELETE_VALUE = 6; /** * TRACE = 7; */ public static final int TRACE_VALUE = 7; /** * CONNECT = 8; */ public static final int CONNECT_VALUE = 8; /** * PATCH = 9; */ public static final int PATCH_VALUE = 9; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Method valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Method forNumber(int value) { switch (value) { case 0: return UNKNOWN; case 1: return OPTIONS; case 2: return GET; case 3: return HEAD; case 4: return POST; case 5: return PUT; case 6: return DELETE; case 7: return TRACE; case 8: return CONNECT; case 9: return PATCH; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Method> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Method findValueByNumber(int number) { return Method.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return mdg.engine.proto.Reports.Trace.HTTP.getDescriptor().getEnumTypes().get(0); } private static final Method[] VALUES = values(); public static Method valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Method(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:mdg.engine.proto.Trace.HTTP.Method) } public interface ValuesOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.HTTP.Values) com.google.protobuf.MessageOrBuilder { /** * repeated string value = 1; * @return A list containing the value. */ java.util.List getValueList(); /** * repeated string value = 1; * @return The count of value. */ int getValueCount(); /** * repeated string value = 1; * @param index The index of the element to return. * @return The value at the given index. */ java.lang.String getValue(int index); /** * repeated string value = 1; * @param index The index of the value to return. * @return The bytes of the value at the given index. */ com.google.protobuf.ByteString getValueBytes(int index); } /** * Protobuf type {@code mdg.engine.proto.Trace.HTTP.Values} */ public static final class Values extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.HTTP.Values) ValuesOrBuilder { private static final long serialVersionUID = 0L; // Use Values.newBuilder() to construct. private Values(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Values() { value_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Values(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Values( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { value_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } value_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { value_ = value_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_Values_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_Values_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.HTTP.Values.class, mdg.engine.proto.Reports.Trace.HTTP.Values.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList value_; /** * repeated string value = 1; * @return A list containing the value. */ public com.google.protobuf.ProtocolStringList getValueList() { return value_; } /** * repeated string value = 1; * @return The count of value. */ public int getValueCount() { return value_.size(); } /** * repeated string value = 1; * @param index The index of the element to return. * @return The value at the given index. */ public java.lang.String getValue(int index) { return value_.get(index); } /** * repeated string value = 1; * @param index The index of the value to return. * @return The bytes of the value at the given index. */ public com.google.protobuf.ByteString getValueBytes(int index) { return value_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < value_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < value_.size(); i++) { dataSize += computeStringSizeNoTag(value_.getRaw(i)); } size += dataSize; size += 1 * getValueList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.HTTP.Values)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.HTTP.Values other = (mdg.engine.proto.Reports.Trace.HTTP.Values) obj; if (!getValueList() .equals(other.getValueList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getValueCount() > 0) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValueList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.HTTP.Values parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.HTTP.Values parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.HTTP.Values parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.HTTP.Values parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.HTTP.Values parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.HTTP.Values parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.HTTP.Values parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.HTTP.Values 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 mdg.engine.proto.Reports.Trace.HTTP.Values parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.HTTP.Values 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 mdg.engine.proto.Reports.Trace.HTTP.Values parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.HTTP.Values 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(mdg.engine.proto.Reports.Trace.HTTP.Values 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 mdg.engine.proto.Trace.HTTP.Values} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.HTTP.Values) mdg.engine.proto.Reports.Trace.HTTP.ValuesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_Values_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_Values_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.HTTP.Values.class, mdg.engine.proto.Reports.Trace.HTTP.Values.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.HTTP.Values.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); value_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_Values_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.HTTP.Values.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values build() { mdg.engine.proto.Reports.Trace.HTTP.Values result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values buildPartial() { mdg.engine.proto.Reports.Trace.HTTP.Values result = new mdg.engine.proto.Reports.Trace.HTTP.Values(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { value_ = value_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.value_ = value_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.HTTP.Values) { return mergeFrom((mdg.engine.proto.Reports.Trace.HTTP.Values)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.HTTP.Values other) { if (other == mdg.engine.proto.Reports.Trace.HTTP.Values.getDefaultInstance()) return this; if (!other.value_.isEmpty()) { if (value_.isEmpty()) { value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureValueIsMutable(); value_.addAll(other.value_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.HTTP.Values parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.HTTP.Values) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList value_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { value_ = new com.google.protobuf.LazyStringArrayList(value_); bitField0_ |= 0x00000001; } } /** * repeated string value = 1; * @return A list containing the value. */ public com.google.protobuf.ProtocolStringList getValueList() { return value_.getUnmodifiableView(); } /** * repeated string value = 1; * @return The count of value. */ public int getValueCount() { return value_.size(); } /** * repeated string value = 1; * @param index The index of the element to return. * @return The value at the given index. */ public java.lang.String getValue(int index) { return value_.get(index); } /** * repeated string value = 1; * @param index The index of the value to return. * @return The bytes of the value at the given index. */ public com.google.protobuf.ByteString getValueBytes(int index) { return value_.getByteString(index); } /** * repeated string value = 1; * @param index The index to set the value at. * @param value The value to set. * @return This builder for chaining. */ public Builder setValue( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.set(index, value); onChanged(); return this; } /** * repeated string value = 1; * @param value The value to add. * @return This builder for chaining. */ public Builder addValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(value); onChanged(); return this; } /** * repeated string value = 1; * @param values The value to add. * @return This builder for chaining. */ public Builder addAllValue( java.lang.Iterable values) { ensureValueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); onChanged(); return this; } /** * repeated string value = 1; * @return This builder for chaining. */ public Builder clearValue() { value_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string value = 1; * @param value The bytes of the value to add. * @return This builder for chaining. */ public Builder addValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureValueIsMutable(); value_.add(value); 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:mdg.engine.proto.Trace.HTTP.Values) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.HTTP.Values) private static final mdg.engine.proto.Reports.Trace.HTTP.Values DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.HTTP.Values(); } public static mdg.engine.proto.Reports.Trace.HTTP.Values getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Values parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Values(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int METHOD_FIELD_NUMBER = 1; private int method_; /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @return The enum numeric value on the wire for method. */ @java.lang.Override public int getMethodValue() { return method_; } /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @return The method. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Method getMethod() { @SuppressWarnings("deprecation") mdg.engine.proto.Reports.Trace.HTTP.Method result = mdg.engine.proto.Reports.Trace.HTTP.Method.valueOf(method_); return result == null ? mdg.engine.proto.Reports.Trace.HTTP.Method.UNRECOGNIZED : result; } public static final int HOST_FIELD_NUMBER = 2; private volatile java.lang.Object host_; /** * string host = 2; * @return The host. */ @java.lang.Override public java.lang.String getHost() { java.lang.Object ref = host_; 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(); host_ = s; return s; } } /** * string host = 2; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** * string path = 3; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** * string path = 3; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REQUEST_HEADERS_FIELD_NUMBER = 4; private static final class RequestHeadersDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.Trace.HTTP.Values> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_RequestHeadersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.Trace.HTTP.Values.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.Trace.HTTP.Values> requestHeaders_; private com.google.protobuf.MapField internalGetRequestHeaders() { if (requestHeaders_ == null) { return com.google.protobuf.MapField.emptyMapField( RequestHeadersDefaultEntryHolder.defaultEntry); } return requestHeaders_; } public int getRequestHeadersCount() { return internalGetRequestHeaders().getMap().size(); } /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ @java.lang.Override public boolean containsRequestHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetRequestHeaders().getMap().containsKey(key); } /** * Use {@link #getRequestHeadersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getRequestHeaders() { return getRequestHeadersMap(); } /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ @java.lang.Override public java.util.Map getRequestHeadersMap() { return internalGetRequestHeaders().getMap(); } /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getRequestHeadersOrDefault( java.lang.String key, mdg.engine.proto.Reports.Trace.HTTP.Values defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRequestHeaders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Should exclude manual blacklist ("Auth" by default)
       * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getRequestHeadersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRequestHeaders().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int RESPONSE_HEADERS_FIELD_NUMBER = 5; private static final class ResponseHeadersDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.Trace.HTTP.Values> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_ResponseHeadersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.Trace.HTTP.Values.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.Trace.HTTP.Values> responseHeaders_; private com.google.protobuf.MapField internalGetResponseHeaders() { if (responseHeaders_ == null) { return com.google.protobuf.MapField.emptyMapField( ResponseHeadersDefaultEntryHolder.defaultEntry); } return responseHeaders_; } public int getResponseHeadersCount() { return internalGetResponseHeaders().getMap().size(); } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ @java.lang.Override public boolean containsResponseHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetResponseHeaders().getMap().containsKey(key); } /** * Use {@link #getResponseHeadersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResponseHeaders() { return getResponseHeadersMap(); } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ @java.lang.Override public java.util.Map getResponseHeadersMap() { return internalGetResponseHeaders().getMap(); } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getResponseHeadersOrDefault( java.lang.String key, mdg.engine.proto.Reports.Trace.HTTP.Values defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetResponseHeaders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getResponseHeadersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetResponseHeaders().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int STATUS_CODE_FIELD_NUMBER = 6; private int statusCode_; /** * uint32 status_code = 6; * @return The statusCode. */ @java.lang.Override public int getStatusCode() { return statusCode_; } public static final int SECURE_FIELD_NUMBER = 8; private boolean secure_; /** *
       * TLS was used
       * 
* * bool secure = 8; * @return The secure. */ @java.lang.Override public boolean getSecure() { return secure_; } public static final int PROTOCOL_FIELD_NUMBER = 9; private volatile java.lang.Object protocol_; /** *
       * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
       * 
* * string protocol = 9; * @return The protocol. */ @java.lang.Override public java.lang.String getProtocol() { java.lang.Object ref = protocol_; 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(); protocol_ = s; return s; } } /** *
       * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
       * 
* * string protocol = 9; * @return The bytes for protocol. */ @java.lang.Override public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); protocol_ = 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 (method_ != mdg.engine.proto.Reports.Trace.HTTP.Method.UNKNOWN.getNumber()) { output.writeEnum(1, method_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, host_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, path_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetRequestHeaders(), RequestHeadersDefaultEntryHolder.defaultEntry, 4); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetResponseHeaders(), ResponseHeadersDefaultEntryHolder.defaultEntry, 5); if (statusCode_ != 0) { output.writeUInt32(6, statusCode_); } if (secure_ != false) { output.writeBool(8, secure_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, protocol_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (method_ != mdg.engine.proto.Reports.Trace.HTTP.Method.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, method_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, host_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } for (java.util.Map.Entry entry : internalGetRequestHeaders().getMap().entrySet()) { com.google.protobuf.MapEntry requestHeaders__ = RequestHeadersDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, requestHeaders__); } for (java.util.Map.Entry entry : internalGetResponseHeaders().getMap().entrySet()) { com.google.protobuf.MapEntry responseHeaders__ = ResponseHeadersDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, responseHeaders__); } if (statusCode_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, statusCode_); } if (secure_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, secure_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, protocol_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.HTTP)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.HTTP other = (mdg.engine.proto.Reports.Trace.HTTP) obj; if (method_ != other.method_) return false; if (!getHost() .equals(other.getHost())) return false; if (!getPath() .equals(other.getPath())) return false; if (!internalGetRequestHeaders().equals( other.internalGetRequestHeaders())) return false; if (!internalGetResponseHeaders().equals( other.internalGetResponseHeaders())) return false; if (getStatusCode() != other.getStatusCode()) return false; if (getSecure() != other.getSecure()) return false; if (!getProtocol() .equals(other.getProtocol())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + method_; hash = (37 * hash) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (!internalGetRequestHeaders().getMap().isEmpty()) { hash = (37 * hash) + REQUEST_HEADERS_FIELD_NUMBER; hash = (53 * hash) + internalGetRequestHeaders().hashCode(); } if (!internalGetResponseHeaders().getMap().isEmpty()) { hash = (37 * hash) + RESPONSE_HEADERS_FIELD_NUMBER; hash = (53 * hash) + internalGetResponseHeaders().hashCode(); } hash = (37 * hash) + STATUS_CODE_FIELD_NUMBER; hash = (53 * hash) + getStatusCode(); hash = (37 * hash) + SECURE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSecure()); hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + getProtocol().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.HTTP parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.HTTP parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.HTTP parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.HTTP parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.HTTP parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.HTTP parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.HTTP parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.HTTP 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 mdg.engine.proto.Reports.Trace.HTTP parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.HTTP 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 mdg.engine.proto.Reports.Trace.HTTP parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.HTTP 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(mdg.engine.proto.Reports.Trace.HTTP 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 mdg.engine.proto.Trace.HTTP} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.HTTP) mdg.engine.proto.Reports.Trace.HTTPOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 4: return internalGetRequestHeaders(); case 5: return internalGetResponseHeaders(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 4: return internalGetMutableRequestHeaders(); case 5: return internalGetMutableResponseHeaders(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.HTTP.class, mdg.engine.proto.Reports.Trace.HTTP.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.HTTP.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); method_ = 0; host_ = ""; path_ = ""; internalGetMutableRequestHeaders().clear(); internalGetMutableResponseHeaders().clear(); statusCode_ = 0; secure_ = false; protocol_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_HTTP_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.HTTP.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP build() { mdg.engine.proto.Reports.Trace.HTTP result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP buildPartial() { mdg.engine.proto.Reports.Trace.HTTP result = new mdg.engine.proto.Reports.Trace.HTTP(this); int from_bitField0_ = bitField0_; result.method_ = method_; result.host_ = host_; result.path_ = path_; result.requestHeaders_ = internalGetRequestHeaders(); result.requestHeaders_.makeImmutable(); result.responseHeaders_ = internalGetResponseHeaders(); result.responseHeaders_.makeImmutable(); result.statusCode_ = statusCode_; result.secure_ = secure_; result.protocol_ = protocol_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.HTTP) { return mergeFrom((mdg.engine.proto.Reports.Trace.HTTP)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.HTTP other) { if (other == mdg.engine.proto.Reports.Trace.HTTP.getDefaultInstance()) return this; if (other.method_ != 0) { setMethodValue(other.getMethodValue()); } if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } internalGetMutableRequestHeaders().mergeFrom( other.internalGetRequestHeaders()); internalGetMutableResponseHeaders().mergeFrom( other.internalGetResponseHeaders()); if (other.getStatusCode() != 0) { setStatusCode(other.getStatusCode()); } if (other.getSecure() != false) { setSecure(other.getSecure()); } if (!other.getProtocol().isEmpty()) { protocol_ = other.protocol_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.HTTP parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.HTTP) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int method_ = 0; /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @return The enum numeric value on the wire for method. */ @java.lang.Override public int getMethodValue() { return method_; } /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @param value The enum numeric value on the wire for method to set. * @return This builder for chaining. */ public Builder setMethodValue(int value) { method_ = value; onChanged(); return this; } /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @return The method. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Method getMethod() { @SuppressWarnings("deprecation") mdg.engine.proto.Reports.Trace.HTTP.Method result = mdg.engine.proto.Reports.Trace.HTTP.Method.valueOf(method_); return result == null ? mdg.engine.proto.Reports.Trace.HTTP.Method.UNRECOGNIZED : result; } /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod(mdg.engine.proto.Reports.Trace.HTTP.Method value) { if (value == null) { throw new NullPointerException(); } method_ = value.getNumber(); onChanged(); return this; } /** * .mdg.engine.proto.Trace.HTTP.Method method = 1; * @return This builder for chaining. */ public Builder clearMethod() { method_ = 0; onChanged(); return this; } private java.lang.Object host_ = ""; /** * string host = 2; * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } else { return (java.lang.String) ref; } } /** * string host = 2; * @return The bytes for host. */ public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string host = 2; * @param value The host to set. * @return This builder for chaining. */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /** * string host = 2; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** * string host = 2; * @param value The bytes for host to set. * @return This builder for chaining. */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; } private java.lang.Object path_ = ""; /** * string path = 3; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * string path = 3; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string path = 3; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * string path = 3; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * string path = 3; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.Trace.HTTP.Values> requestHeaders_; private com.google.protobuf.MapField internalGetRequestHeaders() { if (requestHeaders_ == null) { return com.google.protobuf.MapField.emptyMapField( RequestHeadersDefaultEntryHolder.defaultEntry); } return requestHeaders_; } private com.google.protobuf.MapField internalGetMutableRequestHeaders() { onChanged();; if (requestHeaders_ == null) { requestHeaders_ = com.google.protobuf.MapField.newMapField( RequestHeadersDefaultEntryHolder.defaultEntry); } if (!requestHeaders_.isMutable()) { requestHeaders_ = requestHeaders_.copy(); } return requestHeaders_; } public int getRequestHeadersCount() { return internalGetRequestHeaders().getMap().size(); } /** *
         * Should exclude manual blacklist ("Auth" by default)
         * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ @java.lang.Override public boolean containsRequestHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetRequestHeaders().getMap().containsKey(key); } /** * Use {@link #getRequestHeadersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getRequestHeaders() { return getRequestHeadersMap(); } /** *
         * Should exclude manual blacklist ("Auth" by default)
         * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ @java.lang.Override public java.util.Map getRequestHeadersMap() { return internalGetRequestHeaders().getMap(); } /** *
         * Should exclude manual blacklist ("Auth" by default)
         * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getRequestHeadersOrDefault( java.lang.String key, mdg.engine.proto.Reports.Trace.HTTP.Values defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRequestHeaders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
         * Should exclude manual blacklist ("Auth" by default)
         * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getRequestHeadersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRequestHeaders().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearRequestHeaders() { internalGetMutableRequestHeaders().getMutableMap() .clear(); return this; } /** *
         * Should exclude manual blacklist ("Auth" by default)
         * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ public Builder removeRequestHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableRequestHeaders().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableRequestHeaders() { return internalGetMutableRequestHeaders().getMutableMap(); } /** *
         * Should exclude manual blacklist ("Auth" by default)
         * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ public Builder putRequestHeaders( java.lang.String key, mdg.engine.proto.Reports.Trace.HTTP.Values value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableRequestHeaders().getMutableMap() .put(key, value); return this; } /** *
         * Should exclude manual blacklist ("Auth" by default)
         * 
* * map<string, .mdg.engine.proto.Trace.HTTP.Values> request_headers = 4; */ public Builder putAllRequestHeaders( java.util.Map values) { internalGetMutableRequestHeaders().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.Trace.HTTP.Values> responseHeaders_; private com.google.protobuf.MapField internalGetResponseHeaders() { if (responseHeaders_ == null) { return com.google.protobuf.MapField.emptyMapField( ResponseHeadersDefaultEntryHolder.defaultEntry); } return responseHeaders_; } private com.google.protobuf.MapField internalGetMutableResponseHeaders() { onChanged();; if (responseHeaders_ == null) { responseHeaders_ = com.google.protobuf.MapField.newMapField( ResponseHeadersDefaultEntryHolder.defaultEntry); } if (!responseHeaders_.isMutable()) { responseHeaders_ = responseHeaders_.copy(); } return responseHeaders_; } public int getResponseHeadersCount() { return internalGetResponseHeaders().getMap().size(); } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ @java.lang.Override public boolean containsResponseHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetResponseHeaders().getMap().containsKey(key); } /** * Use {@link #getResponseHeadersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResponseHeaders() { return getResponseHeadersMap(); } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ @java.lang.Override public java.util.Map getResponseHeadersMap() { return internalGetResponseHeaders().getMap(); } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getResponseHeadersOrDefault( java.lang.String key, mdg.engine.proto.Reports.Trace.HTTP.Values defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetResponseHeaders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP.Values getResponseHeadersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetResponseHeaders().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearResponseHeaders() { internalGetMutableResponseHeaders().getMutableMap() .clear(); return this; } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ public Builder removeResponseHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableResponseHeaders().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableResponseHeaders() { return internalGetMutableResponseHeaders().getMutableMap(); } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ public Builder putResponseHeaders( java.lang.String key, mdg.engine.proto.Reports.Trace.HTTP.Values value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableResponseHeaders().getMutableMap() .put(key, value); return this; } /** * map<string, .mdg.engine.proto.Trace.HTTP.Values> response_headers = 5; */ public Builder putAllResponseHeaders( java.util.Map values) { internalGetMutableResponseHeaders().getMutableMap() .putAll(values); return this; } private int statusCode_ ; /** * uint32 status_code = 6; * @return The statusCode. */ @java.lang.Override public int getStatusCode() { return statusCode_; } /** * uint32 status_code = 6; * @param value The statusCode to set. * @return This builder for chaining. */ public Builder setStatusCode(int value) { statusCode_ = value; onChanged(); return this; } /** * uint32 status_code = 6; * @return This builder for chaining. */ public Builder clearStatusCode() { statusCode_ = 0; onChanged(); return this; } private boolean secure_ ; /** *
         * TLS was used
         * 
* * bool secure = 8; * @return The secure. */ @java.lang.Override public boolean getSecure() { return secure_; } /** *
         * TLS was used
         * 
* * bool secure = 8; * @param value The secure to set. * @return This builder for chaining. */ public Builder setSecure(boolean value) { secure_ = value; onChanged(); return this; } /** *
         * TLS was used
         * 
* * bool secure = 8; * @return This builder for chaining. */ public Builder clearSecure() { secure_ = false; onChanged(); return this; } private java.lang.Object protocol_ = ""; /** *
         * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
         * 
* * string protocol = 9; * @return The protocol. */ public java.lang.String getProtocol() { java.lang.Object ref = protocol_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); protocol_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
         * 
* * string protocol = 9; * @return The bytes for protocol. */ public com.google.protobuf.ByteString getProtocolBytes() { java.lang.Object ref = protocol_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); protocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
         * 
* * string protocol = 9; * @param value The protocol to set. * @return This builder for chaining. */ public Builder setProtocol( java.lang.String value) { if (value == null) { throw new NullPointerException(); } protocol_ = value; onChanged(); return this; } /** *
         * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
         * 
* * string protocol = 9; * @return This builder for chaining. */ public Builder clearProtocol() { protocol_ = getDefaultInstance().getProtocol(); onChanged(); return this; } /** *
         * by convention "HTTP/1.0", "HTTP/1.1", "HTTP/2" or "h2"
         * 
* * string protocol = 9; * @param value The bytes for protocol to set. * @return This builder for chaining. */ public Builder setProtocolBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); protocol_ = value; 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:mdg.engine.proto.Trace.HTTP) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.HTTP) private static final mdg.engine.proto.Reports.Trace.HTTP DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.HTTP(); } public static mdg.engine.proto.Reports.Trace.HTTP getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HTTP parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HTTP(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LocationOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.Location) com.google.protobuf.MessageOrBuilder { /** * uint32 line = 1; * @return The line. */ int getLine(); /** * uint32 column = 2; * @return The column. */ int getColumn(); } /** * Protobuf type {@code mdg.engine.proto.Trace.Location} */ public static final class Location extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.Location) LocationOrBuilder { private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Location() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Location( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { line_ = input.readUInt32(); break; } case 16: { column_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.Location.class, mdg.engine.proto.Reports.Trace.Location.Builder.class); } public static final int LINE_FIELD_NUMBER = 1; private int line_; /** * uint32 line = 1; * @return The line. */ @java.lang.Override public int getLine() { return line_; } public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** * uint32 column = 2; * @return The column. */ @java.lang.Override public int getColumn() { return column_; } 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 (line_ != 0) { output.writeUInt32(1, line_); } if (column_ != 0) { output.writeUInt32(2, column_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (line_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, line_); } if (column_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, column_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.Location)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.Location other = (mdg.engine.proto.Reports.Trace.Location) obj; if (getLine() != other.getLine()) return false; if (getColumn() != other.getColumn()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LINE_FIELD_NUMBER; hash = (53 * hash) + getLine(); hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumn(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.Location parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Location parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Location parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Location parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Location parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Location 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 mdg.engine.proto.Reports.Trace.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Location 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 mdg.engine.proto.Reports.Trace.Location parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Location 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(mdg.engine.proto.Reports.Trace.Location 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 mdg.engine.proto.Trace.Location} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.Location) mdg.engine.proto.Reports.Trace.LocationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.Location.class, mdg.engine.proto.Reports.Trace.Location.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.Location.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); line_ = 0; column_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Location_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Location getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.Location.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.Location build() { mdg.engine.proto.Reports.Trace.Location result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Location buildPartial() { mdg.engine.proto.Reports.Trace.Location result = new mdg.engine.proto.Reports.Trace.Location(this); result.line_ = line_; result.column_ = column_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.Location) { return mergeFrom((mdg.engine.proto.Reports.Trace.Location)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.Location other) { if (other == mdg.engine.proto.Reports.Trace.Location.getDefaultInstance()) return this; if (other.getLine() != 0) { setLine(other.getLine()); } if (other.getColumn() != 0) { setColumn(other.getColumn()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.Location parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.Location) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int line_ ; /** * uint32 line = 1; * @return The line. */ @java.lang.Override public int getLine() { return line_; } /** * uint32 line = 1; * @param value The line to set. * @return This builder for chaining. */ public Builder setLine(int value) { line_ = value; onChanged(); return this; } /** * uint32 line = 1; * @return This builder for chaining. */ public Builder clearLine() { line_ = 0; onChanged(); return this; } private int column_ ; /** * uint32 column = 2; * @return The column. */ @java.lang.Override public int getColumn() { return column_; } /** * uint32 column = 2; * @param value The column to set. * @return This builder for chaining. */ public Builder setColumn(int value) { column_ = value; onChanged(); return this; } /** * uint32 column = 2; * @return This builder for chaining. */ public Builder clearColumn() { column_ = 0; 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:mdg.engine.proto.Trace.Location) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.Location) private static final mdg.engine.proto.Reports.Trace.Location DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.Location(); } public static mdg.engine.proto.Reports.Trace.Location getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Location parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Location(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NodeOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.Node) com.google.protobuf.MessageOrBuilder { /** * string response_name = 1; * @return Whether the responseName field is set. */ boolean hasResponseName(); /** * string response_name = 1; * @return The responseName. */ java.lang.String getResponseName(); /** * string response_name = 1; * @return The bytes for responseName. */ com.google.protobuf.ByteString getResponseNameBytes(); /** * uint32 index = 2; * @return Whether the index field is set. */ boolean hasIndex(); /** * uint32 index = 2; * @return The index. */ int getIndex(); /** * string original_field_name = 14; * @return The originalFieldName. */ java.lang.String getOriginalFieldName(); /** * string original_field_name = 14; * @return The bytes for originalFieldName. */ com.google.protobuf.ByteString getOriginalFieldNameBytes(); /** *
       * The field's return type; e.g. "String!" for User.email:String!
       * 
* * string type = 3; * @return The type. */ java.lang.String getType(); /** *
       * The field's return type; e.g. "String!" for User.email:String!
       * 
* * string type = 3; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** *
       * The field's parent type; e.g. "User" for User.email:String!
       * 
* * string parent_type = 13; * @return The parentType. */ java.lang.String getParentType(); /** *
       * The field's parent type; e.g. "User" for User.email:String!
       * 
* * string parent_type = 13; * @return The bytes for parentType. */ com.google.protobuf.ByteString getParentTypeBytes(); /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; * @return Whether the cachePolicy field is set. */ boolean hasCachePolicy(); /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; * @return The cachePolicy. */ mdg.engine.proto.Reports.Trace.CachePolicy getCachePolicy(); /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder(); /** *
       * relative to the trace's start_time, in ns
       * 
* * uint64 start_time = 8; * @return The startTime. */ long getStartTime(); /** *
       * relative to the trace's start_time, in ns
       * 
* * uint64 end_time = 9; * @return The endTime. */ long getEndTime(); /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ java.util.List getErrorList(); /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ mdg.engine.proto.Reports.Trace.Error getError(int index); /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ int getErrorCount(); /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ java.util.List getErrorOrBuilderList(); /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ mdg.engine.proto.Reports.Trace.ErrorOrBuilder getErrorOrBuilder( int index); /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ java.util.List getChildList(); /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ mdg.engine.proto.Reports.Trace.Node getChild(int index); /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ int getChildCount(); /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ java.util.List getChildOrBuilderList(); /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ mdg.engine.proto.Reports.Trace.NodeOrBuilder getChildOrBuilder( int index); public mdg.engine.proto.Reports.Trace.Node.IdCase getIdCase(); } /** *
     * We store information on each resolver execution as a Node on a tree.
     * The structure of the tree corresponds to the structure of the GraphQL
     * response; it does not indicate the order in which resolvers were
     * invoked.  Note that nodes representing indexes (and the root node)
     * don't contain all Node fields (eg types and times).
     * 
* * Protobuf type {@code mdg.engine.proto.Trace.Node} */ public static final class Node extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.Node) NodeOrBuilder { private static final long serialVersionUID = 0L; // Use Node.newBuilder() to construct. private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Node() { originalFieldName_ = ""; type_ = ""; parentType_ = ""; error_ = java.util.Collections.emptyList(); child_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Node(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Node( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); idCase_ = 1; id_ = s; break; } case 16: { id_ = input.readUInt32(); idCase_ = 2; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); type_ = s; break; } case 42: { mdg.engine.proto.Reports.Trace.CachePolicy.Builder subBuilder = null; if (cachePolicy_ != null) { subBuilder = cachePolicy_.toBuilder(); } cachePolicy_ = input.readMessage(mdg.engine.proto.Reports.Trace.CachePolicy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cachePolicy_); cachePolicy_ = subBuilder.buildPartial(); } break; } case 64: { startTime_ = input.readUInt64(); break; } case 72: { endTime_ = input.readUInt64(); break; } case 90: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { error_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } error_.add( input.readMessage(mdg.engine.proto.Reports.Trace.Error.parser(), extensionRegistry)); break; } case 98: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { child_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } child_.add( input.readMessage(mdg.engine.proto.Reports.Trace.Node.parser(), extensionRegistry)); break; } case 106: { java.lang.String s = input.readStringRequireUtf8(); parentType_ = s; break; } case 114: { java.lang.String s = input.readStringRequireUtf8(); originalFieldName_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { error_ = java.util.Collections.unmodifiableList(error_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { child_ = java.util.Collections.unmodifiableList(child_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Node_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Node_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.Node.class, mdg.engine.proto.Reports.Trace.Node.Builder.class); } private int idCase_ = 0; private java.lang.Object id_; public enum IdCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RESPONSE_NAME(1), INDEX(2), ID_NOT_SET(0); private final int value; private IdCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static IdCase valueOf(int value) { return forNumber(value); } public static IdCase forNumber(int value) { switch (value) { case 1: return RESPONSE_NAME; case 2: return INDEX; case 0: return ID_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public IdCase getIdCase() { return IdCase.forNumber( idCase_); } public static final int RESPONSE_NAME_FIELD_NUMBER = 1; /** * string response_name = 1; * @return Whether the responseName field is set. */ public boolean hasResponseName() { return idCase_ == 1; } /** * string response_name = 1; * @return The responseName. */ public java.lang.String getResponseName() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } 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(); if (idCase_ == 1) { id_ = s; } return s; } } /** * string response_name = 1; * @return The bytes for responseName. */ public com.google.protobuf.ByteString getResponseNameBytes() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (idCase_ == 1) { id_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INDEX_FIELD_NUMBER = 2; /** * uint32 index = 2; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return idCase_ == 2; } /** * uint32 index = 2; * @return The index. */ @java.lang.Override public int getIndex() { if (idCase_ == 2) { return (java.lang.Integer) id_; } return 0; } public static final int ORIGINAL_FIELD_NAME_FIELD_NUMBER = 14; private volatile java.lang.Object originalFieldName_; /** * string original_field_name = 14; * @return The originalFieldName. */ @java.lang.Override public java.lang.String getOriginalFieldName() { java.lang.Object ref = originalFieldName_; 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(); originalFieldName_ = s; return s; } } /** * string original_field_name = 14; * @return The bytes for originalFieldName. */ @java.lang.Override public com.google.protobuf.ByteString getOriginalFieldNameBytes() { java.lang.Object ref = originalFieldName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); originalFieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** *
       * The field's return type; e.g. "String!" for User.email:String!
       * 
* * string type = 3; * @return The type. */ @java.lang.Override public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; } } /** *
       * The field's return type; e.g. "String!" for User.email:String!
       * 
* * string type = 3; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARENT_TYPE_FIELD_NUMBER = 13; private volatile java.lang.Object parentType_; /** *
       * The field's parent type; e.g. "User" for User.email:String!
       * 
* * string parent_type = 13; * @return The parentType. */ @java.lang.Override public java.lang.String getParentType() { java.lang.Object ref = parentType_; 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(); parentType_ = s; return s; } } /** *
       * The field's parent type; e.g. "User" for User.email:String!
       * 
* * string parent_type = 13; * @return The bytes for parentType. */ @java.lang.Override public com.google.protobuf.ByteString getParentTypeBytes() { java.lang.Object ref = parentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CACHE_POLICY_FIELD_NUMBER = 5; private mdg.engine.proto.Reports.Trace.CachePolicy cachePolicy_; /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; * @return Whether the cachePolicy field is set. */ @java.lang.Override public boolean hasCachePolicy() { return cachePolicy_ != null; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; * @return The cachePolicy. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicy getCachePolicy() { return cachePolicy_ == null ? mdg.engine.proto.Reports.Trace.CachePolicy.getDefaultInstance() : cachePolicy_; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder() { return getCachePolicy(); } public static final int START_TIME_FIELD_NUMBER = 8; private long startTime_; /** *
       * relative to the trace's start_time, in ns
       * 
* * uint64 start_time = 8; * @return The startTime. */ @java.lang.Override public long getStartTime() { return startTime_; } public static final int END_TIME_FIELD_NUMBER = 9; private long endTime_; /** *
       * relative to the trace's start_time, in ns
       * 
* * uint64 end_time = 9; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } public static final int ERROR_FIELD_NUMBER = 11; private java.util.List error_; /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ @java.lang.Override public java.util.List getErrorList() { return error_; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ @java.lang.Override public java.util.List getErrorOrBuilderList() { return error_; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ @java.lang.Override public int getErrorCount() { return error_.size(); } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.Error getError(int index) { return error_.get(index); } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.ErrorOrBuilder getErrorOrBuilder( int index) { return error_.get(index); } public static final int CHILD_FIELD_NUMBER = 12; private java.util.List child_; /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ @java.lang.Override public java.util.List getChildList() { return child_; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ @java.lang.Override public java.util.List getChildOrBuilderList() { return child_; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ @java.lang.Override public int getChildCount() { return child_.size(); } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.Node getChild(int index) { return child_.get(index); } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.NodeOrBuilder getChildOrBuilder( int index) { return child_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (idCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (idCase_ == 2) { output.writeUInt32( 2, (int)((java.lang.Integer) id_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } if (cachePolicy_ != null) { output.writeMessage(5, getCachePolicy()); } if (startTime_ != 0L) { output.writeUInt64(8, startTime_); } if (endTime_ != 0L) { output.writeUInt64(9, endTime_); } for (int i = 0; i < error_.size(); i++) { output.writeMessage(11, error_.get(i)); } for (int i = 0; i < child_.size(); i++) { output.writeMessage(12, child_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, parentType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(originalFieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, originalFieldName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (idCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (idCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size( 2, (int)((java.lang.Integer) id_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } if (cachePolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getCachePolicy()); } if (startTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(8, startTime_); } if (endTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, endTime_); } for (int i = 0; i < error_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, error_.get(i)); } for (int i = 0; i < child_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, child_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parentType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, parentType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(originalFieldName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, originalFieldName_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.Node)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.Node other = (mdg.engine.proto.Reports.Trace.Node) obj; if (!getOriginalFieldName() .equals(other.getOriginalFieldName())) return false; if (!getType() .equals(other.getType())) return false; if (!getParentType() .equals(other.getParentType())) return false; if (hasCachePolicy() != other.hasCachePolicy()) return false; if (hasCachePolicy()) { if (!getCachePolicy() .equals(other.getCachePolicy())) return false; } if (getStartTime() != other.getStartTime()) return false; if (getEndTime() != other.getEndTime()) return false; if (!getErrorList() .equals(other.getErrorList())) return false; if (!getChildList() .equals(other.getChildList())) return false; if (!getIdCase().equals(other.getIdCase())) return false; switch (idCase_) { case 1: if (!getResponseName() .equals(other.getResponseName())) return false; break; case 2: if (getIndex() != other.getIndex()) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ORIGINAL_FIELD_NAME_FIELD_NUMBER; hash = (53 * hash) + getOriginalFieldName().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + PARENT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getParentType().hashCode(); if (hasCachePolicy()) { hash = (37 * hash) + CACHE_POLICY_FIELD_NUMBER; hash = (53 * hash) + getCachePolicy().hashCode(); } hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartTime()); hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndTime()); if (getErrorCount() > 0) { hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getErrorList().hashCode(); } if (getChildCount() > 0) { hash = (37 * hash) + CHILD_FIELD_NUMBER; hash = (53 * hash) + getChildList().hashCode(); } switch (idCase_) { case 1: hash = (37 * hash) + RESPONSE_NAME_FIELD_NUMBER; hash = (53 * hash) + getResponseName().hashCode(); break; case 2: hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.Node parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Node parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Node parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.Node parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.Node parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Node 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 mdg.engine.proto.Reports.Trace.Node parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Node 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 mdg.engine.proto.Reports.Trace.Node parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.Node 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(mdg.engine.proto.Reports.Trace.Node 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; } /** *
       * We store information on each resolver execution as a Node on a tree.
       * The structure of the tree corresponds to the structure of the GraphQL
       * response; it does not indicate the order in which resolvers were
       * invoked.  Note that nodes representing indexes (and the root node)
       * don't contain all Node fields (eg types and times).
       * 
* * Protobuf type {@code mdg.engine.proto.Trace.Node} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.Node) mdg.engine.proto.Reports.Trace.NodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Node_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Node_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.Node.class, mdg.engine.proto.Reports.Trace.Node.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.Node.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getErrorFieldBuilder(); getChildFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); originalFieldName_ = ""; type_ = ""; parentType_ = ""; if (cachePolicyBuilder_ == null) { cachePolicy_ = null; } else { cachePolicy_ = null; cachePolicyBuilder_ = null; } startTime_ = 0L; endTime_ = 0L; if (errorBuilder_ == null) { error_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { errorBuilder_.clear(); } if (childBuilder_ == null) { child_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { childBuilder_.clear(); } idCase_ = 0; id_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_Node_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Node getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.Node.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.Node build() { mdg.engine.proto.Reports.Trace.Node result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Node buildPartial() { mdg.engine.proto.Reports.Trace.Node result = new mdg.engine.proto.Reports.Trace.Node(this); int from_bitField0_ = bitField0_; if (idCase_ == 1) { result.id_ = id_; } if (idCase_ == 2) { result.id_ = id_; } result.originalFieldName_ = originalFieldName_; result.type_ = type_; result.parentType_ = parentType_; if (cachePolicyBuilder_ == null) { result.cachePolicy_ = cachePolicy_; } else { result.cachePolicy_ = cachePolicyBuilder_.build(); } result.startTime_ = startTime_; result.endTime_ = endTime_; if (errorBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { error_ = java.util.Collections.unmodifiableList(error_); bitField0_ = (bitField0_ & ~0x00000001); } result.error_ = error_; } else { result.error_ = errorBuilder_.build(); } if (childBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { child_ = java.util.Collections.unmodifiableList(child_); bitField0_ = (bitField0_ & ~0x00000002); } result.child_ = child_; } else { result.child_ = childBuilder_.build(); } result.idCase_ = idCase_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.Node) { return mergeFrom((mdg.engine.proto.Reports.Trace.Node)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.Node other) { if (other == mdg.engine.proto.Reports.Trace.Node.getDefaultInstance()) return this; if (!other.getOriginalFieldName().isEmpty()) { originalFieldName_ = other.originalFieldName_; onChanged(); } if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getParentType().isEmpty()) { parentType_ = other.parentType_; onChanged(); } if (other.hasCachePolicy()) { mergeCachePolicy(other.getCachePolicy()); } if (other.getStartTime() != 0L) { setStartTime(other.getStartTime()); } if (other.getEndTime() != 0L) { setEndTime(other.getEndTime()); } if (errorBuilder_ == null) { if (!other.error_.isEmpty()) { if (error_.isEmpty()) { error_ = other.error_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureErrorIsMutable(); error_.addAll(other.error_); } onChanged(); } } else { if (!other.error_.isEmpty()) { if (errorBuilder_.isEmpty()) { errorBuilder_.dispose(); errorBuilder_ = null; error_ = other.error_; bitField0_ = (bitField0_ & ~0x00000001); errorBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getErrorFieldBuilder() : null; } else { errorBuilder_.addAllMessages(other.error_); } } } if (childBuilder_ == null) { if (!other.child_.isEmpty()) { if (child_.isEmpty()) { child_ = other.child_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureChildIsMutable(); child_.addAll(other.child_); } onChanged(); } } else { if (!other.child_.isEmpty()) { if (childBuilder_.isEmpty()) { childBuilder_.dispose(); childBuilder_ = null; child_ = other.child_; bitField0_ = (bitField0_ & ~0x00000002); childBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getChildFieldBuilder() : null; } else { childBuilder_.addAllMessages(other.child_); } } } switch (other.getIdCase()) { case RESPONSE_NAME: { idCase_ = 1; id_ = other.id_; onChanged(); break; } case INDEX: { setIndex(other.getIndex()); break; } case ID_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.Node parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.Node) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int idCase_ = 0; private java.lang.Object id_; public IdCase getIdCase() { return IdCase.forNumber( idCase_); } public Builder clearId() { idCase_ = 0; id_ = null; onChanged(); return this; } private int bitField0_; /** * string response_name = 1; * @return Whether the responseName field is set. */ @java.lang.Override public boolean hasResponseName() { return idCase_ == 1; } /** * string response_name = 1; * @return The responseName. */ @java.lang.Override public java.lang.String getResponseName() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (idCase_ == 1) { id_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string response_name = 1; * @return The bytes for responseName. */ @java.lang.Override public com.google.protobuf.ByteString getResponseNameBytes() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (idCase_ == 1) { id_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string response_name = 1; * @param value The responseName to set. * @return This builder for chaining. */ public Builder setResponseName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } idCase_ = 1; id_ = value; onChanged(); return this; } /** * string response_name = 1; * @return This builder for chaining. */ public Builder clearResponseName() { if (idCase_ == 1) { idCase_ = 0; id_ = null; onChanged(); } return this; } /** * string response_name = 1; * @param value The bytes for responseName to set. * @return This builder for chaining. */ public Builder setResponseNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); idCase_ = 1; id_ = value; onChanged(); return this; } /** * uint32 index = 2; * @return Whether the index field is set. */ public boolean hasIndex() { return idCase_ == 2; } /** * uint32 index = 2; * @return The index. */ public int getIndex() { if (idCase_ == 2) { return (java.lang.Integer) id_; } return 0; } /** * uint32 index = 2; * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { idCase_ = 2; id_ = value; onChanged(); return this; } /** * uint32 index = 2; * @return This builder for chaining. */ public Builder clearIndex() { if (idCase_ == 2) { idCase_ = 0; id_ = null; onChanged(); } return this; } private java.lang.Object originalFieldName_ = ""; /** * string original_field_name = 14; * @return The originalFieldName. */ public java.lang.String getOriginalFieldName() { java.lang.Object ref = originalFieldName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); originalFieldName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string original_field_name = 14; * @return The bytes for originalFieldName. */ public com.google.protobuf.ByteString getOriginalFieldNameBytes() { java.lang.Object ref = originalFieldName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); originalFieldName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string original_field_name = 14; * @param value The originalFieldName to set. * @return This builder for chaining. */ public Builder setOriginalFieldName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } originalFieldName_ = value; onChanged(); return this; } /** * string original_field_name = 14; * @return This builder for chaining. */ public Builder clearOriginalFieldName() { originalFieldName_ = getDefaultInstance().getOriginalFieldName(); onChanged(); return this; } /** * string original_field_name = 14; * @param value The bytes for originalFieldName to set. * @return This builder for chaining. */ public Builder setOriginalFieldNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); originalFieldName_ = value; onChanged(); return this; } private java.lang.Object type_ = ""; /** *
         * The field's return type; e.g. "String!" for User.email:String!
         * 
* * string type = 3; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * The field's return type; e.g. "String!" for User.email:String!
         * 
* * string type = 3; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * The field's return type; e.g. "String!" for User.email:String!
         * 
* * string type = 3; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** *
         * The field's return type; e.g. "String!" for User.email:String!
         * 
* * string type = 3; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** *
         * The field's return type; e.g. "String!" for User.email:String!
         * 
* * string type = 3; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } private java.lang.Object parentType_ = ""; /** *
         * The field's parent type; e.g. "User" for User.email:String!
         * 
* * string parent_type = 13; * @return The parentType. */ public java.lang.String getParentType() { java.lang.Object ref = parentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * The field's parent type; e.g. "User" for User.email:String!
         * 
* * string parent_type = 13; * @return The bytes for parentType. */ public com.google.protobuf.ByteString getParentTypeBytes() { java.lang.Object ref = parentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * The field's parent type; e.g. "User" for User.email:String!
         * 
* * string parent_type = 13; * @param value The parentType to set. * @return This builder for chaining. */ public Builder setParentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } parentType_ = value; onChanged(); return this; } /** *
         * The field's parent type; e.g. "User" for User.email:String!
         * 
* * string parent_type = 13; * @return This builder for chaining. */ public Builder clearParentType() { parentType_ = getDefaultInstance().getParentType(); onChanged(); return this; } /** *
         * The field's parent type; e.g. "User" for User.email:String!
         * 
* * string parent_type = 13; * @param value The bytes for parentType to set. * @return This builder for chaining. */ public Builder setParentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parentType_ = value; onChanged(); return this; } private mdg.engine.proto.Reports.Trace.CachePolicy cachePolicy_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.CachePolicy, mdg.engine.proto.Reports.Trace.CachePolicy.Builder, mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder> cachePolicyBuilder_; /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; * @return Whether the cachePolicy field is set. */ public boolean hasCachePolicy() { return cachePolicyBuilder_ != null || cachePolicy_ != null; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; * @return The cachePolicy. */ public mdg.engine.proto.Reports.Trace.CachePolicy getCachePolicy() { if (cachePolicyBuilder_ == null) { return cachePolicy_ == null ? mdg.engine.proto.Reports.Trace.CachePolicy.getDefaultInstance() : cachePolicy_; } else { return cachePolicyBuilder_.getMessage(); } } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ public Builder setCachePolicy(mdg.engine.proto.Reports.Trace.CachePolicy value) { if (cachePolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cachePolicy_ = value; onChanged(); } else { cachePolicyBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ public Builder setCachePolicy( mdg.engine.proto.Reports.Trace.CachePolicy.Builder builderForValue) { if (cachePolicyBuilder_ == null) { cachePolicy_ = builderForValue.build(); onChanged(); } else { cachePolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ public Builder mergeCachePolicy(mdg.engine.proto.Reports.Trace.CachePolicy value) { if (cachePolicyBuilder_ == null) { if (cachePolicy_ != null) { cachePolicy_ = mdg.engine.proto.Reports.Trace.CachePolicy.newBuilder(cachePolicy_).mergeFrom(value).buildPartial(); } else { cachePolicy_ = value; } onChanged(); } else { cachePolicyBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ public Builder clearCachePolicy() { if (cachePolicyBuilder_ == null) { cachePolicy_ = null; onChanged(); } else { cachePolicy_ = null; cachePolicyBuilder_ = null; } return this; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ public mdg.engine.proto.Reports.Trace.CachePolicy.Builder getCachePolicyBuilder() { onChanged(); return getCachePolicyFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ public mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder() { if (cachePolicyBuilder_ != null) { return cachePolicyBuilder_.getMessageOrBuilder(); } else { return cachePolicy_ == null ? mdg.engine.proto.Reports.Trace.CachePolicy.getDefaultInstance() : cachePolicy_; } } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 5; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.CachePolicy, mdg.engine.proto.Reports.Trace.CachePolicy.Builder, mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder> getCachePolicyFieldBuilder() { if (cachePolicyBuilder_ == null) { cachePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.CachePolicy, mdg.engine.proto.Reports.Trace.CachePolicy.Builder, mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder>( getCachePolicy(), getParentForChildren(), isClean()); cachePolicy_ = null; } return cachePolicyBuilder_; } private long startTime_ ; /** *
         * relative to the trace's start_time, in ns
         * 
* * uint64 start_time = 8; * @return The startTime. */ @java.lang.Override public long getStartTime() { return startTime_; } /** *
         * relative to the trace's start_time, in ns
         * 
* * uint64 start_time = 8; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime(long value) { startTime_ = value; onChanged(); return this; } /** *
         * relative to the trace's start_time, in ns
         * 
* * uint64 start_time = 8; * @return This builder for chaining. */ public Builder clearStartTime() { startTime_ = 0L; onChanged(); return this; } private long endTime_ ; /** *
         * relative to the trace's start_time, in ns
         * 
* * uint64 end_time = 9; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } /** *
         * relative to the trace's start_time, in ns
         * 
* * uint64 end_time = 9; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime(long value) { endTime_ = value; onChanged(); return this; } /** *
         * relative to the trace's start_time, in ns
         * 
* * uint64 end_time = 9; * @return This builder for chaining. */ public Builder clearEndTime() { endTime_ = 0L; onChanged(); return this; } private java.util.List error_ = java.util.Collections.emptyList(); private void ensureErrorIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { error_ = new java.util.ArrayList(error_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Error, mdg.engine.proto.Reports.Trace.Error.Builder, mdg.engine.proto.Reports.Trace.ErrorOrBuilder> errorBuilder_; /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public java.util.List getErrorList() { if (errorBuilder_ == null) { return java.util.Collections.unmodifiableList(error_); } else { return errorBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public int getErrorCount() { if (errorBuilder_ == null) { return error_.size(); } else { return errorBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public mdg.engine.proto.Reports.Trace.Error getError(int index) { if (errorBuilder_ == null) { return error_.get(index); } else { return errorBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder setError( int index, mdg.engine.proto.Reports.Trace.Error value) { if (errorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorIsMutable(); error_.set(index, value); onChanged(); } else { errorBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder setError( int index, mdg.engine.proto.Reports.Trace.Error.Builder builderForValue) { if (errorBuilder_ == null) { ensureErrorIsMutable(); error_.set(index, builderForValue.build()); onChanged(); } else { errorBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder addError(mdg.engine.proto.Reports.Trace.Error value) { if (errorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorIsMutable(); error_.add(value); onChanged(); } else { errorBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder addError( int index, mdg.engine.proto.Reports.Trace.Error value) { if (errorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorIsMutable(); error_.add(index, value); onChanged(); } else { errorBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder addError( mdg.engine.proto.Reports.Trace.Error.Builder builderForValue) { if (errorBuilder_ == null) { ensureErrorIsMutable(); error_.add(builderForValue.build()); onChanged(); } else { errorBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder addError( int index, mdg.engine.proto.Reports.Trace.Error.Builder builderForValue) { if (errorBuilder_ == null) { ensureErrorIsMutable(); error_.add(index, builderForValue.build()); onChanged(); } else { errorBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder addAllError( java.lang.Iterable values) { if (errorBuilder_ == null) { ensureErrorIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, error_); onChanged(); } else { errorBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder clearError() { if (errorBuilder_ == null) { error_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { errorBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public Builder removeError(int index) { if (errorBuilder_ == null) { ensureErrorIsMutable(); error_.remove(index); onChanged(); } else { errorBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public mdg.engine.proto.Reports.Trace.Error.Builder getErrorBuilder( int index) { return getErrorFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public mdg.engine.proto.Reports.Trace.ErrorOrBuilder getErrorOrBuilder( int index) { if (errorBuilder_ == null) { return error_.get(index); } else { return errorBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public java.util.List getErrorOrBuilderList() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(error_); } } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public mdg.engine.proto.Reports.Trace.Error.Builder addErrorBuilder() { return getErrorFieldBuilder().addBuilder( mdg.engine.proto.Reports.Trace.Error.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public mdg.engine.proto.Reports.Trace.Error.Builder addErrorBuilder( int index) { return getErrorFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Trace.Error.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.Error error = 11; */ public java.util.List getErrorBuilderList() { return getErrorFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Error, mdg.engine.proto.Reports.Trace.Error.Builder, mdg.engine.proto.Reports.Trace.ErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { errorBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Error, mdg.engine.proto.Reports.Trace.Error.Builder, mdg.engine.proto.Reports.Trace.ErrorOrBuilder>( error_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; } private java.util.List child_ = java.util.Collections.emptyList(); private void ensureChildIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { child_ = new java.util.ArrayList(child_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Node, mdg.engine.proto.Reports.Trace.Node.Builder, mdg.engine.proto.Reports.Trace.NodeOrBuilder> childBuilder_; /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public java.util.List getChildList() { if (childBuilder_ == null) { return java.util.Collections.unmodifiableList(child_); } else { return childBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public int getChildCount() { if (childBuilder_ == null) { return child_.size(); } else { return childBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public mdg.engine.proto.Reports.Trace.Node getChild(int index) { if (childBuilder_ == null) { return child_.get(index); } else { return childBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder setChild( int index, mdg.engine.proto.Reports.Trace.Node value) { if (childBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildIsMutable(); child_.set(index, value); onChanged(); } else { childBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder setChild( int index, mdg.engine.proto.Reports.Trace.Node.Builder builderForValue) { if (childBuilder_ == null) { ensureChildIsMutable(); child_.set(index, builderForValue.build()); onChanged(); } else { childBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder addChild(mdg.engine.proto.Reports.Trace.Node value) { if (childBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildIsMutable(); child_.add(value); onChanged(); } else { childBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder addChild( int index, mdg.engine.proto.Reports.Trace.Node value) { if (childBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildIsMutable(); child_.add(index, value); onChanged(); } else { childBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder addChild( mdg.engine.proto.Reports.Trace.Node.Builder builderForValue) { if (childBuilder_ == null) { ensureChildIsMutable(); child_.add(builderForValue.build()); onChanged(); } else { childBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder addChild( int index, mdg.engine.proto.Reports.Trace.Node.Builder builderForValue) { if (childBuilder_ == null) { ensureChildIsMutable(); child_.add(index, builderForValue.build()); onChanged(); } else { childBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder addAllChild( java.lang.Iterable values) { if (childBuilder_ == null) { ensureChildIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, child_); onChanged(); } else { childBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder clearChild() { if (childBuilder_ == null) { child_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { childBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public Builder removeChild(int index) { if (childBuilder_ == null) { ensureChildIsMutable(); child_.remove(index); onChanged(); } else { childBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public mdg.engine.proto.Reports.Trace.Node.Builder getChildBuilder( int index) { return getChildFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public mdg.engine.proto.Reports.Trace.NodeOrBuilder getChildOrBuilder( int index) { if (childBuilder_ == null) { return child_.get(index); } else { return childBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public java.util.List getChildOrBuilderList() { if (childBuilder_ != null) { return childBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(child_); } } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public mdg.engine.proto.Reports.Trace.Node.Builder addChildBuilder() { return getChildFieldBuilder().addBuilder( mdg.engine.proto.Reports.Trace.Node.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public mdg.engine.proto.Reports.Trace.Node.Builder addChildBuilder( int index) { return getChildFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Trace.Node.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.Node child = 12; */ public java.util.List getChildBuilderList() { return getChildFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Node, mdg.engine.proto.Reports.Trace.Node.Builder, mdg.engine.proto.Reports.Trace.NodeOrBuilder> getChildFieldBuilder() { if (childBuilder_ == null) { childBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.Node, mdg.engine.proto.Reports.Trace.Node.Builder, mdg.engine.proto.Reports.Trace.NodeOrBuilder>( child_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); child_ = null; } return childBuilder_; } @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:mdg.engine.proto.Trace.Node) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.Node) private static final mdg.engine.proto.Reports.Trace.Node DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.Node(); } public static mdg.engine.proto.Reports.Trace.Node getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Node parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Node(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.Node getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryPlanNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.QueryPlanNode) com.google.protobuf.MessageOrBuilder { /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; * @return Whether the sequence field is set. */ boolean hasSequence(); /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; * @return The sequence. */ mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode getSequence(); /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNodeOrBuilder getSequenceOrBuilder(); /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; * @return Whether the parallel field is set. */ boolean hasParallel(); /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; * @return The parallel. */ mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode getParallel(); /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNodeOrBuilder getParallelOrBuilder(); /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; * @return Whether the fetch field is set. */ boolean hasFetch(); /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; * @return The fetch. */ mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode getFetch(); /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNodeOrBuilder getFetchOrBuilder(); /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; * @return Whether the flatten field is set. */ boolean hasFlatten(); /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; * @return The flatten. */ mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode getFlatten(); /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNodeOrBuilder getFlattenOrBuilder(); public mdg.engine.proto.Reports.Trace.QueryPlanNode.NodeCase getNodeCase(); } /** *
     * represents a node in the query plan, under which there is a trace tree for that service fetch.
     * In particular, each fetch node represents a call to an implementing service, and calls to implementing
     * services may not be unique. See https://github.com/apollographql/apollo-server/blob/master/packages/apollo-gateway/src/QueryPlan.ts
     * for more information and details.
     * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode} */ public static final class QueryPlanNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.QueryPlanNode) QueryPlanNodeOrBuilder { private static final long serialVersionUID = 0L; // Use QueryPlanNode.newBuilder() to construct. private QueryPlanNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryPlanNode() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryPlanNode(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryPlanNode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.Builder subBuilder = null; if (nodeCase_ == 1) { subBuilder = ((mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_).toBuilder(); } node_ = input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_); node_ = subBuilder.buildPartial(); } nodeCase_ = 1; break; } case 18: { mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.Builder subBuilder = null; if (nodeCase_ == 2) { subBuilder = ((mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_).toBuilder(); } node_ = input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_); node_ = subBuilder.buildPartial(); } nodeCase_ = 2; break; } case 26: { mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.Builder subBuilder = null; if (nodeCase_ == 3) { subBuilder = ((mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_).toBuilder(); } node_ = input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_); node_ = subBuilder.buildPartial(); } nodeCase_ = 3; break; } case 34: { mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.Builder subBuilder = null; if (nodeCase_ == 4) { subBuilder = ((mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_).toBuilder(); } node_ = input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_); node_ = subBuilder.buildPartial(); } nodeCase_ = 4; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder.class); } public interface SequenceNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.QueryPlanNode.SequenceNode) com.google.protobuf.MessageOrBuilder { /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ java.util.List getNodesList(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ mdg.engine.proto.Reports.Trace.QueryPlanNode getNodes(int index); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ int getNodesCount(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ java.util.List getNodesOrBuilderList(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodesOrBuilder( int index); } /** *
       * This represents a set of nodes to be executed sequentially by the Gateway executor
       * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.SequenceNode} */ public static final class SequenceNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.QueryPlanNode.SequenceNode) SequenceNodeOrBuilder { private static final long serialVersionUID = 0L; // Use SequenceNode.newBuilder() to construct. private SequenceNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SequenceNode() { nodes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SequenceNode(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SequenceNode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { nodes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } nodes_.add( input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nodes_ = java.util.Collections.unmodifiableList(nodes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.Builder.class); } public static final int NODES_FIELD_NUMBER = 1; private java.util.List nodes_; /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public java.util.List getNodesList() { return nodes_; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public java.util.List getNodesOrBuilderList() { return nodes_; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode getNodes(int index) { return nodes_.get(index); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodesOrBuilder( int index) { return nodes_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < nodes_.size(); i++) { output.writeMessage(1, nodes_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < nodes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, nodes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode other = (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) obj; if (!getNodesList() .equals(other.getNodesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getNodesCount() > 0) { hash = (37 * hash) + NODES_FIELD_NUMBER; hash = (53 * hash) + getNodesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode 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(mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode 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; } /** *
         * This represents a set of nodes to be executed sequentially by the Gateway executor
         * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.SequenceNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.QueryPlanNode.SequenceNode) mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNodesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (nodesBuilder_ == null) { nodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { nodesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode build() { mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode buildPartial() { mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode result = new mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode(this); int from_bitField0_ = bitField0_; if (nodesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { nodes_ = java.util.Collections.unmodifiableList(nodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.nodes_ = nodes_; } else { result.nodes_ = nodesBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) { return mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode other) { if (other == mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance()) return this; if (nodesBuilder_ == null) { if (!other.nodes_.isEmpty()) { if (nodes_.isEmpty()) { nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNodesIsMutable(); nodes_.addAll(other.nodes_); } onChanged(); } } else { if (!other.nodes_.isEmpty()) { if (nodesBuilder_.isEmpty()) { nodesBuilder_.dispose(); nodesBuilder_ = null; nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); nodesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNodesFieldBuilder() : null; } else { nodesBuilder_.addAllMessages(other.nodes_); } } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List nodes_ = java.util.Collections.emptyList(); private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder> nodesBuilder_; /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public java.util.List getNodesList() { if (nodesBuilder_ == null) { return java.util.Collections.unmodifiableList(nodes_); } else { return nodesBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public int getNodesCount() { if (nodesBuilder_ == null) { return nodes_.size(); } else { return nodesBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode getNodes(int index) { if (nodesBuilder_ == null) { return nodes_.get(index); } else { return nodesBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder setNodes( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.set(index, value); onChanged(); } else { nodesBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder setNodes( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.set(index, builderForValue.build()); onChanged(); } else { nodesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addNodes(mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.add(value); onChanged(); } else { nodesBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addNodes( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.add(index, value); onChanged(); } else { nodesBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addNodes( mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(builderForValue.build()); onChanged(); } else { nodesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addNodes( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(index, builderForValue.build()); onChanged(); } else { nodesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder clearNodes() { if (nodesBuilder_ == null) { nodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { nodesBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.remove(index); onChanged(); } else { nodesBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder getNodesBuilder( int index) { return getNodesFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodesOrBuilder( int index) { if (nodesBuilder_ == null) { return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public java.util.List getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nodes_); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder addNodesBuilder() { return getNodesFieldBuilder().addBuilder( mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder addNodesBuilder( int index) { return getNodesFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public java.util.List getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder>( nodes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nodes_ = null; } return nodesBuilder_; } @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:mdg.engine.proto.Trace.QueryPlanNode.SequenceNode) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.QueryPlanNode.SequenceNode) private static final mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode(); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SequenceNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SequenceNode(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParallelNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.QueryPlanNode.ParallelNode) com.google.protobuf.MessageOrBuilder { /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ java.util.List getNodesList(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ mdg.engine.proto.Reports.Trace.QueryPlanNode getNodes(int index); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ int getNodesCount(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ java.util.List getNodesOrBuilderList(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodesOrBuilder( int index); } /** *
       * This represents a set of nodes to be executed in parallel by the Gateway executor
       * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.ParallelNode} */ public static final class ParallelNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.QueryPlanNode.ParallelNode) ParallelNodeOrBuilder { private static final long serialVersionUID = 0L; // Use ParallelNode.newBuilder() to construct. private ParallelNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ParallelNode() { nodes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ParallelNode(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ParallelNode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { nodes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } nodes_.add( input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { nodes_ = java.util.Collections.unmodifiableList(nodes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.Builder.class); } public static final int NODES_FIELD_NUMBER = 1; private java.util.List nodes_; /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public java.util.List getNodesList() { return nodes_; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public java.util.List getNodesOrBuilderList() { return nodes_; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode getNodes(int index) { return nodes_.get(index); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodesOrBuilder( int index) { return nodes_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < nodes_.size(); i++) { output.writeMessage(1, nodes_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < nodes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, nodes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode other = (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) obj; if (!getNodesList() .equals(other.getNodesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getNodesCount() > 0) { hash = (37 * hash) + NODES_FIELD_NUMBER; hash = (53 * hash) + getNodesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode 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(mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode 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; } /** *
         * This represents a set of nodes to be executed in parallel by the Gateway executor
         * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.ParallelNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.QueryPlanNode.ParallelNode) mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNodesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (nodesBuilder_ == null) { nodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { nodesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode build() { mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode buildPartial() { mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode result = new mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode(this); int from_bitField0_ = bitField0_; if (nodesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { nodes_ = java.util.Collections.unmodifiableList(nodes_); bitField0_ = (bitField0_ & ~0x00000001); } result.nodes_ = nodes_; } else { result.nodes_ = nodesBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) { return mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode other) { if (other == mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance()) return this; if (nodesBuilder_ == null) { if (!other.nodes_.isEmpty()) { if (nodes_.isEmpty()) { nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNodesIsMutable(); nodes_.addAll(other.nodes_); } onChanged(); } } else { if (!other.nodes_.isEmpty()) { if (nodesBuilder_.isEmpty()) { nodesBuilder_.dispose(); nodesBuilder_ = null; nodes_ = other.nodes_; bitField0_ = (bitField0_ & ~0x00000001); nodesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getNodesFieldBuilder() : null; } else { nodesBuilder_.addAllMessages(other.nodes_); } } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List nodes_ = java.util.Collections.emptyList(); private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder> nodesBuilder_; /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public java.util.List getNodesList() { if (nodesBuilder_ == null) { return java.util.Collections.unmodifiableList(nodes_); } else { return nodesBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public int getNodesCount() { if (nodesBuilder_ == null) { return nodes_.size(); } else { return nodesBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode getNodes(int index) { if (nodesBuilder_ == null) { return nodes_.get(index); } else { return nodesBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder setNodes( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.set(index, value); onChanged(); } else { nodesBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder setNodes( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.set(index, builderForValue.build()); onChanged(); } else { nodesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addNodes(mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.add(value); onChanged(); } else { nodesBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addNodes( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureNodesIsMutable(); nodes_.add(index, value); onChanged(); } else { nodesBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addNodes( mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(builderForValue.build()); onChanged(); } else { nodesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addNodes( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(index, builderForValue.build()); onChanged(); } else { nodesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder clearNodes() { if (nodesBuilder_ == null) { nodes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { nodesBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.remove(index); onChanged(); } else { nodesBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder getNodesBuilder( int index) { return getNodesFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodesOrBuilder( int index) { if (nodesBuilder_ == null) { return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public java.util.List getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(nodes_); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder addNodesBuilder() { return getNodesFieldBuilder().addBuilder( mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder addNodesBuilder( int index) { return getNodesFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode nodes = 1; */ public java.util.List getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder>( nodes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nodes_ = null; } return nodesBuilder_; } @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:mdg.engine.proto.Trace.QueryPlanNode.ParallelNode) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.QueryPlanNode.ParallelNode) private static final mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode(); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ParallelNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ParallelNode(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FetchNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.QueryPlanNode.FetchNode) com.google.protobuf.MessageOrBuilder { /** *
         * XXX When we want to include more details about the sub-operation that was
         * executed against this service, we should include that here in each fetch node.
         * This might include an operation signature, requires directive, reference resolutions, etc.
         * 
* * string serviceName = 1; * @return The serviceName. */ java.lang.String getServiceName(); /** *
         * XXX When we want to include more details about the sub-operation that was
         * executed against this service, we should include that here in each fetch node.
         * This might include an operation signature, requires directive, reference resolutions, etc.
         * 
* * string serviceName = 1; * @return The bytes for serviceName. */ com.google.protobuf.ByteString getServiceNameBytes(); /** * bool traceParsingFailed = 2; * @return The traceParsingFailed. */ boolean getTraceParsingFailed(); /** *
         * This Trace only contains start_time, end_time, duration_ns, and root;
         * all timings were calculated **on the federated service**, and clock skew
         * will be handled by the ingress server.
         * 
* * .mdg.engine.proto.Trace trace = 3; * @return Whether the trace field is set. */ boolean hasTrace(); /** *
         * This Trace only contains start_time, end_time, duration_ns, and root;
         * all timings were calculated **on the federated service**, and clock skew
         * will be handled by the ingress server.
         * 
* * .mdg.engine.proto.Trace trace = 3; * @return The trace. */ mdg.engine.proto.Reports.Trace getTrace(); /** *
         * This Trace only contains start_time, end_time, duration_ns, and root;
         * all timings were calculated **on the federated service**, and clock skew
         * will be handled by the ingress server.
         * 
* * .mdg.engine.proto.Trace trace = 3; */ mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder(); /** *
         * relative to the outer trace's start_time, in ns, measured in the gateway.
         * 
* * uint64 sent_time_offset = 4; * @return The sentTimeOffset. */ long getSentTimeOffset(); /** *
         * Wallclock times measured in the gateway for when this operation was
         * sent and received.
         * 
* * .google.protobuf.Timestamp sent_time = 5; * @return Whether the sentTime field is set. */ boolean hasSentTime(); /** *
         * Wallclock times measured in the gateway for when this operation was
         * sent and received.
         * 
* * .google.protobuf.Timestamp sent_time = 5; * @return The sentTime. */ com.google.protobuf.Timestamp getSentTime(); /** *
         * Wallclock times measured in the gateway for when this operation was
         * sent and received.
         * 
* * .google.protobuf.Timestamp sent_time = 5; */ com.google.protobuf.TimestampOrBuilder getSentTimeOrBuilder(); /** * .google.protobuf.Timestamp received_time = 6; * @return Whether the receivedTime field is set. */ boolean hasReceivedTime(); /** * .google.protobuf.Timestamp received_time = 6; * @return The receivedTime. */ com.google.protobuf.Timestamp getReceivedTime(); /** * .google.protobuf.Timestamp received_time = 6; */ com.google.protobuf.TimestampOrBuilder getReceivedTimeOrBuilder(); } /** *
       * This represents a node to send an operation to an implementing service
       * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.FetchNode} */ public static final class FetchNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.QueryPlanNode.FetchNode) FetchNodeOrBuilder { private static final long serialVersionUID = 0L; // Use FetchNode.newBuilder() to construct. private FetchNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FetchNode() { serviceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FetchNode(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FetchNode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); serviceName_ = s; break; } case 16: { traceParsingFailed_ = input.readBool(); break; } case 26: { mdg.engine.proto.Reports.Trace.Builder subBuilder = null; if (trace_ != null) { subBuilder = trace_.toBuilder(); } trace_ = input.readMessage(mdg.engine.proto.Reports.Trace.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(trace_); trace_ = subBuilder.buildPartial(); } break; } case 32: { sentTimeOffset_ = input.readUInt64(); break; } case 42: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (sentTime_ != null) { subBuilder = sentTime_.toBuilder(); } sentTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sentTime_); sentTime_ = subBuilder.buildPartial(); } break; } case 50: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (receivedTime_ != null) { subBuilder = receivedTime_.toBuilder(); } receivedTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(receivedTime_); receivedTime_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.Builder.class); } public static final int SERVICENAME_FIELD_NUMBER = 1; private volatile java.lang.Object serviceName_; /** *
         * XXX When we want to include more details about the sub-operation that was
         * executed against this service, we should include that here in each fetch node.
         * This might include an operation signature, requires directive, reference resolutions, etc.
         * 
* * string serviceName = 1; * @return The serviceName. */ @java.lang.Override public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; 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(); serviceName_ = s; return s; } } /** *
         * XXX When we want to include more details about the sub-operation that was
         * executed against this service, we should include that here in each fetch node.
         * This might include an operation signature, requires directive, reference resolutions, etc.
         * 
* * string serviceName = 1; * @return The bytes for serviceName. */ @java.lang.Override public com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRACEPARSINGFAILED_FIELD_NUMBER = 2; private boolean traceParsingFailed_; /** * bool traceParsingFailed = 2; * @return The traceParsingFailed. */ @java.lang.Override public boolean getTraceParsingFailed() { return traceParsingFailed_; } public static final int TRACE_FIELD_NUMBER = 3; private mdg.engine.proto.Reports.Trace trace_; /** *
         * This Trace only contains start_time, end_time, duration_ns, and root;
         * all timings were calculated **on the federated service**, and clock skew
         * will be handled by the ingress server.
         * 
* * .mdg.engine.proto.Trace trace = 3; * @return Whether the trace field is set. */ @java.lang.Override public boolean hasTrace() { return trace_ != null; } /** *
         * This Trace only contains start_time, end_time, duration_ns, and root;
         * all timings were calculated **on the federated service**, and clock skew
         * will be handled by the ingress server.
         * 
* * .mdg.engine.proto.Trace trace = 3; * @return The trace. */ @java.lang.Override public mdg.engine.proto.Reports.Trace getTrace() { return trace_ == null ? mdg.engine.proto.Reports.Trace.getDefaultInstance() : trace_; } /** *
         * This Trace only contains start_time, end_time, duration_ns, and root;
         * all timings were calculated **on the federated service**, and clock skew
         * will be handled by the ingress server.
         * 
* * .mdg.engine.proto.Trace trace = 3; */ @java.lang.Override public mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder() { return getTrace(); } public static final int SENT_TIME_OFFSET_FIELD_NUMBER = 4; private long sentTimeOffset_; /** *
         * relative to the outer trace's start_time, in ns, measured in the gateway.
         * 
* * uint64 sent_time_offset = 4; * @return The sentTimeOffset. */ @java.lang.Override public long getSentTimeOffset() { return sentTimeOffset_; } public static final int SENT_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp sentTime_; /** *
         * Wallclock times measured in the gateway for when this operation was
         * sent and received.
         * 
* * .google.protobuf.Timestamp sent_time = 5; * @return Whether the sentTime field is set. */ @java.lang.Override public boolean hasSentTime() { return sentTime_ != null; } /** *
         * Wallclock times measured in the gateway for when this operation was
         * sent and received.
         * 
* * .google.protobuf.Timestamp sent_time = 5; * @return The sentTime. */ @java.lang.Override public com.google.protobuf.Timestamp getSentTime() { return sentTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : sentTime_; } /** *
         * Wallclock times measured in the gateway for when this operation was
         * sent and received.
         * 
* * .google.protobuf.Timestamp sent_time = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSentTimeOrBuilder() { return getSentTime(); } public static final int RECEIVED_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp receivedTime_; /** * .google.protobuf.Timestamp received_time = 6; * @return Whether the receivedTime field is set. */ @java.lang.Override public boolean hasReceivedTime() { return receivedTime_ != null; } /** * .google.protobuf.Timestamp received_time = 6; * @return The receivedTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReceivedTime() { return receivedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : receivedTime_; } /** * .google.protobuf.Timestamp received_time = 6; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getReceivedTimeOrBuilder() { return getReceivedTime(); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceName_); } if (traceParsingFailed_ != false) { output.writeBool(2, traceParsingFailed_); } if (trace_ != null) { output.writeMessage(3, getTrace()); } if (sentTimeOffset_ != 0L) { output.writeUInt64(4, sentTimeOffset_); } if (sentTime_ != null) { output.writeMessage(5, getSentTime()); } if (receivedTime_ != null) { output.writeMessage(6, getReceivedTime()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceName_); } if (traceParsingFailed_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, traceParsingFailed_); } if (trace_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getTrace()); } if (sentTimeOffset_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, sentTimeOffset_); } if (sentTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getSentTime()); } if (receivedTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getReceivedTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode other = (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) obj; if (!getServiceName() .equals(other.getServiceName())) return false; if (getTraceParsingFailed() != other.getTraceParsingFailed()) return false; if (hasTrace() != other.hasTrace()) return false; if (hasTrace()) { if (!getTrace() .equals(other.getTrace())) return false; } if (getSentTimeOffset() != other.getSentTimeOffset()) return false; if (hasSentTime() != other.hasSentTime()) return false; if (hasSentTime()) { if (!getSentTime() .equals(other.getSentTime())) return false; } if (hasReceivedTime() != other.hasReceivedTime()) return false; if (hasReceivedTime()) { if (!getReceivedTime() .equals(other.getReceivedTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SERVICENAME_FIELD_NUMBER; hash = (53 * hash) + getServiceName().hashCode(); hash = (37 * hash) + TRACEPARSINGFAILED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTraceParsingFailed()); if (hasTrace()) { hash = (37 * hash) + TRACE_FIELD_NUMBER; hash = (53 * hash) + getTrace().hashCode(); } hash = (37 * hash) + SENT_TIME_OFFSET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSentTimeOffset()); if (hasSentTime()) { hash = (37 * hash) + SENT_TIME_FIELD_NUMBER; hash = (53 * hash) + getSentTime().hashCode(); } if (hasReceivedTime()) { hash = (37 * hash) + RECEIVED_TIME_FIELD_NUMBER; hash = (53 * hash) + getReceivedTime().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode 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(mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode 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; } /** *
         * This represents a node to send an operation to an implementing service
         * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.FetchNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.QueryPlanNode.FetchNode) mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); serviceName_ = ""; traceParsingFailed_ = false; if (traceBuilder_ == null) { trace_ = null; } else { trace_ = null; traceBuilder_ = null; } sentTimeOffset_ = 0L; if (sentTimeBuilder_ == null) { sentTime_ = null; } else { sentTime_ = null; sentTimeBuilder_ = null; } if (receivedTimeBuilder_ == null) { receivedTime_ = null; } else { receivedTime_ = null; receivedTimeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode build() { mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode buildPartial() { mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode result = new mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode(this); result.serviceName_ = serviceName_; result.traceParsingFailed_ = traceParsingFailed_; if (traceBuilder_ == null) { result.trace_ = trace_; } else { result.trace_ = traceBuilder_.build(); } result.sentTimeOffset_ = sentTimeOffset_; if (sentTimeBuilder_ == null) { result.sentTime_ = sentTime_; } else { result.sentTime_ = sentTimeBuilder_.build(); } if (receivedTimeBuilder_ == null) { result.receivedTime_ = receivedTime_; } else { result.receivedTime_ = receivedTimeBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) { return mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode other) { if (other == mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); } if (other.getTraceParsingFailed() != false) { setTraceParsingFailed(other.getTraceParsingFailed()); } if (other.hasTrace()) { mergeTrace(other.getTrace()); } if (other.getSentTimeOffset() != 0L) { setSentTimeOffset(other.getSentTimeOffset()); } if (other.hasSentTime()) { mergeSentTime(other.getSentTime()); } if (other.hasReceivedTime()) { mergeReceivedTime(other.getReceivedTime()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object serviceName_ = ""; /** *
           * XXX When we want to include more details about the sub-operation that was
           * executed against this service, we should include that here in each fetch node.
           * This might include an operation signature, requires directive, reference resolutions, etc.
           * 
* * string serviceName = 1; * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * XXX When we want to include more details about the sub-operation that was
           * executed against this service, we should include that here in each fetch node.
           * This might include an operation signature, requires directive, reference resolutions, etc.
           * 
* * string serviceName = 1; * @return The bytes for serviceName. */ public com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * XXX When we want to include more details about the sub-operation that was
           * executed against this service, we should include that here in each fetch node.
           * This might include an operation signature, requires directive, reference resolutions, etc.
           * 
* * string serviceName = 1; * @param value The serviceName to set. * @return This builder for chaining. */ public Builder setServiceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceName_ = value; onChanged(); return this; } /** *
           * XXX When we want to include more details about the sub-operation that was
           * executed against this service, we should include that here in each fetch node.
           * This might include an operation signature, requires directive, reference resolutions, etc.
           * 
* * string serviceName = 1; * @return This builder for chaining. */ public Builder clearServiceName() { serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** *
           * XXX When we want to include more details about the sub-operation that was
           * executed against this service, we should include that here in each fetch node.
           * This might include an operation signature, requires directive, reference resolutions, etc.
           * 
* * string serviceName = 1; * @param value The bytes for serviceName to set. * @return This builder for chaining. */ public Builder setServiceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceName_ = value; onChanged(); return this; } private boolean traceParsingFailed_ ; /** * bool traceParsingFailed = 2; * @return The traceParsingFailed. */ @java.lang.Override public boolean getTraceParsingFailed() { return traceParsingFailed_; } /** * bool traceParsingFailed = 2; * @param value The traceParsingFailed to set. * @return This builder for chaining. */ public Builder setTraceParsingFailed(boolean value) { traceParsingFailed_ = value; onChanged(); return this; } /** * bool traceParsingFailed = 2; * @return This builder for chaining. */ public Builder clearTraceParsingFailed() { traceParsingFailed_ = false; onChanged(); return this; } private mdg.engine.proto.Reports.Trace trace_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder> traceBuilder_; /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; * @return Whether the trace field is set. */ public boolean hasTrace() { return traceBuilder_ != null || trace_ != null; } /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; * @return The trace. */ public mdg.engine.proto.Reports.Trace getTrace() { if (traceBuilder_ == null) { return trace_ == null ? mdg.engine.proto.Reports.Trace.getDefaultInstance() : trace_; } else { return traceBuilder_.getMessage(); } } /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; */ public Builder setTrace(mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } trace_ = value; onChanged(); } else { traceBuilder_.setMessage(value); } return this; } /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; */ public Builder setTrace( mdg.engine.proto.Reports.Trace.Builder builderForValue) { if (traceBuilder_ == null) { trace_ = builderForValue.build(); onChanged(); } else { traceBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; */ public Builder mergeTrace(mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (trace_ != null) { trace_ = mdg.engine.proto.Reports.Trace.newBuilder(trace_).mergeFrom(value).buildPartial(); } else { trace_ = value; } onChanged(); } else { traceBuilder_.mergeFrom(value); } return this; } /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; */ public Builder clearTrace() { if (traceBuilder_ == null) { trace_ = null; onChanged(); } else { trace_ = null; traceBuilder_ = null; } return this; } /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; */ public mdg.engine.proto.Reports.Trace.Builder getTraceBuilder() { onChanged(); return getTraceFieldBuilder().getBuilder(); } /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; */ public mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder() { if (traceBuilder_ != null) { return traceBuilder_.getMessageOrBuilder(); } else { return trace_ == null ? mdg.engine.proto.Reports.Trace.getDefaultInstance() : trace_; } } /** *
           * This Trace only contains start_time, end_time, duration_ns, and root;
           * all timings were calculated **on the federated service**, and clock skew
           * will be handled by the ingress server.
           * 
* * .mdg.engine.proto.Trace trace = 3; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder> getTraceFieldBuilder() { if (traceBuilder_ == null) { traceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder>( getTrace(), getParentForChildren(), isClean()); trace_ = null; } return traceBuilder_; } private long sentTimeOffset_ ; /** *
           * relative to the outer trace's start_time, in ns, measured in the gateway.
           * 
* * uint64 sent_time_offset = 4; * @return The sentTimeOffset. */ @java.lang.Override public long getSentTimeOffset() { return sentTimeOffset_; } /** *
           * relative to the outer trace's start_time, in ns, measured in the gateway.
           * 
* * uint64 sent_time_offset = 4; * @param value The sentTimeOffset to set. * @return This builder for chaining. */ public Builder setSentTimeOffset(long value) { sentTimeOffset_ = value; onChanged(); return this; } /** *
           * relative to the outer trace's start_time, in ns, measured in the gateway.
           * 
* * uint64 sent_time_offset = 4; * @return This builder for chaining. */ public Builder clearSentTimeOffset() { sentTimeOffset_ = 0L; onChanged(); return this; } private com.google.protobuf.Timestamp sentTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> sentTimeBuilder_; /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; * @return Whether the sentTime field is set. */ public boolean hasSentTime() { return sentTimeBuilder_ != null || sentTime_ != null; } /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; * @return The sentTime. */ public com.google.protobuf.Timestamp getSentTime() { if (sentTimeBuilder_ == null) { return sentTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : sentTime_; } else { return sentTimeBuilder_.getMessage(); } } /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; */ public Builder setSentTime(com.google.protobuf.Timestamp value) { if (sentTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sentTime_ = value; onChanged(); } else { sentTimeBuilder_.setMessage(value); } return this; } /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; */ public Builder setSentTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (sentTimeBuilder_ == null) { sentTime_ = builderForValue.build(); onChanged(); } else { sentTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; */ public Builder mergeSentTime(com.google.protobuf.Timestamp value) { if (sentTimeBuilder_ == null) { if (sentTime_ != null) { sentTime_ = com.google.protobuf.Timestamp.newBuilder(sentTime_).mergeFrom(value).buildPartial(); } else { sentTime_ = value; } onChanged(); } else { sentTimeBuilder_.mergeFrom(value); } return this; } /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; */ public Builder clearSentTime() { if (sentTimeBuilder_ == null) { sentTime_ = null; onChanged(); } else { sentTime_ = null; sentTimeBuilder_ = null; } return this; } /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; */ public com.google.protobuf.Timestamp.Builder getSentTimeBuilder() { onChanged(); return getSentTimeFieldBuilder().getBuilder(); } /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; */ public com.google.protobuf.TimestampOrBuilder getSentTimeOrBuilder() { if (sentTimeBuilder_ != null) { return sentTimeBuilder_.getMessageOrBuilder(); } else { return sentTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : sentTime_; } } /** *
           * Wallclock times measured in the gateway for when this operation was
           * sent and received.
           * 
* * .google.protobuf.Timestamp sent_time = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getSentTimeFieldBuilder() { if (sentTimeBuilder_ == null) { sentTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getSentTime(), getParentForChildren(), isClean()); sentTime_ = null; } return sentTimeBuilder_; } private com.google.protobuf.Timestamp receivedTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> receivedTimeBuilder_; /** * .google.protobuf.Timestamp received_time = 6; * @return Whether the receivedTime field is set. */ public boolean hasReceivedTime() { return receivedTimeBuilder_ != null || receivedTime_ != null; } /** * .google.protobuf.Timestamp received_time = 6; * @return The receivedTime. */ public com.google.protobuf.Timestamp getReceivedTime() { if (receivedTimeBuilder_ == null) { return receivedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : receivedTime_; } else { return receivedTimeBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp received_time = 6; */ public Builder setReceivedTime(com.google.protobuf.Timestamp value) { if (receivedTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } receivedTime_ = value; onChanged(); } else { receivedTimeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp received_time = 6; */ public Builder setReceivedTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (receivedTimeBuilder_ == null) { receivedTime_ = builderForValue.build(); onChanged(); } else { receivedTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp received_time = 6; */ public Builder mergeReceivedTime(com.google.protobuf.Timestamp value) { if (receivedTimeBuilder_ == null) { if (receivedTime_ != null) { receivedTime_ = com.google.protobuf.Timestamp.newBuilder(receivedTime_).mergeFrom(value).buildPartial(); } else { receivedTime_ = value; } onChanged(); } else { receivedTimeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp received_time = 6; */ public Builder clearReceivedTime() { if (receivedTimeBuilder_ == null) { receivedTime_ = null; onChanged(); } else { receivedTime_ = null; receivedTimeBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp received_time = 6; */ public com.google.protobuf.Timestamp.Builder getReceivedTimeBuilder() { onChanged(); return getReceivedTimeFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp received_time = 6; */ public com.google.protobuf.TimestampOrBuilder getReceivedTimeOrBuilder() { if (receivedTimeBuilder_ != null) { return receivedTimeBuilder_.getMessageOrBuilder(); } else { return receivedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : receivedTime_; } } /** * .google.protobuf.Timestamp received_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getReceivedTimeFieldBuilder() { if (receivedTimeBuilder_ == null) { receivedTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getReceivedTime(), getParentForChildren(), isClean()); receivedTime_ = null; } return receivedTimeBuilder_; } @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:mdg.engine.proto.Trace.QueryPlanNode.FetchNode) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.QueryPlanNode.FetchNode) private static final mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode(); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FetchNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FetchNode(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FlattenNodeOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.QueryPlanNode.FlattenNode) com.google.protobuf.MessageOrBuilder { /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ java.util.List getResponsePathList(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement getResponsePath(int index); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ int getResponsePathCount(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ java.util.List getResponsePathOrBuilderList(); /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElementOrBuilder getResponsePathOrBuilder( int index); /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; * @return Whether the node field is set. */ boolean hasNode(); /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; * @return The node. */ mdg.engine.proto.Reports.Trace.QueryPlanNode getNode(); /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodeOrBuilder(); } /** *
       * This node represents a way to reach into the response path and attach related entities.
       * XXX Flatten is really not the right name and this node may be renamed in the query planner.
       * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.FlattenNode} */ public static final class FlattenNode extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.QueryPlanNode.FlattenNode) FlattenNodeOrBuilder { private static final long serialVersionUID = 0L; // Use FlattenNode.newBuilder() to construct. private FlattenNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FlattenNode() { responsePath_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FlattenNode(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FlattenNode( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { responsePath_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } responsePath_.add( input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.parser(), extensionRegistry)); break; } case 18: { mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder subBuilder = null; if (node_ != null) { subBuilder = node_.toBuilder(); } node_ = input.readMessage(mdg.engine.proto.Reports.Trace.QueryPlanNode.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(node_); node_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { responsePath_ = java.util.Collections.unmodifiableList(responsePath_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.Builder.class); } public static final int RESPONSE_PATH_FIELD_NUMBER = 1; private java.util.List responsePath_; /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ @java.lang.Override public java.util.List getResponsePathList() { return responsePath_; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ @java.lang.Override public java.util.List getResponsePathOrBuilderList() { return responsePath_; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ @java.lang.Override public int getResponsePathCount() { return responsePath_.size(); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement getResponsePath(int index) { return responsePath_.get(index); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElementOrBuilder getResponsePathOrBuilder( int index) { return responsePath_.get(index); } public static final int NODE_FIELD_NUMBER = 2; private mdg.engine.proto.Reports.Trace.QueryPlanNode node_; /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; * @return Whether the node field is set. */ @java.lang.Override public boolean hasNode() { return node_ != null; } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; * @return The node. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode getNode() { return node_ == null ? mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance() : node_; } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodeOrBuilder() { return getNode(); } 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 { for (int i = 0; i < responsePath_.size(); i++) { output.writeMessage(1, responsePath_.get(i)); } if (node_ != null) { output.writeMessage(2, getNode()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < responsePath_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, responsePath_.get(i)); } if (node_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getNode()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode other = (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) obj; if (!getResponsePathList() .equals(other.getResponsePathList())) return false; if (hasNode() != other.hasNode()) return false; if (hasNode()) { if (!getNode() .equals(other.getNode())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getResponsePathCount() > 0) { hash = (37 * hash) + RESPONSE_PATH_FIELD_NUMBER; hash = (53 * hash) + getResponsePathList().hashCode(); } if (hasNode()) { hash = (37 * hash) + NODE_FIELD_NUMBER; hash = (53 * hash) + getNode().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode 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(mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode 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; } /** *
         * This node represents a way to reach into the response path and attach related entities.
         * XXX Flatten is really not the right name and this node may be renamed in the query planner.
         * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.FlattenNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.QueryPlanNode.FlattenNode) mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResponsePathFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (responsePathBuilder_ == null) { responsePath_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { responsePathBuilder_.clear(); } if (nodeBuilder_ == null) { node_ = null; } else { node_ = null; nodeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode build() { mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode buildPartial() { mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode result = new mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode(this); int from_bitField0_ = bitField0_; if (responsePathBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { responsePath_ = java.util.Collections.unmodifiableList(responsePath_); bitField0_ = (bitField0_ & ~0x00000001); } result.responsePath_ = responsePath_; } else { result.responsePath_ = responsePathBuilder_.build(); } if (nodeBuilder_ == null) { result.node_ = node_; } else { result.node_ = nodeBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) { return mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode other) { if (other == mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance()) return this; if (responsePathBuilder_ == null) { if (!other.responsePath_.isEmpty()) { if (responsePath_.isEmpty()) { responsePath_ = other.responsePath_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureResponsePathIsMutable(); responsePath_.addAll(other.responsePath_); } onChanged(); } } else { if (!other.responsePath_.isEmpty()) { if (responsePathBuilder_.isEmpty()) { responsePathBuilder_.dispose(); responsePathBuilder_ = null; responsePath_ = other.responsePath_; bitField0_ = (bitField0_ & ~0x00000001); responsePathBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getResponsePathFieldBuilder() : null; } else { responsePathBuilder_.addAllMessages(other.responsePath_); } } } if (other.hasNode()) { mergeNode(other.getNode()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List responsePath_ = java.util.Collections.emptyList(); private void ensureResponsePathIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { responsePath_ = new java.util.ArrayList(responsePath_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElementOrBuilder> responsePathBuilder_; /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public java.util.List getResponsePathList() { if (responsePathBuilder_ == null) { return java.util.Collections.unmodifiableList(responsePath_); } else { return responsePathBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public int getResponsePathCount() { if (responsePathBuilder_ == null) { return responsePath_.size(); } else { return responsePathBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement getResponsePath(int index) { if (responsePathBuilder_ == null) { return responsePath_.get(index); } else { return responsePathBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder setResponsePath( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement value) { if (responsePathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResponsePathIsMutable(); responsePath_.set(index, value); onChanged(); } else { responsePathBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder setResponsePath( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder builderForValue) { if (responsePathBuilder_ == null) { ensureResponsePathIsMutable(); responsePath_.set(index, builderForValue.build()); onChanged(); } else { responsePathBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder addResponsePath(mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement value) { if (responsePathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResponsePathIsMutable(); responsePath_.add(value); onChanged(); } else { responsePathBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder addResponsePath( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement value) { if (responsePathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResponsePathIsMutable(); responsePath_.add(index, value); onChanged(); } else { responsePathBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder addResponsePath( mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder builderForValue) { if (responsePathBuilder_ == null) { ensureResponsePathIsMutable(); responsePath_.add(builderForValue.build()); onChanged(); } else { responsePathBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder addResponsePath( int index, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder builderForValue) { if (responsePathBuilder_ == null) { ensureResponsePathIsMutable(); responsePath_.add(index, builderForValue.build()); onChanged(); } else { responsePathBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder addAllResponsePath( java.lang.Iterable values) { if (responsePathBuilder_ == null) { ensureResponsePathIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, responsePath_); onChanged(); } else { responsePathBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder clearResponsePath() { if (responsePathBuilder_ == null) { responsePath_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { responsePathBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public Builder removeResponsePath(int index) { if (responsePathBuilder_ == null) { ensureResponsePathIsMutable(); responsePath_.remove(index); onChanged(); } else { responsePathBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder getResponsePathBuilder( int index) { return getResponsePathFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElementOrBuilder getResponsePathOrBuilder( int index) { if (responsePathBuilder_ == null) { return responsePath_.get(index); } else { return responsePathBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public java.util.List getResponsePathOrBuilderList() { if (responsePathBuilder_ != null) { return responsePathBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(responsePath_); } } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder addResponsePathBuilder() { return getResponsePathFieldBuilder().addBuilder( mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder addResponsePathBuilder( int index) { return getResponsePathFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement response_path = 1; */ public java.util.List getResponsePathBuilderList() { return getResponsePathFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElementOrBuilder> getResponsePathFieldBuilder() { if (responsePathBuilder_ == null) { responsePathBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElementOrBuilder>( responsePath_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); responsePath_ = null; } return responsePathBuilder_; } private mdg.engine.proto.Reports.Trace.QueryPlanNode node_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder> nodeBuilder_; /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; * @return Whether the node field is set. */ public boolean hasNode() { return nodeBuilder_ != null || node_ != null; } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; * @return The node. */ public mdg.engine.proto.Reports.Trace.QueryPlanNode getNode() { if (nodeBuilder_ == null) { return node_ == null ? mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance() : node_; } else { return nodeBuilder_.getMessage(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ public Builder setNode(mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (nodeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; onChanged(); } else { nodeBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ public Builder setNode( mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder builderForValue) { if (nodeBuilder_ == null) { node_ = builderForValue.build(); onChanged(); } else { nodeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ public Builder mergeNode(mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (nodeBuilder_ == null) { if (node_ != null) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.newBuilder(node_).mergeFrom(value).buildPartial(); } else { node_ = value; } onChanged(); } else { nodeBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ public Builder clearNode() { if (nodeBuilder_ == null) { node_ = null; onChanged(); } else { node_ = null; nodeBuilder_ = null; } return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder getNodeBuilder() { onChanged(); return getNodeFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ public mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getNodeOrBuilder() { if (nodeBuilder_ != null) { return nodeBuilder_.getMessageOrBuilder(); } else { return node_ == null ? mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance() : node_; } } /** * .mdg.engine.proto.Trace.QueryPlanNode node = 2; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder> getNodeFieldBuilder() { if (nodeBuilder_ == null) { nodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder>( getNode(), getParentForChildren(), isClean()); node_ = null; } return nodeBuilder_; } @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:mdg.engine.proto.Trace.QueryPlanNode.FlattenNode) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.QueryPlanNode.FlattenNode) private static final mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode(); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FlattenNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FlattenNode(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponsePathElementOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement) com.google.protobuf.MessageOrBuilder { /** * string field_name = 1; * @return Whether the fieldName field is set. */ boolean hasFieldName(); /** * string field_name = 1; * @return The fieldName. */ java.lang.String getFieldName(); /** * string field_name = 1; * @return The bytes for fieldName. */ com.google.protobuf.ByteString getFieldNameBytes(); /** * uint32 index = 2; * @return Whether the index field is set. */ boolean hasIndex(); /** * uint32 index = 2; * @return The index. */ int getIndex(); public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.IdCase getIdCase(); } /** * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement} */ public static final class ResponsePathElement extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement) ResponsePathElementOrBuilder { private static final long serialVersionUID = 0L; // Use ResponsePathElement.newBuilder() to construct. private ResponsePathElement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ResponsePathElement() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ResponsePathElement(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ResponsePathElement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); idCase_ = 1; id_ = s; break; } case 16: { id_ = input.readUInt32(); idCase_ = 2; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder.class); } private int idCase_ = 0; private java.lang.Object id_; public enum IdCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FIELD_NAME(1), INDEX(2), ID_NOT_SET(0); private final int value; private IdCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static IdCase valueOf(int value) { return forNumber(value); } public static IdCase forNumber(int value) { switch (value) { case 1: return FIELD_NAME; case 2: return INDEX; case 0: return ID_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public IdCase getIdCase() { return IdCase.forNumber( idCase_); } public static final int FIELD_NAME_FIELD_NUMBER = 1; /** * string field_name = 1; * @return Whether the fieldName field is set. */ public boolean hasFieldName() { return idCase_ == 1; } /** * string field_name = 1; * @return The fieldName. */ public java.lang.String getFieldName() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } 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(); if (idCase_ == 1) { id_ = s; } return s; } } /** * string field_name = 1; * @return The bytes for fieldName. */ public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (idCase_ == 1) { id_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INDEX_FIELD_NUMBER = 2; /** * uint32 index = 2; * @return Whether the index field is set. */ @java.lang.Override public boolean hasIndex() { return idCase_ == 2; } /** * uint32 index = 2; * @return The index. */ @java.lang.Override public int getIndex() { if (idCase_ == 2) { return (java.lang.Integer) id_; } return 0; } 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 (idCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (idCase_ == 2) { output.writeUInt32( 2, (int)((java.lang.Integer) id_)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (idCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (idCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size( 2, (int)((java.lang.Integer) id_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement other = (mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement) obj; if (!getIdCase().equals(other.getIdCase())) return false; switch (idCase_) { case 1: if (!getFieldName() .equals(other.getFieldName())) return false; break; case 2: if (getIndex() != other.getIndex()) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (idCase_) { case 1: hash = (37 * hash) + FIELD_NAME_FIELD_NUMBER; hash = (53 * hash) + getFieldName().hashCode(); break; case 2: hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement 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 mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement 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(mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement 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 mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement) mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElementOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); idCase_ = 0; id_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement build() { mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement buildPartial() { mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement result = new mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement(this); if (idCase_ == 1) { result.id_ = id_; } if (idCase_ == 2) { result.id_ = id_; } result.idCase_ = idCase_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement) { return mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement other) { if (other == mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement.getDefaultInstance()) return this; switch (other.getIdCase()) { case FIELD_NAME: { idCase_ = 1; id_ = other.id_; onChanged(); break; } case INDEX: { setIndex(other.getIndex()); break; } case ID_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int idCase_ = 0; private java.lang.Object id_; public IdCase getIdCase() { return IdCase.forNumber( idCase_); } public Builder clearId() { idCase_ = 0; id_ = null; onChanged(); return this; } /** * string field_name = 1; * @return Whether the fieldName field is set. */ @java.lang.Override public boolean hasFieldName() { return idCase_ == 1; } /** * string field_name = 1; * @return The fieldName. */ @java.lang.Override public java.lang.String getFieldName() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (idCase_ == 1) { id_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string field_name = 1; * @return The bytes for fieldName. */ @java.lang.Override public com.google.protobuf.ByteString getFieldNameBytes() { java.lang.Object ref = ""; if (idCase_ == 1) { ref = id_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (idCase_ == 1) { id_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string field_name = 1; * @param value The fieldName to set. * @return This builder for chaining. */ public Builder setFieldName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } idCase_ = 1; id_ = value; onChanged(); return this; } /** * string field_name = 1; * @return This builder for chaining. */ public Builder clearFieldName() { if (idCase_ == 1) { idCase_ = 0; id_ = null; onChanged(); } return this; } /** * string field_name = 1; * @param value The bytes for fieldName to set. * @return This builder for chaining. */ public Builder setFieldNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); idCase_ = 1; id_ = value; onChanged(); return this; } /** * uint32 index = 2; * @return Whether the index field is set. */ public boolean hasIndex() { return idCase_ == 2; } /** * uint32 index = 2; * @return The index. */ public int getIndex() { if (idCase_ == 2) { return (java.lang.Integer) id_; } return 0; } /** * uint32 index = 2; * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { idCase_ = 2; id_ = value; onChanged(); return this; } /** * uint32 index = 2; * @return This builder for chaining. */ public Builder clearIndex() { if (idCase_ == 2) { idCase_ = 0; id_ = null; 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:mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.QueryPlanNode.ResponsePathElement) private static final mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement(); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ResponsePathElement parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ResponsePathElement(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ResponsePathElement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int nodeCase_ = 0; private java.lang.Object node_; public enum NodeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SEQUENCE(1), PARALLEL(2), FETCH(3), FLATTEN(4), NODE_NOT_SET(0); private final int value; private NodeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static NodeCase valueOf(int value) { return forNumber(value); } public static NodeCase forNumber(int value) { switch (value) { case 1: return SEQUENCE; case 2: return PARALLEL; case 3: return FETCH; case 4: return FLATTEN; case 0: return NODE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public NodeCase getNodeCase() { return NodeCase.forNumber( nodeCase_); } public static final int SEQUENCE_FIELD_NUMBER = 1; /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; * @return Whether the sequence field is set. */ @java.lang.Override public boolean hasSequence() { return nodeCase_ == 1; } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; * @return The sequence. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode getSequence() { if (nodeCase_ == 1) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance(); } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNodeOrBuilder getSequenceOrBuilder() { if (nodeCase_ == 1) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance(); } public static final int PARALLEL_FIELD_NUMBER = 2; /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; * @return Whether the parallel field is set. */ @java.lang.Override public boolean hasParallel() { return nodeCase_ == 2; } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; * @return The parallel. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode getParallel() { if (nodeCase_ == 2) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance(); } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNodeOrBuilder getParallelOrBuilder() { if (nodeCase_ == 2) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance(); } public static final int FETCH_FIELD_NUMBER = 3; /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; * @return Whether the fetch field is set. */ @java.lang.Override public boolean hasFetch() { return nodeCase_ == 3; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; * @return The fetch. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode getFetch() { if (nodeCase_ == 3) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance(); } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNodeOrBuilder getFetchOrBuilder() { if (nodeCase_ == 3) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance(); } public static final int FLATTEN_FIELD_NUMBER = 4; /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; * @return Whether the flatten field is set. */ @java.lang.Override public boolean hasFlatten() { return nodeCase_ == 4; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; * @return The flatten. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode getFlatten() { if (nodeCase_ == 4) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance(); } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNodeOrBuilder getFlattenOrBuilder() { if (nodeCase_ == 4) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance(); } 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 (nodeCase_ == 1) { output.writeMessage(1, (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_); } if (nodeCase_ == 2) { output.writeMessage(2, (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_); } if (nodeCase_ == 3) { output.writeMessage(3, (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_); } if (nodeCase_ == 4) { output.writeMessage(4, (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (nodeCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_); } if (nodeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_); } if (nodeCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_); } if (nodeCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace.QueryPlanNode)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace.QueryPlanNode other = (mdg.engine.proto.Reports.Trace.QueryPlanNode) obj; if (!getNodeCase().equals(other.getNodeCase())) return false; switch (nodeCase_) { case 1: if (!getSequence() .equals(other.getSequence())) return false; break; case 2: if (!getParallel() .equals(other.getParallel())) return false; break; case 3: if (!getFetch() .equals(other.getFetch())) return false; break; case 4: if (!getFlatten() .equals(other.getFlatten())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (nodeCase_) { case 1: hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + getSequence().hashCode(); break; case 2: hash = (37 * hash) + PARALLEL_FIELD_NUMBER; hash = (53 * hash) + getParallel().hashCode(); break; case 3: hash = (37 * hash) + FETCH_FIELD_NUMBER; hash = (53 * hash) + getFetch().hashCode(); break; case 4: hash = (37 * hash) + FLATTEN_FIELD_NUMBER; hash = (53 * hash) + getFlatten().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace.QueryPlanNode parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode 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 mdg.engine.proto.Reports.Trace.QueryPlanNode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode 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(mdg.engine.proto.Reports.Trace.QueryPlanNode 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; } /** *
       * represents a node in the query plan, under which there is a trace tree for that service fetch.
       * In particular, each fetch node represents a call to an implementing service, and calls to implementing
       * services may not be unique. See https://github.com/apollographql/apollo-server/blob/master/packages/apollo-gateway/src/QueryPlan.ts
       * for more information and details.
       * 
* * Protobuf type {@code mdg.engine.proto.Trace.QueryPlanNode} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace.QueryPlanNode) mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.QueryPlanNode.class, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.QueryPlanNode.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); nodeCase_ = 0; node_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode build() { mdg.engine.proto.Reports.Trace.QueryPlanNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode buildPartial() { mdg.engine.proto.Reports.Trace.QueryPlanNode result = new mdg.engine.proto.Reports.Trace.QueryPlanNode(this); if (nodeCase_ == 1) { if (sequenceBuilder_ == null) { result.node_ = node_; } else { result.node_ = sequenceBuilder_.build(); } } if (nodeCase_ == 2) { if (parallelBuilder_ == null) { result.node_ = node_; } else { result.node_ = parallelBuilder_.build(); } } if (nodeCase_ == 3) { if (fetchBuilder_ == null) { result.node_ = node_; } else { result.node_ = fetchBuilder_.build(); } } if (nodeCase_ == 4) { if (flattenBuilder_ == null) { result.node_ = node_; } else { result.node_ = flattenBuilder_.build(); } } result.nodeCase_ = nodeCase_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace.QueryPlanNode) { return mergeFrom((mdg.engine.proto.Reports.Trace.QueryPlanNode)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace.QueryPlanNode other) { if (other == mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance()) return this; switch (other.getNodeCase()) { case SEQUENCE: { mergeSequence(other.getSequence()); break; } case PARALLEL: { mergeParallel(other.getParallel()); break; } case FETCH: { mergeFetch(other.getFetch()); break; } case FLATTEN: { mergeFlatten(other.getFlatten()); break; } case NODE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace.QueryPlanNode parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace.QueryPlanNode) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int nodeCase_ = 0; private java.lang.Object node_; public NodeCase getNodeCase() { return NodeCase.forNumber( nodeCase_); } public Builder clearNode() { nodeCase_ = 0; node_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNodeOrBuilder> sequenceBuilder_; /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; * @return Whether the sequence field is set. */ @java.lang.Override public boolean hasSequence() { return nodeCase_ == 1; } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; * @return The sequence. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode getSequence() { if (sequenceBuilder_ == null) { if (nodeCase_ == 1) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance(); } else { if (nodeCase_ == 1) { return sequenceBuilder_.getMessage(); } return mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ public Builder setSequence(mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode value) { if (sequenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; onChanged(); } else { sequenceBuilder_.setMessage(value); } nodeCase_ = 1; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ public Builder setSequence( mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.Builder builderForValue) { if (sequenceBuilder_ == null) { node_ = builderForValue.build(); onChanged(); } else { sequenceBuilder_.setMessage(builderForValue.build()); } nodeCase_ = 1; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ public Builder mergeSequence(mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode value) { if (sequenceBuilder_ == null) { if (nodeCase_ == 1 && node_ != mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance()) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.newBuilder((mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_) .mergeFrom(value).buildPartial(); } else { node_ = value; } onChanged(); } else { if (nodeCase_ == 1) { sequenceBuilder_.mergeFrom(value); } else { sequenceBuilder_.setMessage(value); } } nodeCase_ = 1; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ public Builder clearSequence() { if (sequenceBuilder_ == null) { if (nodeCase_ == 1) { nodeCase_ = 0; node_ = null; onChanged(); } } else { if (nodeCase_ == 1) { nodeCase_ = 0; node_ = null; } sequenceBuilder_.clear(); } return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.Builder getSequenceBuilder() { return getSequenceFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNodeOrBuilder getSequenceOrBuilder() { if ((nodeCase_ == 1) && (sequenceBuilder_ != null)) { return sequenceBuilder_.getMessageOrBuilder(); } else { if (nodeCase_ == 1) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode.SequenceNode sequence = 1; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNodeOrBuilder> getSequenceFieldBuilder() { if (sequenceBuilder_ == null) { if (!(nodeCase_ == 1)) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.getDefaultInstance(); } sequenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNodeOrBuilder>( (mdg.engine.proto.Reports.Trace.QueryPlanNode.SequenceNode) node_, getParentForChildren(), isClean()); node_ = null; } nodeCase_ = 1; onChanged();; return sequenceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNodeOrBuilder> parallelBuilder_; /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; * @return Whether the parallel field is set. */ @java.lang.Override public boolean hasParallel() { return nodeCase_ == 2; } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; * @return The parallel. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode getParallel() { if (parallelBuilder_ == null) { if (nodeCase_ == 2) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance(); } else { if (nodeCase_ == 2) { return parallelBuilder_.getMessage(); } return mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ public Builder setParallel(mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode value) { if (parallelBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; onChanged(); } else { parallelBuilder_.setMessage(value); } nodeCase_ = 2; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ public Builder setParallel( mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.Builder builderForValue) { if (parallelBuilder_ == null) { node_ = builderForValue.build(); onChanged(); } else { parallelBuilder_.setMessage(builderForValue.build()); } nodeCase_ = 2; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ public Builder mergeParallel(mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode value) { if (parallelBuilder_ == null) { if (nodeCase_ == 2 && node_ != mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance()) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.newBuilder((mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_) .mergeFrom(value).buildPartial(); } else { node_ = value; } onChanged(); } else { if (nodeCase_ == 2) { parallelBuilder_.mergeFrom(value); } else { parallelBuilder_.setMessage(value); } } nodeCase_ = 2; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ public Builder clearParallel() { if (parallelBuilder_ == null) { if (nodeCase_ == 2) { nodeCase_ = 0; node_ = null; onChanged(); } } else { if (nodeCase_ == 2) { nodeCase_ = 0; node_ = null; } parallelBuilder_.clear(); } return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.Builder getParallelBuilder() { return getParallelFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNodeOrBuilder getParallelOrBuilder() { if ((nodeCase_ == 2) && (parallelBuilder_ != null)) { return parallelBuilder_.getMessageOrBuilder(); } else { if (nodeCase_ == 2) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode.ParallelNode parallel = 2; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNodeOrBuilder> getParallelFieldBuilder() { if (parallelBuilder_ == null) { if (!(nodeCase_ == 2)) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.getDefaultInstance(); } parallelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNodeOrBuilder>( (mdg.engine.proto.Reports.Trace.QueryPlanNode.ParallelNode) node_, getParentForChildren(), isClean()); node_ = null; } nodeCase_ = 2; onChanged();; return parallelBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNodeOrBuilder> fetchBuilder_; /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; * @return Whether the fetch field is set. */ @java.lang.Override public boolean hasFetch() { return nodeCase_ == 3; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; * @return The fetch. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode getFetch() { if (fetchBuilder_ == null) { if (nodeCase_ == 3) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance(); } else { if (nodeCase_ == 3) { return fetchBuilder_.getMessage(); } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ public Builder setFetch(mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode value) { if (fetchBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; onChanged(); } else { fetchBuilder_.setMessage(value); } nodeCase_ = 3; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ public Builder setFetch( mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.Builder builderForValue) { if (fetchBuilder_ == null) { node_ = builderForValue.build(); onChanged(); } else { fetchBuilder_.setMessage(builderForValue.build()); } nodeCase_ = 3; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ public Builder mergeFetch(mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode value) { if (fetchBuilder_ == null) { if (nodeCase_ == 3 && node_ != mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance()) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.newBuilder((mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_) .mergeFrom(value).buildPartial(); } else { node_ = value; } onChanged(); } else { if (nodeCase_ == 3) { fetchBuilder_.mergeFrom(value); } else { fetchBuilder_.setMessage(value); } } nodeCase_ = 3; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ public Builder clearFetch() { if (fetchBuilder_ == null) { if (nodeCase_ == 3) { nodeCase_ = 0; node_ = null; onChanged(); } } else { if (nodeCase_ == 3) { nodeCase_ = 0; node_ = null; } fetchBuilder_.clear(); } return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.Builder getFetchBuilder() { return getFetchFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNodeOrBuilder getFetchOrBuilder() { if ((nodeCase_ == 3) && (fetchBuilder_ != null)) { return fetchBuilder_.getMessageOrBuilder(); } else { if (nodeCase_ == 3) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode.FetchNode fetch = 3; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNodeOrBuilder> getFetchFieldBuilder() { if (fetchBuilder_ == null) { if (!(nodeCase_ == 3)) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.getDefaultInstance(); } fetchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNodeOrBuilder>( (mdg.engine.proto.Reports.Trace.QueryPlanNode.FetchNode) node_, getParentForChildren(), isClean()); node_ = null; } nodeCase_ = 3; onChanged();; return fetchBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNodeOrBuilder> flattenBuilder_; /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; * @return Whether the flatten field is set. */ @java.lang.Override public boolean hasFlatten() { return nodeCase_ == 4; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; * @return The flatten. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode getFlatten() { if (flattenBuilder_ == null) { if (nodeCase_ == 4) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance(); } else { if (nodeCase_ == 4) { return flattenBuilder_.getMessage(); } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ public Builder setFlatten(mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode value) { if (flattenBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; onChanged(); } else { flattenBuilder_.setMessage(value); } nodeCase_ = 4; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ public Builder setFlatten( mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.Builder builderForValue) { if (flattenBuilder_ == null) { node_ = builderForValue.build(); onChanged(); } else { flattenBuilder_.setMessage(builderForValue.build()); } nodeCase_ = 4; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ public Builder mergeFlatten(mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode value) { if (flattenBuilder_ == null) { if (nodeCase_ == 4 && node_ != mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance()) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.newBuilder((mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_) .mergeFrom(value).buildPartial(); } else { node_ = value; } onChanged(); } else { if (nodeCase_ == 4) { flattenBuilder_.mergeFrom(value); } else { flattenBuilder_.setMessage(value); } } nodeCase_ = 4; return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ public Builder clearFlatten() { if (flattenBuilder_ == null) { if (nodeCase_ == 4) { nodeCase_ = 0; node_ = null; onChanged(); } } else { if (nodeCase_ == 4) { nodeCase_ = 0; node_ = null; } flattenBuilder_.clear(); } return this; } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.Builder getFlattenBuilder() { return getFlattenFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNodeOrBuilder getFlattenOrBuilder() { if ((nodeCase_ == 4) && (flattenBuilder_ != null)) { return flattenBuilder_.getMessageOrBuilder(); } else { if (nodeCase_ == 4) { return (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_; } return mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance(); } } /** * .mdg.engine.proto.Trace.QueryPlanNode.FlattenNode flatten = 4; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNodeOrBuilder> getFlattenFieldBuilder() { if (flattenBuilder_ == null) { if (!(nodeCase_ == 4)) { node_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.getDefaultInstance(); } flattenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNodeOrBuilder>( (mdg.engine.proto.Reports.Trace.QueryPlanNode.FlattenNode) node_, getParentForChildren(), isClean()); node_ = null; } nodeCase_ = 4; onChanged();; return flattenBuilder_; } @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:mdg.engine.proto.Trace.QueryPlanNode) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace.QueryPlanNode) private static final mdg.engine.proto.Reports.Trace.QueryPlanNode DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace.QueryPlanNode(); } public static mdg.engine.proto.Reports.Trace.QueryPlanNode getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryPlanNode parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryPlanNode(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** *
     * Wallclock time when the trace began.
     * 
* * .google.protobuf.Timestamp start_time = 4; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return startTime_ != null; } /** *
     * Wallclock time when the trace began.
     * 
* * .google.protobuf.Timestamp start_time = 4; * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** *
     * Wallclock time when the trace began.
     * 
* * .google.protobuf.Timestamp start_time = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); } public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** *
     * Wallclock time when the trace ended.
     * 
* * .google.protobuf.Timestamp end_time = 3; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return endTime_ != null; } /** *
     * Wallclock time when the trace ended.
     * 
* * .google.protobuf.Timestamp end_time = 3; * @return The endTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** *
     * Wallclock time when the trace ended.
     * 
* * .google.protobuf.Timestamp end_time = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return getEndTime(); } public static final int DURATION_NS_FIELD_NUMBER = 11; private long durationNs_; /** *
     * High precision duration of the trace; may not equal end_time-start_time
     * (eg, if your machine's clock changed during the trace).
     * 
* * uint64 duration_ns = 11; * @return The durationNs. */ @java.lang.Override public long getDurationNs() { return durationNs_; } public static final int ROOT_FIELD_NUMBER = 14; private mdg.engine.proto.Reports.Trace.Node root_; /** *
     * A tree containing information about all resolvers run directly by this
     * service, including errors.
     * 
* * .mdg.engine.proto.Trace.Node root = 14; * @return Whether the root field is set. */ @java.lang.Override public boolean hasRoot() { return root_ != null; } /** *
     * A tree containing information about all resolvers run directly by this
     * service, including errors.
     * 
* * .mdg.engine.proto.Trace.Node root = 14; * @return The root. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.Node getRoot() { return root_ == null ? mdg.engine.proto.Reports.Trace.Node.getDefaultInstance() : root_; } /** *
     * A tree containing information about all resolvers run directly by this
     * service, including errors.
     * 
* * .mdg.engine.proto.Trace.Node root = 14; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.NodeOrBuilder getRootOrBuilder() { return getRoot(); } public static final int SIGNATURE_FIELD_NUMBER = 19; private volatile java.lang.Object signature_; /** *
     * In addition to details.raw_query, we include a "signature" of the query,
     * which can be normalized: for example, you may want to discard aliases, drop
     * unused operations and fragments, sort fields, etc. The most important thing
     * here is that the signature match the signature in StatsReports. In
     * StatsReports signatures show up as the key in the per_query map (with the
     * operation name prepended).  The signature should be a valid GraphQL query.
     * All traces must have a signature; if this Trace is in a FullTracesReport
     * that signature is in the key of traces_per_query rather than in this field.
     * Engineproxy provides the signature in legacy_signature_needs_resigning
     * instead.
     * 
* * string signature = 19; * @return The signature. */ @java.lang.Override public java.lang.String getSignature() { java.lang.Object ref = signature_; 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(); signature_ = s; return s; } } /** *
     * In addition to details.raw_query, we include a "signature" of the query,
     * which can be normalized: for example, you may want to discard aliases, drop
     * unused operations and fragments, sort fields, etc. The most important thing
     * here is that the signature match the signature in StatsReports. In
     * StatsReports signatures show up as the key in the per_query map (with the
     * operation name prepended).  The signature should be a valid GraphQL query.
     * All traces must have a signature; if this Trace is in a FullTracesReport
     * that signature is in the key of traces_per_query rather than in this field.
     * Engineproxy provides the signature in legacy_signature_needs_resigning
     * instead.
     * 
* * string signature = 19; * @return The bytes for signature. */ @java.lang.Override public com.google.protobuf.ByteString getSignatureBytes() { java.lang.Object ref = signature_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DETAILS_FIELD_NUMBER = 6; private mdg.engine.proto.Reports.Trace.Details details_; /** * .mdg.engine.proto.Trace.Details details = 6; * @return Whether the details field is set. */ @java.lang.Override public boolean hasDetails() { return details_ != null; } /** * .mdg.engine.proto.Trace.Details details = 6; * @return The details. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.Details getDetails() { return details_ == null ? mdg.engine.proto.Reports.Trace.Details.getDefaultInstance() : details_; } /** * .mdg.engine.proto.Trace.Details details = 6; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.DetailsOrBuilder getDetailsOrBuilder() { return getDetails(); } public static final int CLIENT_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object clientName_; /** *
     * Note: engineproxy always sets client_name, client_version, and client_address to "none".
     * apollo-engine-reporting allows for them to be set by the user.
     * 
* * string client_name = 7; * @return The clientName. */ @java.lang.Override public java.lang.String getClientName() { java.lang.Object ref = clientName_; 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(); clientName_ = s; return s; } } /** *
     * Note: engineproxy always sets client_name, client_version, and client_address to "none".
     * apollo-engine-reporting allows for them to be set by the user.
     * 
* * string client_name = 7; * @return The bytes for clientName. */ @java.lang.Override public com.google.protobuf.ByteString getClientNameBytes() { java.lang.Object ref = clientName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_VERSION_FIELD_NUMBER = 8; private volatile java.lang.Object clientVersion_; /** * string client_version = 8; * @return The clientVersion. */ @java.lang.Override public java.lang.String getClientVersion() { java.lang.Object ref = clientVersion_; 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(); clientVersion_ = s; return s; } } /** * string client_version = 8; * @return The bytes for clientVersion. */ @java.lang.Override public com.google.protobuf.ByteString getClientVersionBytes() { java.lang.Object ref = clientVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_ADDRESS_FIELD_NUMBER = 9; private volatile java.lang.Object clientAddress_; /** * string client_address = 9; * @return The clientAddress. */ @java.lang.Override public java.lang.String getClientAddress() { java.lang.Object ref = clientAddress_; 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(); clientAddress_ = s; return s; } } /** * string client_address = 9; * @return The bytes for clientAddress. */ @java.lang.Override public com.google.protobuf.ByteString getClientAddressBytes() { java.lang.Object ref = clientAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_REFERENCE_ID_FIELD_NUMBER = 23; private volatile java.lang.Object clientReferenceId_; /** * string client_reference_id = 23; * @return The clientReferenceId. */ @java.lang.Override public java.lang.String getClientReferenceId() { java.lang.Object ref = clientReferenceId_; 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(); clientReferenceId_ = s; return s; } } /** * string client_reference_id = 23; * @return The bytes for clientReferenceId. */ @java.lang.Override public com.google.protobuf.ByteString getClientReferenceIdBytes() { java.lang.Object ref = clientReferenceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientReferenceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HTTP_FIELD_NUMBER = 10; private mdg.engine.proto.Reports.Trace.HTTP http_; /** * .mdg.engine.proto.Trace.HTTP http = 10; * @return Whether the http field is set. */ @java.lang.Override public boolean hasHttp() { return http_ != null; } /** * .mdg.engine.proto.Trace.HTTP http = 10; * @return The http. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTP getHttp() { return http_ == null ? mdg.engine.proto.Reports.Trace.HTTP.getDefaultInstance() : http_; } /** * .mdg.engine.proto.Trace.HTTP http = 10; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.HTTPOrBuilder getHttpOrBuilder() { return getHttp(); } public static final int CACHE_POLICY_FIELD_NUMBER = 18; private mdg.engine.proto.Reports.Trace.CachePolicy cachePolicy_; /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; * @return Whether the cachePolicy field is set. */ @java.lang.Override public boolean hasCachePolicy() { return cachePolicy_ != null; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; * @return The cachePolicy. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicy getCachePolicy() { return cachePolicy_ == null ? mdg.engine.proto.Reports.Trace.CachePolicy.getDefaultInstance() : cachePolicy_; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder() { return getCachePolicy(); } public static final int QUERY_PLAN_FIELD_NUMBER = 26; private mdg.engine.proto.Reports.Trace.QueryPlanNode queryPlan_; /** *
     * If this Trace was created by a gateway, this is the query plan, including
     * sub-Traces for federated services. Note that the 'root' tree on the
     * top-level Trace won't contain any resolvers (though it could contain errors
     * that occurred in the gateway itself).
     * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; * @return Whether the queryPlan field is set. */ @java.lang.Override public boolean hasQueryPlan() { return queryPlan_ != null; } /** *
     * If this Trace was created by a gateway, this is the query plan, including
     * sub-Traces for federated services. Note that the 'root' tree on the
     * top-level Trace won't contain any resolvers (though it could contain errors
     * that occurred in the gateway itself).
     * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; * @return The queryPlan. */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNode getQueryPlan() { return queryPlan_ == null ? mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance() : queryPlan_; } /** *
     * If this Trace was created by a gateway, this is the query plan, including
     * sub-Traces for federated services. Note that the 'root' tree on the
     * top-level Trace won't contain any resolvers (though it could contain errors
     * that occurred in the gateway itself).
     * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ @java.lang.Override public mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getQueryPlanOrBuilder() { return getQueryPlan(); } public static final int FULL_QUERY_CACHE_HIT_FIELD_NUMBER = 20; private boolean fullQueryCacheHit_; /** *
     * Was this response served from a full query response cache?  (In that case
     * the node tree will have no resolvers.)
     * 
* * bool full_query_cache_hit = 20; * @return The fullQueryCacheHit. */ @java.lang.Override public boolean getFullQueryCacheHit() { return fullQueryCacheHit_; } public static final int PERSISTED_QUERY_HIT_FIELD_NUMBER = 21; private boolean persistedQueryHit_; /** *
     * Was this query specified successfully as a persisted query hash?
     * 
* * bool persisted_query_hit = 21; * @return The persistedQueryHit. */ @java.lang.Override public boolean getPersistedQueryHit() { return persistedQueryHit_; } public static final int PERSISTED_QUERY_REGISTER_FIELD_NUMBER = 22; private boolean persistedQueryRegister_; /** *
     * Did this query contain both a full query string and a persisted query hash?
     * (This typically means that a previous request was rejected as an unknown
     * persisted query.)
     * 
* * bool persisted_query_register = 22; * @return The persistedQueryRegister. */ @java.lang.Override public boolean getPersistedQueryRegister() { return persistedQueryRegister_; } public static final int REGISTERED_OPERATION_FIELD_NUMBER = 24; private boolean registeredOperation_; /** *
     * Was this operation registered and a part of the safelist?
     * 
* * bool registered_operation = 24; * @return The registeredOperation. */ @java.lang.Override public boolean getRegisteredOperation() { return registeredOperation_; } public static final int FORBIDDEN_OPERATION_FIELD_NUMBER = 25; private boolean forbiddenOperation_; /** *
     * Was this operation forbidden due to lack of safelisting?
     * 
* * bool forbidden_operation = 25; * @return The forbiddenOperation. */ @java.lang.Override public boolean getForbiddenOperation() { return forbiddenOperation_; } public static final int ORIGIN_REPORTED_START_TIME_FIELD_NUMBER = 15; private com.google.protobuf.Timestamp originReportedStartTime_; /** *
     * --------------------------------------------------------------
     * Fields below this line are only set by the old Go engineproxy.
     * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; * @return Whether the originReportedStartTime field is set. */ @java.lang.Override public boolean hasOriginReportedStartTime() { return originReportedStartTime_ != null; } /** *
     * --------------------------------------------------------------
     * Fields below this line are only set by the old Go engineproxy.
     * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; * @return The originReportedStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOriginReportedStartTime() { return originReportedStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originReportedStartTime_; } /** *
     * --------------------------------------------------------------
     * Fields below this line are only set by the old Go engineproxy.
     * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOriginReportedStartTimeOrBuilder() { return getOriginReportedStartTime(); } public static final int ORIGIN_REPORTED_END_TIME_FIELD_NUMBER = 16; private com.google.protobuf.Timestamp originReportedEndTime_; /** * .google.protobuf.Timestamp origin_reported_end_time = 16; * @return Whether the originReportedEndTime field is set. */ @java.lang.Override public boolean hasOriginReportedEndTime() { return originReportedEndTime_ != null; } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; * @return The originReportedEndTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOriginReportedEndTime() { return originReportedEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originReportedEndTime_; } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getOriginReportedEndTimeOrBuilder() { return getOriginReportedEndTime(); } public static final int ORIGIN_REPORTED_DURATION_NS_FIELD_NUMBER = 17; private long originReportedDurationNs_; /** * uint64 origin_reported_duration_ns = 17; * @return The originReportedDurationNs. */ @java.lang.Override public long getOriginReportedDurationNs() { return originReportedDurationNs_; } public static final int LEGACY_SIGNATURE_NEEDS_RESIGNING_FIELD_NUMBER = 5; private volatile java.lang.Object legacySignatureNeedsResigning_; /** *
     * Older agents (eg the Go engineproxy) relied to some degree on the Engine
     * backend to run their own semi-compatible implementation of a specific
     * variant of query signatures. The backend does not do this for new agents (which
     * set the above 'signature' field). It used to still "re-sign" signatures
     * from engineproxy, but we've now simplified the backend to no longer do this.
     * Deprecated and ignored in FullTracesReports.
     * 
* * string legacy_signature_needs_resigning = 5; * @return The legacySignatureNeedsResigning. */ @java.lang.Override public java.lang.String getLegacySignatureNeedsResigning() { java.lang.Object ref = legacySignatureNeedsResigning_; 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(); legacySignatureNeedsResigning_ = s; return s; } } /** *
     * Older agents (eg the Go engineproxy) relied to some degree on the Engine
     * backend to run their own semi-compatible implementation of a specific
     * variant of query signatures. The backend does not do this for new agents (which
     * set the above 'signature' field). It used to still "re-sign" signatures
     * from engineproxy, but we've now simplified the backend to no longer do this.
     * Deprecated and ignored in FullTracesReports.
     * 
* * string legacy_signature_needs_resigning = 5; * @return The bytes for legacySignatureNeedsResigning. */ @java.lang.Override public com.google.protobuf.ByteString getLegacySignatureNeedsResigningBytes() { java.lang.Object ref = legacySignatureNeedsResigning_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); legacySignatureNeedsResigning_ = 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 (endTime_ != null) { output.writeMessage(3, getEndTime()); } if (startTime_ != null) { output.writeMessage(4, getStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(legacySignatureNeedsResigning_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, legacySignatureNeedsResigning_); } if (details_ != null) { output.writeMessage(6, getDetails()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, clientName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, clientVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clientAddress_); } if (http_ != null) { output.writeMessage(10, getHttp()); } if (durationNs_ != 0L) { output.writeUInt64(11, durationNs_); } if (root_ != null) { output.writeMessage(14, getRoot()); } if (originReportedStartTime_ != null) { output.writeMessage(15, getOriginReportedStartTime()); } if (originReportedEndTime_ != null) { output.writeMessage(16, getOriginReportedEndTime()); } if (originReportedDurationNs_ != 0L) { output.writeUInt64(17, originReportedDurationNs_); } if (cachePolicy_ != null) { output.writeMessage(18, getCachePolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, signature_); } if (fullQueryCacheHit_ != false) { output.writeBool(20, fullQueryCacheHit_); } if (persistedQueryHit_ != false) { output.writeBool(21, persistedQueryHit_); } if (persistedQueryRegister_ != false) { output.writeBool(22, persistedQueryRegister_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientReferenceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 23, clientReferenceId_); } if (registeredOperation_ != false) { output.writeBool(24, registeredOperation_); } if (forbiddenOperation_ != false) { output.writeBool(25, forbiddenOperation_); } if (queryPlan_ != null) { output.writeMessage(26, getQueryPlan()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (endTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getEndTime()); } if (startTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(legacySignatureNeedsResigning_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, legacySignatureNeedsResigning_); } if (details_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getDetails()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clientName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, clientVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clientAddress_); } if (http_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getHttp()); } if (durationNs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, durationNs_); } if (root_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getRoot()); } if (originReportedStartTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getOriginReportedStartTime()); } if (originReportedEndTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getOriginReportedEndTime()); } if (originReportedDurationNs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(17, originReportedDurationNs_); } if (cachePolicy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getCachePolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(signature_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, signature_); } if (fullQueryCacheHit_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(20, fullQueryCacheHit_); } if (persistedQueryHit_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(21, persistedQueryHit_); } if (persistedQueryRegister_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(22, persistedQueryRegister_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientReferenceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, clientReferenceId_); } if (registeredOperation_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(24, registeredOperation_); } if (forbiddenOperation_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(25, forbiddenOperation_); } if (queryPlan_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, getQueryPlan()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Trace)) { return super.equals(obj); } mdg.engine.proto.Reports.Trace other = (mdg.engine.proto.Reports.Trace) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (!getStartTime() .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (!getEndTime() .equals(other.getEndTime())) return false; } if (getDurationNs() != other.getDurationNs()) return false; if (hasRoot() != other.hasRoot()) return false; if (hasRoot()) { if (!getRoot() .equals(other.getRoot())) return false; } if (!getSignature() .equals(other.getSignature())) return false; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { if (!getDetails() .equals(other.getDetails())) return false; } if (!getClientName() .equals(other.getClientName())) return false; if (!getClientVersion() .equals(other.getClientVersion())) return false; if (!getClientAddress() .equals(other.getClientAddress())) return false; if (!getClientReferenceId() .equals(other.getClientReferenceId())) return false; if (hasHttp() != other.hasHttp()) return false; if (hasHttp()) { if (!getHttp() .equals(other.getHttp())) return false; } if (hasCachePolicy() != other.hasCachePolicy()) return false; if (hasCachePolicy()) { if (!getCachePolicy() .equals(other.getCachePolicy())) return false; } if (hasQueryPlan() != other.hasQueryPlan()) return false; if (hasQueryPlan()) { if (!getQueryPlan() .equals(other.getQueryPlan())) return false; } if (getFullQueryCacheHit() != other.getFullQueryCacheHit()) return false; if (getPersistedQueryHit() != other.getPersistedQueryHit()) return false; if (getPersistedQueryRegister() != other.getPersistedQueryRegister()) return false; if (getRegisteredOperation() != other.getRegisteredOperation()) return false; if (getForbiddenOperation() != other.getForbiddenOperation()) return false; if (hasOriginReportedStartTime() != other.hasOriginReportedStartTime()) return false; if (hasOriginReportedStartTime()) { if (!getOriginReportedStartTime() .equals(other.getOriginReportedStartTime())) return false; } if (hasOriginReportedEndTime() != other.hasOriginReportedEndTime()) return false; if (hasOriginReportedEndTime()) { if (!getOriginReportedEndTime() .equals(other.getOriginReportedEndTime())) return false; } if (getOriginReportedDurationNs() != other.getOriginReportedDurationNs()) return false; if (!getLegacySignatureNeedsResigning() .equals(other.getLegacySignatureNeedsResigning())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); } hash = (37 * hash) + DURATION_NS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDurationNs()); if (hasRoot()) { hash = (37 * hash) + ROOT_FIELD_NUMBER; hash = (53 * hash) + getRoot().hashCode(); } hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; hash = (53 * hash) + getSignature().hashCode(); if (hasDetails()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + getDetails().hashCode(); } hash = (37 * hash) + CLIENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getClientName().hashCode(); hash = (37 * hash) + CLIENT_VERSION_FIELD_NUMBER; hash = (53 * hash) + getClientVersion().hashCode(); hash = (37 * hash) + CLIENT_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getClientAddress().hashCode(); hash = (37 * hash) + CLIENT_REFERENCE_ID_FIELD_NUMBER; hash = (53 * hash) + getClientReferenceId().hashCode(); if (hasHttp()) { hash = (37 * hash) + HTTP_FIELD_NUMBER; hash = (53 * hash) + getHttp().hashCode(); } if (hasCachePolicy()) { hash = (37 * hash) + CACHE_POLICY_FIELD_NUMBER; hash = (53 * hash) + getCachePolicy().hashCode(); } if (hasQueryPlan()) { hash = (37 * hash) + QUERY_PLAN_FIELD_NUMBER; hash = (53 * hash) + getQueryPlan().hashCode(); } hash = (37 * hash) + FULL_QUERY_CACHE_HIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFullQueryCacheHit()); hash = (37 * hash) + PERSISTED_QUERY_HIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPersistedQueryHit()); hash = (37 * hash) + PERSISTED_QUERY_REGISTER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPersistedQueryRegister()); hash = (37 * hash) + REGISTERED_OPERATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRegisteredOperation()); hash = (37 * hash) + FORBIDDEN_OPERATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getForbiddenOperation()); if (hasOriginReportedStartTime()) { hash = (37 * hash) + ORIGIN_REPORTED_START_TIME_FIELD_NUMBER; hash = (53 * hash) + getOriginReportedStartTime().hashCode(); } if (hasOriginReportedEndTime()) { hash = (37 * hash) + ORIGIN_REPORTED_END_TIME_FIELD_NUMBER; hash = (53 * hash) + getOriginReportedEndTime().hashCode(); } hash = (37 * hash) + ORIGIN_REPORTED_DURATION_NS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOriginReportedDurationNs()); hash = (37 * hash) + LEGACY_SIGNATURE_NEEDS_RESIGNING_FIELD_NUMBER; hash = (53 * hash) + getLegacySignatureNeedsResigning().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Trace parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Trace parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Trace parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace 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 mdg.engine.proto.Reports.Trace parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace 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 mdg.engine.proto.Reports.Trace parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Trace 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(mdg.engine.proto.Reports.Trace 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 mdg.engine.proto.Trace} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Trace) mdg.engine.proto.Reports.TraceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Trace.class, mdg.engine.proto.Reports.Trace.Builder.class); } // Construct using mdg.engine.proto.Reports.Trace.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (startTimeBuilder_ == null) { startTime_ = null; } else { startTime_ = null; startTimeBuilder_ = null; } if (endTimeBuilder_ == null) { endTime_ = null; } else { endTime_ = null; endTimeBuilder_ = null; } durationNs_ = 0L; if (rootBuilder_ == null) { root_ = null; } else { root_ = null; rootBuilder_ = null; } signature_ = ""; if (detailsBuilder_ == null) { details_ = null; } else { details_ = null; detailsBuilder_ = null; } clientName_ = ""; clientVersion_ = ""; clientAddress_ = ""; clientReferenceId_ = ""; if (httpBuilder_ == null) { http_ = null; } else { http_ = null; httpBuilder_ = null; } if (cachePolicyBuilder_ == null) { cachePolicy_ = null; } else { cachePolicy_ = null; cachePolicyBuilder_ = null; } if (queryPlanBuilder_ == null) { queryPlan_ = null; } else { queryPlan_ = null; queryPlanBuilder_ = null; } fullQueryCacheHit_ = false; persistedQueryHit_ = false; persistedQueryRegister_ = false; registeredOperation_ = false; forbiddenOperation_ = false; if (originReportedStartTimeBuilder_ == null) { originReportedStartTime_ = null; } else { originReportedStartTime_ = null; originReportedStartTimeBuilder_ = null; } if (originReportedEndTimeBuilder_ == null) { originReportedEndTime_ = null; } else { originReportedEndTime_ = null; originReportedEndTimeBuilder_ = null; } originReportedDurationNs_ = 0L; legacySignatureNeedsResigning_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Trace_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Trace getDefaultInstanceForType() { return mdg.engine.proto.Reports.Trace.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Trace build() { mdg.engine.proto.Reports.Trace result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Trace buildPartial() { mdg.engine.proto.Reports.Trace result = new mdg.engine.proto.Reports.Trace(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { result.startTime_ = startTimeBuilder_.build(); } if (endTimeBuilder_ == null) { result.endTime_ = endTime_; } else { result.endTime_ = endTimeBuilder_.build(); } result.durationNs_ = durationNs_; if (rootBuilder_ == null) { result.root_ = root_; } else { result.root_ = rootBuilder_.build(); } result.signature_ = signature_; if (detailsBuilder_ == null) { result.details_ = details_; } else { result.details_ = detailsBuilder_.build(); } result.clientName_ = clientName_; result.clientVersion_ = clientVersion_; result.clientAddress_ = clientAddress_; result.clientReferenceId_ = clientReferenceId_; if (httpBuilder_ == null) { result.http_ = http_; } else { result.http_ = httpBuilder_.build(); } if (cachePolicyBuilder_ == null) { result.cachePolicy_ = cachePolicy_; } else { result.cachePolicy_ = cachePolicyBuilder_.build(); } if (queryPlanBuilder_ == null) { result.queryPlan_ = queryPlan_; } else { result.queryPlan_ = queryPlanBuilder_.build(); } result.fullQueryCacheHit_ = fullQueryCacheHit_; result.persistedQueryHit_ = persistedQueryHit_; result.persistedQueryRegister_ = persistedQueryRegister_; result.registeredOperation_ = registeredOperation_; result.forbiddenOperation_ = forbiddenOperation_; if (originReportedStartTimeBuilder_ == null) { result.originReportedStartTime_ = originReportedStartTime_; } else { result.originReportedStartTime_ = originReportedStartTimeBuilder_.build(); } if (originReportedEndTimeBuilder_ == null) { result.originReportedEndTime_ = originReportedEndTime_; } else { result.originReportedEndTime_ = originReportedEndTimeBuilder_.build(); } result.originReportedDurationNs_ = originReportedDurationNs_; result.legacySignatureNeedsResigning_ = legacySignatureNeedsResigning_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Trace) { return mergeFrom((mdg.engine.proto.Reports.Trace)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Trace other) { if (other == mdg.engine.proto.Reports.Trace.getDefaultInstance()) return this; if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } if (other.getDurationNs() != 0L) { setDurationNs(other.getDurationNs()); } if (other.hasRoot()) { mergeRoot(other.getRoot()); } if (!other.getSignature().isEmpty()) { signature_ = other.signature_; onChanged(); } if (other.hasDetails()) { mergeDetails(other.getDetails()); } if (!other.getClientName().isEmpty()) { clientName_ = other.clientName_; onChanged(); } if (!other.getClientVersion().isEmpty()) { clientVersion_ = other.clientVersion_; onChanged(); } if (!other.getClientAddress().isEmpty()) { clientAddress_ = other.clientAddress_; onChanged(); } if (!other.getClientReferenceId().isEmpty()) { clientReferenceId_ = other.clientReferenceId_; onChanged(); } if (other.hasHttp()) { mergeHttp(other.getHttp()); } if (other.hasCachePolicy()) { mergeCachePolicy(other.getCachePolicy()); } if (other.hasQueryPlan()) { mergeQueryPlan(other.getQueryPlan()); } if (other.getFullQueryCacheHit() != false) { setFullQueryCacheHit(other.getFullQueryCacheHit()); } if (other.getPersistedQueryHit() != false) { setPersistedQueryHit(other.getPersistedQueryHit()); } if (other.getPersistedQueryRegister() != false) { setPersistedQueryRegister(other.getPersistedQueryRegister()); } if (other.getRegisteredOperation() != false) { setRegisteredOperation(other.getRegisteredOperation()); } if (other.getForbiddenOperation() != false) { setForbiddenOperation(other.getForbiddenOperation()); } if (other.hasOriginReportedStartTime()) { mergeOriginReportedStartTime(other.getOriginReportedStartTime()); } if (other.hasOriginReportedEndTime()) { mergeOriginReportedEndTime(other.getOriginReportedEndTime()); } if (other.getOriginReportedDurationNs() != 0L) { setOriginReportedDurationNs(other.getOriginReportedDurationNs()); } if (!other.getLegacySignatureNeedsResigning().isEmpty()) { legacySignatureNeedsResigning_ = other.legacySignatureNeedsResigning_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Trace parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Trace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); } else { startTimeBuilder_.setMessage(value); } return this; } /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; */ public Builder setStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); } else { startTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } onChanged(); } else { startTimeBuilder_.mergeFrom(value); } return this; } /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { startTime_ = null; onChanged(); } else { startTime_ = null; startTimeBuilder_ = null; } return this; } /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** *
       * Wallclock time when the trace began.
       * 
* * .google.protobuf.Timestamp start_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; } private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { if (endTimeBuilder_ == null) { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } else { return endTimeBuilder_.getMessage(); } } /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } endTime_ = value; onChanged(); } else { endTimeBuilder_.setMessage(value); } return this; } /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; */ public Builder setEndTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); } else { endTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } onChanged(); } else { endTimeBuilder_.mergeFrom(value); } return this; } /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { endTime_ = null; onChanged(); } else { endTime_ = null; endTimeBuilder_ = null; } return this; } /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** *
       * Wallclock time when the trace ended.
       * 
* * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } private long durationNs_ ; /** *
       * High precision duration of the trace; may not equal end_time-start_time
       * (eg, if your machine's clock changed during the trace).
       * 
* * uint64 duration_ns = 11; * @return The durationNs. */ @java.lang.Override public long getDurationNs() { return durationNs_; } /** *
       * High precision duration of the trace; may not equal end_time-start_time
       * (eg, if your machine's clock changed during the trace).
       * 
* * uint64 duration_ns = 11; * @param value The durationNs to set. * @return This builder for chaining. */ public Builder setDurationNs(long value) { durationNs_ = value; onChanged(); return this; } /** *
       * High precision duration of the trace; may not equal end_time-start_time
       * (eg, if your machine's clock changed during the trace).
       * 
* * uint64 duration_ns = 11; * @return This builder for chaining. */ public Builder clearDurationNs() { durationNs_ = 0L; onChanged(); return this; } private mdg.engine.proto.Reports.Trace.Node root_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.Node, mdg.engine.proto.Reports.Trace.Node.Builder, mdg.engine.proto.Reports.Trace.NodeOrBuilder> rootBuilder_; /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; * @return Whether the root field is set. */ public boolean hasRoot() { return rootBuilder_ != null || root_ != null; } /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; * @return The root. */ public mdg.engine.proto.Reports.Trace.Node getRoot() { if (rootBuilder_ == null) { return root_ == null ? mdg.engine.proto.Reports.Trace.Node.getDefaultInstance() : root_; } else { return rootBuilder_.getMessage(); } } /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; */ public Builder setRoot(mdg.engine.proto.Reports.Trace.Node value) { if (rootBuilder_ == null) { if (value == null) { throw new NullPointerException(); } root_ = value; onChanged(); } else { rootBuilder_.setMessage(value); } return this; } /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; */ public Builder setRoot( mdg.engine.proto.Reports.Trace.Node.Builder builderForValue) { if (rootBuilder_ == null) { root_ = builderForValue.build(); onChanged(); } else { rootBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; */ public Builder mergeRoot(mdg.engine.proto.Reports.Trace.Node value) { if (rootBuilder_ == null) { if (root_ != null) { root_ = mdg.engine.proto.Reports.Trace.Node.newBuilder(root_).mergeFrom(value).buildPartial(); } else { root_ = value; } onChanged(); } else { rootBuilder_.mergeFrom(value); } return this; } /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; */ public Builder clearRoot() { if (rootBuilder_ == null) { root_ = null; onChanged(); } else { root_ = null; rootBuilder_ = null; } return this; } /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; */ public mdg.engine.proto.Reports.Trace.Node.Builder getRootBuilder() { onChanged(); return getRootFieldBuilder().getBuilder(); } /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; */ public mdg.engine.proto.Reports.Trace.NodeOrBuilder getRootOrBuilder() { if (rootBuilder_ != null) { return rootBuilder_.getMessageOrBuilder(); } else { return root_ == null ? mdg.engine.proto.Reports.Trace.Node.getDefaultInstance() : root_; } } /** *
       * A tree containing information about all resolvers run directly by this
       * service, including errors.
       * 
* * .mdg.engine.proto.Trace.Node root = 14; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.Node, mdg.engine.proto.Reports.Trace.Node.Builder, mdg.engine.proto.Reports.Trace.NodeOrBuilder> getRootFieldBuilder() { if (rootBuilder_ == null) { rootBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.Node, mdg.engine.proto.Reports.Trace.Node.Builder, mdg.engine.proto.Reports.Trace.NodeOrBuilder>( getRoot(), getParentForChildren(), isClean()); root_ = null; } return rootBuilder_; } private java.lang.Object signature_ = ""; /** *
       * In addition to details.raw_query, we include a "signature" of the query,
       * which can be normalized: for example, you may want to discard aliases, drop
       * unused operations and fragments, sort fields, etc. The most important thing
       * here is that the signature match the signature in StatsReports. In
       * StatsReports signatures show up as the key in the per_query map (with the
       * operation name prepended).  The signature should be a valid GraphQL query.
       * All traces must have a signature; if this Trace is in a FullTracesReport
       * that signature is in the key of traces_per_query rather than in this field.
       * Engineproxy provides the signature in legacy_signature_needs_resigning
       * instead.
       * 
* * string signature = 19; * @return The signature. */ public java.lang.String getSignature() { java.lang.Object ref = signature_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); signature_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * In addition to details.raw_query, we include a "signature" of the query,
       * which can be normalized: for example, you may want to discard aliases, drop
       * unused operations and fragments, sort fields, etc. The most important thing
       * here is that the signature match the signature in StatsReports. In
       * StatsReports signatures show up as the key in the per_query map (with the
       * operation name prepended).  The signature should be a valid GraphQL query.
       * All traces must have a signature; if this Trace is in a FullTracesReport
       * that signature is in the key of traces_per_query rather than in this field.
       * Engineproxy provides the signature in legacy_signature_needs_resigning
       * instead.
       * 
* * string signature = 19; * @return The bytes for signature. */ public com.google.protobuf.ByteString getSignatureBytes() { java.lang.Object ref = signature_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); signature_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * In addition to details.raw_query, we include a "signature" of the query,
       * which can be normalized: for example, you may want to discard aliases, drop
       * unused operations and fragments, sort fields, etc. The most important thing
       * here is that the signature match the signature in StatsReports. In
       * StatsReports signatures show up as the key in the per_query map (with the
       * operation name prepended).  The signature should be a valid GraphQL query.
       * All traces must have a signature; if this Trace is in a FullTracesReport
       * that signature is in the key of traces_per_query rather than in this field.
       * Engineproxy provides the signature in legacy_signature_needs_resigning
       * instead.
       * 
* * string signature = 19; * @param value The signature to set. * @return This builder for chaining. */ public Builder setSignature( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signature_ = value; onChanged(); return this; } /** *
       * In addition to details.raw_query, we include a "signature" of the query,
       * which can be normalized: for example, you may want to discard aliases, drop
       * unused operations and fragments, sort fields, etc. The most important thing
       * here is that the signature match the signature in StatsReports. In
       * StatsReports signatures show up as the key in the per_query map (with the
       * operation name prepended).  The signature should be a valid GraphQL query.
       * All traces must have a signature; if this Trace is in a FullTracesReport
       * that signature is in the key of traces_per_query rather than in this field.
       * Engineproxy provides the signature in legacy_signature_needs_resigning
       * instead.
       * 
* * string signature = 19; * @return This builder for chaining. */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } /** *
       * In addition to details.raw_query, we include a "signature" of the query,
       * which can be normalized: for example, you may want to discard aliases, drop
       * unused operations and fragments, sort fields, etc. The most important thing
       * here is that the signature match the signature in StatsReports. In
       * StatsReports signatures show up as the key in the per_query map (with the
       * operation name prepended).  The signature should be a valid GraphQL query.
       * All traces must have a signature; if this Trace is in a FullTracesReport
       * that signature is in the key of traces_per_query rather than in this field.
       * Engineproxy provides the signature in legacy_signature_needs_resigning
       * instead.
       * 
* * string signature = 19; * @param value The bytes for signature to set. * @return This builder for chaining. */ public Builder setSignatureBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signature_ = value; onChanged(); return this; } private mdg.engine.proto.Reports.Trace.Details details_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.Details, mdg.engine.proto.Reports.Trace.Details.Builder, mdg.engine.proto.Reports.Trace.DetailsOrBuilder> detailsBuilder_; /** * .mdg.engine.proto.Trace.Details details = 6; * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** * .mdg.engine.proto.Trace.Details details = 6; * @return The details. */ public mdg.engine.proto.Reports.Trace.Details getDetails() { if (detailsBuilder_ == null) { return details_ == null ? mdg.engine.proto.Reports.Trace.Details.getDefaultInstance() : details_; } else { return detailsBuilder_.getMessage(); } } /** * .mdg.engine.proto.Trace.Details details = 6; */ public Builder setDetails(mdg.engine.proto.Reports.Trace.Details value) { if (detailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } details_ = value; onChanged(); } else { detailsBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.Trace.Details details = 6; */ public Builder setDetails( mdg.engine.proto.Reports.Trace.Details.Builder builderForValue) { if (detailsBuilder_ == null) { details_ = builderForValue.build(); onChanged(); } else { detailsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.Trace.Details details = 6; */ public Builder mergeDetails(mdg.engine.proto.Reports.Trace.Details value) { if (detailsBuilder_ == null) { if (details_ != null) { details_ = mdg.engine.proto.Reports.Trace.Details.newBuilder(details_).mergeFrom(value).buildPartial(); } else { details_ = value; } onChanged(); } else { detailsBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.Trace.Details details = 6; */ public Builder clearDetails() { if (detailsBuilder_ == null) { details_ = null; onChanged(); } else { details_ = null; detailsBuilder_ = null; } return this; } /** * .mdg.engine.proto.Trace.Details details = 6; */ public mdg.engine.proto.Reports.Trace.Details.Builder getDetailsBuilder() { onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.Details details = 6; */ public mdg.engine.proto.Reports.Trace.DetailsOrBuilder getDetailsOrBuilder() { if (detailsBuilder_ != null) { return detailsBuilder_.getMessageOrBuilder(); } else { return details_ == null ? mdg.engine.proto.Reports.Trace.Details.getDefaultInstance() : details_; } } /** * .mdg.engine.proto.Trace.Details details = 6; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.Details, mdg.engine.proto.Reports.Trace.Details.Builder, mdg.engine.proto.Reports.Trace.DetailsOrBuilder> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { detailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.Details, mdg.engine.proto.Reports.Trace.Details.Builder, mdg.engine.proto.Reports.Trace.DetailsOrBuilder>( getDetails(), getParentForChildren(), isClean()); details_ = null; } return detailsBuilder_; } private java.lang.Object clientName_ = ""; /** *
       * Note: engineproxy always sets client_name, client_version, and client_address to "none".
       * apollo-engine-reporting allows for them to be set by the user.
       * 
* * string client_name = 7; * @return The clientName. */ public java.lang.String getClientName() { java.lang.Object ref = clientName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Note: engineproxy always sets client_name, client_version, and client_address to "none".
       * apollo-engine-reporting allows for them to be set by the user.
       * 
* * string client_name = 7; * @return The bytes for clientName. */ public com.google.protobuf.ByteString getClientNameBytes() { java.lang.Object ref = clientName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Note: engineproxy always sets client_name, client_version, and client_address to "none".
       * apollo-engine-reporting allows for them to be set by the user.
       * 
* * string client_name = 7; * @param value The clientName to set. * @return This builder for chaining. */ public Builder setClientName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientName_ = value; onChanged(); return this; } /** *
       * Note: engineproxy always sets client_name, client_version, and client_address to "none".
       * apollo-engine-reporting allows for them to be set by the user.
       * 
* * string client_name = 7; * @return This builder for chaining. */ public Builder clearClientName() { clientName_ = getDefaultInstance().getClientName(); onChanged(); return this; } /** *
       * Note: engineproxy always sets client_name, client_version, and client_address to "none".
       * apollo-engine-reporting allows for them to be set by the user.
       * 
* * string client_name = 7; * @param value The bytes for clientName to set. * @return This builder for chaining. */ public Builder setClientNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientName_ = value; onChanged(); return this; } private java.lang.Object clientVersion_ = ""; /** * string client_version = 8; * @return The clientVersion. */ public java.lang.String getClientVersion() { java.lang.Object ref = clientVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_version = 8; * @return The bytes for clientVersion. */ public com.google.protobuf.ByteString getClientVersionBytes() { java.lang.Object ref = clientVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_version = 8; * @param value The clientVersion to set. * @return This builder for chaining. */ public Builder setClientVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientVersion_ = value; onChanged(); return this; } /** * string client_version = 8; * @return This builder for chaining. */ public Builder clearClientVersion() { clientVersion_ = getDefaultInstance().getClientVersion(); onChanged(); return this; } /** * string client_version = 8; * @param value The bytes for clientVersion to set. * @return This builder for chaining. */ public Builder setClientVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientVersion_ = value; onChanged(); return this; } private java.lang.Object clientAddress_ = ""; /** * string client_address = 9; * @return The clientAddress. */ public java.lang.String getClientAddress() { java.lang.Object ref = clientAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_address = 9; * @return The bytes for clientAddress. */ public com.google.protobuf.ByteString getClientAddressBytes() { java.lang.Object ref = clientAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_address = 9; * @param value The clientAddress to set. * @return This builder for chaining. */ public Builder setClientAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientAddress_ = value; onChanged(); return this; } /** * string client_address = 9; * @return This builder for chaining. */ public Builder clearClientAddress() { clientAddress_ = getDefaultInstance().getClientAddress(); onChanged(); return this; } /** * string client_address = 9; * @param value The bytes for clientAddress to set. * @return This builder for chaining. */ public Builder setClientAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientAddress_ = value; onChanged(); return this; } private java.lang.Object clientReferenceId_ = ""; /** * string client_reference_id = 23; * @return The clientReferenceId. */ public java.lang.String getClientReferenceId() { java.lang.Object ref = clientReferenceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientReferenceId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_reference_id = 23; * @return The bytes for clientReferenceId. */ public com.google.protobuf.ByteString getClientReferenceIdBytes() { java.lang.Object ref = clientReferenceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientReferenceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_reference_id = 23; * @param value The clientReferenceId to set. * @return This builder for chaining. */ public Builder setClientReferenceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientReferenceId_ = value; onChanged(); return this; } /** * string client_reference_id = 23; * @return This builder for chaining. */ public Builder clearClientReferenceId() { clientReferenceId_ = getDefaultInstance().getClientReferenceId(); onChanged(); return this; } /** * string client_reference_id = 23; * @param value The bytes for clientReferenceId to set. * @return This builder for chaining. */ public Builder setClientReferenceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientReferenceId_ = value; onChanged(); return this; } private mdg.engine.proto.Reports.Trace.HTTP http_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.HTTP, mdg.engine.proto.Reports.Trace.HTTP.Builder, mdg.engine.proto.Reports.Trace.HTTPOrBuilder> httpBuilder_; /** * .mdg.engine.proto.Trace.HTTP http = 10; * @return Whether the http field is set. */ public boolean hasHttp() { return httpBuilder_ != null || http_ != null; } /** * .mdg.engine.proto.Trace.HTTP http = 10; * @return The http. */ public mdg.engine.proto.Reports.Trace.HTTP getHttp() { if (httpBuilder_ == null) { return http_ == null ? mdg.engine.proto.Reports.Trace.HTTP.getDefaultInstance() : http_; } else { return httpBuilder_.getMessage(); } } /** * .mdg.engine.proto.Trace.HTTP http = 10; */ public Builder setHttp(mdg.engine.proto.Reports.Trace.HTTP value) { if (httpBuilder_ == null) { if (value == null) { throw new NullPointerException(); } http_ = value; onChanged(); } else { httpBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.Trace.HTTP http = 10; */ public Builder setHttp( mdg.engine.proto.Reports.Trace.HTTP.Builder builderForValue) { if (httpBuilder_ == null) { http_ = builderForValue.build(); onChanged(); } else { httpBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.Trace.HTTP http = 10; */ public Builder mergeHttp(mdg.engine.proto.Reports.Trace.HTTP value) { if (httpBuilder_ == null) { if (http_ != null) { http_ = mdg.engine.proto.Reports.Trace.HTTP.newBuilder(http_).mergeFrom(value).buildPartial(); } else { http_ = value; } onChanged(); } else { httpBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.Trace.HTTP http = 10; */ public Builder clearHttp() { if (httpBuilder_ == null) { http_ = null; onChanged(); } else { http_ = null; httpBuilder_ = null; } return this; } /** * .mdg.engine.proto.Trace.HTTP http = 10; */ public mdg.engine.proto.Reports.Trace.HTTP.Builder getHttpBuilder() { onChanged(); return getHttpFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.HTTP http = 10; */ public mdg.engine.proto.Reports.Trace.HTTPOrBuilder getHttpOrBuilder() { if (httpBuilder_ != null) { return httpBuilder_.getMessageOrBuilder(); } else { return http_ == null ? mdg.engine.proto.Reports.Trace.HTTP.getDefaultInstance() : http_; } } /** * .mdg.engine.proto.Trace.HTTP http = 10; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.HTTP, mdg.engine.proto.Reports.Trace.HTTP.Builder, mdg.engine.proto.Reports.Trace.HTTPOrBuilder> getHttpFieldBuilder() { if (httpBuilder_ == null) { httpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.HTTP, mdg.engine.proto.Reports.Trace.HTTP.Builder, mdg.engine.proto.Reports.Trace.HTTPOrBuilder>( getHttp(), getParentForChildren(), isClean()); http_ = null; } return httpBuilder_; } private mdg.engine.proto.Reports.Trace.CachePolicy cachePolicy_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.CachePolicy, mdg.engine.proto.Reports.Trace.CachePolicy.Builder, mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder> cachePolicyBuilder_; /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; * @return Whether the cachePolicy field is set. */ public boolean hasCachePolicy() { return cachePolicyBuilder_ != null || cachePolicy_ != null; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; * @return The cachePolicy. */ public mdg.engine.proto.Reports.Trace.CachePolicy getCachePolicy() { if (cachePolicyBuilder_ == null) { return cachePolicy_ == null ? mdg.engine.proto.Reports.Trace.CachePolicy.getDefaultInstance() : cachePolicy_; } else { return cachePolicyBuilder_.getMessage(); } } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ public Builder setCachePolicy(mdg.engine.proto.Reports.Trace.CachePolicy value) { if (cachePolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cachePolicy_ = value; onChanged(); } else { cachePolicyBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ public Builder setCachePolicy( mdg.engine.proto.Reports.Trace.CachePolicy.Builder builderForValue) { if (cachePolicyBuilder_ == null) { cachePolicy_ = builderForValue.build(); onChanged(); } else { cachePolicyBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ public Builder mergeCachePolicy(mdg.engine.proto.Reports.Trace.CachePolicy value) { if (cachePolicyBuilder_ == null) { if (cachePolicy_ != null) { cachePolicy_ = mdg.engine.proto.Reports.Trace.CachePolicy.newBuilder(cachePolicy_).mergeFrom(value).buildPartial(); } else { cachePolicy_ = value; } onChanged(); } else { cachePolicyBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ public Builder clearCachePolicy() { if (cachePolicyBuilder_ == null) { cachePolicy_ = null; onChanged(); } else { cachePolicy_ = null; cachePolicyBuilder_ = null; } return this; } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ public mdg.engine.proto.Reports.Trace.CachePolicy.Builder getCachePolicyBuilder() { onChanged(); return getCachePolicyFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ public mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder getCachePolicyOrBuilder() { if (cachePolicyBuilder_ != null) { return cachePolicyBuilder_.getMessageOrBuilder(); } else { return cachePolicy_ == null ? mdg.engine.proto.Reports.Trace.CachePolicy.getDefaultInstance() : cachePolicy_; } } /** * .mdg.engine.proto.Trace.CachePolicy cache_policy = 18; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.CachePolicy, mdg.engine.proto.Reports.Trace.CachePolicy.Builder, mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder> getCachePolicyFieldBuilder() { if (cachePolicyBuilder_ == null) { cachePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.CachePolicy, mdg.engine.proto.Reports.Trace.CachePolicy.Builder, mdg.engine.proto.Reports.Trace.CachePolicyOrBuilder>( getCachePolicy(), getParentForChildren(), isClean()); cachePolicy_ = null; } return cachePolicyBuilder_; } private mdg.engine.proto.Reports.Trace.QueryPlanNode queryPlan_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder> queryPlanBuilder_; /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; * @return Whether the queryPlan field is set. */ public boolean hasQueryPlan() { return queryPlanBuilder_ != null || queryPlan_ != null; } /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; * @return The queryPlan. */ public mdg.engine.proto.Reports.Trace.QueryPlanNode getQueryPlan() { if (queryPlanBuilder_ == null) { return queryPlan_ == null ? mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance() : queryPlan_; } else { return queryPlanBuilder_.getMessage(); } } /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ public Builder setQueryPlan(mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (queryPlanBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryPlan_ = value; onChanged(); } else { queryPlanBuilder_.setMessage(value); } return this; } /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ public Builder setQueryPlan( mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder builderForValue) { if (queryPlanBuilder_ == null) { queryPlan_ = builderForValue.build(); onChanged(); } else { queryPlanBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ public Builder mergeQueryPlan(mdg.engine.proto.Reports.Trace.QueryPlanNode value) { if (queryPlanBuilder_ == null) { if (queryPlan_ != null) { queryPlan_ = mdg.engine.proto.Reports.Trace.QueryPlanNode.newBuilder(queryPlan_).mergeFrom(value).buildPartial(); } else { queryPlan_ = value; } onChanged(); } else { queryPlanBuilder_.mergeFrom(value); } return this; } /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ public Builder clearQueryPlan() { if (queryPlanBuilder_ == null) { queryPlan_ = null; onChanged(); } else { queryPlan_ = null; queryPlanBuilder_ = null; } return this; } /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ public mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder getQueryPlanBuilder() { onChanged(); return getQueryPlanFieldBuilder().getBuilder(); } /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ public mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder getQueryPlanOrBuilder() { if (queryPlanBuilder_ != null) { return queryPlanBuilder_.getMessageOrBuilder(); } else { return queryPlan_ == null ? mdg.engine.proto.Reports.Trace.QueryPlanNode.getDefaultInstance() : queryPlan_; } } /** *
       * If this Trace was created by a gateway, this is the query plan, including
       * sub-Traces for federated services. Note that the 'root' tree on the
       * top-level Trace won't contain any resolvers (though it could contain errors
       * that occurred in the gateway itself).
       * 
* * .mdg.engine.proto.Trace.QueryPlanNode query_plan = 26; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder> getQueryPlanFieldBuilder() { if (queryPlanBuilder_ == null) { queryPlanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace.QueryPlanNode, mdg.engine.proto.Reports.Trace.QueryPlanNode.Builder, mdg.engine.proto.Reports.Trace.QueryPlanNodeOrBuilder>( getQueryPlan(), getParentForChildren(), isClean()); queryPlan_ = null; } return queryPlanBuilder_; } private boolean fullQueryCacheHit_ ; /** *
       * Was this response served from a full query response cache?  (In that case
       * the node tree will have no resolvers.)
       * 
* * bool full_query_cache_hit = 20; * @return The fullQueryCacheHit. */ @java.lang.Override public boolean getFullQueryCacheHit() { return fullQueryCacheHit_; } /** *
       * Was this response served from a full query response cache?  (In that case
       * the node tree will have no resolvers.)
       * 
* * bool full_query_cache_hit = 20; * @param value The fullQueryCacheHit to set. * @return This builder for chaining. */ public Builder setFullQueryCacheHit(boolean value) { fullQueryCacheHit_ = value; onChanged(); return this; } /** *
       * Was this response served from a full query response cache?  (In that case
       * the node tree will have no resolvers.)
       * 
* * bool full_query_cache_hit = 20; * @return This builder for chaining. */ public Builder clearFullQueryCacheHit() { fullQueryCacheHit_ = false; onChanged(); return this; } private boolean persistedQueryHit_ ; /** *
       * Was this query specified successfully as a persisted query hash?
       * 
* * bool persisted_query_hit = 21; * @return The persistedQueryHit. */ @java.lang.Override public boolean getPersistedQueryHit() { return persistedQueryHit_; } /** *
       * Was this query specified successfully as a persisted query hash?
       * 
* * bool persisted_query_hit = 21; * @param value The persistedQueryHit to set. * @return This builder for chaining. */ public Builder setPersistedQueryHit(boolean value) { persistedQueryHit_ = value; onChanged(); return this; } /** *
       * Was this query specified successfully as a persisted query hash?
       * 
* * bool persisted_query_hit = 21; * @return This builder for chaining. */ public Builder clearPersistedQueryHit() { persistedQueryHit_ = false; onChanged(); return this; } private boolean persistedQueryRegister_ ; /** *
       * Did this query contain both a full query string and a persisted query hash?
       * (This typically means that a previous request was rejected as an unknown
       * persisted query.)
       * 
* * bool persisted_query_register = 22; * @return The persistedQueryRegister. */ @java.lang.Override public boolean getPersistedQueryRegister() { return persistedQueryRegister_; } /** *
       * Did this query contain both a full query string and a persisted query hash?
       * (This typically means that a previous request was rejected as an unknown
       * persisted query.)
       * 
* * bool persisted_query_register = 22; * @param value The persistedQueryRegister to set. * @return This builder for chaining. */ public Builder setPersistedQueryRegister(boolean value) { persistedQueryRegister_ = value; onChanged(); return this; } /** *
       * Did this query contain both a full query string and a persisted query hash?
       * (This typically means that a previous request was rejected as an unknown
       * persisted query.)
       * 
* * bool persisted_query_register = 22; * @return This builder for chaining. */ public Builder clearPersistedQueryRegister() { persistedQueryRegister_ = false; onChanged(); return this; } private boolean registeredOperation_ ; /** *
       * Was this operation registered and a part of the safelist?
       * 
* * bool registered_operation = 24; * @return The registeredOperation. */ @java.lang.Override public boolean getRegisteredOperation() { return registeredOperation_; } /** *
       * Was this operation registered and a part of the safelist?
       * 
* * bool registered_operation = 24; * @param value The registeredOperation to set. * @return This builder for chaining. */ public Builder setRegisteredOperation(boolean value) { registeredOperation_ = value; onChanged(); return this; } /** *
       * Was this operation registered and a part of the safelist?
       * 
* * bool registered_operation = 24; * @return This builder for chaining. */ public Builder clearRegisteredOperation() { registeredOperation_ = false; onChanged(); return this; } private boolean forbiddenOperation_ ; /** *
       * Was this operation forbidden due to lack of safelisting?
       * 
* * bool forbidden_operation = 25; * @return The forbiddenOperation. */ @java.lang.Override public boolean getForbiddenOperation() { return forbiddenOperation_; } /** *
       * Was this operation forbidden due to lack of safelisting?
       * 
* * bool forbidden_operation = 25; * @param value The forbiddenOperation to set. * @return This builder for chaining. */ public Builder setForbiddenOperation(boolean value) { forbiddenOperation_ = value; onChanged(); return this; } /** *
       * Was this operation forbidden due to lack of safelisting?
       * 
* * bool forbidden_operation = 25; * @return This builder for chaining. */ public Builder clearForbiddenOperation() { forbiddenOperation_ = false; onChanged(); return this; } private com.google.protobuf.Timestamp originReportedStartTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> originReportedStartTimeBuilder_; /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; * @return Whether the originReportedStartTime field is set. */ public boolean hasOriginReportedStartTime() { return originReportedStartTimeBuilder_ != null || originReportedStartTime_ != null; } /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; * @return The originReportedStartTime. */ public com.google.protobuf.Timestamp getOriginReportedStartTime() { if (originReportedStartTimeBuilder_ == null) { return originReportedStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originReportedStartTime_; } else { return originReportedStartTimeBuilder_.getMessage(); } } /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ public Builder setOriginReportedStartTime(com.google.protobuf.Timestamp value) { if (originReportedStartTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } originReportedStartTime_ = value; onChanged(); } else { originReportedStartTimeBuilder_.setMessage(value); } return this; } /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ public Builder setOriginReportedStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (originReportedStartTimeBuilder_ == null) { originReportedStartTime_ = builderForValue.build(); onChanged(); } else { originReportedStartTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ public Builder mergeOriginReportedStartTime(com.google.protobuf.Timestamp value) { if (originReportedStartTimeBuilder_ == null) { if (originReportedStartTime_ != null) { originReportedStartTime_ = com.google.protobuf.Timestamp.newBuilder(originReportedStartTime_).mergeFrom(value).buildPartial(); } else { originReportedStartTime_ = value; } onChanged(); } else { originReportedStartTimeBuilder_.mergeFrom(value); } return this; } /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ public Builder clearOriginReportedStartTime() { if (originReportedStartTimeBuilder_ == null) { originReportedStartTime_ = null; onChanged(); } else { originReportedStartTime_ = null; originReportedStartTimeBuilder_ = null; } return this; } /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ public com.google.protobuf.Timestamp.Builder getOriginReportedStartTimeBuilder() { onChanged(); return getOriginReportedStartTimeFieldBuilder().getBuilder(); } /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ public com.google.protobuf.TimestampOrBuilder getOriginReportedStartTimeOrBuilder() { if (originReportedStartTimeBuilder_ != null) { return originReportedStartTimeBuilder_.getMessageOrBuilder(); } else { return originReportedStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originReportedStartTime_; } } /** *
       * --------------------------------------------------------------
       * Fields below this line are only set by the old Go engineproxy.
       * 
* * .google.protobuf.Timestamp origin_reported_start_time = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getOriginReportedStartTimeFieldBuilder() { if (originReportedStartTimeBuilder_ == null) { originReportedStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getOriginReportedStartTime(), getParentForChildren(), isClean()); originReportedStartTime_ = null; } return originReportedStartTimeBuilder_; } private com.google.protobuf.Timestamp originReportedEndTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> originReportedEndTimeBuilder_; /** * .google.protobuf.Timestamp origin_reported_end_time = 16; * @return Whether the originReportedEndTime field is set. */ public boolean hasOriginReportedEndTime() { return originReportedEndTimeBuilder_ != null || originReportedEndTime_ != null; } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; * @return The originReportedEndTime. */ public com.google.protobuf.Timestamp getOriginReportedEndTime() { if (originReportedEndTimeBuilder_ == null) { return originReportedEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originReportedEndTime_; } else { return originReportedEndTimeBuilder_.getMessage(); } } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ public Builder setOriginReportedEndTime(com.google.protobuf.Timestamp value) { if (originReportedEndTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } originReportedEndTime_ = value; onChanged(); } else { originReportedEndTimeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ public Builder setOriginReportedEndTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (originReportedEndTimeBuilder_ == null) { originReportedEndTime_ = builderForValue.build(); onChanged(); } else { originReportedEndTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ public Builder mergeOriginReportedEndTime(com.google.protobuf.Timestamp value) { if (originReportedEndTimeBuilder_ == null) { if (originReportedEndTime_ != null) { originReportedEndTime_ = com.google.protobuf.Timestamp.newBuilder(originReportedEndTime_).mergeFrom(value).buildPartial(); } else { originReportedEndTime_ = value; } onChanged(); } else { originReportedEndTimeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ public Builder clearOriginReportedEndTime() { if (originReportedEndTimeBuilder_ == null) { originReportedEndTime_ = null; onChanged(); } else { originReportedEndTime_ = null; originReportedEndTimeBuilder_ = null; } return this; } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ public com.google.protobuf.Timestamp.Builder getOriginReportedEndTimeBuilder() { onChanged(); return getOriginReportedEndTimeFieldBuilder().getBuilder(); } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ public com.google.protobuf.TimestampOrBuilder getOriginReportedEndTimeOrBuilder() { if (originReportedEndTimeBuilder_ != null) { return originReportedEndTimeBuilder_.getMessageOrBuilder(); } else { return originReportedEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : originReportedEndTime_; } } /** * .google.protobuf.Timestamp origin_reported_end_time = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getOriginReportedEndTimeFieldBuilder() { if (originReportedEndTimeBuilder_ == null) { originReportedEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getOriginReportedEndTime(), getParentForChildren(), isClean()); originReportedEndTime_ = null; } return originReportedEndTimeBuilder_; } private long originReportedDurationNs_ ; /** * uint64 origin_reported_duration_ns = 17; * @return The originReportedDurationNs. */ @java.lang.Override public long getOriginReportedDurationNs() { return originReportedDurationNs_; } /** * uint64 origin_reported_duration_ns = 17; * @param value The originReportedDurationNs to set. * @return This builder for chaining. */ public Builder setOriginReportedDurationNs(long value) { originReportedDurationNs_ = value; onChanged(); return this; } /** * uint64 origin_reported_duration_ns = 17; * @return This builder for chaining. */ public Builder clearOriginReportedDurationNs() { originReportedDurationNs_ = 0L; onChanged(); return this; } private java.lang.Object legacySignatureNeedsResigning_ = ""; /** *
       * Older agents (eg the Go engineproxy) relied to some degree on the Engine
       * backend to run their own semi-compatible implementation of a specific
       * variant of query signatures. The backend does not do this for new agents (which
       * set the above 'signature' field). It used to still "re-sign" signatures
       * from engineproxy, but we've now simplified the backend to no longer do this.
       * Deprecated and ignored in FullTracesReports.
       * 
* * string legacy_signature_needs_resigning = 5; * @return The legacySignatureNeedsResigning. */ public java.lang.String getLegacySignatureNeedsResigning() { java.lang.Object ref = legacySignatureNeedsResigning_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); legacySignatureNeedsResigning_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Older agents (eg the Go engineproxy) relied to some degree on the Engine
       * backend to run their own semi-compatible implementation of a specific
       * variant of query signatures. The backend does not do this for new agents (which
       * set the above 'signature' field). It used to still "re-sign" signatures
       * from engineproxy, but we've now simplified the backend to no longer do this.
       * Deprecated and ignored in FullTracesReports.
       * 
* * string legacy_signature_needs_resigning = 5; * @return The bytes for legacySignatureNeedsResigning. */ public com.google.protobuf.ByteString getLegacySignatureNeedsResigningBytes() { java.lang.Object ref = legacySignatureNeedsResigning_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); legacySignatureNeedsResigning_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Older agents (eg the Go engineproxy) relied to some degree on the Engine
       * backend to run their own semi-compatible implementation of a specific
       * variant of query signatures. The backend does not do this for new agents (which
       * set the above 'signature' field). It used to still "re-sign" signatures
       * from engineproxy, but we've now simplified the backend to no longer do this.
       * Deprecated and ignored in FullTracesReports.
       * 
* * string legacy_signature_needs_resigning = 5; * @param value The legacySignatureNeedsResigning to set. * @return This builder for chaining. */ public Builder setLegacySignatureNeedsResigning( java.lang.String value) { if (value == null) { throw new NullPointerException(); } legacySignatureNeedsResigning_ = value; onChanged(); return this; } /** *
       * Older agents (eg the Go engineproxy) relied to some degree on the Engine
       * backend to run their own semi-compatible implementation of a specific
       * variant of query signatures. The backend does not do this for new agents (which
       * set the above 'signature' field). It used to still "re-sign" signatures
       * from engineproxy, but we've now simplified the backend to no longer do this.
       * Deprecated and ignored in FullTracesReports.
       * 
* * string legacy_signature_needs_resigning = 5; * @return This builder for chaining. */ public Builder clearLegacySignatureNeedsResigning() { legacySignatureNeedsResigning_ = getDefaultInstance().getLegacySignatureNeedsResigning(); onChanged(); return this; } /** *
       * Older agents (eg the Go engineproxy) relied to some degree on the Engine
       * backend to run their own semi-compatible implementation of a specific
       * variant of query signatures. The backend does not do this for new agents (which
       * set the above 'signature' field). It used to still "re-sign" signatures
       * from engineproxy, but we've now simplified the backend to no longer do this.
       * Deprecated and ignored in FullTracesReports.
       * 
* * string legacy_signature_needs_resigning = 5; * @param value The bytes for legacySignatureNeedsResigning to set. * @return This builder for chaining. */ public Builder setLegacySignatureNeedsResigningBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); legacySignatureNeedsResigning_ = value; 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:mdg.engine.proto.Trace) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Trace) private static final mdg.engine.proto.Reports.Trace DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Trace(); } public static mdg.engine.proto.Reports.Trace getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Trace parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Trace(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Trace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ReportHeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.ReportHeader) com.google.protobuf.MessageOrBuilder { /** * string service = 3; * @return The service. */ java.lang.String getService(); /** * string service = 3; * @return The bytes for service. */ com.google.protobuf.ByteString getServiceBytes(); /** *
     * eg "host-01.example.com"
     * 
* * string hostname = 5; * @return The hostname. */ java.lang.String getHostname(); /** *
     * eg "host-01.example.com"
     * 
* * string hostname = 5; * @return The bytes for hostname. */ com.google.protobuf.ByteString getHostnameBytes(); /** *
     * eg "engineproxy 0.1.0"
     * 
* * string agent_version = 6; * @return The agentVersion. */ java.lang.String getAgentVersion(); /** *
     * eg "engineproxy 0.1.0"
     * 
* * string agent_version = 6; * @return The bytes for agentVersion. */ com.google.protobuf.ByteString getAgentVersionBytes(); /** *
     * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
     * 
* * string service_version = 7; * @return The serviceVersion. */ java.lang.String getServiceVersion(); /** *
     * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
     * 
* * string service_version = 7; * @return The bytes for serviceVersion. */ com.google.protobuf.ByteString getServiceVersionBytes(); /** *
     * eg "node v4.6.0"
     * 
* * string runtime_version = 8; * @return The runtimeVersion. */ java.lang.String getRuntimeVersion(); /** *
     * eg "node v4.6.0"
     * 
* * string runtime_version = 8; * @return The bytes for runtimeVersion. */ com.google.protobuf.ByteString getRuntimeVersionBytes(); /** *
     * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
     * 
* * string uname = 9; * @return The uname. */ java.lang.String getUname(); /** *
     * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
     * 
* * string uname = 9; * @return The bytes for uname. */ com.google.protobuf.ByteString getUnameBytes(); /** *
     * eg "current", "prod"
     * 
* * string schema_tag = 10; * @return The schemaTag. */ java.lang.String getSchemaTag(); /** *
     * eg "current", "prod"
     * 
* * string schema_tag = 10; * @return The bytes for schemaTag. */ com.google.protobuf.ByteString getSchemaTagBytes(); /** *
     * The hex representation of the sha512 of the introspection response
     * 
* * string schema_hash = 11; * @return The schemaHash. */ java.lang.String getSchemaHash(); /** *
     * The hex representation of the sha512 of the introspection response
     * 
* * string schema_hash = 11; * @return The bytes for schemaHash. */ com.google.protobuf.ByteString getSchemaHashBytes(); } /** *
   * The `service` value embedded within the header key is not guaranteed to contain an actual service,
   * and, in most cases, the service information is trusted to come from upstream processing. If the
   * service _is_ specified in this header, then it is checked to match the context that is reporting it.
   * Otherwise, the service information is deduced from the token context of the reporter and then sent
   * along via other mechanisms (in Kafka, the `ReportKafkaKey). The other information (hostname,
   * agent_version, etc.) is sent by the Apollo Engine Reporting agent, but we do not currently save that
   * information to any of our persistent storage.
   * 
* * Protobuf type {@code mdg.engine.proto.ReportHeader} */ public static final class ReportHeader extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.ReportHeader) ReportHeaderOrBuilder { private static final long serialVersionUID = 0L; // Use ReportHeader.newBuilder() to construct. private ReportHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ReportHeader() { service_ = ""; hostname_ = ""; agentVersion_ = ""; serviceVersion_ = ""; runtimeVersion_ = ""; uname_ = ""; schemaTag_ = ""; schemaHash_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ReportHeader(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ReportHeader( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 26: { java.lang.String s = input.readStringRequireUtf8(); service_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); hostname_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); agentVersion_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); serviceVersion_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); runtimeVersion_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); uname_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); schemaTag_ = s; break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); schemaHash_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ReportHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ReportHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.ReportHeader.class, mdg.engine.proto.Reports.ReportHeader.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 3; private volatile java.lang.Object service_; /** * string service = 3; * @return The service. */ @java.lang.Override public java.lang.String getService() { java.lang.Object ref = service_; 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(); service_ = s; return s; } } /** * string service = 3; * @return The bytes for service. */ @java.lang.Override public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); service_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HOSTNAME_FIELD_NUMBER = 5; private volatile java.lang.Object hostname_; /** *
     * eg "host-01.example.com"
     * 
* * string hostname = 5; * @return The hostname. */ @java.lang.Override public java.lang.String getHostname() { java.lang.Object ref = hostname_; 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(); hostname_ = s; return s; } } /** *
     * eg "host-01.example.com"
     * 
* * string hostname = 5; * @return The bytes for hostname. */ @java.lang.Override public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hostname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AGENT_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object agentVersion_; /** *
     * eg "engineproxy 0.1.0"
     * 
* * string agent_version = 6; * @return The agentVersion. */ @java.lang.Override public java.lang.String getAgentVersion() { java.lang.Object ref = agentVersion_; 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(); agentVersion_ = s; return s; } } /** *
     * eg "engineproxy 0.1.0"
     * 
* * string agent_version = 6; * @return The bytes for agentVersion. */ @java.lang.Override public com.google.protobuf.ByteString getAgentVersionBytes() { java.lang.Object ref = agentVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); agentVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERVICE_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object serviceVersion_; /** *
     * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
     * 
* * string service_version = 7; * @return The serviceVersion. */ @java.lang.Override public java.lang.String getServiceVersion() { java.lang.Object ref = serviceVersion_; 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(); serviceVersion_ = s; return s; } } /** *
     * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
     * 
* * string service_version = 7; * @return The bytes for serviceVersion. */ @java.lang.Override public com.google.protobuf.ByteString getServiceVersionBytes() { java.lang.Object ref = serviceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RUNTIME_VERSION_FIELD_NUMBER = 8; private volatile java.lang.Object runtimeVersion_; /** *
     * eg "node v4.6.0"
     * 
* * string runtime_version = 8; * @return The runtimeVersion. */ @java.lang.Override public java.lang.String getRuntimeVersion() { java.lang.Object ref = runtimeVersion_; 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(); runtimeVersion_ = s; return s; } } /** *
     * eg "node v4.6.0"
     * 
* * string runtime_version = 8; * @return The bytes for runtimeVersion. */ @java.lang.Override public com.google.protobuf.ByteString getRuntimeVersionBytes() { java.lang.Object ref = runtimeVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); runtimeVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNAME_FIELD_NUMBER = 9; private volatile java.lang.Object uname_; /** *
     * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
     * 
* * string uname = 9; * @return The uname. */ @java.lang.Override public java.lang.String getUname() { java.lang.Object ref = uname_; 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(); uname_ = s; return s; } } /** *
     * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
     * 
* * string uname = 9; * @return The bytes for uname. */ @java.lang.Override public com.google.protobuf.ByteString getUnameBytes() { java.lang.Object ref = uname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEMA_TAG_FIELD_NUMBER = 10; private volatile java.lang.Object schemaTag_; /** *
     * eg "current", "prod"
     * 
* * string schema_tag = 10; * @return The schemaTag. */ @java.lang.Override public java.lang.String getSchemaTag() { java.lang.Object ref = schemaTag_; 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(); schemaTag_ = s; return s; } } /** *
     * eg "current", "prod"
     * 
* * string schema_tag = 10; * @return The bytes for schemaTag. */ @java.lang.Override public com.google.protobuf.ByteString getSchemaTagBytes() { java.lang.Object ref = schemaTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schemaTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEMA_HASH_FIELD_NUMBER = 11; private volatile java.lang.Object schemaHash_; /** *
     * The hex representation of the sha512 of the introspection response
     * 
* * string schema_hash = 11; * @return The schemaHash. */ @java.lang.Override public java.lang.String getSchemaHash() { java.lang.Object ref = schemaHash_; 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(); schemaHash_ = s; return s; } } /** *
     * The hex representation of the sha512 of the introspection response
     * 
* * string schema_hash = 11; * @return The bytes for schemaHash. */ @java.lang.Override public com.google.protobuf.ByteString getSchemaHashBytes() { java.lang.Object ref = schemaHash_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schemaHash_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, hostname_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, agentVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, serviceVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runtimeVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, runtimeVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, uname_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, schemaTag_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaHash_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, schemaHash_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, service_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, hostname_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, agentVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, serviceVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runtimeVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, runtimeVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uname_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, uname_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, schemaTag_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaHash_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, schemaHash_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.ReportHeader)) { return super.equals(obj); } mdg.engine.proto.Reports.ReportHeader other = (mdg.engine.proto.Reports.ReportHeader) obj; if (!getService() .equals(other.getService())) return false; if (!getHostname() .equals(other.getHostname())) return false; if (!getAgentVersion() .equals(other.getAgentVersion())) return false; if (!getServiceVersion() .equals(other.getServiceVersion())) return false; if (!getRuntimeVersion() .equals(other.getRuntimeVersion())) return false; if (!getUname() .equals(other.getUname())) return false; if (!getSchemaTag() .equals(other.getSchemaTag())) return false; if (!getSchemaHash() .equals(other.getSchemaHash())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SERVICE_FIELD_NUMBER; hash = (53 * hash) + getService().hashCode(); hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; hash = (53 * hash) + getHostname().hashCode(); hash = (37 * hash) + AGENT_VERSION_FIELD_NUMBER; hash = (53 * hash) + getAgentVersion().hashCode(); hash = (37 * hash) + SERVICE_VERSION_FIELD_NUMBER; hash = (53 * hash) + getServiceVersion().hashCode(); hash = (37 * hash) + RUNTIME_VERSION_FIELD_NUMBER; hash = (53 * hash) + getRuntimeVersion().hashCode(); hash = (37 * hash) + UNAME_FIELD_NUMBER; hash = (53 * hash) + getUname().hashCode(); hash = (37 * hash) + SCHEMA_TAG_FIELD_NUMBER; hash = (53 * hash) + getSchemaTag().hashCode(); hash = (37 * hash) + SCHEMA_HASH_FIELD_NUMBER; hash = (53 * hash) + getSchemaHash().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.ReportHeader parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ReportHeader parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ReportHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ReportHeader parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ReportHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ReportHeader parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ReportHeader parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ReportHeader 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 mdg.engine.proto.Reports.ReportHeader parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ReportHeader 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 mdg.engine.proto.Reports.ReportHeader parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ReportHeader 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(mdg.engine.proto.Reports.ReportHeader 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; } /** *
     * The `service` value embedded within the header key is not guaranteed to contain an actual service,
     * and, in most cases, the service information is trusted to come from upstream processing. If the
     * service _is_ specified in this header, then it is checked to match the context that is reporting it.
     * Otherwise, the service information is deduced from the token context of the reporter and then sent
     * along via other mechanisms (in Kafka, the `ReportKafkaKey). The other information (hostname,
     * agent_version, etc.) is sent by the Apollo Engine Reporting agent, but we do not currently save that
     * information to any of our persistent storage.
     * 
* * Protobuf type {@code mdg.engine.proto.ReportHeader} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.ReportHeader) mdg.engine.proto.Reports.ReportHeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ReportHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ReportHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.ReportHeader.class, mdg.engine.proto.Reports.ReportHeader.Builder.class); } // Construct using mdg.engine.proto.Reports.ReportHeader.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); service_ = ""; hostname_ = ""; agentVersion_ = ""; serviceVersion_ = ""; runtimeVersion_ = ""; uname_ = ""; schemaTag_ = ""; schemaHash_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ReportHeader_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.ReportHeader getDefaultInstanceForType() { return mdg.engine.proto.Reports.ReportHeader.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.ReportHeader build() { mdg.engine.proto.Reports.ReportHeader result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.ReportHeader buildPartial() { mdg.engine.proto.Reports.ReportHeader result = new mdg.engine.proto.Reports.ReportHeader(this); result.service_ = service_; result.hostname_ = hostname_; result.agentVersion_ = agentVersion_; result.serviceVersion_ = serviceVersion_; result.runtimeVersion_ = runtimeVersion_; result.uname_ = uname_; result.schemaTag_ = schemaTag_; result.schemaHash_ = schemaHash_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.ReportHeader) { return mergeFrom((mdg.engine.proto.Reports.ReportHeader)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.ReportHeader other) { if (other == mdg.engine.proto.Reports.ReportHeader.getDefaultInstance()) return this; if (!other.getService().isEmpty()) { service_ = other.service_; onChanged(); } if (!other.getHostname().isEmpty()) { hostname_ = other.hostname_; onChanged(); } if (!other.getAgentVersion().isEmpty()) { agentVersion_ = other.agentVersion_; onChanged(); } if (!other.getServiceVersion().isEmpty()) { serviceVersion_ = other.serviceVersion_; onChanged(); } if (!other.getRuntimeVersion().isEmpty()) { runtimeVersion_ = other.runtimeVersion_; onChanged(); } if (!other.getUname().isEmpty()) { uname_ = other.uname_; onChanged(); } if (!other.getSchemaTag().isEmpty()) { schemaTag_ = other.schemaTag_; onChanged(); } if (!other.getSchemaHash().isEmpty()) { schemaHash_ = other.schemaHash_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.ReportHeader parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.ReportHeader) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object service_ = ""; /** * string service = 3; * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } else { return (java.lang.String) ref; } } /** * string service = 3; * @return The bytes for service. */ public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); service_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string service = 3; * @param value The service to set. * @return This builder for chaining. */ public Builder setService( java.lang.String value) { if (value == null) { throw new NullPointerException(); } service_ = value; onChanged(); return this; } /** * string service = 3; * @return This builder for chaining. */ public Builder clearService() { service_ = getDefaultInstance().getService(); onChanged(); return this; } /** * string service = 3; * @param value The bytes for service to set. * @return This builder for chaining. */ public Builder setServiceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); service_ = value; onChanged(); return this; } private java.lang.Object hostname_ = ""; /** *
       * eg "host-01.example.com"
       * 
* * string hostname = 5; * @return The hostname. */ public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostname_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * eg "host-01.example.com"
       * 
* * string hostname = 5; * @return The bytes for hostname. */ public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = hostname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); hostname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * eg "host-01.example.com"
       * 
* * string hostname = 5; * @param value The hostname to set. * @return This builder for chaining. */ public Builder setHostname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } hostname_ = value; onChanged(); return this; } /** *
       * eg "host-01.example.com"
       * 
* * string hostname = 5; * @return This builder for chaining. */ public Builder clearHostname() { hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /** *
       * eg "host-01.example.com"
       * 
* * string hostname = 5; * @param value The bytes for hostname to set. * @return This builder for chaining. */ public Builder setHostnameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); hostname_ = value; onChanged(); return this; } private java.lang.Object agentVersion_ = ""; /** *
       * eg "engineproxy 0.1.0"
       * 
* * string agent_version = 6; * @return The agentVersion. */ public java.lang.String getAgentVersion() { java.lang.Object ref = agentVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * eg "engineproxy 0.1.0"
       * 
* * string agent_version = 6; * @return The bytes for agentVersion. */ public com.google.protobuf.ByteString getAgentVersionBytes() { java.lang.Object ref = agentVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); agentVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * eg "engineproxy 0.1.0"
       * 
* * string agent_version = 6; * @param value The agentVersion to set. * @return This builder for chaining. */ public Builder setAgentVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentVersion_ = value; onChanged(); return this; } /** *
       * eg "engineproxy 0.1.0"
       * 
* * string agent_version = 6; * @return This builder for chaining. */ public Builder clearAgentVersion() { agentVersion_ = getDefaultInstance().getAgentVersion(); onChanged(); return this; } /** *
       * eg "engineproxy 0.1.0"
       * 
* * string agent_version = 6; * @param value The bytes for agentVersion to set. * @return This builder for chaining. */ public Builder setAgentVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentVersion_ = value; onChanged(); return this; } private java.lang.Object serviceVersion_ = ""; /** *
       * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
       * 
* * string service_version = 7; * @return The serviceVersion. */ public java.lang.String getServiceVersion() { java.lang.Object ref = serviceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
       * 
* * string service_version = 7; * @return The bytes for serviceVersion. */ public com.google.protobuf.ByteString getServiceVersionBytes() { java.lang.Object ref = serviceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
       * 
* * string service_version = 7; * @param value The serviceVersion to set. * @return This builder for chaining. */ public Builder setServiceVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceVersion_ = value; onChanged(); return this; } /** *
       * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
       * 
* * string service_version = 7; * @return This builder for chaining. */ public Builder clearServiceVersion() { serviceVersion_ = getDefaultInstance().getServiceVersion(); onChanged(); return this; } /** *
       * eg "prod-4279-20160804T065423Z-5-g3cf0aa8" (taken from `git describe --tags`)
       * 
* * string service_version = 7; * @param value The bytes for serviceVersion to set. * @return This builder for chaining. */ public Builder setServiceVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceVersion_ = value; onChanged(); return this; } private java.lang.Object runtimeVersion_ = ""; /** *
       * eg "node v4.6.0"
       * 
* * string runtime_version = 8; * @return The runtimeVersion. */ public java.lang.String getRuntimeVersion() { java.lang.Object ref = runtimeVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runtimeVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * eg "node v4.6.0"
       * 
* * string runtime_version = 8; * @return The bytes for runtimeVersion. */ public com.google.protobuf.ByteString getRuntimeVersionBytes() { java.lang.Object ref = runtimeVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); runtimeVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * eg "node v4.6.0"
       * 
* * string runtime_version = 8; * @param value The runtimeVersion to set. * @return This builder for chaining. */ public Builder setRuntimeVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } runtimeVersion_ = value; onChanged(); return this; } /** *
       * eg "node v4.6.0"
       * 
* * string runtime_version = 8; * @return This builder for chaining. */ public Builder clearRuntimeVersion() { runtimeVersion_ = getDefaultInstance().getRuntimeVersion(); onChanged(); return this; } /** *
       * eg "node v4.6.0"
       * 
* * string runtime_version = 8; * @param value The bytes for runtimeVersion to set. * @return This builder for chaining. */ public Builder setRuntimeVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); runtimeVersion_ = value; onChanged(); return this; } private java.lang.Object uname_ = ""; /** *
       * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
       * 
* * string uname = 9; * @return The uname. */ public java.lang.String getUname() { java.lang.Object ref = uname_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uname_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
       * 
* * string uname = 9; * @return The bytes for uname. */ public com.google.protobuf.ByteString getUnameBytes() { java.lang.Object ref = uname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
       * 
* * string uname = 9; * @param value The uname to set. * @return This builder for chaining. */ public Builder setUname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uname_ = value; onChanged(); return this; } /** *
       * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
       * 
* * string uname = 9; * @return This builder for chaining. */ public Builder clearUname() { uname_ = getDefaultInstance().getUname(); onChanged(); return this; } /** *
       * eg "Linux box 4.6.5-1-ec2 #1 SMP Mon Aug 1 02:31:38 PDT 2016 x86_64 GNU/Linux"
       * 
* * string uname = 9; * @param value The bytes for uname to set. * @return This builder for chaining. */ public Builder setUnameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uname_ = value; onChanged(); return this; } private java.lang.Object schemaTag_ = ""; /** *
       * eg "current", "prod"
       * 
* * string schema_tag = 10; * @return The schemaTag. */ public java.lang.String getSchemaTag() { java.lang.Object ref = schemaTag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaTag_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * eg "current", "prod"
       * 
* * string schema_tag = 10; * @return The bytes for schemaTag. */ public com.google.protobuf.ByteString getSchemaTagBytes() { java.lang.Object ref = schemaTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schemaTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * eg "current", "prod"
       * 
* * string schema_tag = 10; * @param value The schemaTag to set. * @return This builder for chaining. */ public Builder setSchemaTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } schemaTag_ = value; onChanged(); return this; } /** *
       * eg "current", "prod"
       * 
* * string schema_tag = 10; * @return This builder for chaining. */ public Builder clearSchemaTag() { schemaTag_ = getDefaultInstance().getSchemaTag(); onChanged(); return this; } /** *
       * eg "current", "prod"
       * 
* * string schema_tag = 10; * @param value The bytes for schemaTag to set. * @return This builder for chaining. */ public Builder setSchemaTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schemaTag_ = value; onChanged(); return this; } private java.lang.Object schemaHash_ = ""; /** *
       * The hex representation of the sha512 of the introspection response
       * 
* * string schema_hash = 11; * @return The schemaHash. */ public java.lang.String getSchemaHash() { java.lang.Object ref = schemaHash_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaHash_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The hex representation of the sha512 of the introspection response
       * 
* * string schema_hash = 11; * @return The bytes for schemaHash. */ public com.google.protobuf.ByteString getSchemaHashBytes() { java.lang.Object ref = schemaHash_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schemaHash_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The hex representation of the sha512 of the introspection response
       * 
* * string schema_hash = 11; * @param value The schemaHash to set. * @return This builder for chaining. */ public Builder setSchemaHash( java.lang.String value) { if (value == null) { throw new NullPointerException(); } schemaHash_ = value; onChanged(); return this; } /** *
       * The hex representation of the sha512 of the introspection response
       * 
* * string schema_hash = 11; * @return This builder for chaining. */ public Builder clearSchemaHash() { schemaHash_ = getDefaultInstance().getSchemaHash(); onChanged(); return this; } /** *
       * The hex representation of the sha512 of the introspection response
       * 
* * string schema_hash = 11; * @param value The bytes for schemaHash to set. * @return This builder for chaining. */ public Builder setSchemaHashBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schemaHash_ = value; 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:mdg.engine.proto.ReportHeader) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.ReportHeader) private static final mdg.engine.proto.Reports.ReportHeader DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.ReportHeader(); } public static mdg.engine.proto.Reports.ReportHeader getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ReportHeader parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ReportHeader(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.ReportHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PathErrorStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.PathErrorStats) com.google.protobuf.MessageOrBuilder { /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ int getChildrenCount(); /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ boolean containsChildren( java.lang.String key); /** * Use {@link #getChildrenMap()} instead. */ @java.lang.Deprecated java.util.Map getChildren(); /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ java.util.Map getChildrenMap(); /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ /* nullable */ mdg.engine.proto.Reports.PathErrorStats getChildrenOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.PathErrorStats defaultValue); /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ mdg.engine.proto.Reports.PathErrorStats getChildrenOrThrow( java.lang.String key); /** * uint64 errors_count = 4; * @return The errorsCount. */ long getErrorsCount(); /** * uint64 requests_with_errors_count = 5; * @return The requestsWithErrorsCount. */ long getRequestsWithErrorsCount(); } /** * Protobuf type {@code mdg.engine.proto.PathErrorStats} */ public static final class PathErrorStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.PathErrorStats) PathErrorStatsOrBuilder { private static final long serialVersionUID = 0L; // Use PathErrorStats.newBuilder() to construct. private PathErrorStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PathErrorStats() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PathErrorStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PathErrorStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { children_ = com.google.protobuf.MapField.newMapField( ChildrenDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry children__ = input.readMessage( ChildrenDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); children_.getMutableMap().put( children__.getKey(), children__.getValue()); break; } case 32: { errorsCount_ = input.readUInt64(); break; } case 40: { requestsWithErrorsCount_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_PathErrorStats_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetChildren(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_PathErrorStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.PathErrorStats.class, mdg.engine.proto.Reports.PathErrorStats.Builder.class); } public static final int CHILDREN_FIELD_NUMBER = 1; private static final class ChildrenDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.PathErrorStats> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_PathErrorStats_ChildrenEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.PathErrorStats> children_; private com.google.protobuf.MapField internalGetChildren() { if (children_ == null) { return com.google.protobuf.MapField.emptyMapField( ChildrenDefaultEntryHolder.defaultEntry); } return children_; } public int getChildrenCount() { return internalGetChildren().getMap().size(); } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ @java.lang.Override public boolean containsChildren( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetChildren().getMap().containsKey(key); } /** * Use {@link #getChildrenMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getChildren() { return getChildrenMap(); } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ @java.lang.Override public java.util.Map getChildrenMap() { return internalGetChildren().getMap(); } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats getChildrenOrDefault( java.lang.String key, mdg.engine.proto.Reports.PathErrorStats defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetChildren().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats getChildrenOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetChildren().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int ERRORS_COUNT_FIELD_NUMBER = 4; private long errorsCount_; /** * uint64 errors_count = 4; * @return The errorsCount. */ @java.lang.Override public long getErrorsCount() { return errorsCount_; } public static final int REQUESTS_WITH_ERRORS_COUNT_FIELD_NUMBER = 5; private long requestsWithErrorsCount_; /** * uint64 requests_with_errors_count = 5; * @return The requestsWithErrorsCount. */ @java.lang.Override public long getRequestsWithErrorsCount() { return requestsWithErrorsCount_; } 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 { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetChildren(), ChildrenDefaultEntryHolder.defaultEntry, 1); if (errorsCount_ != 0L) { output.writeUInt64(4, errorsCount_); } if (requestsWithErrorsCount_ != 0L) { output.writeUInt64(5, requestsWithErrorsCount_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetChildren().getMap().entrySet()) { com.google.protobuf.MapEntry children__ = ChildrenDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, children__); } if (errorsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, errorsCount_); } if (requestsWithErrorsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, requestsWithErrorsCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.PathErrorStats)) { return super.equals(obj); } mdg.engine.proto.Reports.PathErrorStats other = (mdg.engine.proto.Reports.PathErrorStats) obj; if (!internalGetChildren().equals( other.internalGetChildren())) return false; if (getErrorsCount() != other.getErrorsCount()) return false; if (getRequestsWithErrorsCount() != other.getRequestsWithErrorsCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetChildren().getMap().isEmpty()) { hash = (37 * hash) + CHILDREN_FIELD_NUMBER; hash = (53 * hash) + internalGetChildren().hashCode(); } hash = (37 * hash) + ERRORS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getErrorsCount()); hash = (37 * hash) + REQUESTS_WITH_ERRORS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequestsWithErrorsCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.PathErrorStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.PathErrorStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.PathErrorStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.PathErrorStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.PathErrorStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.PathErrorStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.PathErrorStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.PathErrorStats 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 mdg.engine.proto.Reports.PathErrorStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.PathErrorStats 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 mdg.engine.proto.Reports.PathErrorStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.PathErrorStats 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(mdg.engine.proto.Reports.PathErrorStats 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 mdg.engine.proto.PathErrorStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.PathErrorStats) mdg.engine.proto.Reports.PathErrorStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_PathErrorStats_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetChildren(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableChildren(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_PathErrorStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.PathErrorStats.class, mdg.engine.proto.Reports.PathErrorStats.Builder.class); } // Construct using mdg.engine.proto.Reports.PathErrorStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableChildren().clear(); errorsCount_ = 0L; requestsWithErrorsCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_PathErrorStats_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats getDefaultInstanceForType() { return mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats build() { mdg.engine.proto.Reports.PathErrorStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats buildPartial() { mdg.engine.proto.Reports.PathErrorStats result = new mdg.engine.proto.Reports.PathErrorStats(this); int from_bitField0_ = bitField0_; result.children_ = internalGetChildren(); result.children_.makeImmutable(); result.errorsCount_ = errorsCount_; result.requestsWithErrorsCount_ = requestsWithErrorsCount_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.PathErrorStats) { return mergeFrom((mdg.engine.proto.Reports.PathErrorStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.PathErrorStats other) { if (other == mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance()) return this; internalGetMutableChildren().mergeFrom( other.internalGetChildren()); if (other.getErrorsCount() != 0L) { setErrorsCount(other.getErrorsCount()); } if (other.getRequestsWithErrorsCount() != 0L) { setRequestsWithErrorsCount(other.getRequestsWithErrorsCount()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.PathErrorStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.PathErrorStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.PathErrorStats> children_; private com.google.protobuf.MapField internalGetChildren() { if (children_ == null) { return com.google.protobuf.MapField.emptyMapField( ChildrenDefaultEntryHolder.defaultEntry); } return children_; } private com.google.protobuf.MapField internalGetMutableChildren() { onChanged();; if (children_ == null) { children_ = com.google.protobuf.MapField.newMapField( ChildrenDefaultEntryHolder.defaultEntry); } if (!children_.isMutable()) { children_ = children_.copy(); } return children_; } public int getChildrenCount() { return internalGetChildren().getMap().size(); } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ @java.lang.Override public boolean containsChildren( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetChildren().getMap().containsKey(key); } /** * Use {@link #getChildrenMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getChildren() { return getChildrenMap(); } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ @java.lang.Override public java.util.Map getChildrenMap() { return internalGetChildren().getMap(); } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats getChildrenOrDefault( java.lang.String key, mdg.engine.proto.Reports.PathErrorStats defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetChildren().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats getChildrenOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetChildren().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearChildren() { internalGetMutableChildren().getMutableMap() .clear(); return this; } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ public Builder removeChildren( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableChildren().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableChildren() { return internalGetMutableChildren().getMutableMap(); } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ public Builder putChildren( java.lang.String key, mdg.engine.proto.Reports.PathErrorStats value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableChildren().getMutableMap() .put(key, value); return this; } /** * map<string, .mdg.engine.proto.PathErrorStats> children = 1; */ public Builder putAllChildren( java.util.Map values) { internalGetMutableChildren().getMutableMap() .putAll(values); return this; } private long errorsCount_ ; /** * uint64 errors_count = 4; * @return The errorsCount. */ @java.lang.Override public long getErrorsCount() { return errorsCount_; } /** * uint64 errors_count = 4; * @param value The errorsCount to set. * @return This builder for chaining. */ public Builder setErrorsCount(long value) { errorsCount_ = value; onChanged(); return this; } /** * uint64 errors_count = 4; * @return This builder for chaining. */ public Builder clearErrorsCount() { errorsCount_ = 0L; onChanged(); return this; } private long requestsWithErrorsCount_ ; /** * uint64 requests_with_errors_count = 5; * @return The requestsWithErrorsCount. */ @java.lang.Override public long getRequestsWithErrorsCount() { return requestsWithErrorsCount_; } /** * uint64 requests_with_errors_count = 5; * @param value The requestsWithErrorsCount to set. * @return This builder for chaining. */ public Builder setRequestsWithErrorsCount(long value) { requestsWithErrorsCount_ = value; onChanged(); return this; } /** * uint64 requests_with_errors_count = 5; * @return This builder for chaining. */ public Builder clearRequestsWithErrorsCount() { requestsWithErrorsCount_ = 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:mdg.engine.proto.PathErrorStats) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.PathErrorStats) private static final mdg.engine.proto.Reports.PathErrorStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.PathErrorStats(); } public static mdg.engine.proto.Reports.PathErrorStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PathErrorStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PathErrorStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClientNameStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.ClientNameStats) com.google.protobuf.MessageOrBuilder { /** *
     * Duration histogram for non-cache-hit queries.
     * (See docs/histograms.md for the histogram format.)
     * 
* * repeated int64 latency_count = 1; * @return A list containing the latencyCount. */ java.util.List getLatencyCountList(); /** *
     * Duration histogram for non-cache-hit queries.
     * (See docs/histograms.md for the histogram format.)
     * 
* * repeated int64 latency_count = 1; * @return The count of latencyCount. */ int getLatencyCountCount(); /** *
     * Duration histogram for non-cache-hit queries.
     * (See docs/histograms.md for the histogram format.)
     * 
* * repeated int64 latency_count = 1; * @param index The index of the element to return. * @return The latencyCount at the given index. */ long getLatencyCount(int index); /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ int getRequestsCountPerVersionCount(); /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ boolean containsRequestsCountPerVersion( java.lang.String key); /** * Use {@link #getRequestsCountPerVersionMap()} instead. */ @java.lang.Deprecated java.util.Map getRequestsCountPerVersion(); /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ java.util.Map getRequestsCountPerVersionMap(); /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ long getRequestsCountPerVersionOrDefault( java.lang.String key, long defaultValue); /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ long getRequestsCountPerVersionOrThrow( java.lang.String key); /** * map<string, uint64> cache_hits_per_version = 4; */ int getCacheHitsPerVersionCount(); /** * map<string, uint64> cache_hits_per_version = 4; */ boolean containsCacheHitsPerVersion( java.lang.String key); /** * Use {@link #getCacheHitsPerVersionMap()} instead. */ @java.lang.Deprecated java.util.Map getCacheHitsPerVersion(); /** * map<string, uint64> cache_hits_per_version = 4; */ java.util.Map getCacheHitsPerVersionMap(); /** * map<string, uint64> cache_hits_per_version = 4; */ long getCacheHitsPerVersionOrDefault( java.lang.String key, long defaultValue); /** * map<string, uint64> cache_hits_per_version = 4; */ long getCacheHitsPerVersionOrThrow( java.lang.String key); /** * map<string, uint64> persisted_query_hits_per_version = 10; */ int getPersistedQueryHitsPerVersionCount(); /** * map<string, uint64> persisted_query_hits_per_version = 10; */ boolean containsPersistedQueryHitsPerVersion( java.lang.String key); /** * Use {@link #getPersistedQueryHitsPerVersionMap()} instead. */ @java.lang.Deprecated java.util.Map getPersistedQueryHitsPerVersion(); /** * map<string, uint64> persisted_query_hits_per_version = 10; */ java.util.Map getPersistedQueryHitsPerVersionMap(); /** * map<string, uint64> persisted_query_hits_per_version = 10; */ long getPersistedQueryHitsPerVersionOrDefault( java.lang.String key, long defaultValue); /** * map<string, uint64> persisted_query_hits_per_version = 10; */ long getPersistedQueryHitsPerVersionOrThrow( java.lang.String key); /** * map<string, uint64> persisted_query_misses_per_version = 11; */ int getPersistedQueryMissesPerVersionCount(); /** * map<string, uint64> persisted_query_misses_per_version = 11; */ boolean containsPersistedQueryMissesPerVersion( java.lang.String key); /** * Use {@link #getPersistedQueryMissesPerVersionMap()} instead. */ @java.lang.Deprecated java.util.Map getPersistedQueryMissesPerVersion(); /** * map<string, uint64> persisted_query_misses_per_version = 11; */ java.util.Map getPersistedQueryMissesPerVersionMap(); /** * map<string, uint64> persisted_query_misses_per_version = 11; */ long getPersistedQueryMissesPerVersionOrDefault( java.lang.String key, long defaultValue); /** * map<string, uint64> persisted_query_misses_per_version = 11; */ long getPersistedQueryMissesPerVersionOrThrow( java.lang.String key); /** * map<string, uint64> registered_operation_count_per_version = 12; */ int getRegisteredOperationCountPerVersionCount(); /** * map<string, uint64> registered_operation_count_per_version = 12; */ boolean containsRegisteredOperationCountPerVersion( java.lang.String key); /** * Use {@link #getRegisteredOperationCountPerVersionMap()} instead. */ @java.lang.Deprecated java.util.Map getRegisteredOperationCountPerVersion(); /** * map<string, uint64> registered_operation_count_per_version = 12; */ java.util.Map getRegisteredOperationCountPerVersionMap(); /** * map<string, uint64> registered_operation_count_per_version = 12; */ long getRegisteredOperationCountPerVersionOrDefault( java.lang.String key, long defaultValue); /** * map<string, uint64> registered_operation_count_per_version = 12; */ long getRegisteredOperationCountPerVersionOrThrow( java.lang.String key); /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ int getForbiddenOperationCountPerVersionCount(); /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ boolean containsForbiddenOperationCountPerVersion( java.lang.String key); /** * Use {@link #getForbiddenOperationCountPerVersionMap()} instead. */ @java.lang.Deprecated java.util.Map getForbiddenOperationCountPerVersion(); /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ java.util.Map getForbiddenOperationCountPerVersionMap(); /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ long getForbiddenOperationCountPerVersionOrDefault( java.lang.String key, long defaultValue); /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ long getForbiddenOperationCountPerVersionOrThrow( java.lang.String key); /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 cache_latency_count = 5; * @return A list containing the cacheLatencyCount. */ java.util.List getCacheLatencyCountList(); /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 cache_latency_count = 5; * @return The count of cacheLatencyCount. */ int getCacheLatencyCountCount(); /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 cache_latency_count = 5; * @param index The index of the element to return. * @return The cacheLatencyCount at the given index. */ long getCacheLatencyCount(int index); /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; * @return Whether the rootErrorStats field is set. */ boolean hasRootErrorStats(); /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; * @return The rootErrorStats. */ mdg.engine.proto.Reports.PathErrorStats getRootErrorStats(); /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ mdg.engine.proto.Reports.PathErrorStatsOrBuilder getRootErrorStatsOrBuilder(); /** * uint64 requests_with_errors_count = 7; * @return The requestsWithErrorsCount. */ long getRequestsWithErrorsCount(); /** *
     * TTL histograms for cache misses for the public cache.
     * 
* * repeated int64 public_cache_ttl_count = 8; * @return A list containing the publicCacheTtlCount. */ java.util.List getPublicCacheTtlCountList(); /** *
     * TTL histograms for cache misses for the public cache.
     * 
* * repeated int64 public_cache_ttl_count = 8; * @return The count of publicCacheTtlCount. */ int getPublicCacheTtlCountCount(); /** *
     * TTL histograms for cache misses for the public cache.
     * 
* * repeated int64 public_cache_ttl_count = 8; * @param index The index of the element to return. * @return The publicCacheTtlCount at the given index. */ long getPublicCacheTtlCount(int index); /** *
     * TTL histograms for cache misses for the private cache.
     * 
* * repeated int64 private_cache_ttl_count = 9; * @return A list containing the privateCacheTtlCount. */ java.util.List getPrivateCacheTtlCountList(); /** *
     * TTL histograms for cache misses for the private cache.
     * 
* * repeated int64 private_cache_ttl_count = 9; * @return The count of privateCacheTtlCount. */ int getPrivateCacheTtlCountCount(); /** *
     * TTL histograms for cache misses for the private cache.
     * 
* * repeated int64 private_cache_ttl_count = 9; * @param index The index of the element to return. * @return The privateCacheTtlCount at the given index. */ long getPrivateCacheTtlCount(int index); } /** * Protobuf type {@code mdg.engine.proto.ClientNameStats} */ public static final class ClientNameStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.ClientNameStats) ClientNameStatsOrBuilder { private static final long serialVersionUID = 0L; // Use ClientNameStats.newBuilder() to construct. private ClientNameStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClientNameStats() { latencyCount_ = emptyLongList(); cacheLatencyCount_ = emptyLongList(); publicCacheTtlCount_ = emptyLongList(); privateCacheTtlCount_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClientNameStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientNameStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { latencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000001; } latencyCount_.addLong(input.readInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { latencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { latencyCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { requestsCountPerVersion_ = com.google.protobuf.MapField.newMapField( RequestsCountPerVersionDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry requestsCountPerVersion__ = input.readMessage( RequestsCountPerVersionDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); requestsCountPerVersion_.getMutableMap().put( requestsCountPerVersion__.getKey(), requestsCountPerVersion__.getValue()); break; } case 34: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { cacheHitsPerVersion_ = com.google.protobuf.MapField.newMapField( CacheHitsPerVersionDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry cacheHitsPerVersion__ = input.readMessage( CacheHitsPerVersionDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); cacheHitsPerVersion_.getMutableMap().put( cacheHitsPerVersion__.getKey(), cacheHitsPerVersion__.getValue()); break; } case 40: { if (!((mutable_bitField0_ & 0x00000080) != 0)) { cacheLatencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000080; } cacheLatencyCount_.addLong(input.readInt64()); break; } case 42: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000080) != 0) && input.getBytesUntilLimit() > 0) { cacheLatencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000080; } while (input.getBytesUntilLimit() > 0) { cacheLatencyCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 50: { mdg.engine.proto.Reports.PathErrorStats.Builder subBuilder = null; if (rootErrorStats_ != null) { subBuilder = rootErrorStats_.toBuilder(); } rootErrorStats_ = input.readMessage(mdg.engine.proto.Reports.PathErrorStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rootErrorStats_); rootErrorStats_ = subBuilder.buildPartial(); } break; } case 56: { requestsWithErrorsCount_ = input.readUInt64(); break; } case 64: { if (!((mutable_bitField0_ & 0x00000100) != 0)) { publicCacheTtlCount_ = newLongList(); mutable_bitField0_ |= 0x00000100; } publicCacheTtlCount_.addLong(input.readInt64()); break; } case 66: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000100) != 0) && input.getBytesUntilLimit() > 0) { publicCacheTtlCount_ = newLongList(); mutable_bitField0_ |= 0x00000100; } while (input.getBytesUntilLimit() > 0) { publicCacheTtlCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 72: { if (!((mutable_bitField0_ & 0x00000200) != 0)) { privateCacheTtlCount_ = newLongList(); mutable_bitField0_ |= 0x00000200; } privateCacheTtlCount_.addLong(input.readInt64()); break; } case 74: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000200) != 0) && input.getBytesUntilLimit() > 0) { privateCacheTtlCount_ = newLongList(); mutable_bitField0_ |= 0x00000200; } while (input.getBytesUntilLimit() > 0) { privateCacheTtlCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 82: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { persistedQueryHitsPerVersion_ = com.google.protobuf.MapField.newMapField( PersistedQueryHitsPerVersionDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000008; } com.google.protobuf.MapEntry persistedQueryHitsPerVersion__ = input.readMessage( PersistedQueryHitsPerVersionDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); persistedQueryHitsPerVersion_.getMutableMap().put( persistedQueryHitsPerVersion__.getKey(), persistedQueryHitsPerVersion__.getValue()); break; } case 90: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { persistedQueryMissesPerVersion_ = com.google.protobuf.MapField.newMapField( PersistedQueryMissesPerVersionDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000010; } com.google.protobuf.MapEntry persistedQueryMissesPerVersion__ = input.readMessage( PersistedQueryMissesPerVersionDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); persistedQueryMissesPerVersion_.getMutableMap().put( persistedQueryMissesPerVersion__.getKey(), persistedQueryMissesPerVersion__.getValue()); break; } case 98: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { registeredOperationCountPerVersion_ = com.google.protobuf.MapField.newMapField( RegisteredOperationCountPerVersionDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000020; } com.google.protobuf.MapEntry registeredOperationCountPerVersion__ = input.readMessage( RegisteredOperationCountPerVersionDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); registeredOperationCountPerVersion_.getMutableMap().put( registeredOperationCountPerVersion__.getKey(), registeredOperationCountPerVersion__.getValue()); break; } case 106: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { forbiddenOperationCountPerVersion_ = com.google.protobuf.MapField.newMapField( ForbiddenOperationCountPerVersionDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000040; } com.google.protobuf.MapEntry forbiddenOperationCountPerVersion__ = input.readMessage( ForbiddenOperationCountPerVersionDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); forbiddenOperationCountPerVersion_.getMutableMap().put( forbiddenOperationCountPerVersion__.getKey(), forbiddenOperationCountPerVersion__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { latencyCount_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000080) != 0)) { cacheLatencyCount_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000100) != 0)) { publicCacheTtlCount_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000200) != 0)) { privateCacheTtlCount_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetRequestsCountPerVersion(); case 4: return internalGetCacheHitsPerVersion(); case 10: return internalGetPersistedQueryHitsPerVersion(); case 11: return internalGetPersistedQueryMissesPerVersion(); case 12: return internalGetRegisteredOperationCountPerVersion(); case 13: return internalGetForbiddenOperationCountPerVersion(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.ClientNameStats.class, mdg.engine.proto.Reports.ClientNameStats.Builder.class); } public static final int LATENCY_COUNT_FIELD_NUMBER = 1; private com.google.protobuf.Internal.LongList latencyCount_; /** *
     * Duration histogram for non-cache-hit queries.
     * (See docs/histograms.md for the histogram format.)
     * 
* * repeated int64 latency_count = 1; * @return A list containing the latencyCount. */ @java.lang.Override public java.util.List getLatencyCountList() { return latencyCount_; } /** *
     * Duration histogram for non-cache-hit queries.
     * (See docs/histograms.md for the histogram format.)
     * 
* * repeated int64 latency_count = 1; * @return The count of latencyCount. */ public int getLatencyCountCount() { return latencyCount_.size(); } /** *
     * Duration histogram for non-cache-hit queries.
     * (See docs/histograms.md for the histogram format.)
     * 
* * repeated int64 latency_count = 1; * @param index The index of the element to return. * @return The latencyCount at the given index. */ public long getLatencyCount(int index) { return latencyCount_.getLong(index); } private int latencyCountMemoizedSerializedSize = -1; public static final int REQUESTS_COUNT_PER_VERSION_FIELD_NUMBER = 3; private static final class RequestsCountPerVersionDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Long> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_RequestsCountPerVersionEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT64, 0L); } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> requestsCountPerVersion_; private com.google.protobuf.MapField internalGetRequestsCountPerVersion() { if (requestsCountPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( RequestsCountPerVersionDefaultEntryHolder.defaultEntry); } return requestsCountPerVersion_; } public int getRequestsCountPerVersionCount() { return internalGetRequestsCountPerVersion().getMap().size(); } /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ @java.lang.Override public boolean containsRequestsCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetRequestsCountPerVersion().getMap().containsKey(key); } /** * Use {@link #getRequestsCountPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getRequestsCountPerVersion() { return getRequestsCountPerVersionMap(); } /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ @java.lang.Override public java.util.Map getRequestsCountPerVersionMap() { return internalGetRequestsCountPerVersion().getMap(); } /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ @java.lang.Override public long getRequestsCountPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRequestsCountPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * These per-version fields were used to understand what versions contributed to this sample
     * when we were implementing the aggregation of this information ourselves using BigTable.
     * However, since the per-version stats don't separate out latency, it makes more sense to
     * have stats reported with contextual information so we can have the specific breakdown we're
     * looking for. These fields are somewhat misleading as we never actually do any per-version
     * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
     * "query_stats_with_context" to have more contextual information.
     * 
* * map<string, uint64> requests_count_per_version = 3; */ @java.lang.Override public long getRequestsCountPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRequestsCountPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int CACHE_HITS_PER_VERSION_FIELD_NUMBER = 4; private static final class CacheHitsPerVersionDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Long> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_CacheHitsPerVersionEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT64, 0L); } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> cacheHitsPerVersion_; private com.google.protobuf.MapField internalGetCacheHitsPerVersion() { if (cacheHitsPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( CacheHitsPerVersionDefaultEntryHolder.defaultEntry); } return cacheHitsPerVersion_; } public int getCacheHitsPerVersionCount() { return internalGetCacheHitsPerVersion().getMap().size(); } /** * map<string, uint64> cache_hits_per_version = 4; */ @java.lang.Override public boolean containsCacheHitsPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCacheHitsPerVersion().getMap().containsKey(key); } /** * Use {@link #getCacheHitsPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCacheHitsPerVersion() { return getCacheHitsPerVersionMap(); } /** * map<string, uint64> cache_hits_per_version = 4; */ @java.lang.Override public java.util.Map getCacheHitsPerVersionMap() { return internalGetCacheHitsPerVersion().getMap(); } /** * map<string, uint64> cache_hits_per_version = 4; */ @java.lang.Override public long getCacheHitsPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCacheHitsPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> cache_hits_per_version = 4; */ @java.lang.Override public long getCacheHitsPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCacheHitsPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int PERSISTED_QUERY_HITS_PER_VERSION_FIELD_NUMBER = 10; private static final class PersistedQueryHitsPerVersionDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Long> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryHitsPerVersionEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT64, 0L); } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> persistedQueryHitsPerVersion_; private com.google.protobuf.MapField internalGetPersistedQueryHitsPerVersion() { if (persistedQueryHitsPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( PersistedQueryHitsPerVersionDefaultEntryHolder.defaultEntry); } return persistedQueryHitsPerVersion_; } public int getPersistedQueryHitsPerVersionCount() { return internalGetPersistedQueryHitsPerVersion().getMap().size(); } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ @java.lang.Override public boolean containsPersistedQueryHitsPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPersistedQueryHitsPerVersion().getMap().containsKey(key); } /** * Use {@link #getPersistedQueryHitsPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPersistedQueryHitsPerVersion() { return getPersistedQueryHitsPerVersionMap(); } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ @java.lang.Override public java.util.Map getPersistedQueryHitsPerVersionMap() { return internalGetPersistedQueryHitsPerVersion().getMap(); } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ @java.lang.Override public long getPersistedQueryHitsPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPersistedQueryHitsPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ @java.lang.Override public long getPersistedQueryHitsPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPersistedQueryHitsPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int PERSISTED_QUERY_MISSES_PER_VERSION_FIELD_NUMBER = 11; private static final class PersistedQueryMissesPerVersionDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Long> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryMissesPerVersionEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT64, 0L); } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> persistedQueryMissesPerVersion_; private com.google.protobuf.MapField internalGetPersistedQueryMissesPerVersion() { if (persistedQueryMissesPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( PersistedQueryMissesPerVersionDefaultEntryHolder.defaultEntry); } return persistedQueryMissesPerVersion_; } public int getPersistedQueryMissesPerVersionCount() { return internalGetPersistedQueryMissesPerVersion().getMap().size(); } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ @java.lang.Override public boolean containsPersistedQueryMissesPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPersistedQueryMissesPerVersion().getMap().containsKey(key); } /** * Use {@link #getPersistedQueryMissesPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPersistedQueryMissesPerVersion() { return getPersistedQueryMissesPerVersionMap(); } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ @java.lang.Override public java.util.Map getPersistedQueryMissesPerVersionMap() { return internalGetPersistedQueryMissesPerVersion().getMap(); } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ @java.lang.Override public long getPersistedQueryMissesPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPersistedQueryMissesPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ @java.lang.Override public long getPersistedQueryMissesPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPersistedQueryMissesPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int REGISTERED_OPERATION_COUNT_PER_VERSION_FIELD_NUMBER = 12; private static final class RegisteredOperationCountPerVersionDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Long> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_RegisteredOperationCountPerVersionEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT64, 0L); } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> registeredOperationCountPerVersion_; private com.google.protobuf.MapField internalGetRegisteredOperationCountPerVersion() { if (registeredOperationCountPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( RegisteredOperationCountPerVersionDefaultEntryHolder.defaultEntry); } return registeredOperationCountPerVersion_; } public int getRegisteredOperationCountPerVersionCount() { return internalGetRegisteredOperationCountPerVersion().getMap().size(); } /** * map<string, uint64> registered_operation_count_per_version = 12; */ @java.lang.Override public boolean containsRegisteredOperationCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetRegisteredOperationCountPerVersion().getMap().containsKey(key); } /** * Use {@link #getRegisteredOperationCountPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getRegisteredOperationCountPerVersion() { return getRegisteredOperationCountPerVersionMap(); } /** * map<string, uint64> registered_operation_count_per_version = 12; */ @java.lang.Override public java.util.Map getRegisteredOperationCountPerVersionMap() { return internalGetRegisteredOperationCountPerVersion().getMap(); } /** * map<string, uint64> registered_operation_count_per_version = 12; */ @java.lang.Override public long getRegisteredOperationCountPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRegisteredOperationCountPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> registered_operation_count_per_version = 12; */ @java.lang.Override public long getRegisteredOperationCountPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRegisteredOperationCountPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int FORBIDDEN_OPERATION_COUNT_PER_VERSION_FIELD_NUMBER = 13; private static final class ForbiddenOperationCountPerVersionDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Long> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_ForbiddenOperationCountPerVersionEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.UINT64, 0L); } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> forbiddenOperationCountPerVersion_; private com.google.protobuf.MapField internalGetForbiddenOperationCountPerVersion() { if (forbiddenOperationCountPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( ForbiddenOperationCountPerVersionDefaultEntryHolder.defaultEntry); } return forbiddenOperationCountPerVersion_; } public int getForbiddenOperationCountPerVersionCount() { return internalGetForbiddenOperationCountPerVersion().getMap().size(); } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ @java.lang.Override public boolean containsForbiddenOperationCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetForbiddenOperationCountPerVersion().getMap().containsKey(key); } /** * Use {@link #getForbiddenOperationCountPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getForbiddenOperationCountPerVersion() { return getForbiddenOperationCountPerVersionMap(); } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ @java.lang.Override public java.util.Map getForbiddenOperationCountPerVersionMap() { return internalGetForbiddenOperationCountPerVersion().getMap(); } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ @java.lang.Override public long getForbiddenOperationCountPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetForbiddenOperationCountPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ @java.lang.Override public long getForbiddenOperationCountPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetForbiddenOperationCountPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int CACHE_LATENCY_COUNT_FIELD_NUMBER = 5; private com.google.protobuf.Internal.LongList cacheLatencyCount_; /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 cache_latency_count = 5; * @return A list containing the cacheLatencyCount. */ @java.lang.Override public java.util.List getCacheLatencyCountList() { return cacheLatencyCount_; } /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 cache_latency_count = 5; * @return The count of cacheLatencyCount. */ public int getCacheLatencyCountCount() { return cacheLatencyCount_.size(); } /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 cache_latency_count = 5; * @param index The index of the element to return. * @return The cacheLatencyCount at the given index. */ public long getCacheLatencyCount(int index) { return cacheLatencyCount_.getLong(index); } private int cacheLatencyCountMemoizedSerializedSize = -1; public static final int ROOT_ERROR_STATS_FIELD_NUMBER = 6; private mdg.engine.proto.Reports.PathErrorStats rootErrorStats_; /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; * @return Whether the rootErrorStats field is set. */ @java.lang.Override public boolean hasRootErrorStats() { return rootErrorStats_ != null; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; * @return The rootErrorStats. */ @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats getRootErrorStats() { return rootErrorStats_ == null ? mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance() : rootErrorStats_; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ @java.lang.Override public mdg.engine.proto.Reports.PathErrorStatsOrBuilder getRootErrorStatsOrBuilder() { return getRootErrorStats(); } public static final int REQUESTS_WITH_ERRORS_COUNT_FIELD_NUMBER = 7; private long requestsWithErrorsCount_; /** * uint64 requests_with_errors_count = 7; * @return The requestsWithErrorsCount. */ @java.lang.Override public long getRequestsWithErrorsCount() { return requestsWithErrorsCount_; } public static final int PUBLIC_CACHE_TTL_COUNT_FIELD_NUMBER = 8; private com.google.protobuf.Internal.LongList publicCacheTtlCount_; /** *
     * TTL histograms for cache misses for the public cache.
     * 
* * repeated int64 public_cache_ttl_count = 8; * @return A list containing the publicCacheTtlCount. */ @java.lang.Override public java.util.List getPublicCacheTtlCountList() { return publicCacheTtlCount_; } /** *
     * TTL histograms for cache misses for the public cache.
     * 
* * repeated int64 public_cache_ttl_count = 8; * @return The count of publicCacheTtlCount. */ public int getPublicCacheTtlCountCount() { return publicCacheTtlCount_.size(); } /** *
     * TTL histograms for cache misses for the public cache.
     * 
* * repeated int64 public_cache_ttl_count = 8; * @param index The index of the element to return. * @return The publicCacheTtlCount at the given index. */ public long getPublicCacheTtlCount(int index) { return publicCacheTtlCount_.getLong(index); } private int publicCacheTtlCountMemoizedSerializedSize = -1; public static final int PRIVATE_CACHE_TTL_COUNT_FIELD_NUMBER = 9; private com.google.protobuf.Internal.LongList privateCacheTtlCount_; /** *
     * TTL histograms for cache misses for the private cache.
     * 
* * repeated int64 private_cache_ttl_count = 9; * @return A list containing the privateCacheTtlCount. */ @java.lang.Override public java.util.List getPrivateCacheTtlCountList() { return privateCacheTtlCount_; } /** *
     * TTL histograms for cache misses for the private cache.
     * 
* * repeated int64 private_cache_ttl_count = 9; * @return The count of privateCacheTtlCount. */ public int getPrivateCacheTtlCountCount() { return privateCacheTtlCount_.size(); } /** *
     * TTL histograms for cache misses for the private cache.
     * 
* * repeated int64 private_cache_ttl_count = 9; * @param index The index of the element to return. * @return The privateCacheTtlCount at the given index. */ public long getPrivateCacheTtlCount(int index) { return privateCacheTtlCount_.getLong(index); } private int privateCacheTtlCountMemoizedSerializedSize = -1; 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 { getSerializedSize(); if (getLatencyCountList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(latencyCountMemoizedSerializedSize); } for (int i = 0; i < latencyCount_.size(); i++) { output.writeInt64NoTag(latencyCount_.getLong(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetRequestsCountPerVersion(), RequestsCountPerVersionDefaultEntryHolder.defaultEntry, 3); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetCacheHitsPerVersion(), CacheHitsPerVersionDefaultEntryHolder.defaultEntry, 4); if (getCacheLatencyCountList().size() > 0) { output.writeUInt32NoTag(42); output.writeUInt32NoTag(cacheLatencyCountMemoizedSerializedSize); } for (int i = 0; i < cacheLatencyCount_.size(); i++) { output.writeInt64NoTag(cacheLatencyCount_.getLong(i)); } if (rootErrorStats_ != null) { output.writeMessage(6, getRootErrorStats()); } if (requestsWithErrorsCount_ != 0L) { output.writeUInt64(7, requestsWithErrorsCount_); } if (getPublicCacheTtlCountList().size() > 0) { output.writeUInt32NoTag(66); output.writeUInt32NoTag(publicCacheTtlCountMemoizedSerializedSize); } for (int i = 0; i < publicCacheTtlCount_.size(); i++) { output.writeInt64NoTag(publicCacheTtlCount_.getLong(i)); } if (getPrivateCacheTtlCountList().size() > 0) { output.writeUInt32NoTag(74); output.writeUInt32NoTag(privateCacheTtlCountMemoizedSerializedSize); } for (int i = 0; i < privateCacheTtlCount_.size(); i++) { output.writeInt64NoTag(privateCacheTtlCount_.getLong(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetPersistedQueryHitsPerVersion(), PersistedQueryHitsPerVersionDefaultEntryHolder.defaultEntry, 10); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetPersistedQueryMissesPerVersion(), PersistedQueryMissesPerVersionDefaultEntryHolder.defaultEntry, 11); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetRegisteredOperationCountPerVersion(), RegisteredOperationCountPerVersionDefaultEntryHolder.defaultEntry, 12); com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetForbiddenOperationCountPerVersion(), ForbiddenOperationCountPerVersionDefaultEntryHolder.defaultEntry, 13); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < latencyCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(latencyCount_.getLong(i)); } size += dataSize; if (!getLatencyCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } latencyCountMemoizedSerializedSize = dataSize; } for (java.util.Map.Entry entry : internalGetRequestsCountPerVersion().getMap().entrySet()) { com.google.protobuf.MapEntry requestsCountPerVersion__ = RequestsCountPerVersionDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, requestsCountPerVersion__); } for (java.util.Map.Entry entry : internalGetCacheHitsPerVersion().getMap().entrySet()) { com.google.protobuf.MapEntry cacheHitsPerVersion__ = CacheHitsPerVersionDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, cacheHitsPerVersion__); } { int dataSize = 0; for (int i = 0; i < cacheLatencyCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(cacheLatencyCount_.getLong(i)); } size += dataSize; if (!getCacheLatencyCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } cacheLatencyCountMemoizedSerializedSize = dataSize; } if (rootErrorStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getRootErrorStats()); } if (requestsWithErrorsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, requestsWithErrorsCount_); } { int dataSize = 0; for (int i = 0; i < publicCacheTtlCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(publicCacheTtlCount_.getLong(i)); } size += dataSize; if (!getPublicCacheTtlCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } publicCacheTtlCountMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < privateCacheTtlCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(privateCacheTtlCount_.getLong(i)); } size += dataSize; if (!getPrivateCacheTtlCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } privateCacheTtlCountMemoizedSerializedSize = dataSize; } for (java.util.Map.Entry entry : internalGetPersistedQueryHitsPerVersion().getMap().entrySet()) { com.google.protobuf.MapEntry persistedQueryHitsPerVersion__ = PersistedQueryHitsPerVersionDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, persistedQueryHitsPerVersion__); } for (java.util.Map.Entry entry : internalGetPersistedQueryMissesPerVersion().getMap().entrySet()) { com.google.protobuf.MapEntry persistedQueryMissesPerVersion__ = PersistedQueryMissesPerVersionDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, persistedQueryMissesPerVersion__); } for (java.util.Map.Entry entry : internalGetRegisteredOperationCountPerVersion().getMap().entrySet()) { com.google.protobuf.MapEntry registeredOperationCountPerVersion__ = RegisteredOperationCountPerVersionDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, registeredOperationCountPerVersion__); } for (java.util.Map.Entry entry : internalGetForbiddenOperationCountPerVersion().getMap().entrySet()) { com.google.protobuf.MapEntry forbiddenOperationCountPerVersion__ = ForbiddenOperationCountPerVersionDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, forbiddenOperationCountPerVersion__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.ClientNameStats)) { return super.equals(obj); } mdg.engine.proto.Reports.ClientNameStats other = (mdg.engine.proto.Reports.ClientNameStats) obj; if (!getLatencyCountList() .equals(other.getLatencyCountList())) return false; if (!internalGetRequestsCountPerVersion().equals( other.internalGetRequestsCountPerVersion())) return false; if (!internalGetCacheHitsPerVersion().equals( other.internalGetCacheHitsPerVersion())) return false; if (!internalGetPersistedQueryHitsPerVersion().equals( other.internalGetPersistedQueryHitsPerVersion())) return false; if (!internalGetPersistedQueryMissesPerVersion().equals( other.internalGetPersistedQueryMissesPerVersion())) return false; if (!internalGetRegisteredOperationCountPerVersion().equals( other.internalGetRegisteredOperationCountPerVersion())) return false; if (!internalGetForbiddenOperationCountPerVersion().equals( other.internalGetForbiddenOperationCountPerVersion())) return false; if (!getCacheLatencyCountList() .equals(other.getCacheLatencyCountList())) return false; if (hasRootErrorStats() != other.hasRootErrorStats()) return false; if (hasRootErrorStats()) { if (!getRootErrorStats() .equals(other.getRootErrorStats())) return false; } if (getRequestsWithErrorsCount() != other.getRequestsWithErrorsCount()) return false; if (!getPublicCacheTtlCountList() .equals(other.getPublicCacheTtlCountList())) return false; if (!getPrivateCacheTtlCountList() .equals(other.getPrivateCacheTtlCountList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getLatencyCountCount() > 0) { hash = (37 * hash) + LATENCY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getLatencyCountList().hashCode(); } if (!internalGetRequestsCountPerVersion().getMap().isEmpty()) { hash = (37 * hash) + REQUESTS_COUNT_PER_VERSION_FIELD_NUMBER; hash = (53 * hash) + internalGetRequestsCountPerVersion().hashCode(); } if (!internalGetCacheHitsPerVersion().getMap().isEmpty()) { hash = (37 * hash) + CACHE_HITS_PER_VERSION_FIELD_NUMBER; hash = (53 * hash) + internalGetCacheHitsPerVersion().hashCode(); } if (!internalGetPersistedQueryHitsPerVersion().getMap().isEmpty()) { hash = (37 * hash) + PERSISTED_QUERY_HITS_PER_VERSION_FIELD_NUMBER; hash = (53 * hash) + internalGetPersistedQueryHitsPerVersion().hashCode(); } if (!internalGetPersistedQueryMissesPerVersion().getMap().isEmpty()) { hash = (37 * hash) + PERSISTED_QUERY_MISSES_PER_VERSION_FIELD_NUMBER; hash = (53 * hash) + internalGetPersistedQueryMissesPerVersion().hashCode(); } if (!internalGetRegisteredOperationCountPerVersion().getMap().isEmpty()) { hash = (37 * hash) + REGISTERED_OPERATION_COUNT_PER_VERSION_FIELD_NUMBER; hash = (53 * hash) + internalGetRegisteredOperationCountPerVersion().hashCode(); } if (!internalGetForbiddenOperationCountPerVersion().getMap().isEmpty()) { hash = (37 * hash) + FORBIDDEN_OPERATION_COUNT_PER_VERSION_FIELD_NUMBER; hash = (53 * hash) + internalGetForbiddenOperationCountPerVersion().hashCode(); } if (getCacheLatencyCountCount() > 0) { hash = (37 * hash) + CACHE_LATENCY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getCacheLatencyCountList().hashCode(); } if (hasRootErrorStats()) { hash = (37 * hash) + ROOT_ERROR_STATS_FIELD_NUMBER; hash = (53 * hash) + getRootErrorStats().hashCode(); } hash = (37 * hash) + REQUESTS_WITH_ERRORS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequestsWithErrorsCount()); if (getPublicCacheTtlCountCount() > 0) { hash = (37 * hash) + PUBLIC_CACHE_TTL_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPublicCacheTtlCountList().hashCode(); } if (getPrivateCacheTtlCountCount() > 0) { hash = (37 * hash) + PRIVATE_CACHE_TTL_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPrivateCacheTtlCountList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.ClientNameStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ClientNameStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ClientNameStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ClientNameStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ClientNameStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ClientNameStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ClientNameStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ClientNameStats 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 mdg.engine.proto.Reports.ClientNameStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ClientNameStats 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 mdg.engine.proto.Reports.ClientNameStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ClientNameStats 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(mdg.engine.proto.Reports.ClientNameStats 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 mdg.engine.proto.ClientNameStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.ClientNameStats) mdg.engine.proto.Reports.ClientNameStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetRequestsCountPerVersion(); case 4: return internalGetCacheHitsPerVersion(); case 10: return internalGetPersistedQueryHitsPerVersion(); case 11: return internalGetPersistedQueryMissesPerVersion(); case 12: return internalGetRegisteredOperationCountPerVersion(); case 13: return internalGetForbiddenOperationCountPerVersion(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 3: return internalGetMutableRequestsCountPerVersion(); case 4: return internalGetMutableCacheHitsPerVersion(); case 10: return internalGetMutablePersistedQueryHitsPerVersion(); case 11: return internalGetMutablePersistedQueryMissesPerVersion(); case 12: return internalGetMutableRegisteredOperationCountPerVersion(); case 13: return internalGetMutableForbiddenOperationCountPerVersion(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.ClientNameStats.class, mdg.engine.proto.Reports.ClientNameStats.Builder.class); } // Construct using mdg.engine.proto.Reports.ClientNameStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); latencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); internalGetMutableRequestsCountPerVersion().clear(); internalGetMutableCacheHitsPerVersion().clear(); internalGetMutablePersistedQueryHitsPerVersion().clear(); internalGetMutablePersistedQueryMissesPerVersion().clear(); internalGetMutableRegisteredOperationCountPerVersion().clear(); internalGetMutableForbiddenOperationCountPerVersion().clear(); cacheLatencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000080); if (rootErrorStatsBuilder_ == null) { rootErrorStats_ = null; } else { rootErrorStats_ = null; rootErrorStatsBuilder_ = null; } requestsWithErrorsCount_ = 0L; publicCacheTtlCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000100); privateCacheTtlCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000200); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ClientNameStats_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.ClientNameStats getDefaultInstanceForType() { return mdg.engine.proto.Reports.ClientNameStats.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.ClientNameStats build() { mdg.engine.proto.Reports.ClientNameStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.ClientNameStats buildPartial() { mdg.engine.proto.Reports.ClientNameStats result = new mdg.engine.proto.Reports.ClientNameStats(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { latencyCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.latencyCount_ = latencyCount_; result.requestsCountPerVersion_ = internalGetRequestsCountPerVersion(); result.requestsCountPerVersion_.makeImmutable(); result.cacheHitsPerVersion_ = internalGetCacheHitsPerVersion(); result.cacheHitsPerVersion_.makeImmutable(); result.persistedQueryHitsPerVersion_ = internalGetPersistedQueryHitsPerVersion(); result.persistedQueryHitsPerVersion_.makeImmutable(); result.persistedQueryMissesPerVersion_ = internalGetPersistedQueryMissesPerVersion(); result.persistedQueryMissesPerVersion_.makeImmutable(); result.registeredOperationCountPerVersion_ = internalGetRegisteredOperationCountPerVersion(); result.registeredOperationCountPerVersion_.makeImmutable(); result.forbiddenOperationCountPerVersion_ = internalGetForbiddenOperationCountPerVersion(); result.forbiddenOperationCountPerVersion_.makeImmutable(); if (((bitField0_ & 0x00000080) != 0)) { cacheLatencyCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000080); } result.cacheLatencyCount_ = cacheLatencyCount_; if (rootErrorStatsBuilder_ == null) { result.rootErrorStats_ = rootErrorStats_; } else { result.rootErrorStats_ = rootErrorStatsBuilder_.build(); } result.requestsWithErrorsCount_ = requestsWithErrorsCount_; if (((bitField0_ & 0x00000100) != 0)) { publicCacheTtlCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000100); } result.publicCacheTtlCount_ = publicCacheTtlCount_; if (((bitField0_ & 0x00000200) != 0)) { privateCacheTtlCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000200); } result.privateCacheTtlCount_ = privateCacheTtlCount_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.ClientNameStats) { return mergeFrom((mdg.engine.proto.Reports.ClientNameStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.ClientNameStats other) { if (other == mdg.engine.proto.Reports.ClientNameStats.getDefaultInstance()) return this; if (!other.latencyCount_.isEmpty()) { if (latencyCount_.isEmpty()) { latencyCount_ = other.latencyCount_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLatencyCountIsMutable(); latencyCount_.addAll(other.latencyCount_); } onChanged(); } internalGetMutableRequestsCountPerVersion().mergeFrom( other.internalGetRequestsCountPerVersion()); internalGetMutableCacheHitsPerVersion().mergeFrom( other.internalGetCacheHitsPerVersion()); internalGetMutablePersistedQueryHitsPerVersion().mergeFrom( other.internalGetPersistedQueryHitsPerVersion()); internalGetMutablePersistedQueryMissesPerVersion().mergeFrom( other.internalGetPersistedQueryMissesPerVersion()); internalGetMutableRegisteredOperationCountPerVersion().mergeFrom( other.internalGetRegisteredOperationCountPerVersion()); internalGetMutableForbiddenOperationCountPerVersion().mergeFrom( other.internalGetForbiddenOperationCountPerVersion()); if (!other.cacheLatencyCount_.isEmpty()) { if (cacheLatencyCount_.isEmpty()) { cacheLatencyCount_ = other.cacheLatencyCount_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureCacheLatencyCountIsMutable(); cacheLatencyCount_.addAll(other.cacheLatencyCount_); } onChanged(); } if (other.hasRootErrorStats()) { mergeRootErrorStats(other.getRootErrorStats()); } if (other.getRequestsWithErrorsCount() != 0L) { setRequestsWithErrorsCount(other.getRequestsWithErrorsCount()); } if (!other.publicCacheTtlCount_.isEmpty()) { if (publicCacheTtlCount_.isEmpty()) { publicCacheTtlCount_ = other.publicCacheTtlCount_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensurePublicCacheTtlCountIsMutable(); publicCacheTtlCount_.addAll(other.publicCacheTtlCount_); } onChanged(); } if (!other.privateCacheTtlCount_.isEmpty()) { if (privateCacheTtlCount_.isEmpty()) { privateCacheTtlCount_ = other.privateCacheTtlCount_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensurePrivateCacheTtlCountIsMutable(); privateCacheTtlCount_.addAll(other.privateCacheTtlCount_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.ClientNameStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.ClientNameStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.LongList latencyCount_ = emptyLongList(); private void ensureLatencyCountIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { latencyCount_ = mutableCopy(latencyCount_); bitField0_ |= 0x00000001; } } /** *
       * Duration histogram for non-cache-hit queries.
       * (See docs/histograms.md for the histogram format.)
       * 
* * repeated int64 latency_count = 1; * @return A list containing the latencyCount. */ public java.util.List getLatencyCountList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(latencyCount_) : latencyCount_; } /** *
       * Duration histogram for non-cache-hit queries.
       * (See docs/histograms.md for the histogram format.)
       * 
* * repeated int64 latency_count = 1; * @return The count of latencyCount. */ public int getLatencyCountCount() { return latencyCount_.size(); } /** *
       * Duration histogram for non-cache-hit queries.
       * (See docs/histograms.md for the histogram format.)
       * 
* * repeated int64 latency_count = 1; * @param index The index of the element to return. * @return The latencyCount at the given index. */ public long getLatencyCount(int index) { return latencyCount_.getLong(index); } /** *
       * Duration histogram for non-cache-hit queries.
       * (See docs/histograms.md for the histogram format.)
       * 
* * repeated int64 latency_count = 1; * @param index The index to set the value at. * @param value The latencyCount to set. * @return This builder for chaining. */ public Builder setLatencyCount( int index, long value) { ensureLatencyCountIsMutable(); latencyCount_.setLong(index, value); onChanged(); return this; } /** *
       * Duration histogram for non-cache-hit queries.
       * (See docs/histograms.md for the histogram format.)
       * 
* * repeated int64 latency_count = 1; * @param value The latencyCount to add. * @return This builder for chaining. */ public Builder addLatencyCount(long value) { ensureLatencyCountIsMutable(); latencyCount_.addLong(value); onChanged(); return this; } /** *
       * Duration histogram for non-cache-hit queries.
       * (See docs/histograms.md for the histogram format.)
       * 
* * repeated int64 latency_count = 1; * @param values The latencyCount to add. * @return This builder for chaining. */ public Builder addAllLatencyCount( java.lang.Iterable values) { ensureLatencyCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, latencyCount_); onChanged(); return this; } /** *
       * Duration histogram for non-cache-hit queries.
       * (See docs/histograms.md for the histogram format.)
       * 
* * repeated int64 latency_count = 1; * @return This builder for chaining. */ public Builder clearLatencyCount() { latencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> requestsCountPerVersion_; private com.google.protobuf.MapField internalGetRequestsCountPerVersion() { if (requestsCountPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( RequestsCountPerVersionDefaultEntryHolder.defaultEntry); } return requestsCountPerVersion_; } private com.google.protobuf.MapField internalGetMutableRequestsCountPerVersion() { onChanged();; if (requestsCountPerVersion_ == null) { requestsCountPerVersion_ = com.google.protobuf.MapField.newMapField( RequestsCountPerVersionDefaultEntryHolder.defaultEntry); } if (!requestsCountPerVersion_.isMutable()) { requestsCountPerVersion_ = requestsCountPerVersion_.copy(); } return requestsCountPerVersion_; } public int getRequestsCountPerVersionCount() { return internalGetRequestsCountPerVersion().getMap().size(); } /** *
       * These per-version fields were used to understand what versions contributed to this sample
       * when we were implementing the aggregation of this information ourselves using BigTable.
       * However, since the per-version stats don't separate out latency, it makes more sense to
       * have stats reported with contextual information so we can have the specific breakdown we're
       * looking for. These fields are somewhat misleading as we never actually do any per-version
       * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
       * "query_stats_with_context" to have more contextual information.
       * 
* * map<string, uint64> requests_count_per_version = 3; */ @java.lang.Override public boolean containsRequestsCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetRequestsCountPerVersion().getMap().containsKey(key); } /** * Use {@link #getRequestsCountPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getRequestsCountPerVersion() { return getRequestsCountPerVersionMap(); } /** *
       * These per-version fields were used to understand what versions contributed to this sample
       * when we were implementing the aggregation of this information ourselves using BigTable.
       * However, since the per-version stats don't separate out latency, it makes more sense to
       * have stats reported with contextual information so we can have the specific breakdown we're
       * looking for. These fields are somewhat misleading as we never actually do any per-version
       * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
       * "query_stats_with_context" to have more contextual information.
       * 
* * map<string, uint64> requests_count_per_version = 3; */ @java.lang.Override public java.util.Map getRequestsCountPerVersionMap() { return internalGetRequestsCountPerVersion().getMap(); } /** *
       * These per-version fields were used to understand what versions contributed to this sample
       * when we were implementing the aggregation of this information ourselves using BigTable.
       * However, since the per-version stats don't separate out latency, it makes more sense to
       * have stats reported with contextual information so we can have the specific breakdown we're
       * looking for. These fields are somewhat misleading as we never actually do any per-version
       * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
       * "query_stats_with_context" to have more contextual information.
       * 
* * map<string, uint64> requests_count_per_version = 3; */ @java.lang.Override public long getRequestsCountPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRequestsCountPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * These per-version fields were used to understand what versions contributed to this sample
       * when we were implementing the aggregation of this information ourselves using BigTable.
       * However, since the per-version stats don't separate out latency, it makes more sense to
       * have stats reported with contextual information so we can have the specific breakdown we're
       * looking for. These fields are somewhat misleading as we never actually do any per-version
       * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
       * "query_stats_with_context" to have more contextual information.
       * 
* * map<string, uint64> requests_count_per_version = 3; */ @java.lang.Override public long getRequestsCountPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRequestsCountPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearRequestsCountPerVersion() { internalGetMutableRequestsCountPerVersion().getMutableMap() .clear(); return this; } /** *
       * These per-version fields were used to understand what versions contributed to this sample
       * when we were implementing the aggregation of this information ourselves using BigTable.
       * However, since the per-version stats don't separate out latency, it makes more sense to
       * have stats reported with contextual information so we can have the specific breakdown we're
       * looking for. These fields are somewhat misleading as we never actually do any per-version
       * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
       * "query_stats_with_context" to have more contextual information.
       * 
* * map<string, uint64> requests_count_per_version = 3; */ public Builder removeRequestsCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableRequestsCountPerVersion().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableRequestsCountPerVersion() { return internalGetMutableRequestsCountPerVersion().getMutableMap(); } /** *
       * These per-version fields were used to understand what versions contributed to this sample
       * when we were implementing the aggregation of this information ourselves using BigTable.
       * However, since the per-version stats don't separate out latency, it makes more sense to
       * have stats reported with contextual information so we can have the specific breakdown we're
       * looking for. These fields are somewhat misleading as we never actually do any per-version
       * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
       * "query_stats_with_context" to have more contextual information.
       * 
* * map<string, uint64> requests_count_per_version = 3; */ public Builder putRequestsCountPerVersion( java.lang.String key, long value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableRequestsCountPerVersion().getMutableMap() .put(key, value); return this; } /** *
       * These per-version fields were used to understand what versions contributed to this sample
       * when we were implementing the aggregation of this information ourselves using BigTable.
       * However, since the per-version stats don't separate out latency, it makes more sense to
       * have stats reported with contextual information so we can have the specific breakdown we're
       * looking for. These fields are somewhat misleading as we never actually do any per-version
       * awareness with anything reporting in the legacy "per_client_name" stats, and instead use
       * "query_stats_with_context" to have more contextual information.
       * 
* * map<string, uint64> requests_count_per_version = 3; */ public Builder putAllRequestsCountPerVersion( java.util.Map values) { internalGetMutableRequestsCountPerVersion().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> cacheHitsPerVersion_; private com.google.protobuf.MapField internalGetCacheHitsPerVersion() { if (cacheHitsPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( CacheHitsPerVersionDefaultEntryHolder.defaultEntry); } return cacheHitsPerVersion_; } private com.google.protobuf.MapField internalGetMutableCacheHitsPerVersion() { onChanged();; if (cacheHitsPerVersion_ == null) { cacheHitsPerVersion_ = com.google.protobuf.MapField.newMapField( CacheHitsPerVersionDefaultEntryHolder.defaultEntry); } if (!cacheHitsPerVersion_.isMutable()) { cacheHitsPerVersion_ = cacheHitsPerVersion_.copy(); } return cacheHitsPerVersion_; } public int getCacheHitsPerVersionCount() { return internalGetCacheHitsPerVersion().getMap().size(); } /** * map<string, uint64> cache_hits_per_version = 4; */ @java.lang.Override public boolean containsCacheHitsPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCacheHitsPerVersion().getMap().containsKey(key); } /** * Use {@link #getCacheHitsPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCacheHitsPerVersion() { return getCacheHitsPerVersionMap(); } /** * map<string, uint64> cache_hits_per_version = 4; */ @java.lang.Override public java.util.Map getCacheHitsPerVersionMap() { return internalGetCacheHitsPerVersion().getMap(); } /** * map<string, uint64> cache_hits_per_version = 4; */ @java.lang.Override public long getCacheHitsPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCacheHitsPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> cache_hits_per_version = 4; */ @java.lang.Override public long getCacheHitsPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCacheHitsPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearCacheHitsPerVersion() { internalGetMutableCacheHitsPerVersion().getMutableMap() .clear(); return this; } /** * map<string, uint64> cache_hits_per_version = 4; */ public Builder removeCacheHitsPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableCacheHitsPerVersion().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableCacheHitsPerVersion() { return internalGetMutableCacheHitsPerVersion().getMutableMap(); } /** * map<string, uint64> cache_hits_per_version = 4; */ public Builder putCacheHitsPerVersion( java.lang.String key, long value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableCacheHitsPerVersion().getMutableMap() .put(key, value); return this; } /** * map<string, uint64> cache_hits_per_version = 4; */ public Builder putAllCacheHitsPerVersion( java.util.Map values) { internalGetMutableCacheHitsPerVersion().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> persistedQueryHitsPerVersion_; private com.google.protobuf.MapField internalGetPersistedQueryHitsPerVersion() { if (persistedQueryHitsPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( PersistedQueryHitsPerVersionDefaultEntryHolder.defaultEntry); } return persistedQueryHitsPerVersion_; } private com.google.protobuf.MapField internalGetMutablePersistedQueryHitsPerVersion() { onChanged();; if (persistedQueryHitsPerVersion_ == null) { persistedQueryHitsPerVersion_ = com.google.protobuf.MapField.newMapField( PersistedQueryHitsPerVersionDefaultEntryHolder.defaultEntry); } if (!persistedQueryHitsPerVersion_.isMutable()) { persistedQueryHitsPerVersion_ = persistedQueryHitsPerVersion_.copy(); } return persistedQueryHitsPerVersion_; } public int getPersistedQueryHitsPerVersionCount() { return internalGetPersistedQueryHitsPerVersion().getMap().size(); } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ @java.lang.Override public boolean containsPersistedQueryHitsPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPersistedQueryHitsPerVersion().getMap().containsKey(key); } /** * Use {@link #getPersistedQueryHitsPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPersistedQueryHitsPerVersion() { return getPersistedQueryHitsPerVersionMap(); } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ @java.lang.Override public java.util.Map getPersistedQueryHitsPerVersionMap() { return internalGetPersistedQueryHitsPerVersion().getMap(); } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ @java.lang.Override public long getPersistedQueryHitsPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPersistedQueryHitsPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ @java.lang.Override public long getPersistedQueryHitsPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPersistedQueryHitsPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearPersistedQueryHitsPerVersion() { internalGetMutablePersistedQueryHitsPerVersion().getMutableMap() .clear(); return this; } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ public Builder removePersistedQueryHitsPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePersistedQueryHitsPerVersion().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePersistedQueryHitsPerVersion() { return internalGetMutablePersistedQueryHitsPerVersion().getMutableMap(); } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ public Builder putPersistedQueryHitsPerVersion( java.lang.String key, long value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePersistedQueryHitsPerVersion().getMutableMap() .put(key, value); return this; } /** * map<string, uint64> persisted_query_hits_per_version = 10; */ public Builder putAllPersistedQueryHitsPerVersion( java.util.Map values) { internalGetMutablePersistedQueryHitsPerVersion().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> persistedQueryMissesPerVersion_; private com.google.protobuf.MapField internalGetPersistedQueryMissesPerVersion() { if (persistedQueryMissesPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( PersistedQueryMissesPerVersionDefaultEntryHolder.defaultEntry); } return persistedQueryMissesPerVersion_; } private com.google.protobuf.MapField internalGetMutablePersistedQueryMissesPerVersion() { onChanged();; if (persistedQueryMissesPerVersion_ == null) { persistedQueryMissesPerVersion_ = com.google.protobuf.MapField.newMapField( PersistedQueryMissesPerVersionDefaultEntryHolder.defaultEntry); } if (!persistedQueryMissesPerVersion_.isMutable()) { persistedQueryMissesPerVersion_ = persistedQueryMissesPerVersion_.copy(); } return persistedQueryMissesPerVersion_; } public int getPersistedQueryMissesPerVersionCount() { return internalGetPersistedQueryMissesPerVersion().getMap().size(); } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ @java.lang.Override public boolean containsPersistedQueryMissesPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPersistedQueryMissesPerVersion().getMap().containsKey(key); } /** * Use {@link #getPersistedQueryMissesPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPersistedQueryMissesPerVersion() { return getPersistedQueryMissesPerVersionMap(); } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ @java.lang.Override public java.util.Map getPersistedQueryMissesPerVersionMap() { return internalGetPersistedQueryMissesPerVersion().getMap(); } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ @java.lang.Override public long getPersistedQueryMissesPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPersistedQueryMissesPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ @java.lang.Override public long getPersistedQueryMissesPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPersistedQueryMissesPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearPersistedQueryMissesPerVersion() { internalGetMutablePersistedQueryMissesPerVersion().getMutableMap() .clear(); return this; } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ public Builder removePersistedQueryMissesPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePersistedQueryMissesPerVersion().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePersistedQueryMissesPerVersion() { return internalGetMutablePersistedQueryMissesPerVersion().getMutableMap(); } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ public Builder putPersistedQueryMissesPerVersion( java.lang.String key, long value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePersistedQueryMissesPerVersion().getMutableMap() .put(key, value); return this; } /** * map<string, uint64> persisted_query_misses_per_version = 11; */ public Builder putAllPersistedQueryMissesPerVersion( java.util.Map values) { internalGetMutablePersistedQueryMissesPerVersion().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> registeredOperationCountPerVersion_; private com.google.protobuf.MapField internalGetRegisteredOperationCountPerVersion() { if (registeredOperationCountPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( RegisteredOperationCountPerVersionDefaultEntryHolder.defaultEntry); } return registeredOperationCountPerVersion_; } private com.google.protobuf.MapField internalGetMutableRegisteredOperationCountPerVersion() { onChanged();; if (registeredOperationCountPerVersion_ == null) { registeredOperationCountPerVersion_ = com.google.protobuf.MapField.newMapField( RegisteredOperationCountPerVersionDefaultEntryHolder.defaultEntry); } if (!registeredOperationCountPerVersion_.isMutable()) { registeredOperationCountPerVersion_ = registeredOperationCountPerVersion_.copy(); } return registeredOperationCountPerVersion_; } public int getRegisteredOperationCountPerVersionCount() { return internalGetRegisteredOperationCountPerVersion().getMap().size(); } /** * map<string, uint64> registered_operation_count_per_version = 12; */ @java.lang.Override public boolean containsRegisteredOperationCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetRegisteredOperationCountPerVersion().getMap().containsKey(key); } /** * Use {@link #getRegisteredOperationCountPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getRegisteredOperationCountPerVersion() { return getRegisteredOperationCountPerVersionMap(); } /** * map<string, uint64> registered_operation_count_per_version = 12; */ @java.lang.Override public java.util.Map getRegisteredOperationCountPerVersionMap() { return internalGetRegisteredOperationCountPerVersion().getMap(); } /** * map<string, uint64> registered_operation_count_per_version = 12; */ @java.lang.Override public long getRegisteredOperationCountPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRegisteredOperationCountPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> registered_operation_count_per_version = 12; */ @java.lang.Override public long getRegisteredOperationCountPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetRegisteredOperationCountPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearRegisteredOperationCountPerVersion() { internalGetMutableRegisteredOperationCountPerVersion().getMutableMap() .clear(); return this; } /** * map<string, uint64> registered_operation_count_per_version = 12; */ public Builder removeRegisteredOperationCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableRegisteredOperationCountPerVersion().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableRegisteredOperationCountPerVersion() { return internalGetMutableRegisteredOperationCountPerVersion().getMutableMap(); } /** * map<string, uint64> registered_operation_count_per_version = 12; */ public Builder putRegisteredOperationCountPerVersion( java.lang.String key, long value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableRegisteredOperationCountPerVersion().getMutableMap() .put(key, value); return this; } /** * map<string, uint64> registered_operation_count_per_version = 12; */ public Builder putAllRegisteredOperationCountPerVersion( java.util.Map values) { internalGetMutableRegisteredOperationCountPerVersion().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Long> forbiddenOperationCountPerVersion_; private com.google.protobuf.MapField internalGetForbiddenOperationCountPerVersion() { if (forbiddenOperationCountPerVersion_ == null) { return com.google.protobuf.MapField.emptyMapField( ForbiddenOperationCountPerVersionDefaultEntryHolder.defaultEntry); } return forbiddenOperationCountPerVersion_; } private com.google.protobuf.MapField internalGetMutableForbiddenOperationCountPerVersion() { onChanged();; if (forbiddenOperationCountPerVersion_ == null) { forbiddenOperationCountPerVersion_ = com.google.protobuf.MapField.newMapField( ForbiddenOperationCountPerVersionDefaultEntryHolder.defaultEntry); } if (!forbiddenOperationCountPerVersion_.isMutable()) { forbiddenOperationCountPerVersion_ = forbiddenOperationCountPerVersion_.copy(); } return forbiddenOperationCountPerVersion_; } public int getForbiddenOperationCountPerVersionCount() { return internalGetForbiddenOperationCountPerVersion().getMap().size(); } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ @java.lang.Override public boolean containsForbiddenOperationCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetForbiddenOperationCountPerVersion().getMap().containsKey(key); } /** * Use {@link #getForbiddenOperationCountPerVersionMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getForbiddenOperationCountPerVersion() { return getForbiddenOperationCountPerVersionMap(); } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ @java.lang.Override public java.util.Map getForbiddenOperationCountPerVersionMap() { return internalGetForbiddenOperationCountPerVersion().getMap(); } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ @java.lang.Override public long getForbiddenOperationCountPerVersionOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetForbiddenOperationCountPerVersion().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ @java.lang.Override public long getForbiddenOperationCountPerVersionOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetForbiddenOperationCountPerVersion().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearForbiddenOperationCountPerVersion() { internalGetMutableForbiddenOperationCountPerVersion().getMutableMap() .clear(); return this; } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ public Builder removeForbiddenOperationCountPerVersion( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableForbiddenOperationCountPerVersion().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableForbiddenOperationCountPerVersion() { return internalGetMutableForbiddenOperationCountPerVersion().getMutableMap(); } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ public Builder putForbiddenOperationCountPerVersion( java.lang.String key, long value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableForbiddenOperationCountPerVersion().getMutableMap() .put(key, value); return this; } /** * map<string, uint64> forbidden_operation_count_per_version = 13; */ public Builder putAllForbiddenOperationCountPerVersion( java.util.Map values) { internalGetMutableForbiddenOperationCountPerVersion().getMutableMap() .putAll(values); return this; } private com.google.protobuf.Internal.LongList cacheLatencyCount_ = emptyLongList(); private void ensureCacheLatencyCountIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { cacheLatencyCount_ = mutableCopy(cacheLatencyCount_); bitField0_ |= 0x00000080; } } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 cache_latency_count = 5; * @return A list containing the cacheLatencyCount. */ public java.util.List getCacheLatencyCountList() { return ((bitField0_ & 0x00000080) != 0) ? java.util.Collections.unmodifiableList(cacheLatencyCount_) : cacheLatencyCount_; } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 cache_latency_count = 5; * @return The count of cacheLatencyCount. */ public int getCacheLatencyCountCount() { return cacheLatencyCount_.size(); } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 cache_latency_count = 5; * @param index The index of the element to return. * @return The cacheLatencyCount at the given index. */ public long getCacheLatencyCount(int index) { return cacheLatencyCount_.getLong(index); } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 cache_latency_count = 5; * @param index The index to set the value at. * @param value The cacheLatencyCount to set. * @return This builder for chaining. */ public Builder setCacheLatencyCount( int index, long value) { ensureCacheLatencyCountIsMutable(); cacheLatencyCount_.setLong(index, value); onChanged(); return this; } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 cache_latency_count = 5; * @param value The cacheLatencyCount to add. * @return This builder for chaining. */ public Builder addCacheLatencyCount(long value) { ensureCacheLatencyCountIsMutable(); cacheLatencyCount_.addLong(value); onChanged(); return this; } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 cache_latency_count = 5; * @param values The cacheLatencyCount to add. * @return This builder for chaining. */ public Builder addAllCacheLatencyCount( java.lang.Iterable values) { ensureCacheLatencyCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, cacheLatencyCount_); onChanged(); return this; } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 cache_latency_count = 5; * @return This builder for chaining. */ public Builder clearCacheLatencyCount() { cacheLatencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } private mdg.engine.proto.Reports.PathErrorStats rootErrorStats_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.PathErrorStats, mdg.engine.proto.Reports.PathErrorStats.Builder, mdg.engine.proto.Reports.PathErrorStatsOrBuilder> rootErrorStatsBuilder_; /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; * @return Whether the rootErrorStats field is set. */ public boolean hasRootErrorStats() { return rootErrorStatsBuilder_ != null || rootErrorStats_ != null; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; * @return The rootErrorStats. */ public mdg.engine.proto.Reports.PathErrorStats getRootErrorStats() { if (rootErrorStatsBuilder_ == null) { return rootErrorStats_ == null ? mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance() : rootErrorStats_; } else { return rootErrorStatsBuilder_.getMessage(); } } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ public Builder setRootErrorStats(mdg.engine.proto.Reports.PathErrorStats value) { if (rootErrorStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rootErrorStats_ = value; onChanged(); } else { rootErrorStatsBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ public Builder setRootErrorStats( mdg.engine.proto.Reports.PathErrorStats.Builder builderForValue) { if (rootErrorStatsBuilder_ == null) { rootErrorStats_ = builderForValue.build(); onChanged(); } else { rootErrorStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ public Builder mergeRootErrorStats(mdg.engine.proto.Reports.PathErrorStats value) { if (rootErrorStatsBuilder_ == null) { if (rootErrorStats_ != null) { rootErrorStats_ = mdg.engine.proto.Reports.PathErrorStats.newBuilder(rootErrorStats_).mergeFrom(value).buildPartial(); } else { rootErrorStats_ = value; } onChanged(); } else { rootErrorStatsBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ public Builder clearRootErrorStats() { if (rootErrorStatsBuilder_ == null) { rootErrorStats_ = null; onChanged(); } else { rootErrorStats_ = null; rootErrorStatsBuilder_ = null; } return this; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ public mdg.engine.proto.Reports.PathErrorStats.Builder getRootErrorStatsBuilder() { onChanged(); return getRootErrorStatsFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ public mdg.engine.proto.Reports.PathErrorStatsOrBuilder getRootErrorStatsOrBuilder() { if (rootErrorStatsBuilder_ != null) { return rootErrorStatsBuilder_.getMessageOrBuilder(); } else { return rootErrorStats_ == null ? mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance() : rootErrorStats_; } } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 6; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.PathErrorStats, mdg.engine.proto.Reports.PathErrorStats.Builder, mdg.engine.proto.Reports.PathErrorStatsOrBuilder> getRootErrorStatsFieldBuilder() { if (rootErrorStatsBuilder_ == null) { rootErrorStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.PathErrorStats, mdg.engine.proto.Reports.PathErrorStats.Builder, mdg.engine.proto.Reports.PathErrorStatsOrBuilder>( getRootErrorStats(), getParentForChildren(), isClean()); rootErrorStats_ = null; } return rootErrorStatsBuilder_; } private long requestsWithErrorsCount_ ; /** * uint64 requests_with_errors_count = 7; * @return The requestsWithErrorsCount. */ @java.lang.Override public long getRequestsWithErrorsCount() { return requestsWithErrorsCount_; } /** * uint64 requests_with_errors_count = 7; * @param value The requestsWithErrorsCount to set. * @return This builder for chaining. */ public Builder setRequestsWithErrorsCount(long value) { requestsWithErrorsCount_ = value; onChanged(); return this; } /** * uint64 requests_with_errors_count = 7; * @return This builder for chaining. */ public Builder clearRequestsWithErrorsCount() { requestsWithErrorsCount_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList publicCacheTtlCount_ = emptyLongList(); private void ensurePublicCacheTtlCountIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { publicCacheTtlCount_ = mutableCopy(publicCacheTtlCount_); bitField0_ |= 0x00000100; } } /** *
       * TTL histograms for cache misses for the public cache.
       * 
* * repeated int64 public_cache_ttl_count = 8; * @return A list containing the publicCacheTtlCount. */ public java.util.List getPublicCacheTtlCountList() { return ((bitField0_ & 0x00000100) != 0) ? java.util.Collections.unmodifiableList(publicCacheTtlCount_) : publicCacheTtlCount_; } /** *
       * TTL histograms for cache misses for the public cache.
       * 
* * repeated int64 public_cache_ttl_count = 8; * @return The count of publicCacheTtlCount. */ public int getPublicCacheTtlCountCount() { return publicCacheTtlCount_.size(); } /** *
       * TTL histograms for cache misses for the public cache.
       * 
* * repeated int64 public_cache_ttl_count = 8; * @param index The index of the element to return. * @return The publicCacheTtlCount at the given index. */ public long getPublicCacheTtlCount(int index) { return publicCacheTtlCount_.getLong(index); } /** *
       * TTL histograms for cache misses for the public cache.
       * 
* * repeated int64 public_cache_ttl_count = 8; * @param index The index to set the value at. * @param value The publicCacheTtlCount to set. * @return This builder for chaining. */ public Builder setPublicCacheTtlCount( int index, long value) { ensurePublicCacheTtlCountIsMutable(); publicCacheTtlCount_.setLong(index, value); onChanged(); return this; } /** *
       * TTL histograms for cache misses for the public cache.
       * 
* * repeated int64 public_cache_ttl_count = 8; * @param value The publicCacheTtlCount to add. * @return This builder for chaining. */ public Builder addPublicCacheTtlCount(long value) { ensurePublicCacheTtlCountIsMutable(); publicCacheTtlCount_.addLong(value); onChanged(); return this; } /** *
       * TTL histograms for cache misses for the public cache.
       * 
* * repeated int64 public_cache_ttl_count = 8; * @param values The publicCacheTtlCount to add. * @return This builder for chaining. */ public Builder addAllPublicCacheTtlCount( java.lang.Iterable values) { ensurePublicCacheTtlCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, publicCacheTtlCount_); onChanged(); return this; } /** *
       * TTL histograms for cache misses for the public cache.
       * 
* * repeated int64 public_cache_ttl_count = 8; * @return This builder for chaining. */ public Builder clearPublicCacheTtlCount() { publicCacheTtlCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } private com.google.protobuf.Internal.LongList privateCacheTtlCount_ = emptyLongList(); private void ensurePrivateCacheTtlCountIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { privateCacheTtlCount_ = mutableCopy(privateCacheTtlCount_); bitField0_ |= 0x00000200; } } /** *
       * TTL histograms for cache misses for the private cache.
       * 
* * repeated int64 private_cache_ttl_count = 9; * @return A list containing the privateCacheTtlCount. */ public java.util.List getPrivateCacheTtlCountList() { return ((bitField0_ & 0x00000200) != 0) ? java.util.Collections.unmodifiableList(privateCacheTtlCount_) : privateCacheTtlCount_; } /** *
       * TTL histograms for cache misses for the private cache.
       * 
* * repeated int64 private_cache_ttl_count = 9; * @return The count of privateCacheTtlCount. */ public int getPrivateCacheTtlCountCount() { return privateCacheTtlCount_.size(); } /** *
       * TTL histograms for cache misses for the private cache.
       * 
* * repeated int64 private_cache_ttl_count = 9; * @param index The index of the element to return. * @return The privateCacheTtlCount at the given index. */ public long getPrivateCacheTtlCount(int index) { return privateCacheTtlCount_.getLong(index); } /** *
       * TTL histograms for cache misses for the private cache.
       * 
* * repeated int64 private_cache_ttl_count = 9; * @param index The index to set the value at. * @param value The privateCacheTtlCount to set. * @return This builder for chaining. */ public Builder setPrivateCacheTtlCount( int index, long value) { ensurePrivateCacheTtlCountIsMutable(); privateCacheTtlCount_.setLong(index, value); onChanged(); return this; } /** *
       * TTL histograms for cache misses for the private cache.
       * 
* * repeated int64 private_cache_ttl_count = 9; * @param value The privateCacheTtlCount to add. * @return This builder for chaining. */ public Builder addPrivateCacheTtlCount(long value) { ensurePrivateCacheTtlCountIsMutable(); privateCacheTtlCount_.addLong(value); onChanged(); return this; } /** *
       * TTL histograms for cache misses for the private cache.
       * 
* * repeated int64 private_cache_ttl_count = 9; * @param values The privateCacheTtlCount to add. * @return This builder for chaining. */ public Builder addAllPrivateCacheTtlCount( java.lang.Iterable values) { ensurePrivateCacheTtlCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, privateCacheTtlCount_); onChanged(); return this; } /** *
       * TTL histograms for cache misses for the private cache.
       * 
* * repeated int64 private_cache_ttl_count = 9; * @return This builder for chaining. */ public Builder clearPrivateCacheTtlCount() { privateCacheTtlCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000200); 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:mdg.engine.proto.ClientNameStats) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.ClientNameStats) private static final mdg.engine.proto.Reports.ClientNameStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.ClientNameStats(); } public static mdg.engine.proto.Reports.ClientNameStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClientNameStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientNameStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.ClientNameStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryLatencyStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.QueryLatencyStats) com.google.protobuf.MessageOrBuilder { /** * repeated int64 latency_count = 1; * @return A list containing the latencyCount. */ java.util.List getLatencyCountList(); /** * repeated int64 latency_count = 1; * @return The count of latencyCount. */ int getLatencyCountCount(); /** * repeated int64 latency_count = 1; * @param index The index of the element to return. * @return The latencyCount at the given index. */ long getLatencyCount(int index); /** * uint64 request_count = 2; * @return The requestCount. */ long getRequestCount(); /** * uint64 cache_hits = 3; * @return The cacheHits. */ long getCacheHits(); /** * uint64 persisted_query_hits = 4; * @return The persistedQueryHits. */ long getPersistedQueryHits(); /** * uint64 persisted_query_misses = 5; * @return The persistedQueryMisses. */ long getPersistedQueryMisses(); /** * repeated int64 cache_latency_count = 6; * @return A list containing the cacheLatencyCount. */ java.util.List getCacheLatencyCountList(); /** * repeated int64 cache_latency_count = 6; * @return The count of cacheLatencyCount. */ int getCacheLatencyCountCount(); /** * repeated int64 cache_latency_count = 6; * @param index The index of the element to return. * @return The cacheLatencyCount at the given index. */ long getCacheLatencyCount(int index); /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; * @return Whether the rootErrorStats field is set. */ boolean hasRootErrorStats(); /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; * @return The rootErrorStats. */ mdg.engine.proto.Reports.PathErrorStats getRootErrorStats(); /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ mdg.engine.proto.Reports.PathErrorStatsOrBuilder getRootErrorStatsOrBuilder(); /** * uint64 requests_with_errors_count = 8; * @return The requestsWithErrorsCount. */ long getRequestsWithErrorsCount(); /** * repeated int64 public_cache_ttl_count = 9; * @return A list containing the publicCacheTtlCount. */ java.util.List getPublicCacheTtlCountList(); /** * repeated int64 public_cache_ttl_count = 9; * @return The count of publicCacheTtlCount. */ int getPublicCacheTtlCountCount(); /** * repeated int64 public_cache_ttl_count = 9; * @param index The index of the element to return. * @return The publicCacheTtlCount at the given index. */ long getPublicCacheTtlCount(int index); /** * repeated int64 private_cache_ttl_count = 10; * @return A list containing the privateCacheTtlCount. */ java.util.List getPrivateCacheTtlCountList(); /** * repeated int64 private_cache_ttl_count = 10; * @return The count of privateCacheTtlCount. */ int getPrivateCacheTtlCountCount(); /** * repeated int64 private_cache_ttl_count = 10; * @param index The index of the element to return. * @return The privateCacheTtlCount at the given index. */ long getPrivateCacheTtlCount(int index); /** * uint64 registered_operation_count = 11; * @return The registeredOperationCount. */ long getRegisteredOperationCount(); /** * uint64 forbidden_operation_count = 12; * @return The forbiddenOperationCount. */ long getForbiddenOperationCount(); } /** * Protobuf type {@code mdg.engine.proto.QueryLatencyStats} */ public static final class QueryLatencyStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.QueryLatencyStats) QueryLatencyStatsOrBuilder { private static final long serialVersionUID = 0L; // Use QueryLatencyStats.newBuilder() to construct. private QueryLatencyStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryLatencyStats() { latencyCount_ = emptyLongList(); cacheLatencyCount_ = emptyLongList(); publicCacheTtlCount_ = emptyLongList(); privateCacheTtlCount_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryLatencyStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryLatencyStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { latencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000001; } latencyCount_.addLong(input.readInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { latencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { latencyCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 16: { requestCount_ = input.readUInt64(); break; } case 24: { cacheHits_ = input.readUInt64(); break; } case 32: { persistedQueryHits_ = input.readUInt64(); break; } case 40: { persistedQueryMisses_ = input.readUInt64(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { cacheLatencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000002; } cacheLatencyCount_.addLong(input.readInt64()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { cacheLatencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { cacheLatencyCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 58: { mdg.engine.proto.Reports.PathErrorStats.Builder subBuilder = null; if (rootErrorStats_ != null) { subBuilder = rootErrorStats_.toBuilder(); } rootErrorStats_ = input.readMessage(mdg.engine.proto.Reports.PathErrorStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rootErrorStats_); rootErrorStats_ = subBuilder.buildPartial(); } break; } case 64: { requestsWithErrorsCount_ = input.readUInt64(); break; } case 72: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { publicCacheTtlCount_ = newLongList(); mutable_bitField0_ |= 0x00000004; } publicCacheTtlCount_.addLong(input.readInt64()); break; } case 74: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { publicCacheTtlCount_ = newLongList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { publicCacheTtlCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 80: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { privateCacheTtlCount_ = newLongList(); mutable_bitField0_ |= 0x00000008; } privateCacheTtlCount_.addLong(input.readInt64()); break; } case 82: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { privateCacheTtlCount_ = newLongList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { privateCacheTtlCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 88: { registeredOperationCount_ = input.readUInt64(); break; } case 96: { forbiddenOperationCount_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { latencyCount_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000002) != 0)) { cacheLatencyCount_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000004) != 0)) { publicCacheTtlCount_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000008) != 0)) { privateCacheTtlCount_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryLatencyStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryLatencyStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.QueryLatencyStats.class, mdg.engine.proto.Reports.QueryLatencyStats.Builder.class); } public static final int LATENCY_COUNT_FIELD_NUMBER = 1; private com.google.protobuf.Internal.LongList latencyCount_; /** * repeated int64 latency_count = 1; * @return A list containing the latencyCount. */ @java.lang.Override public java.util.List getLatencyCountList() { return latencyCount_; } /** * repeated int64 latency_count = 1; * @return The count of latencyCount. */ public int getLatencyCountCount() { return latencyCount_.size(); } /** * repeated int64 latency_count = 1; * @param index The index of the element to return. * @return The latencyCount at the given index. */ public long getLatencyCount(int index) { return latencyCount_.getLong(index); } private int latencyCountMemoizedSerializedSize = -1; public static final int REQUEST_COUNT_FIELD_NUMBER = 2; private long requestCount_; /** * uint64 request_count = 2; * @return The requestCount. */ @java.lang.Override public long getRequestCount() { return requestCount_; } public static final int CACHE_HITS_FIELD_NUMBER = 3; private long cacheHits_; /** * uint64 cache_hits = 3; * @return The cacheHits. */ @java.lang.Override public long getCacheHits() { return cacheHits_; } public static final int PERSISTED_QUERY_HITS_FIELD_NUMBER = 4; private long persistedQueryHits_; /** * uint64 persisted_query_hits = 4; * @return The persistedQueryHits. */ @java.lang.Override public long getPersistedQueryHits() { return persistedQueryHits_; } public static final int PERSISTED_QUERY_MISSES_FIELD_NUMBER = 5; private long persistedQueryMisses_; /** * uint64 persisted_query_misses = 5; * @return The persistedQueryMisses. */ @java.lang.Override public long getPersistedQueryMisses() { return persistedQueryMisses_; } public static final int CACHE_LATENCY_COUNT_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList cacheLatencyCount_; /** * repeated int64 cache_latency_count = 6; * @return A list containing the cacheLatencyCount. */ @java.lang.Override public java.util.List getCacheLatencyCountList() { return cacheLatencyCount_; } /** * repeated int64 cache_latency_count = 6; * @return The count of cacheLatencyCount. */ public int getCacheLatencyCountCount() { return cacheLatencyCount_.size(); } /** * repeated int64 cache_latency_count = 6; * @param index The index of the element to return. * @return The cacheLatencyCount at the given index. */ public long getCacheLatencyCount(int index) { return cacheLatencyCount_.getLong(index); } private int cacheLatencyCountMemoizedSerializedSize = -1; public static final int ROOT_ERROR_STATS_FIELD_NUMBER = 7; private mdg.engine.proto.Reports.PathErrorStats rootErrorStats_; /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; * @return Whether the rootErrorStats field is set. */ @java.lang.Override public boolean hasRootErrorStats() { return rootErrorStats_ != null; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; * @return The rootErrorStats. */ @java.lang.Override public mdg.engine.proto.Reports.PathErrorStats getRootErrorStats() { return rootErrorStats_ == null ? mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance() : rootErrorStats_; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ @java.lang.Override public mdg.engine.proto.Reports.PathErrorStatsOrBuilder getRootErrorStatsOrBuilder() { return getRootErrorStats(); } public static final int REQUESTS_WITH_ERRORS_COUNT_FIELD_NUMBER = 8; private long requestsWithErrorsCount_; /** * uint64 requests_with_errors_count = 8; * @return The requestsWithErrorsCount. */ @java.lang.Override public long getRequestsWithErrorsCount() { return requestsWithErrorsCount_; } public static final int PUBLIC_CACHE_TTL_COUNT_FIELD_NUMBER = 9; private com.google.protobuf.Internal.LongList publicCacheTtlCount_; /** * repeated int64 public_cache_ttl_count = 9; * @return A list containing the publicCacheTtlCount. */ @java.lang.Override public java.util.List getPublicCacheTtlCountList() { return publicCacheTtlCount_; } /** * repeated int64 public_cache_ttl_count = 9; * @return The count of publicCacheTtlCount. */ public int getPublicCacheTtlCountCount() { return publicCacheTtlCount_.size(); } /** * repeated int64 public_cache_ttl_count = 9; * @param index The index of the element to return. * @return The publicCacheTtlCount at the given index. */ public long getPublicCacheTtlCount(int index) { return publicCacheTtlCount_.getLong(index); } private int publicCacheTtlCountMemoizedSerializedSize = -1; public static final int PRIVATE_CACHE_TTL_COUNT_FIELD_NUMBER = 10; private com.google.protobuf.Internal.LongList privateCacheTtlCount_; /** * repeated int64 private_cache_ttl_count = 10; * @return A list containing the privateCacheTtlCount. */ @java.lang.Override public java.util.List getPrivateCacheTtlCountList() { return privateCacheTtlCount_; } /** * repeated int64 private_cache_ttl_count = 10; * @return The count of privateCacheTtlCount. */ public int getPrivateCacheTtlCountCount() { return privateCacheTtlCount_.size(); } /** * repeated int64 private_cache_ttl_count = 10; * @param index The index of the element to return. * @return The privateCacheTtlCount at the given index. */ public long getPrivateCacheTtlCount(int index) { return privateCacheTtlCount_.getLong(index); } private int privateCacheTtlCountMemoizedSerializedSize = -1; public static final int REGISTERED_OPERATION_COUNT_FIELD_NUMBER = 11; private long registeredOperationCount_; /** * uint64 registered_operation_count = 11; * @return The registeredOperationCount. */ @java.lang.Override public long getRegisteredOperationCount() { return registeredOperationCount_; } public static final int FORBIDDEN_OPERATION_COUNT_FIELD_NUMBER = 12; private long forbiddenOperationCount_; /** * uint64 forbidden_operation_count = 12; * @return The forbiddenOperationCount. */ @java.lang.Override public long getForbiddenOperationCount() { return forbiddenOperationCount_; } 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 { getSerializedSize(); if (getLatencyCountList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(latencyCountMemoizedSerializedSize); } for (int i = 0; i < latencyCount_.size(); i++) { output.writeInt64NoTag(latencyCount_.getLong(i)); } if (requestCount_ != 0L) { output.writeUInt64(2, requestCount_); } if (cacheHits_ != 0L) { output.writeUInt64(3, cacheHits_); } if (persistedQueryHits_ != 0L) { output.writeUInt64(4, persistedQueryHits_); } if (persistedQueryMisses_ != 0L) { output.writeUInt64(5, persistedQueryMisses_); } if (getCacheLatencyCountList().size() > 0) { output.writeUInt32NoTag(50); output.writeUInt32NoTag(cacheLatencyCountMemoizedSerializedSize); } for (int i = 0; i < cacheLatencyCount_.size(); i++) { output.writeInt64NoTag(cacheLatencyCount_.getLong(i)); } if (rootErrorStats_ != null) { output.writeMessage(7, getRootErrorStats()); } if (requestsWithErrorsCount_ != 0L) { output.writeUInt64(8, requestsWithErrorsCount_); } if (getPublicCacheTtlCountList().size() > 0) { output.writeUInt32NoTag(74); output.writeUInt32NoTag(publicCacheTtlCountMemoizedSerializedSize); } for (int i = 0; i < publicCacheTtlCount_.size(); i++) { output.writeInt64NoTag(publicCacheTtlCount_.getLong(i)); } if (getPrivateCacheTtlCountList().size() > 0) { output.writeUInt32NoTag(82); output.writeUInt32NoTag(privateCacheTtlCountMemoizedSerializedSize); } for (int i = 0; i < privateCacheTtlCount_.size(); i++) { output.writeInt64NoTag(privateCacheTtlCount_.getLong(i)); } if (registeredOperationCount_ != 0L) { output.writeUInt64(11, registeredOperationCount_); } if (forbiddenOperationCount_ != 0L) { output.writeUInt64(12, forbiddenOperationCount_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < latencyCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(latencyCount_.getLong(i)); } size += dataSize; if (!getLatencyCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } latencyCountMemoizedSerializedSize = dataSize; } if (requestCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, requestCount_); } if (cacheHits_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, cacheHits_); } if (persistedQueryHits_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, persistedQueryHits_); } if (persistedQueryMisses_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, persistedQueryMisses_); } { int dataSize = 0; for (int i = 0; i < cacheLatencyCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(cacheLatencyCount_.getLong(i)); } size += dataSize; if (!getCacheLatencyCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } cacheLatencyCountMemoizedSerializedSize = dataSize; } if (rootErrorStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getRootErrorStats()); } if (requestsWithErrorsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(8, requestsWithErrorsCount_); } { int dataSize = 0; for (int i = 0; i < publicCacheTtlCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(publicCacheTtlCount_.getLong(i)); } size += dataSize; if (!getPublicCacheTtlCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } publicCacheTtlCountMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < privateCacheTtlCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(privateCacheTtlCount_.getLong(i)); } size += dataSize; if (!getPrivateCacheTtlCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } privateCacheTtlCountMemoizedSerializedSize = dataSize; } if (registeredOperationCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, registeredOperationCount_); } if (forbiddenOperationCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(12, forbiddenOperationCount_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.QueryLatencyStats)) { return super.equals(obj); } mdg.engine.proto.Reports.QueryLatencyStats other = (mdg.engine.proto.Reports.QueryLatencyStats) obj; if (!getLatencyCountList() .equals(other.getLatencyCountList())) return false; if (getRequestCount() != other.getRequestCount()) return false; if (getCacheHits() != other.getCacheHits()) return false; if (getPersistedQueryHits() != other.getPersistedQueryHits()) return false; if (getPersistedQueryMisses() != other.getPersistedQueryMisses()) return false; if (!getCacheLatencyCountList() .equals(other.getCacheLatencyCountList())) return false; if (hasRootErrorStats() != other.hasRootErrorStats()) return false; if (hasRootErrorStats()) { if (!getRootErrorStats() .equals(other.getRootErrorStats())) return false; } if (getRequestsWithErrorsCount() != other.getRequestsWithErrorsCount()) return false; if (!getPublicCacheTtlCountList() .equals(other.getPublicCacheTtlCountList())) return false; if (!getPrivateCacheTtlCountList() .equals(other.getPrivateCacheTtlCountList())) return false; if (getRegisteredOperationCount() != other.getRegisteredOperationCount()) return false; if (getForbiddenOperationCount() != other.getForbiddenOperationCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getLatencyCountCount() > 0) { hash = (37 * hash) + LATENCY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getLatencyCountList().hashCode(); } hash = (37 * hash) + REQUEST_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequestCount()); hash = (37 * hash) + CACHE_HITS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCacheHits()); hash = (37 * hash) + PERSISTED_QUERY_HITS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPersistedQueryHits()); hash = (37 * hash) + PERSISTED_QUERY_MISSES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPersistedQueryMisses()); if (getCacheLatencyCountCount() > 0) { hash = (37 * hash) + CACHE_LATENCY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getCacheLatencyCountList().hashCode(); } if (hasRootErrorStats()) { hash = (37 * hash) + ROOT_ERROR_STATS_FIELD_NUMBER; hash = (53 * hash) + getRootErrorStats().hashCode(); } hash = (37 * hash) + REQUESTS_WITH_ERRORS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequestsWithErrorsCount()); if (getPublicCacheTtlCountCount() > 0) { hash = (37 * hash) + PUBLIC_CACHE_TTL_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPublicCacheTtlCountList().hashCode(); } if (getPrivateCacheTtlCountCount() > 0) { hash = (37 * hash) + PRIVATE_CACHE_TTL_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPrivateCacheTtlCountList().hashCode(); } hash = (37 * hash) + REGISTERED_OPERATION_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRegisteredOperationCount()); hash = (37 * hash) + FORBIDDEN_OPERATION_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getForbiddenOperationCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.QueryLatencyStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.QueryLatencyStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.QueryLatencyStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.QueryLatencyStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.QueryLatencyStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.QueryLatencyStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.QueryLatencyStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.QueryLatencyStats 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 mdg.engine.proto.Reports.QueryLatencyStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.QueryLatencyStats 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 mdg.engine.proto.Reports.QueryLatencyStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.QueryLatencyStats 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(mdg.engine.proto.Reports.QueryLatencyStats 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 mdg.engine.proto.QueryLatencyStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.QueryLatencyStats) mdg.engine.proto.Reports.QueryLatencyStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryLatencyStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryLatencyStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.QueryLatencyStats.class, mdg.engine.proto.Reports.QueryLatencyStats.Builder.class); } // Construct using mdg.engine.proto.Reports.QueryLatencyStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); latencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); requestCount_ = 0L; cacheHits_ = 0L; persistedQueryHits_ = 0L; persistedQueryMisses_ = 0L; cacheLatencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); if (rootErrorStatsBuilder_ == null) { rootErrorStats_ = null; } else { rootErrorStats_ = null; rootErrorStatsBuilder_ = null; } requestsWithErrorsCount_ = 0L; publicCacheTtlCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000004); privateCacheTtlCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000008); registeredOperationCount_ = 0L; forbiddenOperationCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryLatencyStats_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.QueryLatencyStats getDefaultInstanceForType() { return mdg.engine.proto.Reports.QueryLatencyStats.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.QueryLatencyStats build() { mdg.engine.proto.Reports.QueryLatencyStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.QueryLatencyStats buildPartial() { mdg.engine.proto.Reports.QueryLatencyStats result = new mdg.engine.proto.Reports.QueryLatencyStats(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { latencyCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.latencyCount_ = latencyCount_; result.requestCount_ = requestCount_; result.cacheHits_ = cacheHits_; result.persistedQueryHits_ = persistedQueryHits_; result.persistedQueryMisses_ = persistedQueryMisses_; if (((bitField0_ & 0x00000002) != 0)) { cacheLatencyCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.cacheLatencyCount_ = cacheLatencyCount_; if (rootErrorStatsBuilder_ == null) { result.rootErrorStats_ = rootErrorStats_; } else { result.rootErrorStats_ = rootErrorStatsBuilder_.build(); } result.requestsWithErrorsCount_ = requestsWithErrorsCount_; if (((bitField0_ & 0x00000004) != 0)) { publicCacheTtlCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.publicCacheTtlCount_ = publicCacheTtlCount_; if (((bitField0_ & 0x00000008) != 0)) { privateCacheTtlCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } result.privateCacheTtlCount_ = privateCacheTtlCount_; result.registeredOperationCount_ = registeredOperationCount_; result.forbiddenOperationCount_ = forbiddenOperationCount_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.QueryLatencyStats) { return mergeFrom((mdg.engine.proto.Reports.QueryLatencyStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.QueryLatencyStats other) { if (other == mdg.engine.proto.Reports.QueryLatencyStats.getDefaultInstance()) return this; if (!other.latencyCount_.isEmpty()) { if (latencyCount_.isEmpty()) { latencyCount_ = other.latencyCount_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLatencyCountIsMutable(); latencyCount_.addAll(other.latencyCount_); } onChanged(); } if (other.getRequestCount() != 0L) { setRequestCount(other.getRequestCount()); } if (other.getCacheHits() != 0L) { setCacheHits(other.getCacheHits()); } if (other.getPersistedQueryHits() != 0L) { setPersistedQueryHits(other.getPersistedQueryHits()); } if (other.getPersistedQueryMisses() != 0L) { setPersistedQueryMisses(other.getPersistedQueryMisses()); } if (!other.cacheLatencyCount_.isEmpty()) { if (cacheLatencyCount_.isEmpty()) { cacheLatencyCount_ = other.cacheLatencyCount_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCacheLatencyCountIsMutable(); cacheLatencyCount_.addAll(other.cacheLatencyCount_); } onChanged(); } if (other.hasRootErrorStats()) { mergeRootErrorStats(other.getRootErrorStats()); } if (other.getRequestsWithErrorsCount() != 0L) { setRequestsWithErrorsCount(other.getRequestsWithErrorsCount()); } if (!other.publicCacheTtlCount_.isEmpty()) { if (publicCacheTtlCount_.isEmpty()) { publicCacheTtlCount_ = other.publicCacheTtlCount_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensurePublicCacheTtlCountIsMutable(); publicCacheTtlCount_.addAll(other.publicCacheTtlCount_); } onChanged(); } if (!other.privateCacheTtlCount_.isEmpty()) { if (privateCacheTtlCount_.isEmpty()) { privateCacheTtlCount_ = other.privateCacheTtlCount_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePrivateCacheTtlCountIsMutable(); privateCacheTtlCount_.addAll(other.privateCacheTtlCount_); } onChanged(); } if (other.getRegisteredOperationCount() != 0L) { setRegisteredOperationCount(other.getRegisteredOperationCount()); } if (other.getForbiddenOperationCount() != 0L) { setForbiddenOperationCount(other.getForbiddenOperationCount()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.QueryLatencyStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.QueryLatencyStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.LongList latencyCount_ = emptyLongList(); private void ensureLatencyCountIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { latencyCount_ = mutableCopy(latencyCount_); bitField0_ |= 0x00000001; } } /** * repeated int64 latency_count = 1; * @return A list containing the latencyCount. */ public java.util.List getLatencyCountList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(latencyCount_) : latencyCount_; } /** * repeated int64 latency_count = 1; * @return The count of latencyCount. */ public int getLatencyCountCount() { return latencyCount_.size(); } /** * repeated int64 latency_count = 1; * @param index The index of the element to return. * @return The latencyCount at the given index. */ public long getLatencyCount(int index) { return latencyCount_.getLong(index); } /** * repeated int64 latency_count = 1; * @param index The index to set the value at. * @param value The latencyCount to set. * @return This builder for chaining. */ public Builder setLatencyCount( int index, long value) { ensureLatencyCountIsMutable(); latencyCount_.setLong(index, value); onChanged(); return this; } /** * repeated int64 latency_count = 1; * @param value The latencyCount to add. * @return This builder for chaining. */ public Builder addLatencyCount(long value) { ensureLatencyCountIsMutable(); latencyCount_.addLong(value); onChanged(); return this; } /** * repeated int64 latency_count = 1; * @param values The latencyCount to add. * @return This builder for chaining. */ public Builder addAllLatencyCount( java.lang.Iterable values) { ensureLatencyCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, latencyCount_); onChanged(); return this; } /** * repeated int64 latency_count = 1; * @return This builder for chaining. */ public Builder clearLatencyCount() { latencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private long requestCount_ ; /** * uint64 request_count = 2; * @return The requestCount. */ @java.lang.Override public long getRequestCount() { return requestCount_; } /** * uint64 request_count = 2; * @param value The requestCount to set. * @return This builder for chaining. */ public Builder setRequestCount(long value) { requestCount_ = value; onChanged(); return this; } /** * uint64 request_count = 2; * @return This builder for chaining. */ public Builder clearRequestCount() { requestCount_ = 0L; onChanged(); return this; } private long cacheHits_ ; /** * uint64 cache_hits = 3; * @return The cacheHits. */ @java.lang.Override public long getCacheHits() { return cacheHits_; } /** * uint64 cache_hits = 3; * @param value The cacheHits to set. * @return This builder for chaining. */ public Builder setCacheHits(long value) { cacheHits_ = value; onChanged(); return this; } /** * uint64 cache_hits = 3; * @return This builder for chaining. */ public Builder clearCacheHits() { cacheHits_ = 0L; onChanged(); return this; } private long persistedQueryHits_ ; /** * uint64 persisted_query_hits = 4; * @return The persistedQueryHits. */ @java.lang.Override public long getPersistedQueryHits() { return persistedQueryHits_; } /** * uint64 persisted_query_hits = 4; * @param value The persistedQueryHits to set. * @return This builder for chaining. */ public Builder setPersistedQueryHits(long value) { persistedQueryHits_ = value; onChanged(); return this; } /** * uint64 persisted_query_hits = 4; * @return This builder for chaining. */ public Builder clearPersistedQueryHits() { persistedQueryHits_ = 0L; onChanged(); return this; } private long persistedQueryMisses_ ; /** * uint64 persisted_query_misses = 5; * @return The persistedQueryMisses. */ @java.lang.Override public long getPersistedQueryMisses() { return persistedQueryMisses_; } /** * uint64 persisted_query_misses = 5; * @param value The persistedQueryMisses to set. * @return This builder for chaining. */ public Builder setPersistedQueryMisses(long value) { persistedQueryMisses_ = value; onChanged(); return this; } /** * uint64 persisted_query_misses = 5; * @return This builder for chaining. */ public Builder clearPersistedQueryMisses() { persistedQueryMisses_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList cacheLatencyCount_ = emptyLongList(); private void ensureCacheLatencyCountIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { cacheLatencyCount_ = mutableCopy(cacheLatencyCount_); bitField0_ |= 0x00000002; } } /** * repeated int64 cache_latency_count = 6; * @return A list containing the cacheLatencyCount. */ public java.util.List getCacheLatencyCountList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(cacheLatencyCount_) : cacheLatencyCount_; } /** * repeated int64 cache_latency_count = 6; * @return The count of cacheLatencyCount. */ public int getCacheLatencyCountCount() { return cacheLatencyCount_.size(); } /** * repeated int64 cache_latency_count = 6; * @param index The index of the element to return. * @return The cacheLatencyCount at the given index. */ public long getCacheLatencyCount(int index) { return cacheLatencyCount_.getLong(index); } /** * repeated int64 cache_latency_count = 6; * @param index The index to set the value at. * @param value The cacheLatencyCount to set. * @return This builder for chaining. */ public Builder setCacheLatencyCount( int index, long value) { ensureCacheLatencyCountIsMutable(); cacheLatencyCount_.setLong(index, value); onChanged(); return this; } /** * repeated int64 cache_latency_count = 6; * @param value The cacheLatencyCount to add. * @return This builder for chaining. */ public Builder addCacheLatencyCount(long value) { ensureCacheLatencyCountIsMutable(); cacheLatencyCount_.addLong(value); onChanged(); return this; } /** * repeated int64 cache_latency_count = 6; * @param values The cacheLatencyCount to add. * @return This builder for chaining. */ public Builder addAllCacheLatencyCount( java.lang.Iterable values) { ensureCacheLatencyCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, cacheLatencyCount_); onChanged(); return this; } /** * repeated int64 cache_latency_count = 6; * @return This builder for chaining. */ public Builder clearCacheLatencyCount() { cacheLatencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private mdg.engine.proto.Reports.PathErrorStats rootErrorStats_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.PathErrorStats, mdg.engine.proto.Reports.PathErrorStats.Builder, mdg.engine.proto.Reports.PathErrorStatsOrBuilder> rootErrorStatsBuilder_; /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; * @return Whether the rootErrorStats field is set. */ public boolean hasRootErrorStats() { return rootErrorStatsBuilder_ != null || rootErrorStats_ != null; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; * @return The rootErrorStats. */ public mdg.engine.proto.Reports.PathErrorStats getRootErrorStats() { if (rootErrorStatsBuilder_ == null) { return rootErrorStats_ == null ? mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance() : rootErrorStats_; } else { return rootErrorStatsBuilder_.getMessage(); } } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ public Builder setRootErrorStats(mdg.engine.proto.Reports.PathErrorStats value) { if (rootErrorStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rootErrorStats_ = value; onChanged(); } else { rootErrorStatsBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ public Builder setRootErrorStats( mdg.engine.proto.Reports.PathErrorStats.Builder builderForValue) { if (rootErrorStatsBuilder_ == null) { rootErrorStats_ = builderForValue.build(); onChanged(); } else { rootErrorStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ public Builder mergeRootErrorStats(mdg.engine.proto.Reports.PathErrorStats value) { if (rootErrorStatsBuilder_ == null) { if (rootErrorStats_ != null) { rootErrorStats_ = mdg.engine.proto.Reports.PathErrorStats.newBuilder(rootErrorStats_).mergeFrom(value).buildPartial(); } else { rootErrorStats_ = value; } onChanged(); } else { rootErrorStatsBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ public Builder clearRootErrorStats() { if (rootErrorStatsBuilder_ == null) { rootErrorStats_ = null; onChanged(); } else { rootErrorStats_ = null; rootErrorStatsBuilder_ = null; } return this; } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ public mdg.engine.proto.Reports.PathErrorStats.Builder getRootErrorStatsBuilder() { onChanged(); return getRootErrorStatsFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ public mdg.engine.proto.Reports.PathErrorStatsOrBuilder getRootErrorStatsOrBuilder() { if (rootErrorStatsBuilder_ != null) { return rootErrorStatsBuilder_.getMessageOrBuilder(); } else { return rootErrorStats_ == null ? mdg.engine.proto.Reports.PathErrorStats.getDefaultInstance() : rootErrorStats_; } } /** * .mdg.engine.proto.PathErrorStats root_error_stats = 7; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.PathErrorStats, mdg.engine.proto.Reports.PathErrorStats.Builder, mdg.engine.proto.Reports.PathErrorStatsOrBuilder> getRootErrorStatsFieldBuilder() { if (rootErrorStatsBuilder_ == null) { rootErrorStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.PathErrorStats, mdg.engine.proto.Reports.PathErrorStats.Builder, mdg.engine.proto.Reports.PathErrorStatsOrBuilder>( getRootErrorStats(), getParentForChildren(), isClean()); rootErrorStats_ = null; } return rootErrorStatsBuilder_; } private long requestsWithErrorsCount_ ; /** * uint64 requests_with_errors_count = 8; * @return The requestsWithErrorsCount. */ @java.lang.Override public long getRequestsWithErrorsCount() { return requestsWithErrorsCount_; } /** * uint64 requests_with_errors_count = 8; * @param value The requestsWithErrorsCount to set. * @return This builder for chaining. */ public Builder setRequestsWithErrorsCount(long value) { requestsWithErrorsCount_ = value; onChanged(); return this; } /** * uint64 requests_with_errors_count = 8; * @return This builder for chaining. */ public Builder clearRequestsWithErrorsCount() { requestsWithErrorsCount_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList publicCacheTtlCount_ = emptyLongList(); private void ensurePublicCacheTtlCountIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { publicCacheTtlCount_ = mutableCopy(publicCacheTtlCount_); bitField0_ |= 0x00000004; } } /** * repeated int64 public_cache_ttl_count = 9; * @return A list containing the publicCacheTtlCount. */ public java.util.List getPublicCacheTtlCountList() { return ((bitField0_ & 0x00000004) != 0) ? java.util.Collections.unmodifiableList(publicCacheTtlCount_) : publicCacheTtlCount_; } /** * repeated int64 public_cache_ttl_count = 9; * @return The count of publicCacheTtlCount. */ public int getPublicCacheTtlCountCount() { return publicCacheTtlCount_.size(); } /** * repeated int64 public_cache_ttl_count = 9; * @param index The index of the element to return. * @return The publicCacheTtlCount at the given index. */ public long getPublicCacheTtlCount(int index) { return publicCacheTtlCount_.getLong(index); } /** * repeated int64 public_cache_ttl_count = 9; * @param index The index to set the value at. * @param value The publicCacheTtlCount to set. * @return This builder for chaining. */ public Builder setPublicCacheTtlCount( int index, long value) { ensurePublicCacheTtlCountIsMutable(); publicCacheTtlCount_.setLong(index, value); onChanged(); return this; } /** * repeated int64 public_cache_ttl_count = 9; * @param value The publicCacheTtlCount to add. * @return This builder for chaining. */ public Builder addPublicCacheTtlCount(long value) { ensurePublicCacheTtlCountIsMutable(); publicCacheTtlCount_.addLong(value); onChanged(); return this; } /** * repeated int64 public_cache_ttl_count = 9; * @param values The publicCacheTtlCount to add. * @return This builder for chaining. */ public Builder addAllPublicCacheTtlCount( java.lang.Iterable values) { ensurePublicCacheTtlCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, publicCacheTtlCount_); onChanged(); return this; } /** * repeated int64 public_cache_ttl_count = 9; * @return This builder for chaining. */ public Builder clearPublicCacheTtlCount() { publicCacheTtlCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } private com.google.protobuf.Internal.LongList privateCacheTtlCount_ = emptyLongList(); private void ensurePrivateCacheTtlCountIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { privateCacheTtlCount_ = mutableCopy(privateCacheTtlCount_); bitField0_ |= 0x00000008; } } /** * repeated int64 private_cache_ttl_count = 10; * @return A list containing the privateCacheTtlCount. */ public java.util.List getPrivateCacheTtlCountList() { return ((bitField0_ & 0x00000008) != 0) ? java.util.Collections.unmodifiableList(privateCacheTtlCount_) : privateCacheTtlCount_; } /** * repeated int64 private_cache_ttl_count = 10; * @return The count of privateCacheTtlCount. */ public int getPrivateCacheTtlCountCount() { return privateCacheTtlCount_.size(); } /** * repeated int64 private_cache_ttl_count = 10; * @param index The index of the element to return. * @return The privateCacheTtlCount at the given index. */ public long getPrivateCacheTtlCount(int index) { return privateCacheTtlCount_.getLong(index); } /** * repeated int64 private_cache_ttl_count = 10; * @param index The index to set the value at. * @param value The privateCacheTtlCount to set. * @return This builder for chaining. */ public Builder setPrivateCacheTtlCount( int index, long value) { ensurePrivateCacheTtlCountIsMutable(); privateCacheTtlCount_.setLong(index, value); onChanged(); return this; } /** * repeated int64 private_cache_ttl_count = 10; * @param value The privateCacheTtlCount to add. * @return This builder for chaining. */ public Builder addPrivateCacheTtlCount(long value) { ensurePrivateCacheTtlCountIsMutable(); privateCacheTtlCount_.addLong(value); onChanged(); return this; } /** * repeated int64 private_cache_ttl_count = 10; * @param values The privateCacheTtlCount to add. * @return This builder for chaining. */ public Builder addAllPrivateCacheTtlCount( java.lang.Iterable values) { ensurePrivateCacheTtlCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, privateCacheTtlCount_); onChanged(); return this; } /** * repeated int64 private_cache_ttl_count = 10; * @return This builder for chaining. */ public Builder clearPrivateCacheTtlCount() { privateCacheTtlCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } private long registeredOperationCount_ ; /** * uint64 registered_operation_count = 11; * @return The registeredOperationCount. */ @java.lang.Override public long getRegisteredOperationCount() { return registeredOperationCount_; } /** * uint64 registered_operation_count = 11; * @param value The registeredOperationCount to set. * @return This builder for chaining. */ public Builder setRegisteredOperationCount(long value) { registeredOperationCount_ = value; onChanged(); return this; } /** * uint64 registered_operation_count = 11; * @return This builder for chaining. */ public Builder clearRegisteredOperationCount() { registeredOperationCount_ = 0L; onChanged(); return this; } private long forbiddenOperationCount_ ; /** * uint64 forbidden_operation_count = 12; * @return The forbiddenOperationCount. */ @java.lang.Override public long getForbiddenOperationCount() { return forbiddenOperationCount_; } /** * uint64 forbidden_operation_count = 12; * @param value The forbiddenOperationCount to set. * @return This builder for chaining. */ public Builder setForbiddenOperationCount(long value) { forbiddenOperationCount_ = value; onChanged(); return this; } /** * uint64 forbidden_operation_count = 12; * @return This builder for chaining. */ public Builder clearForbiddenOperationCount() { forbiddenOperationCount_ = 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:mdg.engine.proto.QueryLatencyStats) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.QueryLatencyStats) private static final mdg.engine.proto.Reports.QueryLatencyStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.QueryLatencyStats(); } public static mdg.engine.proto.Reports.QueryLatencyStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryLatencyStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryLatencyStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.QueryLatencyStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StatsContextOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.StatsContext) com.google.protobuf.MessageOrBuilder { /** * string client_reference_id = 1; * @return The clientReferenceId. */ java.lang.String getClientReferenceId(); /** * string client_reference_id = 1; * @return The bytes for clientReferenceId. */ com.google.protobuf.ByteString getClientReferenceIdBytes(); /** * string client_name = 2; * @return The clientName. */ java.lang.String getClientName(); /** * string client_name = 2; * @return The bytes for clientName. */ com.google.protobuf.ByteString getClientNameBytes(); /** * string client_version = 3; * @return The clientVersion. */ java.lang.String getClientVersion(); /** * string client_version = 3; * @return The bytes for clientVersion. */ com.google.protobuf.ByteString getClientVersionBytes(); } /** * Protobuf type {@code mdg.engine.proto.StatsContext} */ public static final class StatsContext extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.StatsContext) StatsContextOrBuilder { private static final long serialVersionUID = 0L; // Use StatsContext.newBuilder() to construct. private StatsContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StatsContext() { clientReferenceId_ = ""; clientName_ = ""; clientVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StatsContext(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StatsContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); clientReferenceId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); clientName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); clientVersion_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsContext_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.StatsContext.class, mdg.engine.proto.Reports.StatsContext.Builder.class); } public static final int CLIENT_REFERENCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object clientReferenceId_; /** * string client_reference_id = 1; * @return The clientReferenceId. */ @java.lang.Override public java.lang.String getClientReferenceId() { java.lang.Object ref = clientReferenceId_; 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(); clientReferenceId_ = s; return s; } } /** * string client_reference_id = 1; * @return The bytes for clientReferenceId. */ @java.lang.Override public com.google.protobuf.ByteString getClientReferenceIdBytes() { java.lang.Object ref = clientReferenceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientReferenceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object clientName_; /** * string client_name = 2; * @return The clientName. */ @java.lang.Override public java.lang.String getClientName() { java.lang.Object ref = clientName_; 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(); clientName_ = s; return s; } } /** * string client_name = 2; * @return The bytes for clientName. */ @java.lang.Override public com.google.protobuf.ByteString getClientNameBytes() { java.lang.Object ref = clientName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object clientVersion_; /** * string client_version = 3; * @return The clientVersion. */ @java.lang.Override public java.lang.String getClientVersion() { java.lang.Object ref = clientVersion_; 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(); clientVersion_ = s; return s; } } /** * string client_version = 3; * @return The bytes for clientVersion. */ @java.lang.Override public com.google.protobuf.ByteString getClientVersionBytes() { java.lang.Object ref = clientVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientVersion_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientReferenceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientReferenceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clientName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clientVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientReferenceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientReferenceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clientName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clientVersion_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.StatsContext)) { return super.equals(obj); } mdg.engine.proto.Reports.StatsContext other = (mdg.engine.proto.Reports.StatsContext) obj; if (!getClientReferenceId() .equals(other.getClientReferenceId())) return false; if (!getClientName() .equals(other.getClientName())) return false; if (!getClientVersion() .equals(other.getClientVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CLIENT_REFERENCE_ID_FIELD_NUMBER; hash = (53 * hash) + getClientReferenceId().hashCode(); hash = (37 * hash) + CLIENT_NAME_FIELD_NUMBER; hash = (53 * hash) + getClientName().hashCode(); hash = (37 * hash) + CLIENT_VERSION_FIELD_NUMBER; hash = (53 * hash) + getClientVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.StatsContext parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.StatsContext parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.StatsContext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.StatsContext parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.StatsContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.StatsContext parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.StatsContext parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.StatsContext 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 mdg.engine.proto.Reports.StatsContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.StatsContext 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 mdg.engine.proto.Reports.StatsContext parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.StatsContext 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(mdg.engine.proto.Reports.StatsContext 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 mdg.engine.proto.StatsContext} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.StatsContext) mdg.engine.proto.Reports.StatsContextOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsContext_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.StatsContext.class, mdg.engine.proto.Reports.StatsContext.Builder.class); } // Construct using mdg.engine.proto.Reports.StatsContext.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); clientReferenceId_ = ""; clientName_ = ""; clientVersion_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsContext_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.StatsContext getDefaultInstanceForType() { return mdg.engine.proto.Reports.StatsContext.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.StatsContext build() { mdg.engine.proto.Reports.StatsContext result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.StatsContext buildPartial() { mdg.engine.proto.Reports.StatsContext result = new mdg.engine.proto.Reports.StatsContext(this); result.clientReferenceId_ = clientReferenceId_; result.clientName_ = clientName_; result.clientVersion_ = clientVersion_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.StatsContext) { return mergeFrom((mdg.engine.proto.Reports.StatsContext)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.StatsContext other) { if (other == mdg.engine.proto.Reports.StatsContext.getDefaultInstance()) return this; if (!other.getClientReferenceId().isEmpty()) { clientReferenceId_ = other.clientReferenceId_; onChanged(); } if (!other.getClientName().isEmpty()) { clientName_ = other.clientName_; onChanged(); } if (!other.getClientVersion().isEmpty()) { clientVersion_ = other.clientVersion_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.StatsContext parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.StatsContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object clientReferenceId_ = ""; /** * string client_reference_id = 1; * @return The clientReferenceId. */ public java.lang.String getClientReferenceId() { java.lang.Object ref = clientReferenceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientReferenceId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_reference_id = 1; * @return The bytes for clientReferenceId. */ public com.google.protobuf.ByteString getClientReferenceIdBytes() { java.lang.Object ref = clientReferenceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientReferenceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_reference_id = 1; * @param value The clientReferenceId to set. * @return This builder for chaining. */ public Builder setClientReferenceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientReferenceId_ = value; onChanged(); return this; } /** * string client_reference_id = 1; * @return This builder for chaining. */ public Builder clearClientReferenceId() { clientReferenceId_ = getDefaultInstance().getClientReferenceId(); onChanged(); return this; } /** * string client_reference_id = 1; * @param value The bytes for clientReferenceId to set. * @return This builder for chaining. */ public Builder setClientReferenceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientReferenceId_ = value; onChanged(); return this; } private java.lang.Object clientName_ = ""; /** * string client_name = 2; * @return The clientName. */ public java.lang.String getClientName() { java.lang.Object ref = clientName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_name = 2; * @return The bytes for clientName. */ public com.google.protobuf.ByteString getClientNameBytes() { java.lang.Object ref = clientName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_name = 2; * @param value The clientName to set. * @return This builder for chaining. */ public Builder setClientName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientName_ = value; onChanged(); return this; } /** * string client_name = 2; * @return This builder for chaining. */ public Builder clearClientName() { clientName_ = getDefaultInstance().getClientName(); onChanged(); return this; } /** * string client_name = 2; * @param value The bytes for clientName to set. * @return This builder for chaining. */ public Builder setClientNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientName_ = value; onChanged(); return this; } private java.lang.Object clientVersion_ = ""; /** * string client_version = 3; * @return The clientVersion. */ public java.lang.String getClientVersion() { java.lang.Object ref = clientVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_version = 3; * @return The bytes for clientVersion. */ public com.google.protobuf.ByteString getClientVersionBytes() { java.lang.Object ref = clientVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_version = 3; * @param value The clientVersion to set. * @return This builder for chaining. */ public Builder setClientVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientVersion_ = value; onChanged(); return this; } /** * string client_version = 3; * @return This builder for chaining. */ public Builder clearClientVersion() { clientVersion_ = getDefaultInstance().getClientVersion(); onChanged(); return this; } /** * string client_version = 3; * @param value The bytes for clientVersion to set. * @return This builder for chaining. */ public Builder setClientVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientVersion_ = value; 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:mdg.engine.proto.StatsContext) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.StatsContext) private static final mdg.engine.proto.Reports.StatsContext DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.StatsContext(); } public static mdg.engine.proto.Reports.StatsContext getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StatsContext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StatsContext(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.StatsContext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ContextualizedQueryLatencyStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.ContextualizedQueryLatencyStats) com.google.protobuf.MessageOrBuilder { /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; * @return Whether the queryLatencyStats field is set. */ boolean hasQueryLatencyStats(); /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; * @return The queryLatencyStats. */ mdg.engine.proto.Reports.QueryLatencyStats getQueryLatencyStats(); /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ mdg.engine.proto.Reports.QueryLatencyStatsOrBuilder getQueryLatencyStatsOrBuilder(); /** * .mdg.engine.proto.StatsContext context = 2; * @return Whether the context field is set. */ boolean hasContext(); /** * .mdg.engine.proto.StatsContext context = 2; * @return The context. */ mdg.engine.proto.Reports.StatsContext getContext(); /** * .mdg.engine.proto.StatsContext context = 2; */ mdg.engine.proto.Reports.StatsContextOrBuilder getContextOrBuilder(); } /** * Protobuf type {@code mdg.engine.proto.ContextualizedQueryLatencyStats} */ public static final class ContextualizedQueryLatencyStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.ContextualizedQueryLatencyStats) ContextualizedQueryLatencyStatsOrBuilder { private static final long serialVersionUID = 0L; // Use ContextualizedQueryLatencyStats.newBuilder() to construct. private ContextualizedQueryLatencyStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContextualizedQueryLatencyStats() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ContextualizedQueryLatencyStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ContextualizedQueryLatencyStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { mdg.engine.proto.Reports.QueryLatencyStats.Builder subBuilder = null; if (queryLatencyStats_ != null) { subBuilder = queryLatencyStats_.toBuilder(); } queryLatencyStats_ = input.readMessage(mdg.engine.proto.Reports.QueryLatencyStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryLatencyStats_); queryLatencyStats_ = subBuilder.buildPartial(); } break; } case 18: { mdg.engine.proto.Reports.StatsContext.Builder subBuilder = null; if (context_ != null) { subBuilder = context_.toBuilder(); } context_ = input.readMessage(mdg.engine.proto.Reports.StatsContext.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(context_); context_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.class, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder.class); } public static final int QUERY_LATENCY_STATS_FIELD_NUMBER = 1; private mdg.engine.proto.Reports.QueryLatencyStats queryLatencyStats_; /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; * @return Whether the queryLatencyStats field is set. */ @java.lang.Override public boolean hasQueryLatencyStats() { return queryLatencyStats_ != null; } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; * @return The queryLatencyStats. */ @java.lang.Override public mdg.engine.proto.Reports.QueryLatencyStats getQueryLatencyStats() { return queryLatencyStats_ == null ? mdg.engine.proto.Reports.QueryLatencyStats.getDefaultInstance() : queryLatencyStats_; } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ @java.lang.Override public mdg.engine.proto.Reports.QueryLatencyStatsOrBuilder getQueryLatencyStatsOrBuilder() { return getQueryLatencyStats(); } public static final int CONTEXT_FIELD_NUMBER = 2; private mdg.engine.proto.Reports.StatsContext context_; /** * .mdg.engine.proto.StatsContext context = 2; * @return Whether the context field is set. */ @java.lang.Override public boolean hasContext() { return context_ != null; } /** * .mdg.engine.proto.StatsContext context = 2; * @return The context. */ @java.lang.Override public mdg.engine.proto.Reports.StatsContext getContext() { return context_ == null ? mdg.engine.proto.Reports.StatsContext.getDefaultInstance() : context_; } /** * .mdg.engine.proto.StatsContext context = 2; */ @java.lang.Override public mdg.engine.proto.Reports.StatsContextOrBuilder getContextOrBuilder() { return getContext(); } 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 (queryLatencyStats_ != null) { output.writeMessage(1, getQueryLatencyStats()); } if (context_ != null) { output.writeMessage(2, getContext()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (queryLatencyStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getQueryLatencyStats()); } if (context_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getContext()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.ContextualizedQueryLatencyStats)) { return super.equals(obj); } mdg.engine.proto.Reports.ContextualizedQueryLatencyStats other = (mdg.engine.proto.Reports.ContextualizedQueryLatencyStats) obj; if (hasQueryLatencyStats() != other.hasQueryLatencyStats()) return false; if (hasQueryLatencyStats()) { if (!getQueryLatencyStats() .equals(other.getQueryLatencyStats())) return false; } if (hasContext() != other.hasContext()) return false; if (hasContext()) { if (!getContext() .equals(other.getContext())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasQueryLatencyStats()) { hash = (37 * hash) + QUERY_LATENCY_STATS_FIELD_NUMBER; hash = (53 * hash) + getQueryLatencyStats().hashCode(); } if (hasContext()) { hash = (37 * hash) + CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getContext().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats 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 mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats 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 mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats 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(mdg.engine.proto.Reports.ContextualizedQueryLatencyStats 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 mdg.engine.proto.ContextualizedQueryLatencyStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.ContextualizedQueryLatencyStats) mdg.engine.proto.Reports.ContextualizedQueryLatencyStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.class, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder.class); } // Construct using mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (queryLatencyStatsBuilder_ == null) { queryLatencyStats_ = null; } else { queryLatencyStats_ = null; queryLatencyStatsBuilder_ = null; } if (contextBuilder_ == null) { context_ = null; } else { context_ = null; contextBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats getDefaultInstanceForType() { return mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats build() { mdg.engine.proto.Reports.ContextualizedQueryLatencyStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats buildPartial() { mdg.engine.proto.Reports.ContextualizedQueryLatencyStats result = new mdg.engine.proto.Reports.ContextualizedQueryLatencyStats(this); if (queryLatencyStatsBuilder_ == null) { result.queryLatencyStats_ = queryLatencyStats_; } else { result.queryLatencyStats_ = queryLatencyStatsBuilder_.build(); } if (contextBuilder_ == null) { result.context_ = context_; } else { result.context_ = contextBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.ContextualizedQueryLatencyStats) { return mergeFrom((mdg.engine.proto.Reports.ContextualizedQueryLatencyStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.ContextualizedQueryLatencyStats other) { if (other == mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.getDefaultInstance()) return this; if (other.hasQueryLatencyStats()) { mergeQueryLatencyStats(other.getQueryLatencyStats()); } if (other.hasContext()) { mergeContext(other.getContext()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.ContextualizedQueryLatencyStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.ContextualizedQueryLatencyStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private mdg.engine.proto.Reports.QueryLatencyStats queryLatencyStats_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.QueryLatencyStats, mdg.engine.proto.Reports.QueryLatencyStats.Builder, mdg.engine.proto.Reports.QueryLatencyStatsOrBuilder> queryLatencyStatsBuilder_; /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; * @return Whether the queryLatencyStats field is set. */ public boolean hasQueryLatencyStats() { return queryLatencyStatsBuilder_ != null || queryLatencyStats_ != null; } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; * @return The queryLatencyStats. */ public mdg.engine.proto.Reports.QueryLatencyStats getQueryLatencyStats() { if (queryLatencyStatsBuilder_ == null) { return queryLatencyStats_ == null ? mdg.engine.proto.Reports.QueryLatencyStats.getDefaultInstance() : queryLatencyStats_; } else { return queryLatencyStatsBuilder_.getMessage(); } } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ public Builder setQueryLatencyStats(mdg.engine.proto.Reports.QueryLatencyStats value) { if (queryLatencyStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryLatencyStats_ = value; onChanged(); } else { queryLatencyStatsBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ public Builder setQueryLatencyStats( mdg.engine.proto.Reports.QueryLatencyStats.Builder builderForValue) { if (queryLatencyStatsBuilder_ == null) { queryLatencyStats_ = builderForValue.build(); onChanged(); } else { queryLatencyStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ public Builder mergeQueryLatencyStats(mdg.engine.proto.Reports.QueryLatencyStats value) { if (queryLatencyStatsBuilder_ == null) { if (queryLatencyStats_ != null) { queryLatencyStats_ = mdg.engine.proto.Reports.QueryLatencyStats.newBuilder(queryLatencyStats_).mergeFrom(value).buildPartial(); } else { queryLatencyStats_ = value; } onChanged(); } else { queryLatencyStatsBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ public Builder clearQueryLatencyStats() { if (queryLatencyStatsBuilder_ == null) { queryLatencyStats_ = null; onChanged(); } else { queryLatencyStats_ = null; queryLatencyStatsBuilder_ = null; } return this; } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ public mdg.engine.proto.Reports.QueryLatencyStats.Builder getQueryLatencyStatsBuilder() { onChanged(); return getQueryLatencyStatsFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ public mdg.engine.proto.Reports.QueryLatencyStatsOrBuilder getQueryLatencyStatsOrBuilder() { if (queryLatencyStatsBuilder_ != null) { return queryLatencyStatsBuilder_.getMessageOrBuilder(); } else { return queryLatencyStats_ == null ? mdg.engine.proto.Reports.QueryLatencyStats.getDefaultInstance() : queryLatencyStats_; } } /** * .mdg.engine.proto.QueryLatencyStats query_latency_stats = 1; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.QueryLatencyStats, mdg.engine.proto.Reports.QueryLatencyStats.Builder, mdg.engine.proto.Reports.QueryLatencyStatsOrBuilder> getQueryLatencyStatsFieldBuilder() { if (queryLatencyStatsBuilder_ == null) { queryLatencyStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.QueryLatencyStats, mdg.engine.proto.Reports.QueryLatencyStats.Builder, mdg.engine.proto.Reports.QueryLatencyStatsOrBuilder>( getQueryLatencyStats(), getParentForChildren(), isClean()); queryLatencyStats_ = null; } return queryLatencyStatsBuilder_; } private mdg.engine.proto.Reports.StatsContext context_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.StatsContext, mdg.engine.proto.Reports.StatsContext.Builder, mdg.engine.proto.Reports.StatsContextOrBuilder> contextBuilder_; /** * .mdg.engine.proto.StatsContext context = 2; * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; } /** * .mdg.engine.proto.StatsContext context = 2; * @return The context. */ public mdg.engine.proto.Reports.StatsContext getContext() { if (contextBuilder_ == null) { return context_ == null ? mdg.engine.proto.Reports.StatsContext.getDefaultInstance() : context_; } else { return contextBuilder_.getMessage(); } } /** * .mdg.engine.proto.StatsContext context = 2; */ public Builder setContext(mdg.engine.proto.Reports.StatsContext value) { if (contextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } context_ = value; onChanged(); } else { contextBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.StatsContext context = 2; */ public Builder setContext( mdg.engine.proto.Reports.StatsContext.Builder builderForValue) { if (contextBuilder_ == null) { context_ = builderForValue.build(); onChanged(); } else { contextBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.StatsContext context = 2; */ public Builder mergeContext(mdg.engine.proto.Reports.StatsContext value) { if (contextBuilder_ == null) { if (context_ != null) { context_ = mdg.engine.proto.Reports.StatsContext.newBuilder(context_).mergeFrom(value).buildPartial(); } else { context_ = value; } onChanged(); } else { contextBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.StatsContext context = 2; */ public Builder clearContext() { if (contextBuilder_ == null) { context_ = null; onChanged(); } else { context_ = null; contextBuilder_ = null; } return this; } /** * .mdg.engine.proto.StatsContext context = 2; */ public mdg.engine.proto.Reports.StatsContext.Builder getContextBuilder() { onChanged(); return getContextFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.StatsContext context = 2; */ public mdg.engine.proto.Reports.StatsContextOrBuilder getContextOrBuilder() { if (contextBuilder_ != null) { return contextBuilder_.getMessageOrBuilder(); } else { return context_ == null ? mdg.engine.proto.Reports.StatsContext.getDefaultInstance() : context_; } } /** * .mdg.engine.proto.StatsContext context = 2; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.StatsContext, mdg.engine.proto.Reports.StatsContext.Builder, mdg.engine.proto.Reports.StatsContextOrBuilder> getContextFieldBuilder() { if (contextBuilder_ == null) { contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.StatsContext, mdg.engine.proto.Reports.StatsContext.Builder, mdg.engine.proto.Reports.StatsContextOrBuilder>( getContext(), getParentForChildren(), isClean()); context_ = null; } return contextBuilder_; } @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:mdg.engine.proto.ContextualizedQueryLatencyStats) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.ContextualizedQueryLatencyStats) private static final mdg.engine.proto.Reports.ContextualizedQueryLatencyStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.ContextualizedQueryLatencyStats(); } public static mdg.engine.proto.Reports.ContextualizedQueryLatencyStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ContextualizedQueryLatencyStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ContextualizedQueryLatencyStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ContextualizedTypeStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.ContextualizedTypeStats) com.google.protobuf.MessageOrBuilder { /** * .mdg.engine.proto.StatsContext context = 1; * @return Whether the context field is set. */ boolean hasContext(); /** * .mdg.engine.proto.StatsContext context = 1; * @return The context. */ mdg.engine.proto.Reports.StatsContext getContext(); /** * .mdg.engine.proto.StatsContext context = 1; */ mdg.engine.proto.Reports.StatsContextOrBuilder getContextOrBuilder(); /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ int getPerTypeStatCount(); /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ boolean containsPerTypeStat( java.lang.String key); /** * Use {@link #getPerTypeStatMap()} instead. */ @java.lang.Deprecated java.util.Map getPerTypeStat(); /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ java.util.Map getPerTypeStatMap(); /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ /* nullable */ mdg.engine.proto.Reports.TypeStat getPerTypeStatOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.TypeStat defaultValue); /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ mdg.engine.proto.Reports.TypeStat getPerTypeStatOrThrow( java.lang.String key); } /** * Protobuf type {@code mdg.engine.proto.ContextualizedTypeStats} */ public static final class ContextualizedTypeStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.ContextualizedTypeStats) ContextualizedTypeStatsOrBuilder { private static final long serialVersionUID = 0L; // Use ContextualizedTypeStats.newBuilder() to construct. private ContextualizedTypeStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContextualizedTypeStats() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ContextualizedTypeStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ContextualizedTypeStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { mdg.engine.proto.Reports.StatsContext.Builder subBuilder = null; if (context_ != null) { subBuilder = context_.toBuilder(); } context_ = input.readMessage(mdg.engine.proto.Reports.StatsContext.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(context_); context_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { perTypeStat_ = com.google.protobuf.MapField.newMapField( PerTypeStatDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry perTypeStat__ = input.readMessage( PerTypeStatDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); perTypeStat_.getMutableMap().put( perTypeStat__.getKey(), perTypeStat__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedTypeStats_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetPerTypeStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.ContextualizedTypeStats.class, mdg.engine.proto.Reports.ContextualizedTypeStats.Builder.class); } public static final int CONTEXT_FIELD_NUMBER = 1; private mdg.engine.proto.Reports.StatsContext context_; /** * .mdg.engine.proto.StatsContext context = 1; * @return Whether the context field is set. */ @java.lang.Override public boolean hasContext() { return context_ != null; } /** * .mdg.engine.proto.StatsContext context = 1; * @return The context. */ @java.lang.Override public mdg.engine.proto.Reports.StatsContext getContext() { return context_ == null ? mdg.engine.proto.Reports.StatsContext.getDefaultInstance() : context_; } /** * .mdg.engine.proto.StatsContext context = 1; */ @java.lang.Override public mdg.engine.proto.Reports.StatsContextOrBuilder getContextOrBuilder() { return getContext(); } public static final int PER_TYPE_STAT_FIELD_NUMBER = 2; private static final class PerTypeStatDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.TypeStat> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedTypeStats_PerTypeStatEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.TypeStat.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.TypeStat> perTypeStat_; private com.google.protobuf.MapField internalGetPerTypeStat() { if (perTypeStat_ == null) { return com.google.protobuf.MapField.emptyMapField( PerTypeStatDefaultEntryHolder.defaultEntry); } return perTypeStat_; } public int getPerTypeStatCount() { return internalGetPerTypeStat().getMap().size(); } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ @java.lang.Override public boolean containsPerTypeStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerTypeStat().getMap().containsKey(key); } /** * Use {@link #getPerTypeStatMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerTypeStat() { return getPerTypeStatMap(); } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ @java.lang.Override public java.util.Map getPerTypeStatMap() { return internalGetPerTypeStat().getMap(); } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerTypeStatOrDefault( java.lang.String key, mdg.engine.proto.Reports.TypeStat defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerTypeStat().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerTypeStatOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerTypeStat().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 (context_ != null) { output.writeMessage(1, getContext()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetPerTypeStat(), PerTypeStatDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (context_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getContext()); } for (java.util.Map.Entry entry : internalGetPerTypeStat().getMap().entrySet()) { com.google.protobuf.MapEntry perTypeStat__ = PerTypeStatDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, perTypeStat__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.ContextualizedTypeStats)) { return super.equals(obj); } mdg.engine.proto.Reports.ContextualizedTypeStats other = (mdg.engine.proto.Reports.ContextualizedTypeStats) obj; if (hasContext() != other.hasContext()) return false; if (hasContext()) { if (!getContext() .equals(other.getContext())) return false; } if (!internalGetPerTypeStat().equals( other.internalGetPerTypeStat())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasContext()) { hash = (37 * hash) + CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getContext().hashCode(); } if (!internalGetPerTypeStat().getMap().isEmpty()) { hash = (37 * hash) + PER_TYPE_STAT_FIELD_NUMBER; hash = (53 * hash) + internalGetPerTypeStat().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.ContextualizedTypeStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ContextualizedTypeStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ContextualizedTypeStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ContextualizedTypeStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ContextualizedTypeStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.ContextualizedTypeStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.ContextualizedTypeStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ContextualizedTypeStats 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 mdg.engine.proto.Reports.ContextualizedTypeStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ContextualizedTypeStats 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 mdg.engine.proto.Reports.ContextualizedTypeStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.ContextualizedTypeStats 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(mdg.engine.proto.Reports.ContextualizedTypeStats 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 mdg.engine.proto.ContextualizedTypeStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.ContextualizedTypeStats) mdg.engine.proto.Reports.ContextualizedTypeStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedTypeStats_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetPerTypeStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutablePerTypeStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedTypeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.ContextualizedTypeStats.class, mdg.engine.proto.Reports.ContextualizedTypeStats.Builder.class); } // Construct using mdg.engine.proto.Reports.ContextualizedTypeStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (contextBuilder_ == null) { context_ = null; } else { context_ = null; contextBuilder_ = null; } internalGetMutablePerTypeStat().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_ContextualizedTypeStats_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.ContextualizedTypeStats getDefaultInstanceForType() { return mdg.engine.proto.Reports.ContextualizedTypeStats.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.ContextualizedTypeStats build() { mdg.engine.proto.Reports.ContextualizedTypeStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.ContextualizedTypeStats buildPartial() { mdg.engine.proto.Reports.ContextualizedTypeStats result = new mdg.engine.proto.Reports.ContextualizedTypeStats(this); int from_bitField0_ = bitField0_; if (contextBuilder_ == null) { result.context_ = context_; } else { result.context_ = contextBuilder_.build(); } result.perTypeStat_ = internalGetPerTypeStat(); result.perTypeStat_.makeImmutable(); onBuilt(); return result; } @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 mdg.engine.proto.Reports.ContextualizedTypeStats) { return mergeFrom((mdg.engine.proto.Reports.ContextualizedTypeStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.ContextualizedTypeStats other) { if (other == mdg.engine.proto.Reports.ContextualizedTypeStats.getDefaultInstance()) return this; if (other.hasContext()) { mergeContext(other.getContext()); } internalGetMutablePerTypeStat().mergeFrom( other.internalGetPerTypeStat()); this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.ContextualizedTypeStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.ContextualizedTypeStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private mdg.engine.proto.Reports.StatsContext context_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.StatsContext, mdg.engine.proto.Reports.StatsContext.Builder, mdg.engine.proto.Reports.StatsContextOrBuilder> contextBuilder_; /** * .mdg.engine.proto.StatsContext context = 1; * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; } /** * .mdg.engine.proto.StatsContext context = 1; * @return The context. */ public mdg.engine.proto.Reports.StatsContext getContext() { if (contextBuilder_ == null) { return context_ == null ? mdg.engine.proto.Reports.StatsContext.getDefaultInstance() : context_; } else { return contextBuilder_.getMessage(); } } /** * .mdg.engine.proto.StatsContext context = 1; */ public Builder setContext(mdg.engine.proto.Reports.StatsContext value) { if (contextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } context_ = value; onChanged(); } else { contextBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.StatsContext context = 1; */ public Builder setContext( mdg.engine.proto.Reports.StatsContext.Builder builderForValue) { if (contextBuilder_ == null) { context_ = builderForValue.build(); onChanged(); } else { contextBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.StatsContext context = 1; */ public Builder mergeContext(mdg.engine.proto.Reports.StatsContext value) { if (contextBuilder_ == null) { if (context_ != null) { context_ = mdg.engine.proto.Reports.StatsContext.newBuilder(context_).mergeFrom(value).buildPartial(); } else { context_ = value; } onChanged(); } else { contextBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.StatsContext context = 1; */ public Builder clearContext() { if (contextBuilder_ == null) { context_ = null; onChanged(); } else { context_ = null; contextBuilder_ = null; } return this; } /** * .mdg.engine.proto.StatsContext context = 1; */ public mdg.engine.proto.Reports.StatsContext.Builder getContextBuilder() { onChanged(); return getContextFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.StatsContext context = 1; */ public mdg.engine.proto.Reports.StatsContextOrBuilder getContextOrBuilder() { if (contextBuilder_ != null) { return contextBuilder_.getMessageOrBuilder(); } else { return context_ == null ? mdg.engine.proto.Reports.StatsContext.getDefaultInstance() : context_; } } /** * .mdg.engine.proto.StatsContext context = 1; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.StatsContext, mdg.engine.proto.Reports.StatsContext.Builder, mdg.engine.proto.Reports.StatsContextOrBuilder> getContextFieldBuilder() { if (contextBuilder_ == null) { contextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.StatsContext, mdg.engine.proto.Reports.StatsContext.Builder, mdg.engine.proto.Reports.StatsContextOrBuilder>( getContext(), getParentForChildren(), isClean()); context_ = null; } return contextBuilder_; } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.TypeStat> perTypeStat_; private com.google.protobuf.MapField internalGetPerTypeStat() { if (perTypeStat_ == null) { return com.google.protobuf.MapField.emptyMapField( PerTypeStatDefaultEntryHolder.defaultEntry); } return perTypeStat_; } private com.google.protobuf.MapField internalGetMutablePerTypeStat() { onChanged();; if (perTypeStat_ == null) { perTypeStat_ = com.google.protobuf.MapField.newMapField( PerTypeStatDefaultEntryHolder.defaultEntry); } if (!perTypeStat_.isMutable()) { perTypeStat_ = perTypeStat_.copy(); } return perTypeStat_; } public int getPerTypeStatCount() { return internalGetPerTypeStat().getMap().size(); } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ @java.lang.Override public boolean containsPerTypeStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerTypeStat().getMap().containsKey(key); } /** * Use {@link #getPerTypeStatMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerTypeStat() { return getPerTypeStatMap(); } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ @java.lang.Override public java.util.Map getPerTypeStatMap() { return internalGetPerTypeStat().getMap(); } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerTypeStatOrDefault( java.lang.String key, mdg.engine.proto.Reports.TypeStat defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerTypeStat().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerTypeStatOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerTypeStat().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearPerTypeStat() { internalGetMutablePerTypeStat().getMutableMap() .clear(); return this; } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ public Builder removePerTypeStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePerTypeStat().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePerTypeStat() { return internalGetMutablePerTypeStat().getMutableMap(); } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ public Builder putPerTypeStat( java.lang.String key, mdg.engine.proto.Reports.TypeStat value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutablePerTypeStat().getMutableMap() .put(key, value); return this; } /** * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 2; */ public Builder putAllPerTypeStat( java.util.Map values) { internalGetMutablePerTypeStat().getMutableMap() .putAll(values); 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:mdg.engine.proto.ContextualizedTypeStats) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.ContextualizedTypeStats) private static final mdg.engine.proto.Reports.ContextualizedTypeStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.ContextualizedTypeStats(); } public static mdg.engine.proto.Reports.ContextualizedTypeStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ContextualizedTypeStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ContextualizedTypeStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.ContextualizedTypeStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FieldStatOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.FieldStat) com.google.protobuf.MessageOrBuilder { /** *
     * deprecated; only set when stored in TypeStat.field
     * 
* * string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * deprecated; only set when stored in TypeStat.field
     * 
* * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * required; eg "String!" for User.email:String!
     * 
* * string return_type = 3; * @return The returnType. */ java.lang.String getReturnType(); /** *
     * required; eg "String!" for User.email:String!
     * 
* * string return_type = 3; * @return The bytes for returnType. */ com.google.protobuf.ByteString getReturnTypeBytes(); /** * uint64 errors_count = 4; * @return The errorsCount. */ long getErrorsCount(); /** * uint64 count = 5; * @return The count. */ long getCount(); /** * uint64 requests_with_errors_count = 6; * @return The requestsWithErrorsCount. */ long getRequestsWithErrorsCount(); /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 latency_count = 8; * @return A list containing the latencyCount. */ java.util.List getLatencyCountList(); /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 latency_count = 8; * @return The count of latencyCount. */ int getLatencyCountCount(); /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 latency_count = 8; * @param index The index of the element to return. * @return The latencyCount at the given index. */ long getLatencyCount(int index); } /** * Protobuf type {@code mdg.engine.proto.FieldStat} */ public static final class FieldStat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.FieldStat) FieldStatOrBuilder { private static final long serialVersionUID = 0L; // Use FieldStat.newBuilder() to construct. private FieldStat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FieldStat() { name_ = ""; returnType_ = ""; latencyCount_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FieldStat(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FieldStat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); returnType_ = s; break; } case 32: { errorsCount_ = input.readUInt64(); break; } case 40: { count_ = input.readUInt64(); break; } case 48: { requestsWithErrorsCount_ = input.readUInt64(); break; } case 64: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { latencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000001; } latencyCount_.addLong(input.readInt64()); break; } case 66: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { latencyCount_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { latencyCount_.addLong(input.readInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { latencyCount_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FieldStat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FieldStat_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.FieldStat.class, mdg.engine.proto.Reports.FieldStat.Builder.class); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * deprecated; only set when stored in TypeStat.field
     * 
* * string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * deprecated; only set when stored in TypeStat.field
     * 
* * string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RETURN_TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object returnType_; /** *
     * required; eg "String!" for User.email:String!
     * 
* * string return_type = 3; * @return The returnType. */ @java.lang.Override public java.lang.String getReturnType() { java.lang.Object ref = returnType_; 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(); returnType_ = s; return s; } } /** *
     * required; eg "String!" for User.email:String!
     * 
* * string return_type = 3; * @return The bytes for returnType. */ @java.lang.Override public com.google.protobuf.ByteString getReturnTypeBytes() { java.lang.Object ref = returnType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); returnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ERRORS_COUNT_FIELD_NUMBER = 4; private long errorsCount_; /** * uint64 errors_count = 4; * @return The errorsCount. */ @java.lang.Override public long getErrorsCount() { return errorsCount_; } public static final int COUNT_FIELD_NUMBER = 5; private long count_; /** * uint64 count = 5; * @return The count. */ @java.lang.Override public long getCount() { return count_; } public static final int REQUESTS_WITH_ERRORS_COUNT_FIELD_NUMBER = 6; private long requestsWithErrorsCount_; /** * uint64 requests_with_errors_count = 6; * @return The requestsWithErrorsCount. */ @java.lang.Override public long getRequestsWithErrorsCount() { return requestsWithErrorsCount_; } public static final int LATENCY_COUNT_FIELD_NUMBER = 8; private com.google.protobuf.Internal.LongList latencyCount_; /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 latency_count = 8; * @return A list containing the latencyCount. */ @java.lang.Override public java.util.List getLatencyCountList() { return latencyCount_; } /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 latency_count = 8; * @return The count of latencyCount. */ public int getLatencyCountCount() { return latencyCount_.size(); } /** *
     * Duration histogram; see docs/histograms.md
     * 
* * repeated int64 latency_count = 8; * @param index The index of the element to return. * @return The latencyCount at the given index. */ public long getLatencyCount(int index) { return latencyCount_.getLong(index); } private int latencyCountMemoizedSerializedSize = -1; 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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, returnType_); } if (errorsCount_ != 0L) { output.writeUInt64(4, errorsCount_); } if (count_ != 0L) { output.writeUInt64(5, count_); } if (requestsWithErrorsCount_ != 0L) { output.writeUInt64(6, requestsWithErrorsCount_); } if (getLatencyCountList().size() > 0) { output.writeUInt32NoTag(66); output.writeUInt32NoTag(latencyCountMemoizedSerializedSize); } for (int i = 0; i < latencyCount_.size(); i++) { output.writeInt64NoTag(latencyCount_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, returnType_); } if (errorsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, errorsCount_); } if (count_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, count_); } if (requestsWithErrorsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, requestsWithErrorsCount_); } { int dataSize = 0; for (int i = 0; i < latencyCount_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(latencyCount_.getLong(i)); } size += dataSize; if (!getLatencyCountList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } latencyCountMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.FieldStat)) { return super.equals(obj); } mdg.engine.proto.Reports.FieldStat other = (mdg.engine.proto.Reports.FieldStat) obj; if (!getName() .equals(other.getName())) return false; if (!getReturnType() .equals(other.getReturnType())) return false; if (getErrorsCount() != other.getErrorsCount()) return false; if (getCount() != other.getCount()) return false; if (getRequestsWithErrorsCount() != other.getRequestsWithErrorsCount()) return false; if (!getLatencyCountList() .equals(other.getLatencyCountList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RETURN_TYPE_FIELD_NUMBER; hash = (53 * hash) + getReturnType().hashCode(); hash = (37 * hash) + ERRORS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getErrorsCount()); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCount()); hash = (37 * hash) + REQUESTS_WITH_ERRORS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequestsWithErrorsCount()); if (getLatencyCountCount() > 0) { hash = (37 * hash) + LATENCY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getLatencyCountList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.FieldStat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.FieldStat parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.FieldStat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.FieldStat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.FieldStat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.FieldStat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.FieldStat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.FieldStat 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 mdg.engine.proto.Reports.FieldStat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.FieldStat 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 mdg.engine.proto.Reports.FieldStat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.FieldStat 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(mdg.engine.proto.Reports.FieldStat 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 mdg.engine.proto.FieldStat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.FieldStat) mdg.engine.proto.Reports.FieldStatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FieldStat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FieldStat_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.FieldStat.class, mdg.engine.proto.Reports.FieldStat.Builder.class); } // Construct using mdg.engine.proto.Reports.FieldStat.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; returnType_ = ""; errorsCount_ = 0L; count_ = 0L; requestsWithErrorsCount_ = 0L; latencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FieldStat_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.FieldStat getDefaultInstanceForType() { return mdg.engine.proto.Reports.FieldStat.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.FieldStat build() { mdg.engine.proto.Reports.FieldStat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.FieldStat buildPartial() { mdg.engine.proto.Reports.FieldStat result = new mdg.engine.proto.Reports.FieldStat(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.returnType_ = returnType_; result.errorsCount_ = errorsCount_; result.count_ = count_; result.requestsWithErrorsCount_ = requestsWithErrorsCount_; if (((bitField0_ & 0x00000001) != 0)) { latencyCount_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.latencyCount_ = latencyCount_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.FieldStat) { return mergeFrom((mdg.engine.proto.Reports.FieldStat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.FieldStat other) { if (other == mdg.engine.proto.Reports.FieldStat.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getReturnType().isEmpty()) { returnType_ = other.returnType_; onChanged(); } if (other.getErrorsCount() != 0L) { setErrorsCount(other.getErrorsCount()); } if (other.getCount() != 0L) { setCount(other.getCount()); } if (other.getRequestsWithErrorsCount() != 0L) { setRequestsWithErrorsCount(other.getRequestsWithErrorsCount()); } if (!other.latencyCount_.isEmpty()) { if (latencyCount_.isEmpty()) { latencyCount_ = other.latencyCount_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLatencyCountIsMutable(); latencyCount_.addAll(other.latencyCount_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.FieldStat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.FieldStat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * deprecated; only set when stored in TypeStat.field
       * 
* * string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * deprecated; only set when stored in TypeStat.field
       * 
* * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * deprecated; only set when stored in TypeStat.field
       * 
* * string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * deprecated; only set when stored in TypeStat.field
       * 
* * string name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * deprecated; only set when stored in TypeStat.field
       * 
* * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object returnType_ = ""; /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @return The returnType. */ public java.lang.String getReturnType() { java.lang.Object ref = returnType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); returnType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @return The bytes for returnType. */ public com.google.protobuf.ByteString getReturnTypeBytes() { java.lang.Object ref = returnType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); returnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @param value The returnType to set. * @return This builder for chaining. */ public Builder setReturnType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } returnType_ = value; onChanged(); return this; } /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @return This builder for chaining. */ public Builder clearReturnType() { returnType_ = getDefaultInstance().getReturnType(); onChanged(); return this; } /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @param value The bytes for returnType to set. * @return This builder for chaining. */ public Builder setReturnTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); returnType_ = value; onChanged(); return this; } private long errorsCount_ ; /** * uint64 errors_count = 4; * @return The errorsCount. */ @java.lang.Override public long getErrorsCount() { return errorsCount_; } /** * uint64 errors_count = 4; * @param value The errorsCount to set. * @return This builder for chaining. */ public Builder setErrorsCount(long value) { errorsCount_ = value; onChanged(); return this; } /** * uint64 errors_count = 4; * @return This builder for chaining. */ public Builder clearErrorsCount() { errorsCount_ = 0L; onChanged(); return this; } private long count_ ; /** * uint64 count = 5; * @return The count. */ @java.lang.Override public long getCount() { return count_; } /** * uint64 count = 5; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(long value) { count_ = value; onChanged(); return this; } /** * uint64 count = 5; * @return This builder for chaining. */ public Builder clearCount() { count_ = 0L; onChanged(); return this; } private long requestsWithErrorsCount_ ; /** * uint64 requests_with_errors_count = 6; * @return The requestsWithErrorsCount. */ @java.lang.Override public long getRequestsWithErrorsCount() { return requestsWithErrorsCount_; } /** * uint64 requests_with_errors_count = 6; * @param value The requestsWithErrorsCount to set. * @return This builder for chaining. */ public Builder setRequestsWithErrorsCount(long value) { requestsWithErrorsCount_ = value; onChanged(); return this; } /** * uint64 requests_with_errors_count = 6; * @return This builder for chaining. */ public Builder clearRequestsWithErrorsCount() { requestsWithErrorsCount_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList latencyCount_ = emptyLongList(); private void ensureLatencyCountIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { latencyCount_ = mutableCopy(latencyCount_); bitField0_ |= 0x00000001; } } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 latency_count = 8; * @return A list containing the latencyCount. */ public java.util.List getLatencyCountList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(latencyCount_) : latencyCount_; } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 latency_count = 8; * @return The count of latencyCount. */ public int getLatencyCountCount() { return latencyCount_.size(); } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 latency_count = 8; * @param index The index of the element to return. * @return The latencyCount at the given index. */ public long getLatencyCount(int index) { return latencyCount_.getLong(index); } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 latency_count = 8; * @param index The index to set the value at. * @param value The latencyCount to set. * @return This builder for chaining. */ public Builder setLatencyCount( int index, long value) { ensureLatencyCountIsMutable(); latencyCount_.setLong(index, value); onChanged(); return this; } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 latency_count = 8; * @param value The latencyCount to add. * @return This builder for chaining. */ public Builder addLatencyCount(long value) { ensureLatencyCountIsMutable(); latencyCount_.addLong(value); onChanged(); return this; } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 latency_count = 8; * @param values The latencyCount to add. * @return This builder for chaining. */ public Builder addAllLatencyCount( java.lang.Iterable values) { ensureLatencyCountIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, latencyCount_); onChanged(); return this; } /** *
       * Duration histogram; see docs/histograms.md
       * 
* * repeated int64 latency_count = 8; * @return This builder for chaining. */ public Builder clearLatencyCount() { latencyCount_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); 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:mdg.engine.proto.FieldStat) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.FieldStat) private static final mdg.engine.proto.Reports.FieldStat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.FieldStat(); } public static mdg.engine.proto.Reports.FieldStat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FieldStat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FieldStat(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.FieldStat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TypeStatOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.TypeStat) com.google.protobuf.MessageOrBuilder { /** *
     * deprecated; only set when stored in QueryStats.per_type
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * deprecated; only set when stored in QueryStats.per_type
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ java.util.List getFieldList(); /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ mdg.engine.proto.Reports.FieldStat getField(int index); /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ int getFieldCount(); /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ java.util.List getFieldOrBuilderList(); /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ mdg.engine.proto.Reports.FieldStatOrBuilder getFieldOrBuilder( int index); /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ int getPerFieldStatCount(); /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ boolean containsPerFieldStat( java.lang.String key); /** * Use {@link #getPerFieldStatMap()} instead. */ @java.lang.Deprecated java.util.Map getPerFieldStat(); /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ java.util.Map getPerFieldStatMap(); /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ /* nullable */ mdg.engine.proto.Reports.FieldStat getPerFieldStatOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.FieldStat defaultValue); /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ mdg.engine.proto.Reports.FieldStat getPerFieldStatOrThrow( java.lang.String key); } /** * Protobuf type {@code mdg.engine.proto.TypeStat} */ public static final class TypeStat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.TypeStat) TypeStatOrBuilder { private static final long serialVersionUID = 0L; // Use TypeStat.newBuilder() to construct. private TypeStat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TypeStat() { name_ = ""; field_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TypeStat(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TypeStat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { field_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } field_.add( input.readMessage(mdg.engine.proto.Reports.FieldStat.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { perFieldStat_ = com.google.protobuf.MapField.newMapField( PerFieldStatDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry perFieldStat__ = input.readMessage( PerFieldStatDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); perFieldStat_.getMutableMap().put( perFieldStat__.getKey(), perFieldStat__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { field_ = java.util.Collections.unmodifiableList(field_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TypeStat_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetPerFieldStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TypeStat_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.TypeStat.class, mdg.engine.proto.Reports.TypeStat.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * deprecated; only set when stored in QueryStats.per_type
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * deprecated; only set when stored in QueryStats.per_type
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIELD_FIELD_NUMBER = 2; private java.util.List field_; /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ @java.lang.Override public java.util.List getFieldList() { return field_; } /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ @java.lang.Override public java.util.List getFieldOrBuilderList() { return field_; } /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ @java.lang.Override public int getFieldCount() { return field_.size(); } /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ @java.lang.Override public mdg.engine.proto.Reports.FieldStat getField(int index) { return field_.get(index); } /** *
     * deprecated; use per_field_stat instead
     * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ @java.lang.Override public mdg.engine.proto.Reports.FieldStatOrBuilder getFieldOrBuilder( int index) { return field_.get(index); } public static final int PER_FIELD_STAT_FIELD_NUMBER = 3; private static final class PerFieldStatDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.FieldStat> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TypeStat_PerFieldStatEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.FieldStat.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.FieldStat> perFieldStat_; private com.google.protobuf.MapField internalGetPerFieldStat() { if (perFieldStat_ == null) { return com.google.protobuf.MapField.emptyMapField( PerFieldStatDefaultEntryHolder.defaultEntry); } return perFieldStat_; } public int getPerFieldStatCount() { return internalGetPerFieldStat().getMap().size(); } /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ @java.lang.Override public boolean containsPerFieldStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerFieldStat().getMap().containsKey(key); } /** * Use {@link #getPerFieldStatMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerFieldStat() { return getPerFieldStatMap(); } /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ @java.lang.Override public java.util.Map getPerFieldStatMap() { return internalGetPerFieldStat().getMap(); } /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ @java.lang.Override public mdg.engine.proto.Reports.FieldStat getPerFieldStatOrDefault( java.lang.String key, mdg.engine.proto.Reports.FieldStat defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerFieldStat().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Key is (eg) "email" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ @java.lang.Override public mdg.engine.proto.Reports.FieldStat getPerFieldStatOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerFieldStat().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < field_.size(); i++) { output.writeMessage(2, field_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetPerFieldStat(), PerFieldStatDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < field_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, field_.get(i)); } for (java.util.Map.Entry entry : internalGetPerFieldStat().getMap().entrySet()) { com.google.protobuf.MapEntry perFieldStat__ = PerFieldStatDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, perFieldStat__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.TypeStat)) { return super.equals(obj); } mdg.engine.proto.Reports.TypeStat other = (mdg.engine.proto.Reports.TypeStat) obj; if (!getName() .equals(other.getName())) return false; if (!getFieldList() .equals(other.getFieldList())) return false; if (!internalGetPerFieldStat().equals( other.internalGetPerFieldStat())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getFieldCount() > 0) { hash = (37 * hash) + FIELD_FIELD_NUMBER; hash = (53 * hash) + getFieldList().hashCode(); } if (!internalGetPerFieldStat().getMap().isEmpty()) { hash = (37 * hash) + PER_FIELD_STAT_FIELD_NUMBER; hash = (53 * hash) + internalGetPerFieldStat().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.TypeStat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TypeStat parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TypeStat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TypeStat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TypeStat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TypeStat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TypeStat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TypeStat 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 mdg.engine.proto.Reports.TypeStat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TypeStat 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 mdg.engine.proto.Reports.TypeStat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TypeStat 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(mdg.engine.proto.Reports.TypeStat 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 mdg.engine.proto.TypeStat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.TypeStat) mdg.engine.proto.Reports.TypeStatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TypeStat_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetPerFieldStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 3: return internalGetMutablePerFieldStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TypeStat_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.TypeStat.class, mdg.engine.proto.Reports.TypeStat.Builder.class); } // Construct using mdg.engine.proto.Reports.TypeStat.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFieldFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; if (fieldBuilder_ == null) { field_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { fieldBuilder_.clear(); } internalGetMutablePerFieldStat().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TypeStat_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.TypeStat getDefaultInstanceForType() { return mdg.engine.proto.Reports.TypeStat.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.TypeStat build() { mdg.engine.proto.Reports.TypeStat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.TypeStat buildPartial() { mdg.engine.proto.Reports.TypeStat result = new mdg.engine.proto.Reports.TypeStat(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (fieldBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { field_ = java.util.Collections.unmodifiableList(field_); bitField0_ = (bitField0_ & ~0x00000001); } result.field_ = field_; } else { result.field_ = fieldBuilder_.build(); } result.perFieldStat_ = internalGetPerFieldStat(); result.perFieldStat_.makeImmutable(); onBuilt(); return result; } @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 mdg.engine.proto.Reports.TypeStat) { return mergeFrom((mdg.engine.proto.Reports.TypeStat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.TypeStat other) { if (other == mdg.engine.proto.Reports.TypeStat.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (fieldBuilder_ == null) { if (!other.field_.isEmpty()) { if (field_.isEmpty()) { field_ = other.field_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFieldIsMutable(); field_.addAll(other.field_); } onChanged(); } } else { if (!other.field_.isEmpty()) { if (fieldBuilder_.isEmpty()) { fieldBuilder_.dispose(); fieldBuilder_ = null; field_ = other.field_; bitField0_ = (bitField0_ & ~0x00000001); fieldBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFieldFieldBuilder() : null; } else { fieldBuilder_.addAllMessages(other.field_); } } } internalGetMutablePerFieldStat().mergeFrom( other.internalGetPerFieldStat()); this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.TypeStat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.TypeStat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * deprecated; only set when stored in QueryStats.per_type
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * deprecated; only set when stored in QueryStats.per_type
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * deprecated; only set when stored in QueryStats.per_type
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * deprecated; only set when stored in QueryStats.per_type
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * deprecated; only set when stored in QueryStats.per_type
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.util.List field_ = java.util.Collections.emptyList(); private void ensureFieldIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { field_ = new java.util.ArrayList(field_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.FieldStat, mdg.engine.proto.Reports.FieldStat.Builder, mdg.engine.proto.Reports.FieldStatOrBuilder> fieldBuilder_; /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public java.util.List getFieldList() { if (fieldBuilder_ == null) { return java.util.Collections.unmodifiableList(field_); } else { return fieldBuilder_.getMessageList(); } } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public int getFieldCount() { if (fieldBuilder_ == null) { return field_.size(); } else { return fieldBuilder_.getCount(); } } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public mdg.engine.proto.Reports.FieldStat getField(int index) { if (fieldBuilder_ == null) { return field_.get(index); } else { return fieldBuilder_.getMessage(index); } } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder setField( int index, mdg.engine.proto.Reports.FieldStat value) { if (fieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.set(index, value); onChanged(); } else { fieldBuilder_.setMessage(index, value); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder setField( int index, mdg.engine.proto.Reports.FieldStat.Builder builderForValue) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); field_.set(index, builderForValue.build()); onChanged(); } else { fieldBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder addField(mdg.engine.proto.Reports.FieldStat value) { if (fieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.add(value); onChanged(); } else { fieldBuilder_.addMessage(value); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder addField( int index, mdg.engine.proto.Reports.FieldStat value) { if (fieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.add(index, value); onChanged(); } else { fieldBuilder_.addMessage(index, value); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder addField( mdg.engine.proto.Reports.FieldStat.Builder builderForValue) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); field_.add(builderForValue.build()); onChanged(); } else { fieldBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder addField( int index, mdg.engine.proto.Reports.FieldStat.Builder builderForValue) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); field_.add(index, builderForValue.build()); onChanged(); } else { fieldBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder addAllField( java.lang.Iterable values) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, field_); onChanged(); } else { fieldBuilder_.addAllMessages(values); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder clearField() { if (fieldBuilder_ == null) { field_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { fieldBuilder_.clear(); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public Builder removeField(int index) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); field_.remove(index); onChanged(); } else { fieldBuilder_.remove(index); } return this; } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public mdg.engine.proto.Reports.FieldStat.Builder getFieldBuilder( int index) { return getFieldFieldBuilder().getBuilder(index); } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public mdg.engine.proto.Reports.FieldStatOrBuilder getFieldOrBuilder( int index) { if (fieldBuilder_ == null) { return field_.get(index); } else { return fieldBuilder_.getMessageOrBuilder(index); } } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public java.util.List getFieldOrBuilderList() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(field_); } } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public mdg.engine.proto.Reports.FieldStat.Builder addFieldBuilder() { return getFieldFieldBuilder().addBuilder( mdg.engine.proto.Reports.FieldStat.getDefaultInstance()); } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public mdg.engine.proto.Reports.FieldStat.Builder addFieldBuilder( int index) { return getFieldFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.FieldStat.getDefaultInstance()); } /** *
       * deprecated; use per_field_stat instead
       * 
* * repeated .mdg.engine.proto.FieldStat field = 2; */ public java.util.List getFieldBuilderList() { return getFieldFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.FieldStat, mdg.engine.proto.Reports.FieldStat.Builder, mdg.engine.proto.Reports.FieldStatOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { fieldBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.FieldStat, mdg.engine.proto.Reports.FieldStat.Builder, mdg.engine.proto.Reports.FieldStatOrBuilder>( field_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.FieldStat> perFieldStat_; private com.google.protobuf.MapField internalGetPerFieldStat() { if (perFieldStat_ == null) { return com.google.protobuf.MapField.emptyMapField( PerFieldStatDefaultEntryHolder.defaultEntry); } return perFieldStat_; } private com.google.protobuf.MapField internalGetMutablePerFieldStat() { onChanged();; if (perFieldStat_ == null) { perFieldStat_ = com.google.protobuf.MapField.newMapField( PerFieldStatDefaultEntryHolder.defaultEntry); } if (!perFieldStat_.isMutable()) { perFieldStat_ = perFieldStat_.copy(); } return perFieldStat_; } public int getPerFieldStatCount() { return internalGetPerFieldStat().getMap().size(); } /** *
       * Key is (eg) "email" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ @java.lang.Override public boolean containsPerFieldStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerFieldStat().getMap().containsKey(key); } /** * Use {@link #getPerFieldStatMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerFieldStat() { return getPerFieldStatMap(); } /** *
       * Key is (eg) "email" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ @java.lang.Override public java.util.Map getPerFieldStatMap() { return internalGetPerFieldStat().getMap(); } /** *
       * Key is (eg) "email" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ @java.lang.Override public mdg.engine.proto.Reports.FieldStat getPerFieldStatOrDefault( java.lang.String key, mdg.engine.proto.Reports.FieldStat defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerFieldStat().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Key is (eg) "email" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ @java.lang.Override public mdg.engine.proto.Reports.FieldStat getPerFieldStatOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerFieldStat().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearPerFieldStat() { internalGetMutablePerFieldStat().getMutableMap() .clear(); return this; } /** *
       * Key is (eg) "email" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ public Builder removePerFieldStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePerFieldStat().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePerFieldStat() { return internalGetMutablePerFieldStat().getMutableMap(); } /** *
       * Key is (eg) "email" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ public Builder putPerFieldStat( java.lang.String key, mdg.engine.proto.Reports.FieldStat value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutablePerFieldStat().getMutableMap() .put(key, value); return this; } /** *
       * Key is (eg) "email" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.FieldStat> per_field_stat = 3; */ public Builder putAllPerFieldStat( java.util.Map values) { internalGetMutablePerFieldStat().getMutableMap() .putAll(values); 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:mdg.engine.proto.TypeStat) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.TypeStat) private static final mdg.engine.proto.Reports.TypeStat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.TypeStat(); } public static mdg.engine.proto.Reports.TypeStat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TypeStat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TypeStat(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.TypeStat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.QueryStats) com.google.protobuf.MessageOrBuilder { /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ int getPerClientNameCount(); /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ boolean containsPerClientName( java.lang.String key); /** * Use {@link #getPerClientNameMap()} instead. */ @java.lang.Deprecated java.util.Map getPerClientName(); /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ java.util.Map getPerClientNameMap(); /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ /* nullable */ mdg.engine.proto.Reports.ClientNameStats getPerClientNameOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.ClientNameStats defaultValue); /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ mdg.engine.proto.Reports.ClientNameStats getPerClientNameOrThrow( java.lang.String key); /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ java.util.List getQueryStatsWithContextList(); /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ mdg.engine.proto.Reports.ContextualizedQueryLatencyStats getQueryStatsWithContext(int index); /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ int getQueryStatsWithContextCount(); /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ java.util.List getQueryStatsWithContextOrBuilderList(); /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ mdg.engine.proto.Reports.ContextualizedQueryLatencyStatsOrBuilder getQueryStatsWithContextOrBuilder( int index); /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ java.util.List getPerTypeList(); /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ mdg.engine.proto.Reports.TypeStat getPerType(int index); /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ int getPerTypeCount(); /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ java.util.List getPerTypeOrBuilderList(); /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ mdg.engine.proto.Reports.TypeStatOrBuilder getPerTypeOrBuilder( int index); /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ int getPerTypeStatCount(); /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ boolean containsPerTypeStat( java.lang.String key); /** * Use {@link #getPerTypeStatMap()} instead. */ @java.lang.Deprecated java.util.Map getPerTypeStat(); /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ java.util.Map getPerTypeStatMap(); /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ /* nullable */ mdg.engine.proto.Reports.TypeStat getPerTypeStatOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.TypeStat defaultValue); /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ mdg.engine.proto.Reports.TypeStat getPerTypeStatOrThrow( java.lang.String key); /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ java.util.List getTypeStatsWithContextList(); /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ mdg.engine.proto.Reports.ContextualizedTypeStats getTypeStatsWithContext(int index); /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ int getTypeStatsWithContextCount(); /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ java.util.List getTypeStatsWithContextOrBuilderList(); /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ mdg.engine.proto.Reports.ContextualizedTypeStatsOrBuilder getTypeStatsWithContextOrBuilder( int index); } /** * Protobuf type {@code mdg.engine.proto.QueryStats} */ public static final class QueryStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.QueryStats) QueryStatsOrBuilder { private static final long serialVersionUID = 0L; // Use QueryStats.newBuilder() to construct. private QueryStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryStats() { queryStatsWithContext_ = java.util.Collections.emptyList(); perType_ = java.util.Collections.emptyList(); typeStatsWithContext_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new QueryStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { perClientName_ = com.google.protobuf.MapField.newMapField( PerClientNameDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry perClientName__ = input.readMessage( PerClientNameDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); perClientName_.getMutableMap().put( perClientName__.getKey(), perClientName__.getValue()); break; } case 18: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { perType_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } perType_.add( input.readMessage(mdg.engine.proto.Reports.TypeStat.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { perTypeStat_ = com.google.protobuf.MapField.newMapField( PerTypeStatDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000008; } com.google.protobuf.MapEntry perTypeStat__ = input.readMessage( PerTypeStatDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); perTypeStat_.getMutableMap().put( perTypeStat__.getKey(), perTypeStat__.getValue()); break; } case 34: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { queryStatsWithContext_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } queryStatsWithContext_.add( input.readMessage(mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.parser(), extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { typeStatsWithContext_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } typeStatsWithContext_.add( input.readMessage(mdg.engine.proto.Reports.ContextualizedTypeStats.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) != 0)) { perType_ = java.util.Collections.unmodifiableList(perType_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { queryStatsWithContext_ = java.util.Collections.unmodifiableList(queryStatsWithContext_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { typeStatsWithContext_ = java.util.Collections.unmodifiableList(typeStatsWithContext_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryStats_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetPerClientName(); case 3: return internalGetPerTypeStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.QueryStats.class, mdg.engine.proto.Reports.QueryStats.Builder.class); } public static final int PER_CLIENT_NAME_FIELD_NUMBER = 1; private static final class PerClientNameDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.ClientNameStats> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryStats_PerClientNameEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.ClientNameStats.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.ClientNameStats> perClientName_; private com.google.protobuf.MapField internalGetPerClientName() { if (perClientName_ == null) { return com.google.protobuf.MapField.emptyMapField( PerClientNameDefaultEntryHolder.defaultEntry); } return perClientName_; } public int getPerClientNameCount() { return internalGetPerClientName().getMap().size(); } /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ @java.lang.Override public boolean containsPerClientName( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerClientName().getMap().containsKey(key); } /** * Use {@link #getPerClientNameMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerClientName() { return getPerClientNameMap(); } /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ @java.lang.Override public java.util.Map getPerClientNameMap() { return internalGetPerClientName().getMap(); } /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ @java.lang.Override public mdg.engine.proto.Reports.ClientNameStats getPerClientNameOrDefault( java.lang.String key, mdg.engine.proto.Reports.ClientNameStats defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerClientName().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
     * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
     * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
     * fields will only ever be over the default version, the empty String: "", if arrived at via the
     * FullTracesAggregator.
     * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ @java.lang.Override public mdg.engine.proto.Reports.ClientNameStats getPerClientNameOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerClientName().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int QUERY_STATS_WITH_CONTEXT_FIELD_NUMBER = 4; private java.util.List queryStatsWithContext_; /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ @java.lang.Override public java.util.List getQueryStatsWithContextList() { return queryStatsWithContext_; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ @java.lang.Override public java.util.List getQueryStatsWithContextOrBuilderList() { return queryStatsWithContext_; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ @java.lang.Override public int getQueryStatsWithContextCount() { return queryStatsWithContext_.size(); } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ @java.lang.Override public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats getQueryStatsWithContext(int index) { return queryStatsWithContext_.get(index); } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ @java.lang.Override public mdg.engine.proto.Reports.ContextualizedQueryLatencyStatsOrBuilder getQueryStatsWithContextOrBuilder( int index) { return queryStatsWithContext_.get(index); } public static final int PER_TYPE_FIELD_NUMBER = 2; private java.util.List perType_; /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ @java.lang.Override public java.util.List getPerTypeList() { return perType_; } /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ @java.lang.Override public java.util.List getPerTypeOrBuilderList() { return perType_; } /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ @java.lang.Override public int getPerTypeCount() { return perType_.size(); } /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerType(int index) { return perType_.get(index); } /** *
     * deprecated; use type_stats_with_context instead
     * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStatOrBuilder getPerTypeOrBuilder( int index) { return perType_.get(index); } public static final int PER_TYPE_STAT_FIELD_NUMBER = 3; private static final class PerTypeStatDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.TypeStat> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryStats_PerTypeStatEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.TypeStat.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.TypeStat> perTypeStat_; private com.google.protobuf.MapField internalGetPerTypeStat() { if (perTypeStat_ == null) { return com.google.protobuf.MapField.emptyMapField( PerTypeStatDefaultEntryHolder.defaultEntry); } return perTypeStat_; } public int getPerTypeStatCount() { return internalGetPerTypeStat().getMap().size(); } /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ @java.lang.Override public boolean containsPerTypeStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerTypeStat().getMap().containsKey(key); } /** * Use {@link #getPerTypeStatMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerTypeStat() { return getPerTypeStatMap(); } /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ @java.lang.Override public java.util.Map getPerTypeStatMap() { return internalGetPerTypeStat().getMap(); } /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerTypeStatOrDefault( java.lang.String key, mdg.engine.proto.Reports.TypeStat defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerTypeStat().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Key is the parent type, e.g. "User" for User.email:String!
     * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerTypeStatOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerTypeStat().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int TYPE_STATS_WITH_CONTEXT_FIELD_NUMBER = 5; private java.util.List typeStatsWithContext_; /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ @java.lang.Override public java.util.List getTypeStatsWithContextList() { return typeStatsWithContext_; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ @java.lang.Override public java.util.List getTypeStatsWithContextOrBuilderList() { return typeStatsWithContext_; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ @java.lang.Override public int getTypeStatsWithContextCount() { return typeStatsWithContext_.size(); } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ @java.lang.Override public mdg.engine.proto.Reports.ContextualizedTypeStats getTypeStatsWithContext(int index) { return typeStatsWithContext_.get(index); } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ @java.lang.Override public mdg.engine.proto.Reports.ContextualizedTypeStatsOrBuilder getTypeStatsWithContextOrBuilder( int index) { return typeStatsWithContext_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetPerClientName(), PerClientNameDefaultEntryHolder.defaultEntry, 1); for (int i = 0; i < perType_.size(); i++) { output.writeMessage(2, perType_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetPerTypeStat(), PerTypeStatDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < queryStatsWithContext_.size(); i++) { output.writeMessage(4, queryStatsWithContext_.get(i)); } for (int i = 0; i < typeStatsWithContext_.size(); i++) { output.writeMessage(5, typeStatsWithContext_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetPerClientName().getMap().entrySet()) { com.google.protobuf.MapEntry perClientName__ = PerClientNameDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, perClientName__); } for (int i = 0; i < perType_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, perType_.get(i)); } for (java.util.Map.Entry entry : internalGetPerTypeStat().getMap().entrySet()) { com.google.protobuf.MapEntry perTypeStat__ = PerTypeStatDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, perTypeStat__); } for (int i = 0; i < queryStatsWithContext_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, queryStatsWithContext_.get(i)); } for (int i = 0; i < typeStatsWithContext_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, typeStatsWithContext_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.QueryStats)) { return super.equals(obj); } mdg.engine.proto.Reports.QueryStats other = (mdg.engine.proto.Reports.QueryStats) obj; if (!internalGetPerClientName().equals( other.internalGetPerClientName())) return false; if (!getQueryStatsWithContextList() .equals(other.getQueryStatsWithContextList())) return false; if (!getPerTypeList() .equals(other.getPerTypeList())) return false; if (!internalGetPerTypeStat().equals( other.internalGetPerTypeStat())) return false; if (!getTypeStatsWithContextList() .equals(other.getTypeStatsWithContextList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetPerClientName().getMap().isEmpty()) { hash = (37 * hash) + PER_CLIENT_NAME_FIELD_NUMBER; hash = (53 * hash) + internalGetPerClientName().hashCode(); } if (getQueryStatsWithContextCount() > 0) { hash = (37 * hash) + QUERY_STATS_WITH_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getQueryStatsWithContextList().hashCode(); } if (getPerTypeCount() > 0) { hash = (37 * hash) + PER_TYPE_FIELD_NUMBER; hash = (53 * hash) + getPerTypeList().hashCode(); } if (!internalGetPerTypeStat().getMap().isEmpty()) { hash = (37 * hash) + PER_TYPE_STAT_FIELD_NUMBER; hash = (53 * hash) + internalGetPerTypeStat().hashCode(); } if (getTypeStatsWithContextCount() > 0) { hash = (37 * hash) + TYPE_STATS_WITH_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getTypeStatsWithContextList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.QueryStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.QueryStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.QueryStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.QueryStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.QueryStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.QueryStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.QueryStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.QueryStats 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 mdg.engine.proto.Reports.QueryStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.QueryStats 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 mdg.engine.proto.Reports.QueryStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.QueryStats 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(mdg.engine.proto.Reports.QueryStats 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 mdg.engine.proto.QueryStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.QueryStats) mdg.engine.proto.Reports.QueryStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryStats_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetPerClientName(); case 3: return internalGetPerTypeStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutablePerClientName(); case 3: return internalGetMutablePerTypeStat(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.QueryStats.class, mdg.engine.proto.Reports.QueryStats.Builder.class); } // Construct using mdg.engine.proto.Reports.QueryStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getQueryStatsWithContextFieldBuilder(); getPerTypeFieldBuilder(); getTypeStatsWithContextFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutablePerClientName().clear(); if (queryStatsWithContextBuilder_ == null) { queryStatsWithContext_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { queryStatsWithContextBuilder_.clear(); } if (perTypeBuilder_ == null) { perType_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { perTypeBuilder_.clear(); } internalGetMutablePerTypeStat().clear(); if (typeStatsWithContextBuilder_ == null) { typeStatsWithContext_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { typeStatsWithContextBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_QueryStats_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.QueryStats getDefaultInstanceForType() { return mdg.engine.proto.Reports.QueryStats.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.QueryStats build() { mdg.engine.proto.Reports.QueryStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.QueryStats buildPartial() { mdg.engine.proto.Reports.QueryStats result = new mdg.engine.proto.Reports.QueryStats(this); int from_bitField0_ = bitField0_; result.perClientName_ = internalGetPerClientName(); result.perClientName_.makeImmutable(); if (queryStatsWithContextBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { queryStatsWithContext_ = java.util.Collections.unmodifiableList(queryStatsWithContext_); bitField0_ = (bitField0_ & ~0x00000002); } result.queryStatsWithContext_ = queryStatsWithContext_; } else { result.queryStatsWithContext_ = queryStatsWithContextBuilder_.build(); } if (perTypeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { perType_ = java.util.Collections.unmodifiableList(perType_); bitField0_ = (bitField0_ & ~0x00000004); } result.perType_ = perType_; } else { result.perType_ = perTypeBuilder_.build(); } result.perTypeStat_ = internalGetPerTypeStat(); result.perTypeStat_.makeImmutable(); if (typeStatsWithContextBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { typeStatsWithContext_ = java.util.Collections.unmodifiableList(typeStatsWithContext_); bitField0_ = (bitField0_ & ~0x00000010); } result.typeStatsWithContext_ = typeStatsWithContext_; } else { result.typeStatsWithContext_ = typeStatsWithContextBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.QueryStats) { return mergeFrom((mdg.engine.proto.Reports.QueryStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.QueryStats other) { if (other == mdg.engine.proto.Reports.QueryStats.getDefaultInstance()) return this; internalGetMutablePerClientName().mergeFrom( other.internalGetPerClientName()); if (queryStatsWithContextBuilder_ == null) { if (!other.queryStatsWithContext_.isEmpty()) { if (queryStatsWithContext_.isEmpty()) { queryStatsWithContext_ = other.queryStatsWithContext_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureQueryStatsWithContextIsMutable(); queryStatsWithContext_.addAll(other.queryStatsWithContext_); } onChanged(); } } else { if (!other.queryStatsWithContext_.isEmpty()) { if (queryStatsWithContextBuilder_.isEmpty()) { queryStatsWithContextBuilder_.dispose(); queryStatsWithContextBuilder_ = null; queryStatsWithContext_ = other.queryStatsWithContext_; bitField0_ = (bitField0_ & ~0x00000002); queryStatsWithContextBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getQueryStatsWithContextFieldBuilder() : null; } else { queryStatsWithContextBuilder_.addAllMessages(other.queryStatsWithContext_); } } } if (perTypeBuilder_ == null) { if (!other.perType_.isEmpty()) { if (perType_.isEmpty()) { perType_ = other.perType_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensurePerTypeIsMutable(); perType_.addAll(other.perType_); } onChanged(); } } else { if (!other.perType_.isEmpty()) { if (perTypeBuilder_.isEmpty()) { perTypeBuilder_.dispose(); perTypeBuilder_ = null; perType_ = other.perType_; bitField0_ = (bitField0_ & ~0x00000004); perTypeBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPerTypeFieldBuilder() : null; } else { perTypeBuilder_.addAllMessages(other.perType_); } } } internalGetMutablePerTypeStat().mergeFrom( other.internalGetPerTypeStat()); if (typeStatsWithContextBuilder_ == null) { if (!other.typeStatsWithContext_.isEmpty()) { if (typeStatsWithContext_.isEmpty()) { typeStatsWithContext_ = other.typeStatsWithContext_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureTypeStatsWithContextIsMutable(); typeStatsWithContext_.addAll(other.typeStatsWithContext_); } onChanged(); } } else { if (!other.typeStatsWithContext_.isEmpty()) { if (typeStatsWithContextBuilder_.isEmpty()) { typeStatsWithContextBuilder_.dispose(); typeStatsWithContextBuilder_ = null; typeStatsWithContext_ = other.typeStatsWithContext_; bitField0_ = (bitField0_ & ~0x00000010); typeStatsWithContextBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTypeStatsWithContextFieldBuilder() : null; } else { typeStatsWithContextBuilder_.addAllMessages(other.typeStatsWithContext_); } } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.QueryStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.QueryStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.ClientNameStats> perClientName_; private com.google.protobuf.MapField internalGetPerClientName() { if (perClientName_ == null) { return com.google.protobuf.MapField.emptyMapField( PerClientNameDefaultEntryHolder.defaultEntry); } return perClientName_; } private com.google.protobuf.MapField internalGetMutablePerClientName() { onChanged();; if (perClientName_ == null) { perClientName_ = com.google.protobuf.MapField.newMapField( PerClientNameDefaultEntryHolder.defaultEntry); } if (!perClientName_.isMutable()) { perClientName_ = perClientName_.copy(); } return perClientName_; } public int getPerClientNameCount() { return internalGetPerClientName().getMap().size(); } /** *
       * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       * fields will only ever be over the default version, the empty String: "", if arrived at via the
       * FullTracesAggregator.
       * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ @java.lang.Override public boolean containsPerClientName( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerClientName().getMap().containsKey(key); } /** * Use {@link #getPerClientNameMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerClientName() { return getPerClientNameMap(); } /** *
       * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       * fields will only ever be over the default version, the empty String: "", if arrived at via the
       * FullTracesAggregator.
       * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ @java.lang.Override public java.util.Map getPerClientNameMap() { return internalGetPerClientName().getMap(); } /** *
       * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       * fields will only ever be over the default version, the empty String: "", if arrived at via the
       * FullTracesAggregator.
       * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ @java.lang.Override public mdg.engine.proto.Reports.ClientNameStats getPerClientNameOrDefault( java.lang.String key, mdg.engine.proto.Reports.ClientNameStats defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerClientName().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       * fields will only ever be over the default version, the empty String: "", if arrived at via the
       * FullTracesAggregator.
       * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ @java.lang.Override public mdg.engine.proto.Reports.ClientNameStats getPerClientNameOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerClientName().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearPerClientName() { internalGetMutablePerClientName().getMutableMap() .clear(); return this; } /** *
       * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       * fields will only ever be over the default version, the empty String: "", if arrived at via the
       * FullTracesAggregator.
       * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ public Builder removePerClientName( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePerClientName().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePerClientName() { return internalGetMutablePerClientName().getMutableMap(); } /** *
       * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       * fields will only ever be over the default version, the empty String: "", if arrived at via the
       * FullTracesAggregator.
       * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ public Builder putPerClientName( java.lang.String key, mdg.engine.proto.Reports.ClientNameStats value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutablePerClientName().getMutableMap() .put(key, value); return this; } /** *
       * Either per_client_name (for back-compat) or query_stats_with_context must be specified. If both are
       * specified, then query_stats_with_context will be used and per_client_name will be ignored. Although
       * the fields in ClientNameStats mention things "per-version," the information in the "per-version"
       * fields will only ever be over the default version, the empty String: "", if arrived at via the
       * FullTracesAggregator.
       * 
* * map<string, .mdg.engine.proto.ClientNameStats> per_client_name = 1; */ public Builder putAllPerClientName( java.util.Map values) { internalGetMutablePerClientName().getMutableMap() .putAll(values); return this; } private java.util.List queryStatsWithContext_ = java.util.Collections.emptyList(); private void ensureQueryStatsWithContextIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { queryStatsWithContext_ = new java.util.ArrayList(queryStatsWithContext_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.ContextualizedQueryLatencyStats, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder, mdg.engine.proto.Reports.ContextualizedQueryLatencyStatsOrBuilder> queryStatsWithContextBuilder_; /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public java.util.List getQueryStatsWithContextList() { if (queryStatsWithContextBuilder_ == null) { return java.util.Collections.unmodifiableList(queryStatsWithContext_); } else { return queryStatsWithContextBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public int getQueryStatsWithContextCount() { if (queryStatsWithContextBuilder_ == null) { return queryStatsWithContext_.size(); } else { return queryStatsWithContextBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats getQueryStatsWithContext(int index) { if (queryStatsWithContextBuilder_ == null) { return queryStatsWithContext_.get(index); } else { return queryStatsWithContextBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder setQueryStatsWithContext( int index, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats value) { if (queryStatsWithContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryStatsWithContextIsMutable(); queryStatsWithContext_.set(index, value); onChanged(); } else { queryStatsWithContextBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder setQueryStatsWithContext( int index, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder builderForValue) { if (queryStatsWithContextBuilder_ == null) { ensureQueryStatsWithContextIsMutable(); queryStatsWithContext_.set(index, builderForValue.build()); onChanged(); } else { queryStatsWithContextBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder addQueryStatsWithContext(mdg.engine.proto.Reports.ContextualizedQueryLatencyStats value) { if (queryStatsWithContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryStatsWithContextIsMutable(); queryStatsWithContext_.add(value); onChanged(); } else { queryStatsWithContextBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder addQueryStatsWithContext( int index, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats value) { if (queryStatsWithContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryStatsWithContextIsMutable(); queryStatsWithContext_.add(index, value); onChanged(); } else { queryStatsWithContextBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder addQueryStatsWithContext( mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder builderForValue) { if (queryStatsWithContextBuilder_ == null) { ensureQueryStatsWithContextIsMutable(); queryStatsWithContext_.add(builderForValue.build()); onChanged(); } else { queryStatsWithContextBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder addQueryStatsWithContext( int index, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder builderForValue) { if (queryStatsWithContextBuilder_ == null) { ensureQueryStatsWithContextIsMutable(); queryStatsWithContext_.add(index, builderForValue.build()); onChanged(); } else { queryStatsWithContextBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder addAllQueryStatsWithContext( java.lang.Iterable values) { if (queryStatsWithContextBuilder_ == null) { ensureQueryStatsWithContextIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queryStatsWithContext_); onChanged(); } else { queryStatsWithContextBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder clearQueryStatsWithContext() { if (queryStatsWithContextBuilder_ == null) { queryStatsWithContext_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { queryStatsWithContextBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public Builder removeQueryStatsWithContext(int index) { if (queryStatsWithContextBuilder_ == null) { ensureQueryStatsWithContextIsMutable(); queryStatsWithContext_.remove(index); onChanged(); } else { queryStatsWithContextBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder getQueryStatsWithContextBuilder( int index) { return getQueryStatsWithContextFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public mdg.engine.proto.Reports.ContextualizedQueryLatencyStatsOrBuilder getQueryStatsWithContextOrBuilder( int index) { if (queryStatsWithContextBuilder_ == null) { return queryStatsWithContext_.get(index); } else { return queryStatsWithContextBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public java.util.List getQueryStatsWithContextOrBuilderList() { if (queryStatsWithContextBuilder_ != null) { return queryStatsWithContextBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(queryStatsWithContext_); } } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder addQueryStatsWithContextBuilder() { return getQueryStatsWithContextFieldBuilder().addBuilder( mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.getDefaultInstance()); } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder addQueryStatsWithContextBuilder( int index) { return getQueryStatsWithContextFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.getDefaultInstance()); } /** * repeated .mdg.engine.proto.ContextualizedQueryLatencyStats query_stats_with_context = 4; */ public java.util.List getQueryStatsWithContextBuilderList() { return getQueryStatsWithContextFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.ContextualizedQueryLatencyStats, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder, mdg.engine.proto.Reports.ContextualizedQueryLatencyStatsOrBuilder> getQueryStatsWithContextFieldBuilder() { if (queryStatsWithContextBuilder_ == null) { queryStatsWithContextBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.ContextualizedQueryLatencyStats, mdg.engine.proto.Reports.ContextualizedQueryLatencyStats.Builder, mdg.engine.proto.Reports.ContextualizedQueryLatencyStatsOrBuilder>( queryStatsWithContext_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); queryStatsWithContext_ = null; } return queryStatsWithContextBuilder_; } private java.util.List perType_ = java.util.Collections.emptyList(); private void ensurePerTypeIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { perType_ = new java.util.ArrayList(perType_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.TypeStat, mdg.engine.proto.Reports.TypeStat.Builder, mdg.engine.proto.Reports.TypeStatOrBuilder> perTypeBuilder_; /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public java.util.List getPerTypeList() { if (perTypeBuilder_ == null) { return java.util.Collections.unmodifiableList(perType_); } else { return perTypeBuilder_.getMessageList(); } } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public int getPerTypeCount() { if (perTypeBuilder_ == null) { return perType_.size(); } else { return perTypeBuilder_.getCount(); } } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public mdg.engine.proto.Reports.TypeStat getPerType(int index) { if (perTypeBuilder_ == null) { return perType_.get(index); } else { return perTypeBuilder_.getMessage(index); } } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder setPerType( int index, mdg.engine.proto.Reports.TypeStat value) { if (perTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePerTypeIsMutable(); perType_.set(index, value); onChanged(); } else { perTypeBuilder_.setMessage(index, value); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder setPerType( int index, mdg.engine.proto.Reports.TypeStat.Builder builderForValue) { if (perTypeBuilder_ == null) { ensurePerTypeIsMutable(); perType_.set(index, builderForValue.build()); onChanged(); } else { perTypeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder addPerType(mdg.engine.proto.Reports.TypeStat value) { if (perTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePerTypeIsMutable(); perType_.add(value); onChanged(); } else { perTypeBuilder_.addMessage(value); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder addPerType( int index, mdg.engine.proto.Reports.TypeStat value) { if (perTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePerTypeIsMutable(); perType_.add(index, value); onChanged(); } else { perTypeBuilder_.addMessage(index, value); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder addPerType( mdg.engine.proto.Reports.TypeStat.Builder builderForValue) { if (perTypeBuilder_ == null) { ensurePerTypeIsMutable(); perType_.add(builderForValue.build()); onChanged(); } else { perTypeBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder addPerType( int index, mdg.engine.proto.Reports.TypeStat.Builder builderForValue) { if (perTypeBuilder_ == null) { ensurePerTypeIsMutable(); perType_.add(index, builderForValue.build()); onChanged(); } else { perTypeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder addAllPerType( java.lang.Iterable values) { if (perTypeBuilder_ == null) { ensurePerTypeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, perType_); onChanged(); } else { perTypeBuilder_.addAllMessages(values); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder clearPerType() { if (perTypeBuilder_ == null) { perType_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { perTypeBuilder_.clear(); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public Builder removePerType(int index) { if (perTypeBuilder_ == null) { ensurePerTypeIsMutable(); perType_.remove(index); onChanged(); } else { perTypeBuilder_.remove(index); } return this; } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public mdg.engine.proto.Reports.TypeStat.Builder getPerTypeBuilder( int index) { return getPerTypeFieldBuilder().getBuilder(index); } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public mdg.engine.proto.Reports.TypeStatOrBuilder getPerTypeOrBuilder( int index) { if (perTypeBuilder_ == null) { return perType_.get(index); } else { return perTypeBuilder_.getMessageOrBuilder(index); } } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public java.util.List getPerTypeOrBuilderList() { if (perTypeBuilder_ != null) { return perTypeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(perType_); } } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public mdg.engine.proto.Reports.TypeStat.Builder addPerTypeBuilder() { return getPerTypeFieldBuilder().addBuilder( mdg.engine.proto.Reports.TypeStat.getDefaultInstance()); } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public mdg.engine.proto.Reports.TypeStat.Builder addPerTypeBuilder( int index) { return getPerTypeFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.TypeStat.getDefaultInstance()); } /** *
       * deprecated; use type_stats_with_context instead
       * 
* * repeated .mdg.engine.proto.TypeStat per_type = 2; */ public java.util.List getPerTypeBuilderList() { return getPerTypeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.TypeStat, mdg.engine.proto.Reports.TypeStat.Builder, mdg.engine.proto.Reports.TypeStatOrBuilder> getPerTypeFieldBuilder() { if (perTypeBuilder_ == null) { perTypeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.TypeStat, mdg.engine.proto.Reports.TypeStat.Builder, mdg.engine.proto.Reports.TypeStatOrBuilder>( perType_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); perType_ = null; } return perTypeBuilder_; } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.TypeStat> perTypeStat_; private com.google.protobuf.MapField internalGetPerTypeStat() { if (perTypeStat_ == null) { return com.google.protobuf.MapField.emptyMapField( PerTypeStatDefaultEntryHolder.defaultEntry); } return perTypeStat_; } private com.google.protobuf.MapField internalGetMutablePerTypeStat() { onChanged();; if (perTypeStat_ == null) { perTypeStat_ = com.google.protobuf.MapField.newMapField( PerTypeStatDefaultEntryHolder.defaultEntry); } if (!perTypeStat_.isMutable()) { perTypeStat_ = perTypeStat_.copy(); } return perTypeStat_; } public int getPerTypeStatCount() { return internalGetPerTypeStat().getMap().size(); } /** *
       * Key is the parent type, e.g. "User" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ @java.lang.Override public boolean containsPerTypeStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerTypeStat().getMap().containsKey(key); } /** * Use {@link #getPerTypeStatMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerTypeStat() { return getPerTypeStatMap(); } /** *
       * Key is the parent type, e.g. "User" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ @java.lang.Override public java.util.Map getPerTypeStatMap() { return internalGetPerTypeStat().getMap(); } /** *
       * Key is the parent type, e.g. "User" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerTypeStatOrDefault( java.lang.String key, mdg.engine.proto.Reports.TypeStat defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerTypeStat().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Key is the parent type, e.g. "User" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ @java.lang.Override public mdg.engine.proto.Reports.TypeStat getPerTypeStatOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerTypeStat().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearPerTypeStat() { internalGetMutablePerTypeStat().getMutableMap() .clear(); return this; } /** *
       * Key is the parent type, e.g. "User" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ public Builder removePerTypeStat( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePerTypeStat().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePerTypeStat() { return internalGetMutablePerTypeStat().getMutableMap(); } /** *
       * Key is the parent type, e.g. "User" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ public Builder putPerTypeStat( java.lang.String key, mdg.engine.proto.Reports.TypeStat value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutablePerTypeStat().getMutableMap() .put(key, value); return this; } /** *
       * Key is the parent type, e.g. "User" for User.email:String!
       * 
* * map<string, .mdg.engine.proto.TypeStat> per_type_stat = 3; */ public Builder putAllPerTypeStat( java.util.Map values) { internalGetMutablePerTypeStat().getMutableMap() .putAll(values); return this; } private java.util.List typeStatsWithContext_ = java.util.Collections.emptyList(); private void ensureTypeStatsWithContextIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { typeStatsWithContext_ = new java.util.ArrayList(typeStatsWithContext_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.ContextualizedTypeStats, mdg.engine.proto.Reports.ContextualizedTypeStats.Builder, mdg.engine.proto.Reports.ContextualizedTypeStatsOrBuilder> typeStatsWithContextBuilder_; /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public java.util.List getTypeStatsWithContextList() { if (typeStatsWithContextBuilder_ == null) { return java.util.Collections.unmodifiableList(typeStatsWithContext_); } else { return typeStatsWithContextBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public int getTypeStatsWithContextCount() { if (typeStatsWithContextBuilder_ == null) { return typeStatsWithContext_.size(); } else { return typeStatsWithContextBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public mdg.engine.proto.Reports.ContextualizedTypeStats getTypeStatsWithContext(int index) { if (typeStatsWithContextBuilder_ == null) { return typeStatsWithContext_.get(index); } else { return typeStatsWithContextBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder setTypeStatsWithContext( int index, mdg.engine.proto.Reports.ContextualizedTypeStats value) { if (typeStatsWithContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypeStatsWithContextIsMutable(); typeStatsWithContext_.set(index, value); onChanged(); } else { typeStatsWithContextBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder setTypeStatsWithContext( int index, mdg.engine.proto.Reports.ContextualizedTypeStats.Builder builderForValue) { if (typeStatsWithContextBuilder_ == null) { ensureTypeStatsWithContextIsMutable(); typeStatsWithContext_.set(index, builderForValue.build()); onChanged(); } else { typeStatsWithContextBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder addTypeStatsWithContext(mdg.engine.proto.Reports.ContextualizedTypeStats value) { if (typeStatsWithContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypeStatsWithContextIsMutable(); typeStatsWithContext_.add(value); onChanged(); } else { typeStatsWithContextBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder addTypeStatsWithContext( int index, mdg.engine.proto.Reports.ContextualizedTypeStats value) { if (typeStatsWithContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypeStatsWithContextIsMutable(); typeStatsWithContext_.add(index, value); onChanged(); } else { typeStatsWithContextBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder addTypeStatsWithContext( mdg.engine.proto.Reports.ContextualizedTypeStats.Builder builderForValue) { if (typeStatsWithContextBuilder_ == null) { ensureTypeStatsWithContextIsMutable(); typeStatsWithContext_.add(builderForValue.build()); onChanged(); } else { typeStatsWithContextBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder addTypeStatsWithContext( int index, mdg.engine.proto.Reports.ContextualizedTypeStats.Builder builderForValue) { if (typeStatsWithContextBuilder_ == null) { ensureTypeStatsWithContextIsMutable(); typeStatsWithContext_.add(index, builderForValue.build()); onChanged(); } else { typeStatsWithContextBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder addAllTypeStatsWithContext( java.lang.Iterable values) { if (typeStatsWithContextBuilder_ == null) { ensureTypeStatsWithContextIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, typeStatsWithContext_); onChanged(); } else { typeStatsWithContextBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder clearTypeStatsWithContext() { if (typeStatsWithContextBuilder_ == null) { typeStatsWithContext_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { typeStatsWithContextBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public Builder removeTypeStatsWithContext(int index) { if (typeStatsWithContextBuilder_ == null) { ensureTypeStatsWithContextIsMutable(); typeStatsWithContext_.remove(index); onChanged(); } else { typeStatsWithContextBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public mdg.engine.proto.Reports.ContextualizedTypeStats.Builder getTypeStatsWithContextBuilder( int index) { return getTypeStatsWithContextFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public mdg.engine.proto.Reports.ContextualizedTypeStatsOrBuilder getTypeStatsWithContextOrBuilder( int index) { if (typeStatsWithContextBuilder_ == null) { return typeStatsWithContext_.get(index); } else { return typeStatsWithContextBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public java.util.List getTypeStatsWithContextOrBuilderList() { if (typeStatsWithContextBuilder_ != null) { return typeStatsWithContextBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(typeStatsWithContext_); } } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public mdg.engine.proto.Reports.ContextualizedTypeStats.Builder addTypeStatsWithContextBuilder() { return getTypeStatsWithContextFieldBuilder().addBuilder( mdg.engine.proto.Reports.ContextualizedTypeStats.getDefaultInstance()); } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public mdg.engine.proto.Reports.ContextualizedTypeStats.Builder addTypeStatsWithContextBuilder( int index) { return getTypeStatsWithContextFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.ContextualizedTypeStats.getDefaultInstance()); } /** * repeated .mdg.engine.proto.ContextualizedTypeStats type_stats_with_context = 5; */ public java.util.List getTypeStatsWithContextBuilderList() { return getTypeStatsWithContextFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.ContextualizedTypeStats, mdg.engine.proto.Reports.ContextualizedTypeStats.Builder, mdg.engine.proto.Reports.ContextualizedTypeStatsOrBuilder> getTypeStatsWithContextFieldBuilder() { if (typeStatsWithContextBuilder_ == null) { typeStatsWithContextBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.ContextualizedTypeStats, mdg.engine.proto.Reports.ContextualizedTypeStats.Builder, mdg.engine.proto.Reports.ContextualizedTypeStatsOrBuilder>( typeStatsWithContext_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); typeStatsWithContext_ = null; } return typeStatsWithContextBuilder_; } @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:mdg.engine.proto.QueryStats) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.QueryStats) private static final mdg.engine.proto.Reports.QueryStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.QueryStats(); } public static mdg.engine.proto.Reports.QueryStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public QueryStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new QueryStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.QueryStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TracesReportOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.TracesReport) com.google.protobuf.MessageOrBuilder { /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ mdg.engine.proto.Reports.ReportHeader getHeader(); /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; */ mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder(); /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ java.util.List getTraceList(); /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ mdg.engine.proto.Reports.Trace getTrace(int index); /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ int getTraceCount(); /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ java.util.List getTraceOrBuilderList(); /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder( int index); } /** *
   * Top-level message type for the server-side traces endpoint
   * 
* * Protobuf type {@code mdg.engine.proto.TracesReport} */ public static final class TracesReport extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.TracesReport) TracesReportOrBuilder { private static final long serialVersionUID = 0L; // Use TracesReport.newBuilder() to construct. private TracesReport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TracesReport() { trace_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TracesReport(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TracesReport( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { mdg.engine.proto.Reports.ReportHeader.Builder subBuilder = null; if (header_ != null) { subBuilder = header_.toBuilder(); } header_ = input.readMessage(mdg.engine.proto.Reports.ReportHeader.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(header_); header_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { trace_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } trace_.add( input.readMessage(mdg.engine.proto.Reports.Trace.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { trace_ = java.util.Collections.unmodifiableList(trace_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TracesReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TracesReport_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.TracesReport.class, mdg.engine.proto.Reports.TracesReport.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private mdg.engine.proto.Reports.ReportHeader header_; /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ @java.lang.Override public mdg.engine.proto.Reports.ReportHeader getHeader() { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; */ @java.lang.Override public mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int TRACE_FIELD_NUMBER = 2; private java.util.List trace_; /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ @java.lang.Override public java.util.List getTraceList() { return trace_; } /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ @java.lang.Override public java.util.List getTraceOrBuilderList() { return trace_; } /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ @java.lang.Override public int getTraceCount() { return trace_.size(); } /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ @java.lang.Override public mdg.engine.proto.Reports.Trace getTrace(int index) { return trace_.get(index); } /** *
     * required
     * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ @java.lang.Override public mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder( int index) { return trace_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } for (int i = 0; i < trace_.size(); i++) { output.writeMessage(2, trace_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } for (int i = 0; i < trace_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, trace_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.TracesReport)) { return super.equals(obj); } mdg.engine.proto.Reports.TracesReport other = (mdg.engine.proto.Reports.TracesReport) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!getTraceList() .equals(other.getTraceList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } if (getTraceCount() > 0) { hash = (37 * hash) + TRACE_FIELD_NUMBER; hash = (53 * hash) + getTraceList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.TracesReport parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TracesReport parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TracesReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TracesReport parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TracesReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TracesReport parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TracesReport parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TracesReport 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 mdg.engine.proto.Reports.TracesReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TracesReport 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 mdg.engine.proto.Reports.TracesReport parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TracesReport 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(mdg.engine.proto.Reports.TracesReport 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; } /** *
     * Top-level message type for the server-side traces endpoint
     * 
* * Protobuf type {@code mdg.engine.proto.TracesReport} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.TracesReport) mdg.engine.proto.Reports.TracesReportOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TracesReport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TracesReport_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.TracesReport.class, mdg.engine.proto.Reports.TracesReport.Builder.class); } // Construct using mdg.engine.proto.Reports.TracesReport.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTraceFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } if (traceBuilder_ == null) { trace_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { traceBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TracesReport_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.TracesReport getDefaultInstanceForType() { return mdg.engine.proto.Reports.TracesReport.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.TracesReport build() { mdg.engine.proto.Reports.TracesReport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.TracesReport buildPartial() { mdg.engine.proto.Reports.TracesReport result = new mdg.engine.proto.Reports.TracesReport(this); int from_bitField0_ = bitField0_; if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } if (traceBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { trace_ = java.util.Collections.unmodifiableList(trace_); bitField0_ = (bitField0_ & ~0x00000001); } result.trace_ = trace_; } else { result.trace_ = traceBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.TracesReport) { return mergeFrom((mdg.engine.proto.Reports.TracesReport)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.TracesReport other) { if (other == mdg.engine.proto.Reports.TracesReport.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (traceBuilder_ == null) { if (!other.trace_.isEmpty()) { if (trace_.isEmpty()) { trace_ = other.trace_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTraceIsMutable(); trace_.addAll(other.trace_); } onChanged(); } } else { if (!other.trace_.isEmpty()) { if (traceBuilder_.isEmpty()) { traceBuilder_.dispose(); traceBuilder_ = null; trace_ = other.trace_; bitField0_ = (bitField0_ & ~0x00000001); traceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTraceFieldBuilder() : null; } else { traceBuilder_.addAllMessages(other.trace_); } } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.TracesReport parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.TracesReport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private mdg.engine.proto.Reports.ReportHeader header_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder> headerBuilder_; /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ public mdg.engine.proto.Reports.ReportHeader getHeader() { if (headerBuilder_ == null) { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public Builder setHeader(mdg.engine.proto.Reports.ReportHeader value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public Builder setHeader( mdg.engine.proto.Reports.ReportHeader.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public Builder mergeHeader(mdg.engine.proto.Reports.ReportHeader value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = mdg.engine.proto.Reports.ReportHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public mdg.engine.proto.Reports.ReportHeader.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private java.util.List trace_ = java.util.Collections.emptyList(); private void ensureTraceIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { trace_ = new java.util.ArrayList(trace_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder> traceBuilder_; /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public java.util.List getTraceList() { if (traceBuilder_ == null) { return java.util.Collections.unmodifiableList(trace_); } else { return traceBuilder_.getMessageList(); } } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public int getTraceCount() { if (traceBuilder_ == null) { return trace_.size(); } else { return traceBuilder_.getCount(); } } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public mdg.engine.proto.Reports.Trace getTrace(int index) { if (traceBuilder_ == null) { return trace_.get(index); } else { return traceBuilder_.getMessage(index); } } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder setTrace( int index, mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceIsMutable(); trace_.set(index, value); onChanged(); } else { traceBuilder_.setMessage(index, value); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder setTrace( int index, mdg.engine.proto.Reports.Trace.Builder builderForValue) { if (traceBuilder_ == null) { ensureTraceIsMutable(); trace_.set(index, builderForValue.build()); onChanged(); } else { traceBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder addTrace(mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceIsMutable(); trace_.add(value); onChanged(); } else { traceBuilder_.addMessage(value); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder addTrace( int index, mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceIsMutable(); trace_.add(index, value); onChanged(); } else { traceBuilder_.addMessage(index, value); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder addTrace( mdg.engine.proto.Reports.Trace.Builder builderForValue) { if (traceBuilder_ == null) { ensureTraceIsMutable(); trace_.add(builderForValue.build()); onChanged(); } else { traceBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder addTrace( int index, mdg.engine.proto.Reports.Trace.Builder builderForValue) { if (traceBuilder_ == null) { ensureTraceIsMutable(); trace_.add(index, builderForValue.build()); onChanged(); } else { traceBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder addAllTrace( java.lang.Iterable values) { if (traceBuilder_ == null) { ensureTraceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, trace_); onChanged(); } else { traceBuilder_.addAllMessages(values); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder clearTrace() { if (traceBuilder_ == null) { trace_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { traceBuilder_.clear(); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public Builder removeTrace(int index) { if (traceBuilder_ == null) { ensureTraceIsMutable(); trace_.remove(index); onChanged(); } else { traceBuilder_.remove(index); } return this; } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public mdg.engine.proto.Reports.Trace.Builder getTraceBuilder( int index) { return getTraceFieldBuilder().getBuilder(index); } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder( int index) { if (traceBuilder_ == null) { return trace_.get(index); } else { return traceBuilder_.getMessageOrBuilder(index); } } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public java.util.List getTraceOrBuilderList() { if (traceBuilder_ != null) { return traceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(trace_); } } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public mdg.engine.proto.Reports.Trace.Builder addTraceBuilder() { return getTraceFieldBuilder().addBuilder( mdg.engine.proto.Reports.Trace.getDefaultInstance()); } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public mdg.engine.proto.Reports.Trace.Builder addTraceBuilder( int index) { return getTraceFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Trace.getDefaultInstance()); } /** *
       * required
       * 
* * repeated .mdg.engine.proto.Trace trace = 2; */ public java.util.List getTraceBuilderList() { return getTraceFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder> getTraceFieldBuilder() { if (traceBuilder_ == null) { traceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder>( trace_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); trace_ = null; } return traceBuilder_; } @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:mdg.engine.proto.TracesReport) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.TracesReport) private static final mdg.engine.proto.Reports.TracesReport DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.TracesReport(); } public static mdg.engine.proto.Reports.TracesReport getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TracesReport parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TracesReport(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.TracesReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FieldOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Field) com.google.protobuf.MessageOrBuilder { /** *
     * required; eg "email" for User.email:String!
     * 
* * string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * required; eg "email" for User.email:String!
     * 
* * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * required; eg "String!" for User.email:String!
     * 
* * string return_type = 3; * @return The returnType. */ java.lang.String getReturnType(); /** *
     * required; eg "String!" for User.email:String!
     * 
* * string return_type = 3; * @return The bytes for returnType. */ com.google.protobuf.ByteString getReturnTypeBytes(); } /** * Protobuf type {@code mdg.engine.proto.Field} */ public static final class Field extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Field) FieldOrBuilder { private static final long serialVersionUID = 0L; // Use Field.newBuilder() to construct. private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Field() { name_ = ""; returnType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Field(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Field( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); returnType_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Field.class, mdg.engine.proto.Reports.Field.Builder.class); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
     * required; eg "email" for User.email:String!
     * 
* * string name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * required; eg "email" for User.email:String!
     * 
* * string name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RETURN_TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object returnType_; /** *
     * required; eg "String!" for User.email:String!
     * 
* * string return_type = 3; * @return The returnType. */ @java.lang.Override public java.lang.String getReturnType() { java.lang.Object ref = returnType_; 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(); returnType_ = s; return s; } } /** *
     * required; eg "String!" for User.email:String!
     * 
* * string return_type = 3; * @return The bytes for returnType. */ @java.lang.Override public com.google.protobuf.ByteString getReturnTypeBytes() { java.lang.Object ref = returnType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); returnType_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, returnType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(returnType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, returnType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Field)) { return super.equals(obj); } mdg.engine.proto.Reports.Field other = (mdg.engine.proto.Reports.Field) obj; if (!getName() .equals(other.getName())) return false; if (!getReturnType() .equals(other.getReturnType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RETURN_TYPE_FIELD_NUMBER; hash = (53 * hash) + getReturnType().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Field parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Field parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Field parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Field parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Field parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Field parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Field parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Field 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 mdg.engine.proto.Reports.Field parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Field 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 mdg.engine.proto.Reports.Field parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Field 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(mdg.engine.proto.Reports.Field 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 mdg.engine.proto.Field} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Field) mdg.engine.proto.Reports.FieldOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Field_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Field_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Field.class, mdg.engine.proto.Reports.Field.Builder.class); } // Construct using mdg.engine.proto.Reports.Field.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; returnType_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Field_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Field getDefaultInstanceForType() { return mdg.engine.proto.Reports.Field.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Field build() { mdg.engine.proto.Reports.Field result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Field buildPartial() { mdg.engine.proto.Reports.Field result = new mdg.engine.proto.Reports.Field(this); result.name_ = name_; result.returnType_ = returnType_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.Field) { return mergeFrom((mdg.engine.proto.Reports.Field)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Field other) { if (other == mdg.engine.proto.Reports.Field.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getReturnType().isEmpty()) { returnType_ = other.returnType_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Field parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Field) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** *
       * required; eg "email" for User.email:String!
       * 
* * string name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * required; eg "email" for User.email:String!
       * 
* * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * required; eg "email" for User.email:String!
       * 
* * string name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * required; eg "email" for User.email:String!
       * 
* * string name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * required; eg "email" for User.email:String!
       * 
* * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object returnType_ = ""; /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @return The returnType. */ public java.lang.String getReturnType() { java.lang.Object ref = returnType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); returnType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @return The bytes for returnType. */ public com.google.protobuf.ByteString getReturnTypeBytes() { java.lang.Object ref = returnType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); returnType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @param value The returnType to set. * @return This builder for chaining. */ public Builder setReturnType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } returnType_ = value; onChanged(); return this; } /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @return This builder for chaining. */ public Builder clearReturnType() { returnType_ = getDefaultInstance().getReturnType(); onChanged(); return this; } /** *
       * required; eg "String!" for User.email:String!
       * 
* * string return_type = 3; * @param value The bytes for returnType to set. * @return This builder for chaining. */ public Builder setReturnTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); returnType_ = value; 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:mdg.engine.proto.Field) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Field) private static final mdg.engine.proto.Reports.Field DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Field(); } public static mdg.engine.proto.Reports.Field getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Field parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Field(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Field getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TypeOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Type) com.google.protobuf.MessageOrBuilder { /** *
     * required; eg "User" for User.email:String!
     * 
* * string name = 1; * @return The name. */ java.lang.String getName(); /** *
     * required; eg "User" for User.email:String!
     * 
* * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * repeated .mdg.engine.proto.Field field = 2; */ java.util.List getFieldList(); /** * repeated .mdg.engine.proto.Field field = 2; */ mdg.engine.proto.Reports.Field getField(int index); /** * repeated .mdg.engine.proto.Field field = 2; */ int getFieldCount(); /** * repeated .mdg.engine.proto.Field field = 2; */ java.util.List getFieldOrBuilderList(); /** * repeated .mdg.engine.proto.Field field = 2; */ mdg.engine.proto.Reports.FieldOrBuilder getFieldOrBuilder( int index); } /** * Protobuf type {@code mdg.engine.proto.Type} */ public static final class Type extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Type) TypeOrBuilder { private static final long serialVersionUID = 0L; // Use Type.newBuilder() to construct. private Type(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Type() { name_ = ""; field_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Type(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Type( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { field_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } field_.add( input.readMessage(mdg.engine.proto.Reports.Field.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { field_ = java.util.Collections.unmodifiableList(field_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Type_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Type_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Type.class, mdg.engine.proto.Reports.Type.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
     * required; eg "User" for User.email:String!
     * 
* * string name = 1; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
     * required; eg "User" for User.email:String!
     * 
* * string name = 1; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FIELD_FIELD_NUMBER = 2; private java.util.List field_; /** * repeated .mdg.engine.proto.Field field = 2; */ @java.lang.Override public java.util.List getFieldList() { return field_; } /** * repeated .mdg.engine.proto.Field field = 2; */ @java.lang.Override public java.util.List getFieldOrBuilderList() { return field_; } /** * repeated .mdg.engine.proto.Field field = 2; */ @java.lang.Override public int getFieldCount() { return field_.size(); } /** * repeated .mdg.engine.proto.Field field = 2; */ @java.lang.Override public mdg.engine.proto.Reports.Field getField(int index) { return field_.get(index); } /** * repeated .mdg.engine.proto.Field field = 2; */ @java.lang.Override public mdg.engine.proto.Reports.FieldOrBuilder getFieldOrBuilder( int index) { return field_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < field_.size(); i++) { output.writeMessage(2, field_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < field_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, field_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Type)) { return super.equals(obj); } mdg.engine.proto.Reports.Type other = (mdg.engine.proto.Reports.Type) obj; if (!getName() .equals(other.getName())) return false; if (!getFieldList() .equals(other.getFieldList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getFieldCount() > 0) { hash = (37 * hash) + FIELD_FIELD_NUMBER; hash = (53 * hash) + getFieldList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Type parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Type parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Type parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Type parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Type parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Type parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Type parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Type 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 mdg.engine.proto.Reports.Type parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Type 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 mdg.engine.proto.Reports.Type parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Type 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(mdg.engine.proto.Reports.Type 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 mdg.engine.proto.Type} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Type) mdg.engine.proto.Reports.TypeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Type_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Type_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Type.class, mdg.engine.proto.Reports.Type.Builder.class); } // Construct using mdg.engine.proto.Reports.Type.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFieldFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; if (fieldBuilder_ == null) { field_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { fieldBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Type_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Type getDefaultInstanceForType() { return mdg.engine.proto.Reports.Type.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Type build() { mdg.engine.proto.Reports.Type result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Type buildPartial() { mdg.engine.proto.Reports.Type result = new mdg.engine.proto.Reports.Type(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (fieldBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { field_ = java.util.Collections.unmodifiableList(field_); bitField0_ = (bitField0_ & ~0x00000001); } result.field_ = field_; } else { result.field_ = fieldBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.Type) { return mergeFrom((mdg.engine.proto.Reports.Type)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Type other) { if (other == mdg.engine.proto.Reports.Type.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (fieldBuilder_ == null) { if (!other.field_.isEmpty()) { if (field_.isEmpty()) { field_ = other.field_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFieldIsMutable(); field_.addAll(other.field_); } onChanged(); } } else { if (!other.field_.isEmpty()) { if (fieldBuilder_.isEmpty()) { fieldBuilder_.dispose(); fieldBuilder_ = null; field_ = other.field_; bitField0_ = (bitField0_ & ~0x00000001); fieldBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFieldFieldBuilder() : null; } else { fieldBuilder_.addAllMessages(other.field_); } } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Type parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Type) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
       * required; eg "User" for User.email:String!
       * 
* * string name = 1; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * required; eg "User" for User.email:String!
       * 
* * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * required; eg "User" for User.email:String!
       * 
* * string name = 1; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
       * required; eg "User" for User.email:String!
       * 
* * string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
       * required; eg "User" for User.email:String!
       * 
* * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.util.List field_ = java.util.Collections.emptyList(); private void ensureFieldIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { field_ = new java.util.ArrayList(field_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Field, mdg.engine.proto.Reports.Field.Builder, mdg.engine.proto.Reports.FieldOrBuilder> fieldBuilder_; /** * repeated .mdg.engine.proto.Field field = 2; */ public java.util.List getFieldList() { if (fieldBuilder_ == null) { return java.util.Collections.unmodifiableList(field_); } else { return fieldBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.Field field = 2; */ public int getFieldCount() { if (fieldBuilder_ == null) { return field_.size(); } else { return fieldBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.Field field = 2; */ public mdg.engine.proto.Reports.Field getField(int index) { if (fieldBuilder_ == null) { return field_.get(index); } else { return fieldBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder setField( int index, mdg.engine.proto.Reports.Field value) { if (fieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.set(index, value); onChanged(); } else { fieldBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder setField( int index, mdg.engine.proto.Reports.Field.Builder builderForValue) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); field_.set(index, builderForValue.build()); onChanged(); } else { fieldBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder addField(mdg.engine.proto.Reports.Field value) { if (fieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.add(value); onChanged(); } else { fieldBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder addField( int index, mdg.engine.proto.Reports.Field value) { if (fieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.add(index, value); onChanged(); } else { fieldBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder addField( mdg.engine.proto.Reports.Field.Builder builderForValue) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); field_.add(builderForValue.build()); onChanged(); } else { fieldBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder addField( int index, mdg.engine.proto.Reports.Field.Builder builderForValue) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); field_.add(index, builderForValue.build()); onChanged(); } else { fieldBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder addAllField( java.lang.Iterable values) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, field_); onChanged(); } else { fieldBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder clearField() { if (fieldBuilder_ == null) { field_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { fieldBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public Builder removeField(int index) { if (fieldBuilder_ == null) { ensureFieldIsMutable(); field_.remove(index); onChanged(); } else { fieldBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.Field field = 2; */ public mdg.engine.proto.Reports.Field.Builder getFieldBuilder( int index) { return getFieldFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.Field field = 2; */ public mdg.engine.proto.Reports.FieldOrBuilder getFieldOrBuilder( int index) { if (fieldBuilder_ == null) { return field_.get(index); } else { return fieldBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.Field field = 2; */ public java.util.List getFieldOrBuilderList() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(field_); } } /** * repeated .mdg.engine.proto.Field field = 2; */ public mdg.engine.proto.Reports.Field.Builder addFieldBuilder() { return getFieldFieldBuilder().addBuilder( mdg.engine.proto.Reports.Field.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Field field = 2; */ public mdg.engine.proto.Reports.Field.Builder addFieldBuilder( int index) { return getFieldFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Field.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Field field = 2; */ public java.util.List getFieldBuilderList() { return getFieldFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Field, mdg.engine.proto.Reports.Field.Builder, mdg.engine.proto.Reports.FieldOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { fieldBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Field, mdg.engine.proto.Reports.Field.Builder, mdg.engine.proto.Reports.FieldOrBuilder>( field_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; } @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:mdg.engine.proto.Type) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Type) private static final mdg.engine.proto.Reports.Type DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Type(); } public static mdg.engine.proto.Reports.Type getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Type parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Type(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Type getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.MemStats) com.google.protobuf.MessageOrBuilder { /** *
     * MemStats.Sys
     * 
* * uint64 total_bytes = 1; * @return The totalBytes. */ long getTotalBytes(); /** *
     * MemStats.StackSys
     * 
* * uint64 stack_bytes = 2; * @return The stackBytes. */ long getStackBytes(); /** *
     * MemStats.HeapSys
     * 
* * uint64 heap_bytes = 3; * @return The heapBytes. */ long getHeapBytes(); /** *
     * MemStats.HeapReleased
     * 
* * uint64 heap_released_bytes = 13; * @return The heapReleasedBytes. */ long getHeapReleasedBytes(); /** *
     * MemStats.GCSys
     * 
* * uint64 gc_overhead_bytes = 4; * @return The gcOverheadBytes. */ long getGcOverheadBytes(); /** *
     * MemStats.StackInuse
     * 
* * uint64 stack_used_bytes = 5; * @return The stackUsedBytes. */ long getStackUsedBytes(); /** *
     * MemStats.HeapAlloc
     * 
* * uint64 heap_allocated_bytes = 6; * @return The heapAllocatedBytes. */ long getHeapAllocatedBytes(); /** *
     * MemStats.HeapObjects
     * 
* * uint64 heap_allocated_objects = 7; * @return The heapAllocatedObjects. */ long getHeapAllocatedObjects(); /** *
     * MemStats.TotalAlloc delta
     * 
* * uint64 heap_allocated_bytes_delta = 8; * @return The heapAllocatedBytesDelta. */ long getHeapAllocatedBytesDelta(); /** *
     * MemStats.Mallocs delta
     * 
* * uint64 heap_allocated_objects_delta = 9; * @return The heapAllocatedObjectsDelta. */ long getHeapAllocatedObjectsDelta(); /** *
     * MemStats.Frees delta
     * 
* * uint64 heap_freed_objects_delta = 10; * @return The heapFreedObjectsDelta. */ long getHeapFreedObjectsDelta(); /** *
     * MemStats.PauseTotalNs delta
     * 
* * uint64 gc_stw_ns_delta = 11; * @return The gcStwNsDelta. */ long getGcStwNsDelta(); /** *
     * MemStats.NumGC delta
     * 
* * uint64 gc_count_delta = 12; * @return The gcCountDelta. */ long getGcCountDelta(); } /** * Protobuf type {@code mdg.engine.proto.MemStats} */ public static final class MemStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.MemStats) MemStatsOrBuilder { private static final long serialVersionUID = 0L; // Use MemStats.newBuilder() to construct. private MemStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemStats() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MemStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { totalBytes_ = input.readUInt64(); break; } case 16: { stackBytes_ = input.readUInt64(); break; } case 24: { heapBytes_ = input.readUInt64(); break; } case 32: { gcOverheadBytes_ = input.readUInt64(); break; } case 40: { stackUsedBytes_ = input.readUInt64(); break; } case 48: { heapAllocatedBytes_ = input.readUInt64(); break; } case 56: { heapAllocatedObjects_ = input.readUInt64(); break; } case 64: { heapAllocatedBytesDelta_ = input.readUInt64(); break; } case 72: { heapAllocatedObjectsDelta_ = input.readUInt64(); break; } case 80: { heapFreedObjectsDelta_ = input.readUInt64(); break; } case 88: { gcStwNsDelta_ = input.readUInt64(); break; } case 96: { gcCountDelta_ = input.readUInt64(); break; } case 104: { heapReleasedBytes_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_MemStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_MemStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.MemStats.class, mdg.engine.proto.Reports.MemStats.Builder.class); } public static final int TOTAL_BYTES_FIELD_NUMBER = 1; private long totalBytes_; /** *
     * MemStats.Sys
     * 
* * uint64 total_bytes = 1; * @return The totalBytes. */ @java.lang.Override public long getTotalBytes() { return totalBytes_; } public static final int STACK_BYTES_FIELD_NUMBER = 2; private long stackBytes_; /** *
     * MemStats.StackSys
     * 
* * uint64 stack_bytes = 2; * @return The stackBytes. */ @java.lang.Override public long getStackBytes() { return stackBytes_; } public static final int HEAP_BYTES_FIELD_NUMBER = 3; private long heapBytes_; /** *
     * MemStats.HeapSys
     * 
* * uint64 heap_bytes = 3; * @return The heapBytes. */ @java.lang.Override public long getHeapBytes() { return heapBytes_; } public static final int HEAP_RELEASED_BYTES_FIELD_NUMBER = 13; private long heapReleasedBytes_; /** *
     * MemStats.HeapReleased
     * 
* * uint64 heap_released_bytes = 13; * @return The heapReleasedBytes. */ @java.lang.Override public long getHeapReleasedBytes() { return heapReleasedBytes_; } public static final int GC_OVERHEAD_BYTES_FIELD_NUMBER = 4; private long gcOverheadBytes_; /** *
     * MemStats.GCSys
     * 
* * uint64 gc_overhead_bytes = 4; * @return The gcOverheadBytes. */ @java.lang.Override public long getGcOverheadBytes() { return gcOverheadBytes_; } public static final int STACK_USED_BYTES_FIELD_NUMBER = 5; private long stackUsedBytes_; /** *
     * MemStats.StackInuse
     * 
* * uint64 stack_used_bytes = 5; * @return The stackUsedBytes. */ @java.lang.Override public long getStackUsedBytes() { return stackUsedBytes_; } public static final int HEAP_ALLOCATED_BYTES_FIELD_NUMBER = 6; private long heapAllocatedBytes_; /** *
     * MemStats.HeapAlloc
     * 
* * uint64 heap_allocated_bytes = 6; * @return The heapAllocatedBytes. */ @java.lang.Override public long getHeapAllocatedBytes() { return heapAllocatedBytes_; } public static final int HEAP_ALLOCATED_OBJECTS_FIELD_NUMBER = 7; private long heapAllocatedObjects_; /** *
     * MemStats.HeapObjects
     * 
* * uint64 heap_allocated_objects = 7; * @return The heapAllocatedObjects. */ @java.lang.Override public long getHeapAllocatedObjects() { return heapAllocatedObjects_; } public static final int HEAP_ALLOCATED_BYTES_DELTA_FIELD_NUMBER = 8; private long heapAllocatedBytesDelta_; /** *
     * MemStats.TotalAlloc delta
     * 
* * uint64 heap_allocated_bytes_delta = 8; * @return The heapAllocatedBytesDelta. */ @java.lang.Override public long getHeapAllocatedBytesDelta() { return heapAllocatedBytesDelta_; } public static final int HEAP_ALLOCATED_OBJECTS_DELTA_FIELD_NUMBER = 9; private long heapAllocatedObjectsDelta_; /** *
     * MemStats.Mallocs delta
     * 
* * uint64 heap_allocated_objects_delta = 9; * @return The heapAllocatedObjectsDelta. */ @java.lang.Override public long getHeapAllocatedObjectsDelta() { return heapAllocatedObjectsDelta_; } public static final int HEAP_FREED_OBJECTS_DELTA_FIELD_NUMBER = 10; private long heapFreedObjectsDelta_; /** *
     * MemStats.Frees delta
     * 
* * uint64 heap_freed_objects_delta = 10; * @return The heapFreedObjectsDelta. */ @java.lang.Override public long getHeapFreedObjectsDelta() { return heapFreedObjectsDelta_; } public static final int GC_STW_NS_DELTA_FIELD_NUMBER = 11; private long gcStwNsDelta_; /** *
     * MemStats.PauseTotalNs delta
     * 
* * uint64 gc_stw_ns_delta = 11; * @return The gcStwNsDelta. */ @java.lang.Override public long getGcStwNsDelta() { return gcStwNsDelta_; } public static final int GC_COUNT_DELTA_FIELD_NUMBER = 12; private long gcCountDelta_; /** *
     * MemStats.NumGC delta
     * 
* * uint64 gc_count_delta = 12; * @return The gcCountDelta. */ @java.lang.Override public long getGcCountDelta() { return gcCountDelta_; } 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 (totalBytes_ != 0L) { output.writeUInt64(1, totalBytes_); } if (stackBytes_ != 0L) { output.writeUInt64(2, stackBytes_); } if (heapBytes_ != 0L) { output.writeUInt64(3, heapBytes_); } if (gcOverheadBytes_ != 0L) { output.writeUInt64(4, gcOverheadBytes_); } if (stackUsedBytes_ != 0L) { output.writeUInt64(5, stackUsedBytes_); } if (heapAllocatedBytes_ != 0L) { output.writeUInt64(6, heapAllocatedBytes_); } if (heapAllocatedObjects_ != 0L) { output.writeUInt64(7, heapAllocatedObjects_); } if (heapAllocatedBytesDelta_ != 0L) { output.writeUInt64(8, heapAllocatedBytesDelta_); } if (heapAllocatedObjectsDelta_ != 0L) { output.writeUInt64(9, heapAllocatedObjectsDelta_); } if (heapFreedObjectsDelta_ != 0L) { output.writeUInt64(10, heapFreedObjectsDelta_); } if (gcStwNsDelta_ != 0L) { output.writeUInt64(11, gcStwNsDelta_); } if (gcCountDelta_ != 0L) { output.writeUInt64(12, gcCountDelta_); } if (heapReleasedBytes_ != 0L) { output.writeUInt64(13, heapReleasedBytes_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (totalBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, totalBytes_); } if (stackBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, stackBytes_); } if (heapBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, heapBytes_); } if (gcOverheadBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, gcOverheadBytes_); } if (stackUsedBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, stackUsedBytes_); } if (heapAllocatedBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, heapAllocatedBytes_); } if (heapAllocatedObjects_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, heapAllocatedObjects_); } if (heapAllocatedBytesDelta_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(8, heapAllocatedBytesDelta_); } if (heapAllocatedObjectsDelta_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, heapAllocatedObjectsDelta_); } if (heapFreedObjectsDelta_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, heapFreedObjectsDelta_); } if (gcStwNsDelta_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, gcStwNsDelta_); } if (gcCountDelta_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(12, gcCountDelta_); } if (heapReleasedBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(13, heapReleasedBytes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.MemStats)) { return super.equals(obj); } mdg.engine.proto.Reports.MemStats other = (mdg.engine.proto.Reports.MemStats) obj; if (getTotalBytes() != other.getTotalBytes()) return false; if (getStackBytes() != other.getStackBytes()) return false; if (getHeapBytes() != other.getHeapBytes()) return false; if (getHeapReleasedBytes() != other.getHeapReleasedBytes()) return false; if (getGcOverheadBytes() != other.getGcOverheadBytes()) return false; if (getStackUsedBytes() != other.getStackUsedBytes()) return false; if (getHeapAllocatedBytes() != other.getHeapAllocatedBytes()) return false; if (getHeapAllocatedObjects() != other.getHeapAllocatedObjects()) return false; if (getHeapAllocatedBytesDelta() != other.getHeapAllocatedBytesDelta()) return false; if (getHeapAllocatedObjectsDelta() != other.getHeapAllocatedObjectsDelta()) return false; if (getHeapFreedObjectsDelta() != other.getHeapFreedObjectsDelta()) return false; if (getGcStwNsDelta() != other.getGcStwNsDelta()) return false; if (getGcCountDelta() != other.getGcCountDelta()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TOTAL_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalBytes()); hash = (37 * hash) + STACK_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStackBytes()); hash = (37 * hash) + HEAP_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeapBytes()); hash = (37 * hash) + HEAP_RELEASED_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeapReleasedBytes()); hash = (37 * hash) + GC_OVERHEAD_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGcOverheadBytes()); hash = (37 * hash) + STACK_USED_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStackUsedBytes()); hash = (37 * hash) + HEAP_ALLOCATED_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeapAllocatedBytes()); hash = (37 * hash) + HEAP_ALLOCATED_OBJECTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeapAllocatedObjects()); hash = (37 * hash) + HEAP_ALLOCATED_BYTES_DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeapAllocatedBytesDelta()); hash = (37 * hash) + HEAP_ALLOCATED_OBJECTS_DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeapAllocatedObjectsDelta()); hash = (37 * hash) + HEAP_FREED_OBJECTS_DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHeapFreedObjectsDelta()); hash = (37 * hash) + GC_STW_NS_DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGcStwNsDelta()); hash = (37 * hash) + GC_COUNT_DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGcCountDelta()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.MemStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.MemStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.MemStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.MemStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.MemStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.MemStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.MemStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.MemStats 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 mdg.engine.proto.Reports.MemStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.MemStats 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 mdg.engine.proto.Reports.MemStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.MemStats 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(mdg.engine.proto.Reports.MemStats 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 mdg.engine.proto.MemStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.MemStats) mdg.engine.proto.Reports.MemStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_MemStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_MemStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.MemStats.class, mdg.engine.proto.Reports.MemStats.Builder.class); } // Construct using mdg.engine.proto.Reports.MemStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); totalBytes_ = 0L; stackBytes_ = 0L; heapBytes_ = 0L; heapReleasedBytes_ = 0L; gcOverheadBytes_ = 0L; stackUsedBytes_ = 0L; heapAllocatedBytes_ = 0L; heapAllocatedObjects_ = 0L; heapAllocatedBytesDelta_ = 0L; heapAllocatedObjectsDelta_ = 0L; heapFreedObjectsDelta_ = 0L; gcStwNsDelta_ = 0L; gcCountDelta_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_MemStats_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.MemStats getDefaultInstanceForType() { return mdg.engine.proto.Reports.MemStats.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.MemStats build() { mdg.engine.proto.Reports.MemStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.MemStats buildPartial() { mdg.engine.proto.Reports.MemStats result = new mdg.engine.proto.Reports.MemStats(this); result.totalBytes_ = totalBytes_; result.stackBytes_ = stackBytes_; result.heapBytes_ = heapBytes_; result.heapReleasedBytes_ = heapReleasedBytes_; result.gcOverheadBytes_ = gcOverheadBytes_; result.stackUsedBytes_ = stackUsedBytes_; result.heapAllocatedBytes_ = heapAllocatedBytes_; result.heapAllocatedObjects_ = heapAllocatedObjects_; result.heapAllocatedBytesDelta_ = heapAllocatedBytesDelta_; result.heapAllocatedObjectsDelta_ = heapAllocatedObjectsDelta_; result.heapFreedObjectsDelta_ = heapFreedObjectsDelta_; result.gcStwNsDelta_ = gcStwNsDelta_; result.gcCountDelta_ = gcCountDelta_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.MemStats) { return mergeFrom((mdg.engine.proto.Reports.MemStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.MemStats other) { if (other == mdg.engine.proto.Reports.MemStats.getDefaultInstance()) return this; if (other.getTotalBytes() != 0L) { setTotalBytes(other.getTotalBytes()); } if (other.getStackBytes() != 0L) { setStackBytes(other.getStackBytes()); } if (other.getHeapBytes() != 0L) { setHeapBytes(other.getHeapBytes()); } if (other.getHeapReleasedBytes() != 0L) { setHeapReleasedBytes(other.getHeapReleasedBytes()); } if (other.getGcOverheadBytes() != 0L) { setGcOverheadBytes(other.getGcOverheadBytes()); } if (other.getStackUsedBytes() != 0L) { setStackUsedBytes(other.getStackUsedBytes()); } if (other.getHeapAllocatedBytes() != 0L) { setHeapAllocatedBytes(other.getHeapAllocatedBytes()); } if (other.getHeapAllocatedObjects() != 0L) { setHeapAllocatedObjects(other.getHeapAllocatedObjects()); } if (other.getHeapAllocatedBytesDelta() != 0L) { setHeapAllocatedBytesDelta(other.getHeapAllocatedBytesDelta()); } if (other.getHeapAllocatedObjectsDelta() != 0L) { setHeapAllocatedObjectsDelta(other.getHeapAllocatedObjectsDelta()); } if (other.getHeapFreedObjectsDelta() != 0L) { setHeapFreedObjectsDelta(other.getHeapFreedObjectsDelta()); } if (other.getGcStwNsDelta() != 0L) { setGcStwNsDelta(other.getGcStwNsDelta()); } if (other.getGcCountDelta() != 0L) { setGcCountDelta(other.getGcCountDelta()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.MemStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.MemStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long totalBytes_ ; /** *
       * MemStats.Sys
       * 
* * uint64 total_bytes = 1; * @return The totalBytes. */ @java.lang.Override public long getTotalBytes() { return totalBytes_; } /** *
       * MemStats.Sys
       * 
* * uint64 total_bytes = 1; * @param value The totalBytes to set. * @return This builder for chaining. */ public Builder setTotalBytes(long value) { totalBytes_ = value; onChanged(); return this; } /** *
       * MemStats.Sys
       * 
* * uint64 total_bytes = 1; * @return This builder for chaining. */ public Builder clearTotalBytes() { totalBytes_ = 0L; onChanged(); return this; } private long stackBytes_ ; /** *
       * MemStats.StackSys
       * 
* * uint64 stack_bytes = 2; * @return The stackBytes. */ @java.lang.Override public long getStackBytes() { return stackBytes_; } /** *
       * MemStats.StackSys
       * 
* * uint64 stack_bytes = 2; * @param value The stackBytes to set. * @return This builder for chaining. */ public Builder setStackBytes(long value) { stackBytes_ = value; onChanged(); return this; } /** *
       * MemStats.StackSys
       * 
* * uint64 stack_bytes = 2; * @return This builder for chaining. */ public Builder clearStackBytes() { stackBytes_ = 0L; onChanged(); return this; } private long heapBytes_ ; /** *
       * MemStats.HeapSys
       * 
* * uint64 heap_bytes = 3; * @return The heapBytes. */ @java.lang.Override public long getHeapBytes() { return heapBytes_; } /** *
       * MemStats.HeapSys
       * 
* * uint64 heap_bytes = 3; * @param value The heapBytes to set. * @return This builder for chaining. */ public Builder setHeapBytes(long value) { heapBytes_ = value; onChanged(); return this; } /** *
       * MemStats.HeapSys
       * 
* * uint64 heap_bytes = 3; * @return This builder for chaining. */ public Builder clearHeapBytes() { heapBytes_ = 0L; onChanged(); return this; } private long heapReleasedBytes_ ; /** *
       * MemStats.HeapReleased
       * 
* * uint64 heap_released_bytes = 13; * @return The heapReleasedBytes. */ @java.lang.Override public long getHeapReleasedBytes() { return heapReleasedBytes_; } /** *
       * MemStats.HeapReleased
       * 
* * uint64 heap_released_bytes = 13; * @param value The heapReleasedBytes to set. * @return This builder for chaining. */ public Builder setHeapReleasedBytes(long value) { heapReleasedBytes_ = value; onChanged(); return this; } /** *
       * MemStats.HeapReleased
       * 
* * uint64 heap_released_bytes = 13; * @return This builder for chaining. */ public Builder clearHeapReleasedBytes() { heapReleasedBytes_ = 0L; onChanged(); return this; } private long gcOverheadBytes_ ; /** *
       * MemStats.GCSys
       * 
* * uint64 gc_overhead_bytes = 4; * @return The gcOverheadBytes. */ @java.lang.Override public long getGcOverheadBytes() { return gcOverheadBytes_; } /** *
       * MemStats.GCSys
       * 
* * uint64 gc_overhead_bytes = 4; * @param value The gcOverheadBytes to set. * @return This builder for chaining. */ public Builder setGcOverheadBytes(long value) { gcOverheadBytes_ = value; onChanged(); return this; } /** *
       * MemStats.GCSys
       * 
* * uint64 gc_overhead_bytes = 4; * @return This builder for chaining. */ public Builder clearGcOverheadBytes() { gcOverheadBytes_ = 0L; onChanged(); return this; } private long stackUsedBytes_ ; /** *
       * MemStats.StackInuse
       * 
* * uint64 stack_used_bytes = 5; * @return The stackUsedBytes. */ @java.lang.Override public long getStackUsedBytes() { return stackUsedBytes_; } /** *
       * MemStats.StackInuse
       * 
* * uint64 stack_used_bytes = 5; * @param value The stackUsedBytes to set. * @return This builder for chaining. */ public Builder setStackUsedBytes(long value) { stackUsedBytes_ = value; onChanged(); return this; } /** *
       * MemStats.StackInuse
       * 
* * uint64 stack_used_bytes = 5; * @return This builder for chaining. */ public Builder clearStackUsedBytes() { stackUsedBytes_ = 0L; onChanged(); return this; } private long heapAllocatedBytes_ ; /** *
       * MemStats.HeapAlloc
       * 
* * uint64 heap_allocated_bytes = 6; * @return The heapAllocatedBytes. */ @java.lang.Override public long getHeapAllocatedBytes() { return heapAllocatedBytes_; } /** *
       * MemStats.HeapAlloc
       * 
* * uint64 heap_allocated_bytes = 6; * @param value The heapAllocatedBytes to set. * @return This builder for chaining. */ public Builder setHeapAllocatedBytes(long value) { heapAllocatedBytes_ = value; onChanged(); return this; } /** *
       * MemStats.HeapAlloc
       * 
* * uint64 heap_allocated_bytes = 6; * @return This builder for chaining. */ public Builder clearHeapAllocatedBytes() { heapAllocatedBytes_ = 0L; onChanged(); return this; } private long heapAllocatedObjects_ ; /** *
       * MemStats.HeapObjects
       * 
* * uint64 heap_allocated_objects = 7; * @return The heapAllocatedObjects. */ @java.lang.Override public long getHeapAllocatedObjects() { return heapAllocatedObjects_; } /** *
       * MemStats.HeapObjects
       * 
* * uint64 heap_allocated_objects = 7; * @param value The heapAllocatedObjects to set. * @return This builder for chaining. */ public Builder setHeapAllocatedObjects(long value) { heapAllocatedObjects_ = value; onChanged(); return this; } /** *
       * MemStats.HeapObjects
       * 
* * uint64 heap_allocated_objects = 7; * @return This builder for chaining. */ public Builder clearHeapAllocatedObjects() { heapAllocatedObjects_ = 0L; onChanged(); return this; } private long heapAllocatedBytesDelta_ ; /** *
       * MemStats.TotalAlloc delta
       * 
* * uint64 heap_allocated_bytes_delta = 8; * @return The heapAllocatedBytesDelta. */ @java.lang.Override public long getHeapAllocatedBytesDelta() { return heapAllocatedBytesDelta_; } /** *
       * MemStats.TotalAlloc delta
       * 
* * uint64 heap_allocated_bytes_delta = 8; * @param value The heapAllocatedBytesDelta to set. * @return This builder for chaining. */ public Builder setHeapAllocatedBytesDelta(long value) { heapAllocatedBytesDelta_ = value; onChanged(); return this; } /** *
       * MemStats.TotalAlloc delta
       * 
* * uint64 heap_allocated_bytes_delta = 8; * @return This builder for chaining. */ public Builder clearHeapAllocatedBytesDelta() { heapAllocatedBytesDelta_ = 0L; onChanged(); return this; } private long heapAllocatedObjectsDelta_ ; /** *
       * MemStats.Mallocs delta
       * 
* * uint64 heap_allocated_objects_delta = 9; * @return The heapAllocatedObjectsDelta. */ @java.lang.Override public long getHeapAllocatedObjectsDelta() { return heapAllocatedObjectsDelta_; } /** *
       * MemStats.Mallocs delta
       * 
* * uint64 heap_allocated_objects_delta = 9; * @param value The heapAllocatedObjectsDelta to set. * @return This builder for chaining. */ public Builder setHeapAllocatedObjectsDelta(long value) { heapAllocatedObjectsDelta_ = value; onChanged(); return this; } /** *
       * MemStats.Mallocs delta
       * 
* * uint64 heap_allocated_objects_delta = 9; * @return This builder for chaining. */ public Builder clearHeapAllocatedObjectsDelta() { heapAllocatedObjectsDelta_ = 0L; onChanged(); return this; } private long heapFreedObjectsDelta_ ; /** *
       * MemStats.Frees delta
       * 
* * uint64 heap_freed_objects_delta = 10; * @return The heapFreedObjectsDelta. */ @java.lang.Override public long getHeapFreedObjectsDelta() { return heapFreedObjectsDelta_; } /** *
       * MemStats.Frees delta
       * 
* * uint64 heap_freed_objects_delta = 10; * @param value The heapFreedObjectsDelta to set. * @return This builder for chaining. */ public Builder setHeapFreedObjectsDelta(long value) { heapFreedObjectsDelta_ = value; onChanged(); return this; } /** *
       * MemStats.Frees delta
       * 
* * uint64 heap_freed_objects_delta = 10; * @return This builder for chaining. */ public Builder clearHeapFreedObjectsDelta() { heapFreedObjectsDelta_ = 0L; onChanged(); return this; } private long gcStwNsDelta_ ; /** *
       * MemStats.PauseTotalNs delta
       * 
* * uint64 gc_stw_ns_delta = 11; * @return The gcStwNsDelta. */ @java.lang.Override public long getGcStwNsDelta() { return gcStwNsDelta_; } /** *
       * MemStats.PauseTotalNs delta
       * 
* * uint64 gc_stw_ns_delta = 11; * @param value The gcStwNsDelta to set. * @return This builder for chaining. */ public Builder setGcStwNsDelta(long value) { gcStwNsDelta_ = value; onChanged(); return this; } /** *
       * MemStats.PauseTotalNs delta
       * 
* * uint64 gc_stw_ns_delta = 11; * @return This builder for chaining. */ public Builder clearGcStwNsDelta() { gcStwNsDelta_ = 0L; onChanged(); return this; } private long gcCountDelta_ ; /** *
       * MemStats.NumGC delta
       * 
* * uint64 gc_count_delta = 12; * @return The gcCountDelta. */ @java.lang.Override public long getGcCountDelta() { return gcCountDelta_; } /** *
       * MemStats.NumGC delta
       * 
* * uint64 gc_count_delta = 12; * @param value The gcCountDelta to set. * @return This builder for chaining. */ public Builder setGcCountDelta(long value) { gcCountDelta_ = value; onChanged(); return this; } /** *
       * MemStats.NumGC delta
       * 
* * uint64 gc_count_delta = 12; * @return This builder for chaining. */ public Builder clearGcCountDelta() { gcCountDelta_ = 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:mdg.engine.proto.MemStats) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.MemStats) private static final mdg.engine.proto.Reports.MemStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.MemStats(); } public static mdg.engine.proto.Reports.MemStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MemStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.MemStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimeStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.TimeStats) com.google.protobuf.MessageOrBuilder { /** * uint64 uptime_ns = 1; * @return The uptimeNs. */ long getUptimeNs(); /** * uint64 real_ns_delta = 2; * @return The realNsDelta. */ long getRealNsDelta(); /** * uint64 user_ns_delta = 3; * @return The userNsDelta. */ long getUserNsDelta(); /** * uint64 sys_ns_delta = 4; * @return The sysNsDelta. */ long getSysNsDelta(); } /** * Protobuf type {@code mdg.engine.proto.TimeStats} */ public static final class TimeStats extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.TimeStats) TimeStatsOrBuilder { private static final long serialVersionUID = 0L; // Use TimeStats.newBuilder() to construct. private TimeStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimeStats() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TimeStats(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimeStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { uptimeNs_ = input.readUInt64(); break; } case 16: { realNsDelta_ = input.readUInt64(); break; } case 24: { userNsDelta_ = input.readUInt64(); break; } case 32: { sysNsDelta_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TimeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TimeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.TimeStats.class, mdg.engine.proto.Reports.TimeStats.Builder.class); } public static final int UPTIME_NS_FIELD_NUMBER = 1; private long uptimeNs_; /** * uint64 uptime_ns = 1; * @return The uptimeNs. */ @java.lang.Override public long getUptimeNs() { return uptimeNs_; } public static final int REAL_NS_DELTA_FIELD_NUMBER = 2; private long realNsDelta_; /** * uint64 real_ns_delta = 2; * @return The realNsDelta. */ @java.lang.Override public long getRealNsDelta() { return realNsDelta_; } public static final int USER_NS_DELTA_FIELD_NUMBER = 3; private long userNsDelta_; /** * uint64 user_ns_delta = 3; * @return The userNsDelta. */ @java.lang.Override public long getUserNsDelta() { return userNsDelta_; } public static final int SYS_NS_DELTA_FIELD_NUMBER = 4; private long sysNsDelta_; /** * uint64 sys_ns_delta = 4; * @return The sysNsDelta. */ @java.lang.Override public long getSysNsDelta() { return sysNsDelta_; } 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 (uptimeNs_ != 0L) { output.writeUInt64(1, uptimeNs_); } if (realNsDelta_ != 0L) { output.writeUInt64(2, realNsDelta_); } if (userNsDelta_ != 0L) { output.writeUInt64(3, userNsDelta_); } if (sysNsDelta_ != 0L) { output.writeUInt64(4, sysNsDelta_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (uptimeNs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, uptimeNs_); } if (realNsDelta_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, realNsDelta_); } if (userNsDelta_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, userNsDelta_); } if (sysNsDelta_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, sysNsDelta_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.TimeStats)) { return super.equals(obj); } mdg.engine.proto.Reports.TimeStats other = (mdg.engine.proto.Reports.TimeStats) obj; if (getUptimeNs() != other.getUptimeNs()) return false; if (getRealNsDelta() != other.getRealNsDelta()) return false; if (getUserNsDelta() != other.getUserNsDelta()) return false; if (getSysNsDelta() != other.getSysNsDelta()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + UPTIME_NS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUptimeNs()); hash = (37 * hash) + REAL_NS_DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRealNsDelta()); hash = (37 * hash) + USER_NS_DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserNsDelta()); hash = (37 * hash) + SYS_NS_DELTA_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSysNsDelta()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.TimeStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TimeStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TimeStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TimeStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TimeStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TimeStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TimeStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TimeStats 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 mdg.engine.proto.Reports.TimeStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TimeStats 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 mdg.engine.proto.Reports.TimeStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TimeStats 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(mdg.engine.proto.Reports.TimeStats 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 mdg.engine.proto.TimeStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.TimeStats) mdg.engine.proto.Reports.TimeStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TimeStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TimeStats_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.TimeStats.class, mdg.engine.proto.Reports.TimeStats.Builder.class); } // Construct using mdg.engine.proto.Reports.TimeStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); uptimeNs_ = 0L; realNsDelta_ = 0L; userNsDelta_ = 0L; sysNsDelta_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TimeStats_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.TimeStats getDefaultInstanceForType() { return mdg.engine.proto.Reports.TimeStats.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.TimeStats build() { mdg.engine.proto.Reports.TimeStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.TimeStats buildPartial() { mdg.engine.proto.Reports.TimeStats result = new mdg.engine.proto.Reports.TimeStats(this); result.uptimeNs_ = uptimeNs_; result.realNsDelta_ = realNsDelta_; result.userNsDelta_ = userNsDelta_; result.sysNsDelta_ = sysNsDelta_; onBuilt(); return result; } @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 mdg.engine.proto.Reports.TimeStats) { return mergeFrom((mdg.engine.proto.Reports.TimeStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.TimeStats other) { if (other == mdg.engine.proto.Reports.TimeStats.getDefaultInstance()) return this; if (other.getUptimeNs() != 0L) { setUptimeNs(other.getUptimeNs()); } if (other.getRealNsDelta() != 0L) { setRealNsDelta(other.getRealNsDelta()); } if (other.getUserNsDelta() != 0L) { setUserNsDelta(other.getUserNsDelta()); } if (other.getSysNsDelta() != 0L) { setSysNsDelta(other.getSysNsDelta()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.TimeStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.TimeStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long uptimeNs_ ; /** * uint64 uptime_ns = 1; * @return The uptimeNs. */ @java.lang.Override public long getUptimeNs() { return uptimeNs_; } /** * uint64 uptime_ns = 1; * @param value The uptimeNs to set. * @return This builder for chaining. */ public Builder setUptimeNs(long value) { uptimeNs_ = value; onChanged(); return this; } /** * uint64 uptime_ns = 1; * @return This builder for chaining. */ public Builder clearUptimeNs() { uptimeNs_ = 0L; onChanged(); return this; } private long realNsDelta_ ; /** * uint64 real_ns_delta = 2; * @return The realNsDelta. */ @java.lang.Override public long getRealNsDelta() { return realNsDelta_; } /** * uint64 real_ns_delta = 2; * @param value The realNsDelta to set. * @return This builder for chaining. */ public Builder setRealNsDelta(long value) { realNsDelta_ = value; onChanged(); return this; } /** * uint64 real_ns_delta = 2; * @return This builder for chaining. */ public Builder clearRealNsDelta() { realNsDelta_ = 0L; onChanged(); return this; } private long userNsDelta_ ; /** * uint64 user_ns_delta = 3; * @return The userNsDelta. */ @java.lang.Override public long getUserNsDelta() { return userNsDelta_; } /** * uint64 user_ns_delta = 3; * @param value The userNsDelta to set. * @return This builder for chaining. */ public Builder setUserNsDelta(long value) { userNsDelta_ = value; onChanged(); return this; } /** * uint64 user_ns_delta = 3; * @return This builder for chaining. */ public Builder clearUserNsDelta() { userNsDelta_ = 0L; onChanged(); return this; } private long sysNsDelta_ ; /** * uint64 sys_ns_delta = 4; * @return The sysNsDelta. */ @java.lang.Override public long getSysNsDelta() { return sysNsDelta_; } /** * uint64 sys_ns_delta = 4; * @param value The sysNsDelta to set. * @return This builder for chaining. */ public Builder setSysNsDelta(long value) { sysNsDelta_ = value; onChanged(); return this; } /** * uint64 sys_ns_delta = 4; * @return This builder for chaining. */ public Builder clearSysNsDelta() { sysNsDelta_ = 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:mdg.engine.proto.TimeStats) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.TimeStats) private static final mdg.engine.proto.Reports.TimeStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.TimeStats(); } public static mdg.engine.proto.Reports.TimeStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TimeStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TimeStats(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.TimeStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StatsReportOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.StatsReport) com.google.protobuf.MessageOrBuilder { /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ mdg.engine.proto.Reports.ReportHeader getHeader(); /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; */ mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder(); /** *
     * These fields are about properties of the engineproxy and are not generated
     * from FullTracesReports.
     * 
* * .mdg.engine.proto.MemStats mem_stats = 2; * @return Whether the memStats field is set. */ boolean hasMemStats(); /** *
     * These fields are about properties of the engineproxy and are not generated
     * from FullTracesReports.
     * 
* * .mdg.engine.proto.MemStats mem_stats = 2; * @return The memStats. */ mdg.engine.proto.Reports.MemStats getMemStats(); /** *
     * These fields are about properties of the engineproxy and are not generated
     * from FullTracesReports.
     * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ mdg.engine.proto.Reports.MemStatsOrBuilder getMemStatsOrBuilder(); /** * .mdg.engine.proto.TimeStats time_stats = 3; * @return Whether the timeStats field is set. */ boolean hasTimeStats(); /** * .mdg.engine.proto.TimeStats time_stats = 3; * @return The timeStats. */ mdg.engine.proto.Reports.TimeStats getTimeStats(); /** * .mdg.engine.proto.TimeStats time_stats = 3; */ mdg.engine.proto.Reports.TimeStatsOrBuilder getTimeStatsOrBuilder(); /** *
     * Beginning of the period over which stats are collected.
     * 
* * .google.protobuf.Timestamp start_time = 8; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** *
     * Beginning of the period over which stats are collected.
     * 
* * .google.protobuf.Timestamp start_time = 8; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** *
     * Beginning of the period over which stats are collected.
     * 
* * .google.protobuf.Timestamp start_time = 8; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** *
     * End of the period of which stats are collected.
     * 
* * .google.protobuf.Timestamp end_time = 9; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** *
     * End of the period of which stats are collected.
     * 
* * .google.protobuf.Timestamp end_time = 9; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** *
     * End of the period of which stats are collected.
     * 
* * .google.protobuf.Timestamp end_time = 9; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** *
     * Only used to interpret mem_stats and time_stats; not generated from
     * FullTracesReports.
     * 
* * uint64 realtime_duration = 10; * @return The realtimeDuration. */ long getRealtimeDuration(); /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ int getPerQueryCount(); /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ boolean containsPerQuery( java.lang.String key); /** * Use {@link #getPerQueryMap()} instead. */ @java.lang.Deprecated java.util.Map getPerQuery(); /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ java.util.Map getPerQueryMap(); /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ /* nullable */ mdg.engine.proto.Reports.QueryStats getPerQueryOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.QueryStats defaultValue); /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ mdg.engine.proto.Reports.QueryStats getPerQueryOrThrow( java.lang.String key); /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ int getLegacyPerQueryImplicitOperationNameCount(); /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ boolean containsLegacyPerQueryImplicitOperationName( java.lang.String key); /** * Use {@link #getLegacyPerQueryImplicitOperationNameMap()} instead. */ @java.lang.Deprecated java.util.Map getLegacyPerQueryImplicitOperationName(); /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ java.util.Map getLegacyPerQueryImplicitOperationNameMap(); /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ /* nullable */ mdg.engine.proto.Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.QueryStats defaultValue); /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ mdg.engine.proto.Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrThrow( java.lang.String key); /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ java.util.List getTypeList(); /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ mdg.engine.proto.Reports.Type getType(int index); /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ int getTypeCount(); /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ java.util.List getTypeOrBuilderList(); /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ mdg.engine.proto.Reports.TypeOrBuilder getTypeOrBuilder( int index); } /** *
   * Top-level message type for the server-side stats endpoint
   * 
* * Protobuf type {@code mdg.engine.proto.StatsReport} */ public static final class StatsReport extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.StatsReport) StatsReportOrBuilder { private static final long serialVersionUID = 0L; // Use StatsReport.newBuilder() to construct. private StatsReport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StatsReport() { type_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StatsReport(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StatsReport( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { mdg.engine.proto.Reports.ReportHeader.Builder subBuilder = null; if (header_ != null) { subBuilder = header_.toBuilder(); } header_ = input.readMessage(mdg.engine.proto.Reports.ReportHeader.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(header_); header_ = subBuilder.buildPartial(); } break; } case 18: { mdg.engine.proto.Reports.MemStats.Builder subBuilder = null; if (memStats_ != null) { subBuilder = memStats_.toBuilder(); } memStats_ = input.readMessage(mdg.engine.proto.Reports.MemStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(memStats_); memStats_ = subBuilder.buildPartial(); } break; } case 26: { mdg.engine.proto.Reports.TimeStats.Builder subBuilder = null; if (timeStats_ != null) { subBuilder = timeStats_.toBuilder(); } timeStats_ = input.readMessage(mdg.engine.proto.Reports.TimeStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timeStats_); timeStats_ = subBuilder.buildPartial(); } break; } case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (startTime_ != null) { subBuilder = startTime_.toBuilder(); } startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(startTime_); startTime_ = subBuilder.buildPartial(); } break; } case 74: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (endTime_ != null) { subBuilder = endTime_.toBuilder(); } endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(endTime_); endTime_ = subBuilder.buildPartial(); } break; } case 80: { realtimeDuration_ = input.readUInt64(); break; } case 98: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { legacyPerQueryImplicitOperationName_ = com.google.protobuf.MapField.newMapField( LegacyPerQueryImplicitOperationNameDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry legacyPerQueryImplicitOperationName__ = input.readMessage( LegacyPerQueryImplicitOperationNameDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); legacyPerQueryImplicitOperationName_.getMutableMap().put( legacyPerQueryImplicitOperationName__.getKey(), legacyPerQueryImplicitOperationName__.getValue()); break; } case 106: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { type_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } type_.add( input.readMessage(mdg.engine.proto.Reports.Type.parser(), extensionRegistry)); break; } case 114: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { perQuery_ = com.google.protobuf.MapField.newMapField( PerQueryDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry perQuery__ = input.readMessage( PerQueryDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); perQuery_.getMutableMap().put( perQuery__.getKey(), perQuery__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) != 0)) { type_ = java.util.Collections.unmodifiableList(type_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsReport_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 14: return internalGetPerQuery(); case 12: return internalGetLegacyPerQueryImplicitOperationName(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsReport_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.StatsReport.class, mdg.engine.proto.Reports.StatsReport.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private mdg.engine.proto.Reports.ReportHeader header_; /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ @java.lang.Override public mdg.engine.proto.Reports.ReportHeader getHeader() { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } /** *
     * required
     * 
* * .mdg.engine.proto.ReportHeader header = 1; */ @java.lang.Override public mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int MEM_STATS_FIELD_NUMBER = 2; private mdg.engine.proto.Reports.MemStats memStats_; /** *
     * These fields are about properties of the engineproxy and are not generated
     * from FullTracesReports.
     * 
* * .mdg.engine.proto.MemStats mem_stats = 2; * @return Whether the memStats field is set. */ @java.lang.Override public boolean hasMemStats() { return memStats_ != null; } /** *
     * These fields are about properties of the engineproxy and are not generated
     * from FullTracesReports.
     * 
* * .mdg.engine.proto.MemStats mem_stats = 2; * @return The memStats. */ @java.lang.Override public mdg.engine.proto.Reports.MemStats getMemStats() { return memStats_ == null ? mdg.engine.proto.Reports.MemStats.getDefaultInstance() : memStats_; } /** *
     * These fields are about properties of the engineproxy and are not generated
     * from FullTracesReports.
     * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ @java.lang.Override public mdg.engine.proto.Reports.MemStatsOrBuilder getMemStatsOrBuilder() { return getMemStats(); } public static final int TIME_STATS_FIELD_NUMBER = 3; private mdg.engine.proto.Reports.TimeStats timeStats_; /** * .mdg.engine.proto.TimeStats time_stats = 3; * @return Whether the timeStats field is set. */ @java.lang.Override public boolean hasTimeStats() { return timeStats_ != null; } /** * .mdg.engine.proto.TimeStats time_stats = 3; * @return The timeStats. */ @java.lang.Override public mdg.engine.proto.Reports.TimeStats getTimeStats() { return timeStats_ == null ? mdg.engine.proto.Reports.TimeStats.getDefaultInstance() : timeStats_; } /** * .mdg.engine.proto.TimeStats time_stats = 3; */ @java.lang.Override public mdg.engine.proto.Reports.TimeStatsOrBuilder getTimeStatsOrBuilder() { return getTimeStats(); } public static final int START_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp startTime_; /** *
     * Beginning of the period over which stats are collected.
     * 
* * .google.protobuf.Timestamp start_time = 8; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return startTime_ != null; } /** *
     * Beginning of the period over which stats are collected.
     * 
* * .google.protobuf.Timestamp start_time = 8; * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** *
     * Beginning of the period over which stats are collected.
     * 
* * .google.protobuf.Timestamp start_time = 8; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); } public static final int END_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp endTime_; /** *
     * End of the period of which stats are collected.
     * 
* * .google.protobuf.Timestamp end_time = 9; * @return Whether the endTime field is set. */ @java.lang.Override public boolean hasEndTime() { return endTime_ != null; } /** *
     * End of the period of which stats are collected.
     * 
* * .google.protobuf.Timestamp end_time = 9; * @return The endTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** *
     * End of the period of which stats are collected.
     * 
* * .google.protobuf.Timestamp end_time = 9; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return getEndTime(); } public static final int REALTIME_DURATION_FIELD_NUMBER = 10; private long realtimeDuration_; /** *
     * Only used to interpret mem_stats and time_stats; not generated from
     * FullTracesReports.
     * 
* * uint64 realtime_duration = 10; * @return The realtimeDuration. */ @java.lang.Override public long getRealtimeDuration() { return realtimeDuration_; } public static final int PER_QUERY_FIELD_NUMBER = 14; private static final class PerQueryDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.QueryStats> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsReport_PerQueryEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.QueryStats.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.QueryStats> perQuery_; private com.google.protobuf.MapField internalGetPerQuery() { if (perQuery_ == null) { return com.google.protobuf.MapField.emptyMapField( PerQueryDefaultEntryHolder.defaultEntry); } return perQuery_; } public int getPerQueryCount() { return internalGetPerQuery().getMap().size(); } /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ @java.lang.Override public boolean containsPerQuery( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerQuery().getMap().containsKey(key); } /** * Use {@link #getPerQueryMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerQuery() { return getPerQueryMap(); } /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ @java.lang.Override public java.util.Map getPerQueryMap() { return internalGetPerQuery().getMap(); } /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ @java.lang.Override public mdg.engine.proto.Reports.QueryStats getPerQueryOrDefault( java.lang.String key, mdg.engine.proto.Reports.QueryStats defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerQuery().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Maps from query descriptor to QueryStats. Required unless
     * legacy_per_query_missing_operation_name is set. The keys are strings of the
     * form `# operationName\nsignature` (literal hash and space), with
     * operationName - if there is no operation name.
     * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ @java.lang.Override public mdg.engine.proto.Reports.QueryStats getPerQueryOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerQuery().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int LEGACY_PER_QUERY_IMPLICIT_OPERATION_NAME_FIELD_NUMBER = 12; private static final class LegacyPerQueryImplicitOperationNameDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.QueryStats> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsReport_LegacyPerQueryImplicitOperationNameEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.QueryStats.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.QueryStats> legacyPerQueryImplicitOperationName_; private com.google.protobuf.MapField internalGetLegacyPerQueryImplicitOperationName() { if (legacyPerQueryImplicitOperationName_ == null) { return com.google.protobuf.MapField.emptyMapField( LegacyPerQueryImplicitOperationNameDefaultEntryHolder.defaultEntry); } return legacyPerQueryImplicitOperationName_; } public int getLegacyPerQueryImplicitOperationNameCount() { return internalGetLegacyPerQueryImplicitOperationName().getMap().size(); } /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ @java.lang.Override public boolean containsLegacyPerQueryImplicitOperationName( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLegacyPerQueryImplicitOperationName().getMap().containsKey(key); } /** * Use {@link #getLegacyPerQueryImplicitOperationNameMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLegacyPerQueryImplicitOperationName() { return getLegacyPerQueryImplicitOperationNameMap(); } /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ @java.lang.Override public java.util.Map getLegacyPerQueryImplicitOperationNameMap() { return internalGetLegacyPerQueryImplicitOperationName().getMap(); } /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ @java.lang.Override public mdg.engine.proto.Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrDefault( java.lang.String key, mdg.engine.proto.Reports.QueryStats defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLegacyPerQueryImplicitOperationName().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Older agents (Go engineproxy) didn't explicitly include the operation name
     * in the key of this map, and the server had to parse it out (after a
     * re-signing operation which is no longer performed). The key here is just the query
     * signature. Deprecated.
     * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ @java.lang.Override public mdg.engine.proto.Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLegacyPerQueryImplicitOperationName().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int TYPE_FIELD_NUMBER = 13; private java.util.List type_; /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ @java.lang.Override public java.util.List getTypeList() { return type_; } /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ @java.lang.Override public java.util.List getTypeOrBuilderList() { return type_; } /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ @java.lang.Override public int getTypeCount() { return type_.size(); } /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ @java.lang.Override public mdg.engine.proto.Reports.Type getType(int index) { return type_.get(index); } /** *
     * Deprecated: it was useful in Optics where we had access to the whole schema
     * but has not been ever used in Engine.  apollo-engine-reporting will not
     * send it.
     * 
* * repeated .mdg.engine.proto.Type type = 13; */ @java.lang.Override public mdg.engine.proto.Reports.TypeOrBuilder getTypeOrBuilder( int index) { return type_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (header_ != null) { output.writeMessage(1, getHeader()); } if (memStats_ != null) { output.writeMessage(2, getMemStats()); } if (timeStats_ != null) { output.writeMessage(3, getTimeStats()); } if (startTime_ != null) { output.writeMessage(8, getStartTime()); } if (endTime_ != null) { output.writeMessage(9, getEndTime()); } if (realtimeDuration_ != 0L) { output.writeUInt64(10, realtimeDuration_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetLegacyPerQueryImplicitOperationName(), LegacyPerQueryImplicitOperationNameDefaultEntryHolder.defaultEntry, 12); for (int i = 0; i < type_.size(); i++) { output.writeMessage(13, type_.get(i)); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetPerQuery(), PerQueryDefaultEntryHolder.defaultEntry, 14); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } if (memStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getMemStats()); } if (timeStats_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getTimeStats()); } if (startTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getStartTime()); } if (endTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getEndTime()); } if (realtimeDuration_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, realtimeDuration_); } for (java.util.Map.Entry entry : internalGetLegacyPerQueryImplicitOperationName().getMap().entrySet()) { com.google.protobuf.MapEntry legacyPerQueryImplicitOperationName__ = LegacyPerQueryImplicitOperationNameDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, legacyPerQueryImplicitOperationName__); } for (int i = 0; i < type_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, type_.get(i)); } for (java.util.Map.Entry entry : internalGetPerQuery().getMap().entrySet()) { com.google.protobuf.MapEntry perQuery__ = PerQueryDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, perQuery__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.StatsReport)) { return super.equals(obj); } mdg.engine.proto.Reports.StatsReport other = (mdg.engine.proto.Reports.StatsReport) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (hasMemStats() != other.hasMemStats()) return false; if (hasMemStats()) { if (!getMemStats() .equals(other.getMemStats())) return false; } if (hasTimeStats() != other.hasTimeStats()) return false; if (hasTimeStats()) { if (!getTimeStats() .equals(other.getTimeStats())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (!getStartTime() .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { if (!getEndTime() .equals(other.getEndTime())) return false; } if (getRealtimeDuration() != other.getRealtimeDuration()) return false; if (!internalGetPerQuery().equals( other.internalGetPerQuery())) return false; if (!internalGetLegacyPerQueryImplicitOperationName().equals( other.internalGetLegacyPerQueryImplicitOperationName())) return false; if (!getTypeList() .equals(other.getTypeList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } if (hasMemStats()) { hash = (37 * hash) + MEM_STATS_FIELD_NUMBER; hash = (53 * hash) + getMemStats().hashCode(); } if (hasTimeStats()) { hash = (37 * hash) + TIME_STATS_FIELD_NUMBER; hash = (53 * hash) + getTimeStats().hashCode(); } if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); } if (hasEndTime()) { hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + getEndTime().hashCode(); } hash = (37 * hash) + REALTIME_DURATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRealtimeDuration()); if (!internalGetPerQuery().getMap().isEmpty()) { hash = (37 * hash) + PER_QUERY_FIELD_NUMBER; hash = (53 * hash) + internalGetPerQuery().hashCode(); } if (!internalGetLegacyPerQueryImplicitOperationName().getMap().isEmpty()) { hash = (37 * hash) + LEGACY_PER_QUERY_IMPLICIT_OPERATION_NAME_FIELD_NUMBER; hash = (53 * hash) + internalGetLegacyPerQueryImplicitOperationName().hashCode(); } if (getTypeCount() > 0) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getTypeList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.StatsReport parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.StatsReport parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.StatsReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.StatsReport parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.StatsReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.StatsReport parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.StatsReport parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.StatsReport 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 mdg.engine.proto.Reports.StatsReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.StatsReport 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 mdg.engine.proto.Reports.StatsReport parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.StatsReport 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(mdg.engine.proto.Reports.StatsReport 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; } /** *
     * Top-level message type for the server-side stats endpoint
     * 
* * Protobuf type {@code mdg.engine.proto.StatsReport} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.StatsReport) mdg.engine.proto.Reports.StatsReportOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsReport_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 14: return internalGetPerQuery(); case 12: return internalGetLegacyPerQueryImplicitOperationName(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 14: return internalGetMutablePerQuery(); case 12: return internalGetMutableLegacyPerQueryImplicitOperationName(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsReport_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.StatsReport.class, mdg.engine.proto.Reports.StatsReport.Builder.class); } // Construct using mdg.engine.proto.Reports.StatsReport.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } if (memStatsBuilder_ == null) { memStats_ = null; } else { memStats_ = null; memStatsBuilder_ = null; } if (timeStatsBuilder_ == null) { timeStats_ = null; } else { timeStats_ = null; timeStatsBuilder_ = null; } if (startTimeBuilder_ == null) { startTime_ = null; } else { startTime_ = null; startTimeBuilder_ = null; } if (endTimeBuilder_ == null) { endTime_ = null; } else { endTime_ = null; endTimeBuilder_ = null; } realtimeDuration_ = 0L; internalGetMutablePerQuery().clear(); internalGetMutableLegacyPerQueryImplicitOperationName().clear(); if (typeBuilder_ == null) { type_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { typeBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_StatsReport_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.StatsReport getDefaultInstanceForType() { return mdg.engine.proto.Reports.StatsReport.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.StatsReport build() { mdg.engine.proto.Reports.StatsReport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.StatsReport buildPartial() { mdg.engine.proto.Reports.StatsReport result = new mdg.engine.proto.Reports.StatsReport(this); int from_bitField0_ = bitField0_; if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } if (memStatsBuilder_ == null) { result.memStats_ = memStats_; } else { result.memStats_ = memStatsBuilder_.build(); } if (timeStatsBuilder_ == null) { result.timeStats_ = timeStats_; } else { result.timeStats_ = timeStatsBuilder_.build(); } if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { result.startTime_ = startTimeBuilder_.build(); } if (endTimeBuilder_ == null) { result.endTime_ = endTime_; } else { result.endTime_ = endTimeBuilder_.build(); } result.realtimeDuration_ = realtimeDuration_; result.perQuery_ = internalGetPerQuery(); result.perQuery_.makeImmutable(); result.legacyPerQueryImplicitOperationName_ = internalGetLegacyPerQueryImplicitOperationName(); result.legacyPerQueryImplicitOperationName_.makeImmutable(); if (typeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { type_ = java.util.Collections.unmodifiableList(type_); bitField0_ = (bitField0_ & ~0x00000004); } result.type_ = type_; } else { result.type_ = typeBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.StatsReport) { return mergeFrom((mdg.engine.proto.Reports.StatsReport)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.StatsReport other) { if (other == mdg.engine.proto.Reports.StatsReport.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (other.hasMemStats()) { mergeMemStats(other.getMemStats()); } if (other.hasTimeStats()) { mergeTimeStats(other.getTimeStats()); } if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } if (other.hasEndTime()) { mergeEndTime(other.getEndTime()); } if (other.getRealtimeDuration() != 0L) { setRealtimeDuration(other.getRealtimeDuration()); } internalGetMutablePerQuery().mergeFrom( other.internalGetPerQuery()); internalGetMutableLegacyPerQueryImplicitOperationName().mergeFrom( other.internalGetLegacyPerQueryImplicitOperationName()); if (typeBuilder_ == null) { if (!other.type_.isEmpty()) { if (type_.isEmpty()) { type_ = other.type_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureTypeIsMutable(); type_.addAll(other.type_); } onChanged(); } } else { if (!other.type_.isEmpty()) { if (typeBuilder_.isEmpty()) { typeBuilder_.dispose(); typeBuilder_ = null; type_ = other.type_; bitField0_ = (bitField0_ & ~0x00000004); typeBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTypeFieldBuilder() : null; } else { typeBuilder_.addAllMessages(other.type_); } } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.StatsReport parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.StatsReport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private mdg.engine.proto.Reports.ReportHeader header_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder> headerBuilder_; /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ public mdg.engine.proto.Reports.ReportHeader getHeader() { if (headerBuilder_ == null) { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public Builder setHeader(mdg.engine.proto.Reports.ReportHeader value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public Builder setHeader( mdg.engine.proto.Reports.ReportHeader.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public Builder mergeHeader(mdg.engine.proto.Reports.ReportHeader value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = mdg.engine.proto.Reports.ReportHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public mdg.engine.proto.Reports.ReportHeader.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ public mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } } /** *
       * required
       * 
* * .mdg.engine.proto.ReportHeader header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private mdg.engine.proto.Reports.MemStats memStats_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.MemStats, mdg.engine.proto.Reports.MemStats.Builder, mdg.engine.proto.Reports.MemStatsOrBuilder> memStatsBuilder_; /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; * @return Whether the memStats field is set. */ public boolean hasMemStats() { return memStatsBuilder_ != null || memStats_ != null; } /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; * @return The memStats. */ public mdg.engine.proto.Reports.MemStats getMemStats() { if (memStatsBuilder_ == null) { return memStats_ == null ? mdg.engine.proto.Reports.MemStats.getDefaultInstance() : memStats_; } else { return memStatsBuilder_.getMessage(); } } /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ public Builder setMemStats(mdg.engine.proto.Reports.MemStats value) { if (memStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } memStats_ = value; onChanged(); } else { memStatsBuilder_.setMessage(value); } return this; } /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ public Builder setMemStats( mdg.engine.proto.Reports.MemStats.Builder builderForValue) { if (memStatsBuilder_ == null) { memStats_ = builderForValue.build(); onChanged(); } else { memStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ public Builder mergeMemStats(mdg.engine.proto.Reports.MemStats value) { if (memStatsBuilder_ == null) { if (memStats_ != null) { memStats_ = mdg.engine.proto.Reports.MemStats.newBuilder(memStats_).mergeFrom(value).buildPartial(); } else { memStats_ = value; } onChanged(); } else { memStatsBuilder_.mergeFrom(value); } return this; } /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ public Builder clearMemStats() { if (memStatsBuilder_ == null) { memStats_ = null; onChanged(); } else { memStats_ = null; memStatsBuilder_ = null; } return this; } /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ public mdg.engine.proto.Reports.MemStats.Builder getMemStatsBuilder() { onChanged(); return getMemStatsFieldBuilder().getBuilder(); } /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ public mdg.engine.proto.Reports.MemStatsOrBuilder getMemStatsOrBuilder() { if (memStatsBuilder_ != null) { return memStatsBuilder_.getMessageOrBuilder(); } else { return memStats_ == null ? mdg.engine.proto.Reports.MemStats.getDefaultInstance() : memStats_; } } /** *
       * These fields are about properties of the engineproxy and are not generated
       * from FullTracesReports.
       * 
* * .mdg.engine.proto.MemStats mem_stats = 2; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.MemStats, mdg.engine.proto.Reports.MemStats.Builder, mdg.engine.proto.Reports.MemStatsOrBuilder> getMemStatsFieldBuilder() { if (memStatsBuilder_ == null) { memStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.MemStats, mdg.engine.proto.Reports.MemStats.Builder, mdg.engine.proto.Reports.MemStatsOrBuilder>( getMemStats(), getParentForChildren(), isClean()); memStats_ = null; } return memStatsBuilder_; } private mdg.engine.proto.Reports.TimeStats timeStats_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.TimeStats, mdg.engine.proto.Reports.TimeStats.Builder, mdg.engine.proto.Reports.TimeStatsOrBuilder> timeStatsBuilder_; /** * .mdg.engine.proto.TimeStats time_stats = 3; * @return Whether the timeStats field is set. */ public boolean hasTimeStats() { return timeStatsBuilder_ != null || timeStats_ != null; } /** * .mdg.engine.proto.TimeStats time_stats = 3; * @return The timeStats. */ public mdg.engine.proto.Reports.TimeStats getTimeStats() { if (timeStatsBuilder_ == null) { return timeStats_ == null ? mdg.engine.proto.Reports.TimeStats.getDefaultInstance() : timeStats_; } else { return timeStatsBuilder_.getMessage(); } } /** * .mdg.engine.proto.TimeStats time_stats = 3; */ public Builder setTimeStats(mdg.engine.proto.Reports.TimeStats value) { if (timeStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timeStats_ = value; onChanged(); } else { timeStatsBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.TimeStats time_stats = 3; */ public Builder setTimeStats( mdg.engine.proto.Reports.TimeStats.Builder builderForValue) { if (timeStatsBuilder_ == null) { timeStats_ = builderForValue.build(); onChanged(); } else { timeStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.TimeStats time_stats = 3; */ public Builder mergeTimeStats(mdg.engine.proto.Reports.TimeStats value) { if (timeStatsBuilder_ == null) { if (timeStats_ != null) { timeStats_ = mdg.engine.proto.Reports.TimeStats.newBuilder(timeStats_).mergeFrom(value).buildPartial(); } else { timeStats_ = value; } onChanged(); } else { timeStatsBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.TimeStats time_stats = 3; */ public Builder clearTimeStats() { if (timeStatsBuilder_ == null) { timeStats_ = null; onChanged(); } else { timeStats_ = null; timeStatsBuilder_ = null; } return this; } /** * .mdg.engine.proto.TimeStats time_stats = 3; */ public mdg.engine.proto.Reports.TimeStats.Builder getTimeStatsBuilder() { onChanged(); return getTimeStatsFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.TimeStats time_stats = 3; */ public mdg.engine.proto.Reports.TimeStatsOrBuilder getTimeStatsOrBuilder() { if (timeStatsBuilder_ != null) { return timeStatsBuilder_.getMessageOrBuilder(); } else { return timeStats_ == null ? mdg.engine.proto.Reports.TimeStats.getDefaultInstance() : timeStats_; } } /** * .mdg.engine.proto.TimeStats time_stats = 3; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.TimeStats, mdg.engine.proto.Reports.TimeStats.Builder, mdg.engine.proto.Reports.TimeStatsOrBuilder> getTimeStatsFieldBuilder() { if (timeStatsBuilder_ == null) { timeStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.TimeStats, mdg.engine.proto.Reports.TimeStats.Builder, mdg.engine.proto.Reports.TimeStatsOrBuilder>( getTimeStats(), getParentForChildren(), isClean()); timeStats_ = null; } return timeStatsBuilder_; } private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); } else { startTimeBuilder_.setMessage(value); } return this; } /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; */ public Builder setStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); } else { startTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } onChanged(); } else { startTimeBuilder_.mergeFrom(value); } return this; } /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { startTime_ = null; onChanged(); } else { startTime_ = null; startTimeBuilder_ = null; } return this; } /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** *
       * Beginning of the period over which stats are collected.
       * 
* * .google.protobuf.Timestamp start_time = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; } private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { if (endTimeBuilder_ == null) { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } else { return endTimeBuilder_.getMessage(); } } /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } endTime_ = value; onChanged(); } else { endTimeBuilder_.setMessage(value); } return this; } /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; */ public Builder setEndTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); } else { endTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } onChanged(); } else { endTimeBuilder_.mergeFrom(value); } return this; } /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; */ public Builder clearEndTime() { if (endTimeBuilder_ == null) { endTime_ = null; onChanged(); } else { endTime_ = null; endTimeBuilder_ = null; } return this; } /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** *
       * End of the period of which stats are collected.
       * 
* * .google.protobuf.Timestamp end_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } private long realtimeDuration_ ; /** *
       * Only used to interpret mem_stats and time_stats; not generated from
       * FullTracesReports.
       * 
* * uint64 realtime_duration = 10; * @return The realtimeDuration. */ @java.lang.Override public long getRealtimeDuration() { return realtimeDuration_; } /** *
       * Only used to interpret mem_stats and time_stats; not generated from
       * FullTracesReports.
       * 
* * uint64 realtime_duration = 10; * @param value The realtimeDuration to set. * @return This builder for chaining. */ public Builder setRealtimeDuration(long value) { realtimeDuration_ = value; onChanged(); return this; } /** *
       * Only used to interpret mem_stats and time_stats; not generated from
       * FullTracesReports.
       * 
* * uint64 realtime_duration = 10; * @return This builder for chaining. */ public Builder clearRealtimeDuration() { realtimeDuration_ = 0L; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.QueryStats> perQuery_; private com.google.protobuf.MapField internalGetPerQuery() { if (perQuery_ == null) { return com.google.protobuf.MapField.emptyMapField( PerQueryDefaultEntryHolder.defaultEntry); } return perQuery_; } private com.google.protobuf.MapField internalGetMutablePerQuery() { onChanged();; if (perQuery_ == null) { perQuery_ = com.google.protobuf.MapField.newMapField( PerQueryDefaultEntryHolder.defaultEntry); } if (!perQuery_.isMutable()) { perQuery_ = perQuery_.copy(); } return perQuery_; } public int getPerQueryCount() { return internalGetPerQuery().getMap().size(); } /** *
       * Maps from query descriptor to QueryStats. Required unless
       * legacy_per_query_missing_operation_name is set. The keys are strings of the
       * form `# operationName\nsignature` (literal hash and space), with
       * operationName - if there is no operation name.
       * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ @java.lang.Override public boolean containsPerQuery( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetPerQuery().getMap().containsKey(key); } /** * Use {@link #getPerQueryMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getPerQuery() { return getPerQueryMap(); } /** *
       * Maps from query descriptor to QueryStats. Required unless
       * legacy_per_query_missing_operation_name is set. The keys are strings of the
       * form `# operationName\nsignature` (literal hash and space), with
       * operationName - if there is no operation name.
       * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ @java.lang.Override public java.util.Map getPerQueryMap() { return internalGetPerQuery().getMap(); } /** *
       * Maps from query descriptor to QueryStats. Required unless
       * legacy_per_query_missing_operation_name is set. The keys are strings of the
       * form `# operationName\nsignature` (literal hash and space), with
       * operationName - if there is no operation name.
       * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ @java.lang.Override public mdg.engine.proto.Reports.QueryStats getPerQueryOrDefault( java.lang.String key, mdg.engine.proto.Reports.QueryStats defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerQuery().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Maps from query descriptor to QueryStats. Required unless
       * legacy_per_query_missing_operation_name is set. The keys are strings of the
       * form `# operationName\nsignature` (literal hash and space), with
       * operationName - if there is no operation name.
       * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ @java.lang.Override public mdg.engine.proto.Reports.QueryStats getPerQueryOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetPerQuery().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearPerQuery() { internalGetMutablePerQuery().getMutableMap() .clear(); return this; } /** *
       * Maps from query descriptor to QueryStats. Required unless
       * legacy_per_query_missing_operation_name is set. The keys are strings of the
       * form `# operationName\nsignature` (literal hash and space), with
       * operationName - if there is no operation name.
       * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ public Builder removePerQuery( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutablePerQuery().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutablePerQuery() { return internalGetMutablePerQuery().getMutableMap(); } /** *
       * Maps from query descriptor to QueryStats. Required unless
       * legacy_per_query_missing_operation_name is set. The keys are strings of the
       * form `# operationName\nsignature` (literal hash and space), with
       * operationName - if there is no operation name.
       * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ public Builder putPerQuery( java.lang.String key, mdg.engine.proto.Reports.QueryStats value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutablePerQuery().getMutableMap() .put(key, value); return this; } /** *
       * Maps from query descriptor to QueryStats. Required unless
       * legacy_per_query_missing_operation_name is set. The keys are strings of the
       * form `# operationName\nsignature` (literal hash and space), with
       * operationName - if there is no operation name.
       * 
* * map<string, .mdg.engine.proto.QueryStats> per_query = 14; */ public Builder putAllPerQuery( java.util.Map values) { internalGetMutablePerQuery().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.QueryStats> legacyPerQueryImplicitOperationName_; private com.google.protobuf.MapField internalGetLegacyPerQueryImplicitOperationName() { if (legacyPerQueryImplicitOperationName_ == null) { return com.google.protobuf.MapField.emptyMapField( LegacyPerQueryImplicitOperationNameDefaultEntryHolder.defaultEntry); } return legacyPerQueryImplicitOperationName_; } private com.google.protobuf.MapField internalGetMutableLegacyPerQueryImplicitOperationName() { onChanged();; if (legacyPerQueryImplicitOperationName_ == null) { legacyPerQueryImplicitOperationName_ = com.google.protobuf.MapField.newMapField( LegacyPerQueryImplicitOperationNameDefaultEntryHolder.defaultEntry); } if (!legacyPerQueryImplicitOperationName_.isMutable()) { legacyPerQueryImplicitOperationName_ = legacyPerQueryImplicitOperationName_.copy(); } return legacyPerQueryImplicitOperationName_; } public int getLegacyPerQueryImplicitOperationNameCount() { return internalGetLegacyPerQueryImplicitOperationName().getMap().size(); } /** *
       * Older agents (Go engineproxy) didn't explicitly include the operation name
       * in the key of this map, and the server had to parse it out (after a
       * re-signing operation which is no longer performed). The key here is just the query
       * signature. Deprecated.
       * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ @java.lang.Override public boolean containsLegacyPerQueryImplicitOperationName( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetLegacyPerQueryImplicitOperationName().getMap().containsKey(key); } /** * Use {@link #getLegacyPerQueryImplicitOperationNameMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLegacyPerQueryImplicitOperationName() { return getLegacyPerQueryImplicitOperationNameMap(); } /** *
       * Older agents (Go engineproxy) didn't explicitly include the operation name
       * in the key of this map, and the server had to parse it out (after a
       * re-signing operation which is no longer performed). The key here is just the query
       * signature. Deprecated.
       * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ @java.lang.Override public java.util.Map getLegacyPerQueryImplicitOperationNameMap() { return internalGetLegacyPerQueryImplicitOperationName().getMap(); } /** *
       * Older agents (Go engineproxy) didn't explicitly include the operation name
       * in the key of this map, and the server had to parse it out (after a
       * re-signing operation which is no longer performed). The key here is just the query
       * signature. Deprecated.
       * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ @java.lang.Override public mdg.engine.proto.Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrDefault( java.lang.String key, mdg.engine.proto.Reports.QueryStats defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLegacyPerQueryImplicitOperationName().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Older agents (Go engineproxy) didn't explicitly include the operation name
       * in the key of this map, and the server had to parse it out (after a
       * re-signing operation which is no longer performed). The key here is just the query
       * signature. Deprecated.
       * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ @java.lang.Override public mdg.engine.proto.Reports.QueryStats getLegacyPerQueryImplicitOperationNameOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetLegacyPerQueryImplicitOperationName().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearLegacyPerQueryImplicitOperationName() { internalGetMutableLegacyPerQueryImplicitOperationName().getMutableMap() .clear(); return this; } /** *
       * Older agents (Go engineproxy) didn't explicitly include the operation name
       * in the key of this map, and the server had to parse it out (after a
       * re-signing operation which is no longer performed). The key here is just the query
       * signature. Deprecated.
       * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ public Builder removeLegacyPerQueryImplicitOperationName( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableLegacyPerQueryImplicitOperationName().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLegacyPerQueryImplicitOperationName() { return internalGetMutableLegacyPerQueryImplicitOperationName().getMutableMap(); } /** *
       * Older agents (Go engineproxy) didn't explicitly include the operation name
       * in the key of this map, and the server had to parse it out (after a
       * re-signing operation which is no longer performed). The key here is just the query
       * signature. Deprecated.
       * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ public Builder putLegacyPerQueryImplicitOperationName( java.lang.String key, mdg.engine.proto.Reports.QueryStats value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableLegacyPerQueryImplicitOperationName().getMutableMap() .put(key, value); return this; } /** *
       * Older agents (Go engineproxy) didn't explicitly include the operation name
       * in the key of this map, and the server had to parse it out (after a
       * re-signing operation which is no longer performed). The key here is just the query
       * signature. Deprecated.
       * 
* * map<string, .mdg.engine.proto.QueryStats> legacy_per_query_implicit_operation_name = 12; */ public Builder putAllLegacyPerQueryImplicitOperationName( java.util.Map values) { internalGetMutableLegacyPerQueryImplicitOperationName().getMutableMap() .putAll(values); return this; } private java.util.List type_ = java.util.Collections.emptyList(); private void ensureTypeIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { type_ = new java.util.ArrayList(type_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Type, mdg.engine.proto.Reports.Type.Builder, mdg.engine.proto.Reports.TypeOrBuilder> typeBuilder_; /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public java.util.List getTypeList() { if (typeBuilder_ == null) { return java.util.Collections.unmodifiableList(type_); } else { return typeBuilder_.getMessageList(); } } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public int getTypeCount() { if (typeBuilder_ == null) { return type_.size(); } else { return typeBuilder_.getCount(); } } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public mdg.engine.proto.Reports.Type getType(int index) { if (typeBuilder_ == null) { return type_.get(index); } else { return typeBuilder_.getMessage(index); } } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder setType( int index, mdg.engine.proto.Reports.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.set(index, value); onChanged(); } else { typeBuilder_.setMessage(index, value); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder setType( int index, mdg.engine.proto.Reports.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.set(index, builderForValue.build()); onChanged(); } else { typeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder addType(mdg.engine.proto.Reports.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(value); onChanged(); } else { typeBuilder_.addMessage(value); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder addType( int index, mdg.engine.proto.Reports.Type value) { if (typeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypeIsMutable(); type_.add(index, value); onChanged(); } else { typeBuilder_.addMessage(index, value); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder addType( mdg.engine.proto.Reports.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.add(builderForValue.build()); onChanged(); } else { typeBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder addType( int index, mdg.engine.proto.Reports.Type.Builder builderForValue) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.add(index, builderForValue.build()); onChanged(); } else { typeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder addAllType( java.lang.Iterable values) { if (typeBuilder_ == null) { ensureTypeIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, type_); onChanged(); } else { typeBuilder_.addAllMessages(values); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder clearType() { if (typeBuilder_ == null) { type_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { typeBuilder_.clear(); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public Builder removeType(int index) { if (typeBuilder_ == null) { ensureTypeIsMutable(); type_.remove(index); onChanged(); } else { typeBuilder_.remove(index); } return this; } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public mdg.engine.proto.Reports.Type.Builder getTypeBuilder( int index) { return getTypeFieldBuilder().getBuilder(index); } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public mdg.engine.proto.Reports.TypeOrBuilder getTypeOrBuilder( int index) { if (typeBuilder_ == null) { return type_.get(index); } else { return typeBuilder_.getMessageOrBuilder(index); } } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public java.util.List getTypeOrBuilderList() { if (typeBuilder_ != null) { return typeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(type_); } } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public mdg.engine.proto.Reports.Type.Builder addTypeBuilder() { return getTypeFieldBuilder().addBuilder( mdg.engine.proto.Reports.Type.getDefaultInstance()); } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public mdg.engine.proto.Reports.Type.Builder addTypeBuilder( int index) { return getTypeFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Type.getDefaultInstance()); } /** *
       * Deprecated: it was useful in Optics where we had access to the whole schema
       * but has not been ever used in Engine.  apollo-engine-reporting will not
       * send it.
       * 
* * repeated .mdg.engine.proto.Type type = 13; */ public java.util.List getTypeBuilderList() { return getTypeFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Type, mdg.engine.proto.Reports.Type.Builder, mdg.engine.proto.Reports.TypeOrBuilder> getTypeFieldBuilder() { if (typeBuilder_ == null) { typeBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Type, mdg.engine.proto.Reports.Type.Builder, mdg.engine.proto.Reports.TypeOrBuilder>( type_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); type_ = null; } return typeBuilder_; } @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:mdg.engine.proto.StatsReport) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.StatsReport) private static final mdg.engine.proto.Reports.StatsReport DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.StatsReport(); } public static mdg.engine.proto.Reports.StatsReport getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StatsReport parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StatsReport(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.StatsReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FullTracesReportOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.FullTracesReport) com.google.protobuf.MessageOrBuilder { /** * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ mdg.engine.proto.Reports.ReportHeader getHeader(); /** * .mdg.engine.proto.ReportHeader header = 1; */ mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder(); /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ int getTracesPerQueryCount(); /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ boolean containsTracesPerQuery( java.lang.String key); /** * Use {@link #getTracesPerQueryMap()} instead. */ @java.lang.Deprecated java.util.Map getTracesPerQuery(); /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ java.util.Map getTracesPerQueryMap(); /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ /* nullable */ mdg.engine.proto.Reports.Traces getTracesPerQueryOrDefault( java.lang.String key, /* nullable */ mdg.engine.proto.Reports.Traces defaultValue); /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ mdg.engine.proto.Reports.Traces getTracesPerQueryOrThrow( java.lang.String key); } /** *
   * This is the top-level message used by the new traces ingress. This
   * is designed for the apollo-engine-reporting TypeScript agent and will
   * eventually be documented as a public ingress API. This message consists
   * solely of traces; the equivalent of the StatsReport is automatically
   * generated server-side from this message.  Agents should send traces
   * for all requests in this report.  Generally, buffering up until a large
   * size has been reached (say, 4MB) or 5-10 seconds has passed is appropriate.
   * 
* * Protobuf type {@code mdg.engine.proto.FullTracesReport} */ public static final class FullTracesReport extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.FullTracesReport) FullTracesReportOrBuilder { private static final long serialVersionUID = 0L; // Use FullTracesReport.newBuilder() to construct. private FullTracesReport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FullTracesReport() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FullTracesReport(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FullTracesReport( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { mdg.engine.proto.Reports.ReportHeader.Builder subBuilder = null; if (header_ != null) { subBuilder = header_.toBuilder(); } header_ = input.readMessage(mdg.engine.proto.Reports.ReportHeader.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(header_); header_ = subBuilder.buildPartial(); } break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tracesPerQuery_ = com.google.protobuf.MapField.newMapField( TracesPerQueryDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry tracesPerQuery__ = input.readMessage( TracesPerQueryDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); tracesPerQuery_.getMutableMap().put( tracesPerQuery__.getKey(), tracesPerQuery__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FullTracesReport_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetTracesPerQuery(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FullTracesReport_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.FullTracesReport.class, mdg.engine.proto.Reports.FullTracesReport.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private mdg.engine.proto.Reports.ReportHeader header_; /** * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ @java.lang.Override public mdg.engine.proto.Reports.ReportHeader getHeader() { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } /** * .mdg.engine.proto.ReportHeader header = 1; */ @java.lang.Override public mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int TRACES_PER_QUERY_FIELD_NUMBER = 5; private static final class TracesPerQueryDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, mdg.engine.proto.Reports.Traces> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FullTracesReport_TracesPerQueryEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, mdg.engine.proto.Reports.Traces.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.Traces> tracesPerQuery_; private com.google.protobuf.MapField internalGetTracesPerQuery() { if (tracesPerQuery_ == null) { return com.google.protobuf.MapField.emptyMapField( TracesPerQueryDefaultEntryHolder.defaultEntry); } return tracesPerQuery_; } public int getTracesPerQueryCount() { return internalGetTracesPerQuery().getMap().size(); } /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ @java.lang.Override public boolean containsTracesPerQuery( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetTracesPerQuery().getMap().containsKey(key); } /** * Use {@link #getTracesPerQueryMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getTracesPerQuery() { return getTracesPerQueryMap(); } /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ @java.lang.Override public java.util.Map getTracesPerQueryMap() { return internalGetTracesPerQuery().getMap(); } /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Traces getTracesPerQueryOrDefault( java.lang.String key, mdg.engine.proto.Reports.Traces defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTracesPerQuery().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * key is statsReportKey (# operationName\nsignature) Note that the nested
     * traces will *not* have a signature or details.operationName (because the
     * key is adequate).
     * We also assume that traces don't have
     * legacy_per_query_implicit_operation_name, and we don't require them to have
     * details.raw_query (which would consume a lot of space and has privacy/data
     * access issues, and isn't currently exposed by our app anyway).
     * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Traces getTracesPerQueryOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTracesPerQuery().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 (header_ != null) { output.writeMessage(1, getHeader()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetTracesPerQuery(), TracesPerQueryDefaultEntryHolder.defaultEntry, 5); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } for (java.util.Map.Entry entry : internalGetTracesPerQuery().getMap().entrySet()) { com.google.protobuf.MapEntry tracesPerQuery__ = TracesPerQueryDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, tracesPerQuery__); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.FullTracesReport)) { return super.equals(obj); } mdg.engine.proto.Reports.FullTracesReport other = (mdg.engine.proto.Reports.FullTracesReport) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (!internalGetTracesPerQuery().equals( other.internalGetTracesPerQuery())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } if (!internalGetTracesPerQuery().getMap().isEmpty()) { hash = (37 * hash) + TRACES_PER_QUERY_FIELD_NUMBER; hash = (53 * hash) + internalGetTracesPerQuery().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.FullTracesReport parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.FullTracesReport parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.FullTracesReport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.FullTracesReport parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.FullTracesReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.FullTracesReport parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.FullTracesReport parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.FullTracesReport 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 mdg.engine.proto.Reports.FullTracesReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.FullTracesReport 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 mdg.engine.proto.Reports.FullTracesReport parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.FullTracesReport 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(mdg.engine.proto.Reports.FullTracesReport 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; } /** *
     * This is the top-level message used by the new traces ingress. This
     * is designed for the apollo-engine-reporting TypeScript agent and will
     * eventually be documented as a public ingress API. This message consists
     * solely of traces; the equivalent of the StatsReport is automatically
     * generated server-side from this message.  Agents should send traces
     * for all requests in this report.  Generally, buffering up until a large
     * size has been reached (say, 4MB) or 5-10 seconds has passed is appropriate.
     * 
* * Protobuf type {@code mdg.engine.proto.FullTracesReport} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.FullTracesReport) mdg.engine.proto.Reports.FullTracesReportOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FullTracesReport_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 5: return internalGetTracesPerQuery(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 5: return internalGetMutableTracesPerQuery(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FullTracesReport_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.FullTracesReport.class, mdg.engine.proto.Reports.FullTracesReport.Builder.class); } // Construct using mdg.engine.proto.Reports.FullTracesReport.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } internalGetMutableTracesPerQuery().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_FullTracesReport_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.FullTracesReport getDefaultInstanceForType() { return mdg.engine.proto.Reports.FullTracesReport.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.FullTracesReport build() { mdg.engine.proto.Reports.FullTracesReport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.FullTracesReport buildPartial() { mdg.engine.proto.Reports.FullTracesReport result = new mdg.engine.proto.Reports.FullTracesReport(this); int from_bitField0_ = bitField0_; if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } result.tracesPerQuery_ = internalGetTracesPerQuery(); result.tracesPerQuery_.makeImmutable(); onBuilt(); return result; } @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 mdg.engine.proto.Reports.FullTracesReport) { return mergeFrom((mdg.engine.proto.Reports.FullTracesReport)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.FullTracesReport other) { if (other == mdg.engine.proto.Reports.FullTracesReport.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } internalGetMutableTracesPerQuery().mergeFrom( other.internalGetTracesPerQuery()); this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.FullTracesReport parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.FullTracesReport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private mdg.engine.proto.Reports.ReportHeader header_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder> headerBuilder_; /** * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ public mdg.engine.proto.Reports.ReportHeader getHeader() { if (headerBuilder_ == null) { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .mdg.engine.proto.ReportHeader header = 1; */ public Builder setHeader(mdg.engine.proto.Reports.ReportHeader value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.ReportHeader header = 1; */ public Builder setHeader( mdg.engine.proto.Reports.ReportHeader.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.ReportHeader header = 1; */ public Builder mergeHeader(mdg.engine.proto.Reports.ReportHeader value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = mdg.engine.proto.Reports.ReportHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.ReportHeader header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .mdg.engine.proto.ReportHeader header = 1; */ public mdg.engine.proto.Reports.ReportHeader.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.ReportHeader header = 1; */ public mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } } /** * .mdg.engine.proto.ReportHeader header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private com.google.protobuf.MapField< java.lang.String, mdg.engine.proto.Reports.Traces> tracesPerQuery_; private com.google.protobuf.MapField internalGetTracesPerQuery() { if (tracesPerQuery_ == null) { return com.google.protobuf.MapField.emptyMapField( TracesPerQueryDefaultEntryHolder.defaultEntry); } return tracesPerQuery_; } private com.google.protobuf.MapField internalGetMutableTracesPerQuery() { onChanged();; if (tracesPerQuery_ == null) { tracesPerQuery_ = com.google.protobuf.MapField.newMapField( TracesPerQueryDefaultEntryHolder.defaultEntry); } if (!tracesPerQuery_.isMutable()) { tracesPerQuery_ = tracesPerQuery_.copy(); } return tracesPerQuery_; } public int getTracesPerQueryCount() { return internalGetTracesPerQuery().getMap().size(); } /** *
       * key is statsReportKey (# operationName\nsignature) Note that the nested
       * traces will *not* have a signature or details.operationName (because the
       * key is adequate).
       * We also assume that traces don't have
       * legacy_per_query_implicit_operation_name, and we don't require them to have
       * details.raw_query (which would consume a lot of space and has privacy/data
       * access issues, and isn't currently exposed by our app anyway).
       * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ @java.lang.Override public boolean containsTracesPerQuery( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetTracesPerQuery().getMap().containsKey(key); } /** * Use {@link #getTracesPerQueryMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getTracesPerQuery() { return getTracesPerQueryMap(); } /** *
       * key is statsReportKey (# operationName\nsignature) Note that the nested
       * traces will *not* have a signature or details.operationName (because the
       * key is adequate).
       * We also assume that traces don't have
       * legacy_per_query_implicit_operation_name, and we don't require them to have
       * details.raw_query (which would consume a lot of space and has privacy/data
       * access issues, and isn't currently exposed by our app anyway).
       * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ @java.lang.Override public java.util.Map getTracesPerQueryMap() { return internalGetTracesPerQuery().getMap(); } /** *
       * key is statsReportKey (# operationName\nsignature) Note that the nested
       * traces will *not* have a signature or details.operationName (because the
       * key is adequate).
       * We also assume that traces don't have
       * legacy_per_query_implicit_operation_name, and we don't require them to have
       * details.raw_query (which would consume a lot of space and has privacy/data
       * access issues, and isn't currently exposed by our app anyway).
       * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Traces getTracesPerQueryOrDefault( java.lang.String key, mdg.engine.proto.Reports.Traces defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTracesPerQuery().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * key is statsReportKey (# operationName\nsignature) Note that the nested
       * traces will *not* have a signature or details.operationName (because the
       * key is adequate).
       * We also assume that traces don't have
       * legacy_per_query_implicit_operation_name, and we don't require them to have
       * details.raw_query (which would consume a lot of space and has privacy/data
       * access issues, and isn't currently exposed by our app anyway).
       * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ @java.lang.Override public mdg.engine.proto.Reports.Traces getTracesPerQueryOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTracesPerQuery().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearTracesPerQuery() { internalGetMutableTracesPerQuery().getMutableMap() .clear(); return this; } /** *
       * key is statsReportKey (# operationName\nsignature) Note that the nested
       * traces will *not* have a signature or details.operationName (because the
       * key is adequate).
       * We also assume that traces don't have
       * legacy_per_query_implicit_operation_name, and we don't require them to have
       * details.raw_query (which would consume a lot of space and has privacy/data
       * access issues, and isn't currently exposed by our app anyway).
       * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ public Builder removeTracesPerQuery( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableTracesPerQuery().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableTracesPerQuery() { return internalGetMutableTracesPerQuery().getMutableMap(); } /** *
       * key is statsReportKey (# operationName\nsignature) Note that the nested
       * traces will *not* have a signature or details.operationName (because the
       * key is adequate).
       * We also assume that traces don't have
       * legacy_per_query_implicit_operation_name, and we don't require them to have
       * details.raw_query (which would consume a lot of space and has privacy/data
       * access issues, and isn't currently exposed by our app anyway).
       * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ public Builder putTracesPerQuery( java.lang.String key, mdg.engine.proto.Reports.Traces value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableTracesPerQuery().getMutableMap() .put(key, value); return this; } /** *
       * key is statsReportKey (# operationName\nsignature) Note that the nested
       * traces will *not* have a signature or details.operationName (because the
       * key is adequate).
       * We also assume that traces don't have
       * legacy_per_query_implicit_operation_name, and we don't require them to have
       * details.raw_query (which would consume a lot of space and has privacy/data
       * access issues, and isn't currently exposed by our app anyway).
       * 
* * map<string, .mdg.engine.proto.Traces> traces_per_query = 5; */ public Builder putAllTracesPerQuery( java.util.Map values) { internalGetMutableTracesPerQuery().getMutableMap() .putAll(values); 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:mdg.engine.proto.FullTracesReport) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.FullTracesReport) private static final mdg.engine.proto.Reports.FullTracesReport DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.FullTracesReport(); } public static mdg.engine.proto.Reports.FullTracesReport getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FullTracesReport parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FullTracesReport(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.FullTracesReport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TracesOrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.Traces) com.google.protobuf.MessageOrBuilder { /** * repeated .mdg.engine.proto.Trace trace = 1; */ java.util.List getTraceList(); /** * repeated .mdg.engine.proto.Trace trace = 1; */ mdg.engine.proto.Reports.Trace getTrace(int index); /** * repeated .mdg.engine.proto.Trace trace = 1; */ int getTraceCount(); /** * repeated .mdg.engine.proto.Trace trace = 1; */ java.util.List getTraceOrBuilderList(); /** * repeated .mdg.engine.proto.Trace trace = 1; */ mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder( int index); } /** *
   * Just a sequence of traces with the same statsReportKey.
   * 
* * Protobuf type {@code mdg.engine.proto.Traces} */ public static final class Traces extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.Traces) TracesOrBuilder { private static final long serialVersionUID = 0L; // Use Traces.newBuilder() to construct. private Traces(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Traces() { trace_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Traces(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Traces( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { trace_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } trace_.add( input.readMessage(mdg.engine.proto.Reports.Trace.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { trace_ = java.util.Collections.unmodifiableList(trace_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Traces_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Traces_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Traces.class, mdg.engine.proto.Reports.Traces.Builder.class); } public static final int TRACE_FIELD_NUMBER = 1; private java.util.List trace_; /** * repeated .mdg.engine.proto.Trace trace = 1; */ @java.lang.Override public java.util.List getTraceList() { return trace_; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ @java.lang.Override public java.util.List getTraceOrBuilderList() { return trace_; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ @java.lang.Override public int getTraceCount() { return trace_.size(); } /** * repeated .mdg.engine.proto.Trace trace = 1; */ @java.lang.Override public mdg.engine.proto.Reports.Trace getTrace(int index) { return trace_.get(index); } /** * repeated .mdg.engine.proto.Trace trace = 1; */ @java.lang.Override public mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder( int index) { return trace_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < trace_.size(); i++) { output.writeMessage(1, trace_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < trace_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, trace_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.Traces)) { return super.equals(obj); } mdg.engine.proto.Reports.Traces other = (mdg.engine.proto.Reports.Traces) obj; if (!getTraceList() .equals(other.getTraceList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTraceCount() > 0) { hash = (37 * hash) + TRACE_FIELD_NUMBER; hash = (53 * hash) + getTraceList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.Traces parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Traces parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Traces parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Traces parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Traces parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.Traces parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.Traces parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Traces 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 mdg.engine.proto.Reports.Traces parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Traces 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 mdg.engine.proto.Reports.Traces parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.Traces 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(mdg.engine.proto.Reports.Traces 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; } /** *
     * Just a sequence of traces with the same statsReportKey.
     * 
* * Protobuf type {@code mdg.engine.proto.Traces} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.Traces) mdg.engine.proto.Reports.TracesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Traces_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Traces_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.Traces.class, mdg.engine.proto.Reports.Traces.Builder.class); } // Construct using mdg.engine.proto.Reports.Traces.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTraceFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (traceBuilder_ == null) { trace_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { traceBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_Traces_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.Traces getDefaultInstanceForType() { return mdg.engine.proto.Reports.Traces.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.Traces build() { mdg.engine.proto.Reports.Traces result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.Traces buildPartial() { mdg.engine.proto.Reports.Traces result = new mdg.engine.proto.Reports.Traces(this); int from_bitField0_ = bitField0_; if (traceBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { trace_ = java.util.Collections.unmodifiableList(trace_); bitField0_ = (bitField0_ & ~0x00000001); } result.trace_ = trace_; } else { result.trace_ = traceBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.Traces) { return mergeFrom((mdg.engine.proto.Reports.Traces)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.Traces other) { if (other == mdg.engine.proto.Reports.Traces.getDefaultInstance()) return this; if (traceBuilder_ == null) { if (!other.trace_.isEmpty()) { if (trace_.isEmpty()) { trace_ = other.trace_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTraceIsMutable(); trace_.addAll(other.trace_); } onChanged(); } } else { if (!other.trace_.isEmpty()) { if (traceBuilder_.isEmpty()) { traceBuilder_.dispose(); traceBuilder_ = null; trace_ = other.trace_; bitField0_ = (bitField0_ & ~0x00000001); traceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTraceFieldBuilder() : null; } else { traceBuilder_.addAllMessages(other.trace_); } } } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.Traces parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.Traces) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List trace_ = java.util.Collections.emptyList(); private void ensureTraceIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { trace_ = new java.util.ArrayList(trace_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder> traceBuilder_; /** * repeated .mdg.engine.proto.Trace trace = 1; */ public java.util.List getTraceList() { if (traceBuilder_ == null) { return java.util.Collections.unmodifiableList(trace_); } else { return traceBuilder_.getMessageList(); } } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public int getTraceCount() { if (traceBuilder_ == null) { return trace_.size(); } else { return traceBuilder_.getCount(); } } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public mdg.engine.proto.Reports.Trace getTrace(int index) { if (traceBuilder_ == null) { return trace_.get(index); } else { return traceBuilder_.getMessage(index); } } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder setTrace( int index, mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceIsMutable(); trace_.set(index, value); onChanged(); } else { traceBuilder_.setMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder setTrace( int index, mdg.engine.proto.Reports.Trace.Builder builderForValue) { if (traceBuilder_ == null) { ensureTraceIsMutable(); trace_.set(index, builderForValue.build()); onChanged(); } else { traceBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder addTrace(mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceIsMutable(); trace_.add(value); onChanged(); } else { traceBuilder_.addMessage(value); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder addTrace( int index, mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTraceIsMutable(); trace_.add(index, value); onChanged(); } else { traceBuilder_.addMessage(index, value); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder addTrace( mdg.engine.proto.Reports.Trace.Builder builderForValue) { if (traceBuilder_ == null) { ensureTraceIsMutable(); trace_.add(builderForValue.build()); onChanged(); } else { traceBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder addTrace( int index, mdg.engine.proto.Reports.Trace.Builder builderForValue) { if (traceBuilder_ == null) { ensureTraceIsMutable(); trace_.add(index, builderForValue.build()); onChanged(); } else { traceBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder addAllTrace( java.lang.Iterable values) { if (traceBuilder_ == null) { ensureTraceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, trace_); onChanged(); } else { traceBuilder_.addAllMessages(values); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder clearTrace() { if (traceBuilder_ == null) { trace_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { traceBuilder_.clear(); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public Builder removeTrace(int index) { if (traceBuilder_ == null) { ensureTraceIsMutable(); trace_.remove(index); onChanged(); } else { traceBuilder_.remove(index); } return this; } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public mdg.engine.proto.Reports.Trace.Builder getTraceBuilder( int index) { return getTraceFieldBuilder().getBuilder(index); } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder( int index) { if (traceBuilder_ == null) { return trace_.get(index); } else { return traceBuilder_.getMessageOrBuilder(index); } } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public java.util.List getTraceOrBuilderList() { if (traceBuilder_ != null) { return traceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(trace_); } } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public mdg.engine.proto.Reports.Trace.Builder addTraceBuilder() { return getTraceFieldBuilder().addBuilder( mdg.engine.proto.Reports.Trace.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public mdg.engine.proto.Reports.Trace.Builder addTraceBuilder( int index) { return getTraceFieldBuilder().addBuilder( index, mdg.engine.proto.Reports.Trace.getDefaultInstance()); } /** * repeated .mdg.engine.proto.Trace trace = 1; */ public java.util.List getTraceBuilderList() { return getTraceFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder> getTraceFieldBuilder() { if (traceBuilder_ == null) { traceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder>( trace_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); trace_ = null; } return traceBuilder_; } @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:mdg.engine.proto.Traces) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.Traces) private static final mdg.engine.proto.Reports.Traces DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.Traces(); } public static mdg.engine.proto.Reports.Traces getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Traces parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Traces(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.Traces getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TraceV1OrBuilder extends // @@protoc_insertion_point(interface_extends:mdg.engine.proto.TraceV1) com.google.protobuf.MessageOrBuilder { /** * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ boolean hasHeader(); /** * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ mdg.engine.proto.Reports.ReportHeader getHeader(); /** * .mdg.engine.proto.ReportHeader header = 1; */ mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder(); /** * .mdg.engine.proto.Trace trace = 2; * @return Whether the trace field is set. */ boolean hasTrace(); /** * .mdg.engine.proto.Trace trace = 2; * @return The trace. */ mdg.engine.proto.Reports.Trace getTrace(); /** * .mdg.engine.proto.Trace trace = 2; */ mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder(); } /** * Protobuf type {@code mdg.engine.proto.TraceV1} */ public static final class TraceV1 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:mdg.engine.proto.TraceV1) TraceV1OrBuilder { private static final long serialVersionUID = 0L; // Use TraceV1.newBuilder() to construct. private TraceV1(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TraceV1() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TraceV1(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TraceV1( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { mdg.engine.proto.Reports.ReportHeader.Builder subBuilder = null; if (header_ != null) { subBuilder = header_.toBuilder(); } header_ = input.readMessage(mdg.engine.proto.Reports.ReportHeader.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(header_); header_ = subBuilder.buildPartial(); } break; } case 18: { mdg.engine.proto.Reports.Trace.Builder subBuilder = null; if (trace_ != null) { subBuilder = trace_.toBuilder(); } trace_ = input.readMessage(mdg.engine.proto.Reports.Trace.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(trace_); trace_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TraceV1_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TraceV1_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.TraceV1.class, mdg.engine.proto.Reports.TraceV1.Builder.class); } public static final int HEADER_FIELD_NUMBER = 1; private mdg.engine.proto.Reports.ReportHeader header_; /** * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ @java.lang.Override public boolean hasHeader() { return header_ != null; } /** * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ @java.lang.Override public mdg.engine.proto.Reports.ReportHeader getHeader() { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } /** * .mdg.engine.proto.ReportHeader header = 1; */ @java.lang.Override public mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int TRACE_FIELD_NUMBER = 2; private mdg.engine.proto.Reports.Trace trace_; /** * .mdg.engine.proto.Trace trace = 2; * @return Whether the trace field is set. */ @java.lang.Override public boolean hasTrace() { return trace_ != null; } /** * .mdg.engine.proto.Trace trace = 2; * @return The trace. */ @java.lang.Override public mdg.engine.proto.Reports.Trace getTrace() { return trace_ == null ? mdg.engine.proto.Reports.Trace.getDefaultInstance() : trace_; } /** * .mdg.engine.proto.Trace trace = 2; */ @java.lang.Override public mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder() { return getTrace(); } 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 (header_ != null) { output.writeMessage(1, getHeader()); } if (trace_ != null) { output.writeMessage(2, getTrace()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (header_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeader()); } if (trace_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTrace()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof mdg.engine.proto.Reports.TraceV1)) { return super.equals(obj); } mdg.engine.proto.Reports.TraceV1 other = (mdg.engine.proto.Reports.TraceV1) obj; if (hasHeader() != other.hasHeader()) return false; if (hasHeader()) { if (!getHeader() .equals(other.getHeader())) return false; } if (hasTrace() != other.hasTrace()) return false; if (hasTrace()) { if (!getTrace() .equals(other.getTrace())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } if (hasTrace()) { hash = (37 * hash) + TRACE_FIELD_NUMBER; hash = (53 * hash) + getTrace().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static mdg.engine.proto.Reports.TraceV1 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TraceV1 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TraceV1 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TraceV1 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TraceV1 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static mdg.engine.proto.Reports.TraceV1 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static mdg.engine.proto.Reports.TraceV1 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TraceV1 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 mdg.engine.proto.Reports.TraceV1 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TraceV1 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 mdg.engine.proto.Reports.TraceV1 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static mdg.engine.proto.Reports.TraceV1 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(mdg.engine.proto.Reports.TraceV1 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 mdg.engine.proto.TraceV1} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:mdg.engine.proto.TraceV1) mdg.engine.proto.Reports.TraceV1OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TraceV1_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TraceV1_fieldAccessorTable .ensureFieldAccessorsInitialized( mdg.engine.proto.Reports.TraceV1.class, mdg.engine.proto.Reports.TraceV1.Builder.class); } // Construct using mdg.engine.proto.Reports.TraceV1.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } if (traceBuilder_ == null) { trace_ = null; } else { trace_ = null; traceBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return mdg.engine.proto.Reports.internal_static_mdg_engine_proto_TraceV1_descriptor; } @java.lang.Override public mdg.engine.proto.Reports.TraceV1 getDefaultInstanceForType() { return mdg.engine.proto.Reports.TraceV1.getDefaultInstance(); } @java.lang.Override public mdg.engine.proto.Reports.TraceV1 build() { mdg.engine.proto.Reports.TraceV1 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public mdg.engine.proto.Reports.TraceV1 buildPartial() { mdg.engine.proto.Reports.TraceV1 result = new mdg.engine.proto.Reports.TraceV1(this); if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } if (traceBuilder_ == null) { result.trace_ = trace_; } else { result.trace_ = traceBuilder_.build(); } onBuilt(); return result; } @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 mdg.engine.proto.Reports.TraceV1) { return mergeFrom((mdg.engine.proto.Reports.TraceV1)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(mdg.engine.proto.Reports.TraceV1 other) { if (other == mdg.engine.proto.Reports.TraceV1.getDefaultInstance()) return this; if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (other.hasTrace()) { mergeTrace(other.getTrace()); } this.mergeUnknownFields(other.unknownFields); 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 { mdg.engine.proto.Reports.TraceV1 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (mdg.engine.proto.Reports.TraceV1) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private mdg.engine.proto.Reports.ReportHeader header_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder> headerBuilder_; /** * .mdg.engine.proto.ReportHeader header = 1; * @return Whether the header field is set. */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .mdg.engine.proto.ReportHeader header = 1; * @return The header. */ public mdg.engine.proto.Reports.ReportHeader getHeader() { if (headerBuilder_ == null) { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * .mdg.engine.proto.ReportHeader header = 1; */ public Builder setHeader(mdg.engine.proto.Reports.ReportHeader value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.ReportHeader header = 1; */ public Builder setHeader( mdg.engine.proto.Reports.ReportHeader.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.ReportHeader header = 1; */ public Builder mergeHeader(mdg.engine.proto.Reports.ReportHeader value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = mdg.engine.proto.Reports.ReportHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.ReportHeader header = 1; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * .mdg.engine.proto.ReportHeader header = 1; */ public mdg.engine.proto.Reports.ReportHeader.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.ReportHeader header = 1; */ public mdg.engine.proto.Reports.ReportHeaderOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? mdg.engine.proto.Reports.ReportHeader.getDefaultInstance() : header_; } } /** * .mdg.engine.proto.ReportHeader header = 1; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.ReportHeader, mdg.engine.proto.Reports.ReportHeader.Builder, mdg.engine.proto.Reports.ReportHeaderOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private mdg.engine.proto.Reports.Trace trace_; private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder> traceBuilder_; /** * .mdg.engine.proto.Trace trace = 2; * @return Whether the trace field is set. */ public boolean hasTrace() { return traceBuilder_ != null || trace_ != null; } /** * .mdg.engine.proto.Trace trace = 2; * @return The trace. */ public mdg.engine.proto.Reports.Trace getTrace() { if (traceBuilder_ == null) { return trace_ == null ? mdg.engine.proto.Reports.Trace.getDefaultInstance() : trace_; } else { return traceBuilder_.getMessage(); } } /** * .mdg.engine.proto.Trace trace = 2; */ public Builder setTrace(mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } trace_ = value; onChanged(); } else { traceBuilder_.setMessage(value); } return this; } /** * .mdg.engine.proto.Trace trace = 2; */ public Builder setTrace( mdg.engine.proto.Reports.Trace.Builder builderForValue) { if (traceBuilder_ == null) { trace_ = builderForValue.build(); onChanged(); } else { traceBuilder_.setMessage(builderForValue.build()); } return this; } /** * .mdg.engine.proto.Trace trace = 2; */ public Builder mergeTrace(mdg.engine.proto.Reports.Trace value) { if (traceBuilder_ == null) { if (trace_ != null) { trace_ = mdg.engine.proto.Reports.Trace.newBuilder(trace_).mergeFrom(value).buildPartial(); } else { trace_ = value; } onChanged(); } else { traceBuilder_.mergeFrom(value); } return this; } /** * .mdg.engine.proto.Trace trace = 2; */ public Builder clearTrace() { if (traceBuilder_ == null) { trace_ = null; onChanged(); } else { trace_ = null; traceBuilder_ = null; } return this; } /** * .mdg.engine.proto.Trace trace = 2; */ public mdg.engine.proto.Reports.Trace.Builder getTraceBuilder() { onChanged(); return getTraceFieldBuilder().getBuilder(); } /** * .mdg.engine.proto.Trace trace = 2; */ public mdg.engine.proto.Reports.TraceOrBuilder getTraceOrBuilder() { if (traceBuilder_ != null) { return traceBuilder_.getMessageOrBuilder(); } else { return trace_ == null ? mdg.engine.proto.Reports.Trace.getDefaultInstance() : trace_; } } /** * .mdg.engine.proto.Trace trace = 2; */ private com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder> getTraceFieldBuilder() { if (traceBuilder_ == null) { traceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< mdg.engine.proto.Reports.Trace, mdg.engine.proto.Reports.Trace.Builder, mdg.engine.proto.Reports.TraceOrBuilder>( getTrace(), getParentForChildren(), isClean()); trace_ = null; } return traceBuilder_; } @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:mdg.engine.proto.TraceV1) } // @@protoc_insertion_point(class_scope:mdg.engine.proto.TraceV1) private static final mdg.engine.proto.Reports.TraceV1 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new mdg.engine.proto.Reports.TraceV1(); } public static mdg.engine.proto.Reports.TraceV1 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TraceV1 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TraceV1(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public mdg.engine.proto.Reports.TraceV1 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_CachePolicy_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_CachePolicy_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_Details_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_Details_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_Details_VariablesJsonEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_Details_VariablesJsonEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_Details_VariablesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_Details_VariablesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_Error_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_Error_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_HTTP_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_HTTP_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_HTTP_Values_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_HTTP_Values_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_HTTP_RequestHeadersEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_HTTP_RequestHeadersEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_HTTP_ResponseHeadersEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_HTTP_ResponseHeadersEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_Location_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_Location_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_Node_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_Node_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_QueryPlanNode_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ReportHeader_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ReportHeader_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_PathErrorStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_PathErrorStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_PathErrorStats_ChildrenEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_PathErrorStats_ChildrenEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ClientNameStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ClientNameStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ClientNameStats_RequestsCountPerVersionEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ClientNameStats_RequestsCountPerVersionEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ClientNameStats_CacheHitsPerVersionEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ClientNameStats_CacheHitsPerVersionEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryHitsPerVersionEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryHitsPerVersionEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryMissesPerVersionEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryMissesPerVersionEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ClientNameStats_RegisteredOperationCountPerVersionEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ClientNameStats_RegisteredOperationCountPerVersionEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ClientNameStats_ForbiddenOperationCountPerVersionEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ClientNameStats_ForbiddenOperationCountPerVersionEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_QueryLatencyStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_QueryLatencyStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_StatsContext_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_StatsContext_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ContextualizedTypeStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ContextualizedTypeStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_ContextualizedTypeStats_PerTypeStatEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_ContextualizedTypeStats_PerTypeStatEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_FieldStat_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_FieldStat_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_TypeStat_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_TypeStat_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_TypeStat_PerFieldStatEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_TypeStat_PerFieldStatEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_QueryStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_QueryStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_QueryStats_PerClientNameEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_QueryStats_PerClientNameEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_QueryStats_PerTypeStatEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_QueryStats_PerTypeStatEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_TracesReport_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_TracesReport_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Field_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Field_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Type_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Type_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_MemStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_MemStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_TimeStats_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_TimeStats_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_StatsReport_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_StatsReport_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_StatsReport_PerQueryEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_StatsReport_PerQueryEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_StatsReport_LegacyPerQueryImplicitOperationNameEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_StatsReport_LegacyPerQueryImplicitOperationNameEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_FullTracesReport_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_FullTracesReport_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_FullTracesReport_TracesPerQueryEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_FullTracesReport_TracesPerQueryEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_Traces_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_Traces_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_mdg_engine_proto_TraceV1_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_mdg_engine_proto_TraceV1_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\rreports.proto\022\020mdg.engine.proto\032\037googl" + "e/protobuf/timestamp.proto\"\351\031\n\005Trace\022.\n\n" + "start_time\030\004 \001(\0132\032.google.protobuf.Times" + "tamp\022,\n\010end_time\030\003 \001(\0132\032.google.protobuf" + ".Timestamp\022\023\n\013duration_ns\030\013 \001(\004\022*\n\004root\030" + "\016 \001(\0132\034.mdg.engine.proto.Trace.Node\022\021\n\ts" + "ignature\030\023 \001(\t\0220\n\007details\030\006 \001(\0132\037.mdg.en" + "gine.proto.Trace.Details\022\023\n\013client_name\030" + "\007 \001(\t\022\026\n\016client_version\030\010 \001(\t\022\026\n\016client_" + "address\030\t \001(\t\022\033\n\023client_reference_id\030\027 \001" + "(\t\022*\n\004http\030\n \001(\0132\034.mdg.engine.proto.Trac" + "e.HTTP\0229\n\014cache_policy\030\022 \001(\0132#.mdg.engin" + "e.proto.Trace.CachePolicy\0229\n\nquery_plan\030" + "\032 \001(\0132%.mdg.engine.proto.Trace.QueryPlan" + "Node\022\034\n\024full_query_cache_hit\030\024 \001(\010\022\033\n\023pe" + "rsisted_query_hit\030\025 \001(\010\022 \n\030persisted_que" + "ry_register\030\026 \001(\010\022\034\n\024registered_operatio" + "n\030\030 \001(\010\022\033\n\023forbidden_operation\030\031 \001(\010\022>\n\032" + "origin_reported_start_time\030\017 \001(\0132\032.googl" + "e.protobuf.Timestamp\022<\n\030origin_reported_" + "end_time\030\020 \001(\0132\032.google.protobuf.Timesta" + "mp\022#\n\033origin_reported_duration_ns\030\021 \001(\004\022" + "(\n legacy_signature_needs_resigning\030\005 \001(" + "\t\032\212\001\n\013CachePolicy\0228\n\005scope\030\001 \001(\0162).mdg.e" + "ngine.proto.Trace.CachePolicy.Scope\022\022\n\nm" + "ax_age_ns\030\002 \001(\003\"-\n\005Scope\022\013\n\007UNKNOWN\020\000\022\n\n" + "\006PUBLIC\020\001\022\013\n\007PRIVATE\020\002\032\253\002\n\007Details\022J\n\016va" + "riables_json\030\004 \003(\01322.mdg.engine.proto.Tr" + "ace.Details.VariablesJsonEntry\022A\n\tvariab" + "les\030\001 \003(\0132..mdg.engine.proto.Trace.Detai" + "ls.VariablesEntry\022\021\n\traw_query\030\002 \001(\t\022\026\n\016" + "operation_name\030\003 \001(\t\0324\n\022VariablesJsonEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0320\n\016Va" + "riablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014" + ":\0028\001\032k\n\005Error\022\017\n\007message\030\001 \001(\t\0222\n\010locati" + "on\030\002 \003(\0132 .mdg.engine.proto.Trace.Locati" + "on\022\017\n\007time_ns\030\003 \001(\004\022\014\n\004json\030\004 \001(\t\032\361\004\n\004HT" + "TP\0223\n\006method\030\001 \001(\0162#.mdg.engine.proto.Tr" + "ace.HTTP.Method\022\014\n\004host\030\002 \001(\t\022\014\n\004path\030\003 " + "\001(\t\022I\n\017request_headers\030\004 \003(\01320.mdg.engin" + "e.proto.Trace.HTTP.RequestHeadersEntry\022K" + "\n\020response_headers\030\005 \003(\01321.mdg.engine.pr" + "oto.Trace.HTTP.ResponseHeadersEntry\022\023\n\013s" + "tatus_code\030\006 \001(\r\022\016\n\006secure\030\010 \001(\010\022\020\n\010prot" + "ocol\030\t \001(\t\032\027\n\006Values\022\r\n\005value\030\001 \003(\t\032Z\n\023R" + "equestHeadersEntry\022\013\n\003key\030\001 \001(\t\0222\n\005value" + "\030\002 \001(\0132#.mdg.engine.proto.Trace.HTTP.Val" + "ues:\0028\001\032[\n\024ResponseHeadersEntry\022\013\n\003key\030\001" + " \001(\t\0222\n\005value\030\002 \001(\0132#.mdg.engine.proto.T" + "race.HTTP.Values:\0028\001\"w\n\006Method\022\013\n\007UNKNOW" + "N\020\000\022\013\n\007OPTIONS\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\010\n\004P" + "OST\020\004\022\007\n\003PUT\020\005\022\n\n\006DELETE\020\006\022\t\n\005TRACE\020\007\022\013\n" + "\007CONNECT\020\010\022\t\n\005PATCH\020\t\032(\n\010Location\022\014\n\004lin" + "e\030\001 \001(\r\022\016\n\006column\030\002 \001(\r\032\270\002\n\004Node\022\027\n\rresp" + "onse_name\030\001 \001(\tH\000\022\017\n\005index\030\002 \001(\rH\000\022\033\n\023or" + "iginal_field_name\030\016 \001(\t\022\014\n\004type\030\003 \001(\t\022\023\n" + "\013parent_type\030\r \001(\t\0229\n\014cache_policy\030\005 \001(\013" + "2#.mdg.engine.proto.Trace.CachePolicy\022\022\n" + "\nstart_time\030\010 \001(\004\022\020\n\010end_time\030\t \001(\004\022,\n\005e" + "rror\030\013 \003(\0132\035.mdg.engine.proto.Trace.Erro" + "r\022+\n\005child\030\014 \003(\0132\034.mdg.engine.proto.Trac" + "e.NodeB\004\n\002idJ\004\010\004\020\005\032\371\006\n\rQueryPlanNode\022F\n\010" + "sequence\030\001 \001(\01322.mdg.engine.proto.Trace." + "QueryPlanNode.SequenceNodeH\000\022F\n\010parallel" + "\030\002 \001(\01322.mdg.engine.proto.Trace.QueryPla" + "nNode.ParallelNodeH\000\022@\n\005fetch\030\003 \001(\0132/.md" + "g.engine.proto.Trace.QueryPlanNode.Fetch" + "NodeH\000\022D\n\007flatten\030\004 \001(\01321.mdg.engine.pro" + "to.Trace.QueryPlanNode.FlattenNodeH\000\032D\n\014" + "SequenceNode\0224\n\005nodes\030\001 \003(\0132%.mdg.engine" + ".proto.Trace.QueryPlanNode\032D\n\014ParallelNo" + "de\0224\n\005nodes\030\001 \003(\0132%.mdg.engine.proto.Tra" + "ce.QueryPlanNode\032\340\001\n\tFetchNode\022\023\n\013servic" + "eName\030\001 \001(\t\022\032\n\022traceParsingFailed\030\002 \001(\010\022" + "&\n\005trace\030\003 \001(\0132\027.mdg.engine.proto.Trace\022" + "\030\n\020sent_time_offset\030\004 \001(\004\022-\n\tsent_time\030\005" + " \001(\0132\032.google.protobuf.Timestamp\0221\n\rrece" + "ived_time\030\006 \001(\0132\032.google.protobuf.Timest" + "amp\032\224\001\n\013FlattenNode\022P\n\rresponse_path\030\001 \003" + "(\01329.mdg.engine.proto.Trace.QueryPlanNod" + "e.ResponsePathElement\0223\n\004node\030\002 \001(\0132%.md" + "g.engine.proto.Trace.QueryPlanNode\032B\n\023Re" + "sponsePathElement\022\024\n\nfield_name\030\001 \001(\tH\000\022" + "\017\n\005index\030\002 \001(\rH\000B\004\n\002idB\006\n\004nodeJ\004\010\014\020\rJ\004\010\r" + "\020\016J\004\010\001\020\002J\004\010\002\020\003\"\262\001\n\014ReportHeader\022\017\n\007servi" + "ce\030\003 \001(\t\022\020\n\010hostname\030\005 \001(\t\022\025\n\ragent_vers" + "ion\030\006 \001(\t\022\027\n\017service_version\030\007 \001(\t\022\027\n\017ru" + "ntime_version\030\010 \001(\t\022\r\n\005uname\030\t \001(\t\022\022\n\nsc" + "hema_tag\030\n \001(\t\022\023\n\013schema_hash\030\013 \001(\t\"\337\001\n\016" + "PathErrorStats\022@\n\010children\030\001 \003(\0132..mdg.e" + "ngine.proto.PathErrorStats.ChildrenEntry" + "\022\024\n\014errors_count\030\004 \001(\004\022\"\n\032requests_with_" + "errors_count\030\005 \001(\004\032Q\n\rChildrenEntry\022\013\n\003k" + "ey\030\001 \001(\t\022/\n\005value\030\002 \001(\0132 .mdg.engine.pro" + "to.PathErrorStats:\0028\001\"\237\n\n\017ClientNameStat" + "s\022\025\n\rlatency_count\030\001 \003(\003\022b\n\032requests_cou" + "nt_per_version\030\003 \003(\0132>.mdg.engine.proto." + "ClientNameStats.RequestsCountPerVersionE" + "ntry\022Z\n\026cache_hits_per_version\030\004 \003(\0132:.m" + "dg.engine.proto.ClientNameStats.CacheHit" + "sPerVersionEntry\022m\n persisted_query_hits" + "_per_version\030\n \003(\0132C.mdg.engine.proto.Cl" + "ientNameStats.PersistedQueryHitsPerVersi" + "onEntry\022q\n\"persisted_query_misses_per_ve" + "rsion\030\013 \003(\0132E.mdg.engine.proto.ClientNam" + "eStats.PersistedQueryMissesPerVersionEnt" + "ry\022y\n®istered_operation_count_per_ver" + "sion\030\014 \003(\0132I.mdg.engine.proto.ClientName" + "Stats.RegisteredOperationCountPerVersion" + "Entry\022w\n%forbidden_operation_count_per_v" + "ersion\030\r \003(\0132H.mdg.engine.proto.ClientNa" + "meStats.ForbiddenOperationCountPerVersio" + "nEntry\022\033\n\023cache_latency_count\030\005 \003(\003\022:\n\020r" + "oot_error_stats\030\006 \001(\0132 .mdg.engine.proto" + ".PathErrorStats\022\"\n\032requests_with_errors_" + "count\030\007 \001(\004\022\036\n\026public_cache_ttl_count\030\010 " + "\003(\003\022\037\n\027private_cache_ttl_count\030\t \003(\003\032>\n\034" + "RequestsCountPerVersionEntry\022\013\n\003key\030\001 \001(" + "\t\022\r\n\005value\030\002 \001(\004:\0028\001\032:\n\030CacheHitsPerVers" + "ionEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\004:\0028\001" + "\032C\n!PersistedQueryHitsPerVersionEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\004:\0028\001\032E\n#Persist" + "edQueryMissesPerVersionEntry\022\013\n\003key\030\001 \001(" + "\t\022\r\n\005value\030\002 \001(\004:\0028\001\032I\n\'RegisteredOperat" + "ionCountPerVersionEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + "value\030\002 \001(\004:\0028\001\032H\n&ForbiddenOperationCou" + "ntPerVersionEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + "\002 \001(\004:\0028\001J\004\010\002\020\003\"\230\003\n\021QueryLatencyStats\022\025\n" + "\rlatency_count\030\001 \003(\003\022\025\n\rrequest_count\030\002 " + "\001(\004\022\022\n\ncache_hits\030\003 \001(\004\022\034\n\024persisted_que" + "ry_hits\030\004 \001(\004\022\036\n\026persisted_query_misses\030" + "\005 \001(\004\022\033\n\023cache_latency_count\030\006 \003(\003\022:\n\020ro" + "ot_error_stats\030\007 \001(\0132 .mdg.engine.proto." + "PathErrorStats\022\"\n\032requests_with_errors_c" + "ount\030\010 \001(\004\022\036\n\026public_cache_ttl_count\030\t \003" + "(\003\022\037\n\027private_cache_ttl_count\030\n \003(\003\022\"\n\032r" + "egistered_operation_count\030\013 \001(\004\022!\n\031forbi" + "dden_operation_count\030\014 \001(\004\"X\n\014StatsConte" + "xt\022\033\n\023client_reference_id\030\001 \001(\t\022\023\n\013clien" + "t_name\030\002 \001(\t\022\026\n\016client_version\030\003 \001(\t\"\224\001\n" + "\037ContextualizedQueryLatencyStats\022@\n\023quer" + "y_latency_stats\030\001 \001(\0132#.mdg.engine.proto" + ".QueryLatencyStats\022/\n\007context\030\002 \001(\0132\036.md" + "g.engine.proto.StatsContext\"\355\001\n\027Contextu" + "alizedTypeStats\022/\n\007context\030\001 \001(\0132\036.mdg.e" + "ngine.proto.StatsContext\022Q\n\rper_type_sta" + "t\030\002 \003(\0132:.mdg.engine.proto.Contextualize" + "dTypeStats.PerTypeStatEntry\032N\n\020PerTypeSt" + "atEntry\022\013\n\003key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.md" + "g.engine.proto.TypeStat:\0028\001\"\216\001\n\tFieldSta" + "t\022\014\n\004name\030\002 \001(\t\022\023\n\013return_type\030\003 \001(\t\022\024\n\014" + "errors_count\030\004 \001(\004\022\r\n\005count\030\005 \001(\004\022\"\n\032req" + "uests_with_errors_count\030\006 \001(\004\022\025\n\rlatency" + "_count\030\010 \003(\003\"\334\001\n\010TypeStat\022\014\n\004name\030\001 \001(\t\022" + "*\n\005field\030\002 \003(\0132\033.mdg.engine.proto.FieldS" + "tat\022D\n\016per_field_stat\030\003 \003(\0132,.mdg.engine" + ".proto.TypeStat.PerFieldStatEntry\032P\n\021Per" + "FieldStatEntry\022\013\n\003key\030\001 \001(\t\022*\n\005value\030\002 \001" + "(\0132\033.mdg.engine.proto.FieldStat:\0028\001\"\224\004\n\n" + "QueryStats\022H\n\017per_client_name\030\001 \003(\0132/.md" + "g.engine.proto.QueryStats.PerClientNameE" + "ntry\022S\n\030query_stats_with_context\030\004 \003(\01321" + ".mdg.engine.proto.ContextualizedQueryLat" + "encyStats\022,\n\010per_type\030\002 \003(\0132\032.mdg.engine" + ".proto.TypeStat\022D\n\rper_type_stat\030\003 \003(\0132-" + ".mdg.engine.proto.QueryStats.PerTypeStat" + "Entry\022J\n\027type_stats_with_context\030\005 \003(\0132)" + ".mdg.engine.proto.ContextualizedTypeStat" + "s\032W\n\022PerClientNameEntry\022\013\n\003key\030\001 \001(\t\0220\n\005" + "value\030\002 \001(\0132!.mdg.engine.proto.ClientNam" + "eStats:\0028\001\032N\n\020PerTypeStatEntry\022\013\n\003key\030\001 " + "\001(\t\022)\n\005value\030\002 \001(\0132\032.mdg.engine.proto.Ty" + "peStat:\0028\001\"f\n\014TracesReport\022.\n\006header\030\001 \001" + "(\0132\036.mdg.engine.proto.ReportHeader\022&\n\005tr" + "ace\030\002 \003(\0132\027.mdg.engine.proto.Trace\"*\n\005Fi" + "eld\022\014\n\004name\030\002 \001(\t\022\023\n\013return_type\030\003 \001(\t\"<" + "\n\004Type\022\014\n\004name\030\001 \001(\t\022&\n\005field\030\002 \003(\0132\027.md" + "g.engine.proto.Field\"\365\002\n\010MemStats\022\023\n\013tot" + "al_bytes\030\001 \001(\004\022\023\n\013stack_bytes\030\002 \001(\004\022\022\n\nh" + "eap_bytes\030\003 \001(\004\022\033\n\023heap_released_bytes\030\r" + " \001(\004\022\031\n\021gc_overhead_bytes\030\004 \001(\004\022\030\n\020stack" + "_used_bytes\030\005 \001(\004\022\034\n\024heap_allocated_byte" + "s\030\006 \001(\004\022\036\n\026heap_allocated_objects\030\007 \001(\004\022" + "\"\n\032heap_allocated_bytes_delta\030\010 \001(\004\022$\n\034h" + "eap_allocated_objects_delta\030\t \001(\004\022 \n\030hea" + "p_freed_objects_delta\030\n \001(\004\022\027\n\017gc_stw_ns" + "_delta\030\013 \001(\004\022\026\n\016gc_count_delta\030\014 \001(\004\"b\n\t" + "TimeStats\022\021\n\tuptime_ns\030\001 \001(\004\022\025\n\rreal_ns_" + "delta\030\002 \001(\004\022\025\n\ruser_ns_delta\030\003 \001(\004\022\024\n\014sy" + "s_ns_delta\030\004 \001(\004\"\257\005\n\013StatsReport\022.\n\006head" + "er\030\001 \001(\0132\036.mdg.engine.proto.ReportHeader" + "\022-\n\tmem_stats\030\002 \001(\0132\032.mdg.engine.proto.M" + "emStats\022/\n\ntime_stats\030\003 \001(\0132\033.mdg.engine" + ".proto.TimeStats\022.\n\nstart_time\030\010 \001(\0132\032.g" + "oogle.protobuf.Timestamp\022,\n\010end_time\030\t \001" + "(\0132\032.google.protobuf.Timestamp\022\031\n\021realti" + "me_duration\030\n \001(\004\022>\n\tper_query\030\016 \003(\0132+.m" + "dg.engine.proto.StatsReport.PerQueryEntr" + "y\022x\n(legacy_per_query_implicit_operation" + "_name\030\014 \003(\0132F.mdg.engine.proto.StatsRepo" + "rt.LegacyPerQueryImplicitOperationNameEn" + "try\022$\n\004type\030\r \003(\0132\026.mdg.engine.proto.Typ" + "e\032M\n\rPerQueryEntry\022\013\n\003key\030\001 \001(\t\022+\n\005value" + "\030\002 \001(\0132\034.mdg.engine.proto.QueryStats:\0028\001" + "\032h\n(LegacyPerQueryImplicitOperationNameE" + "ntry\022\013\n\003key\030\001 \001(\t\022+\n\005value\030\002 \001(\0132\034.mdg.e" + "ngine.proto.QueryStats:\0028\001\"\345\001\n\020FullTrace" + "sReport\022.\n\006header\030\001 \001(\0132\036.mdg.engine.pro" + "to.ReportHeader\022P\n\020traces_per_query\030\005 \003(" + "\01326.mdg.engine.proto.FullTracesReport.Tr" + "acesPerQueryEntry\032O\n\023TracesPerQueryEntry" + "\022\013\n\003key\030\001 \001(\t\022\'\n\005value\030\002 \001(\0132\030.mdg.engin" + "e.proto.Traces:\0028\001\"0\n\006Traces\022&\n\005trace\030\001 " + "\003(\0132\027.mdg.engine.proto.Trace\"a\n\007TraceV1\022" + ".\n\006header\030\001 \001(\0132\036.mdg.engine.proto.Repor" + "tHeader\022&\n\005trace\030\002 \001(\0132\027.mdg.engine.prot" + "o.Traceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_mdg_engine_proto_Trace_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_mdg_engine_proto_Trace_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_descriptor, new java.lang.String[] { "StartTime", "EndTime", "DurationNs", "Root", "Signature", "Details", "ClientName", "ClientVersion", "ClientAddress", "ClientReferenceId", "Http", "CachePolicy", "QueryPlan", "FullQueryCacheHit", "PersistedQueryHit", "PersistedQueryRegister", "RegisteredOperation", "ForbiddenOperation", "OriginReportedStartTime", "OriginReportedEndTime", "OriginReportedDurationNs", "LegacySignatureNeedsResigning", }); internal_static_mdg_engine_proto_Trace_CachePolicy_descriptor = internal_static_mdg_engine_proto_Trace_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_Trace_CachePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_CachePolicy_descriptor, new java.lang.String[] { "Scope", "MaxAgeNs", }); internal_static_mdg_engine_proto_Trace_Details_descriptor = internal_static_mdg_engine_proto_Trace_descriptor.getNestedTypes().get(1); internal_static_mdg_engine_proto_Trace_Details_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_Details_descriptor, new java.lang.String[] { "VariablesJson", "Variables", "RawQuery", "OperationName", }); internal_static_mdg_engine_proto_Trace_Details_VariablesJsonEntry_descriptor = internal_static_mdg_engine_proto_Trace_Details_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_Trace_Details_VariablesJsonEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_Details_VariablesJsonEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_Trace_Details_VariablesEntry_descriptor = internal_static_mdg_engine_proto_Trace_Details_descriptor.getNestedTypes().get(1); internal_static_mdg_engine_proto_Trace_Details_VariablesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_Details_VariablesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_Trace_Error_descriptor = internal_static_mdg_engine_proto_Trace_descriptor.getNestedTypes().get(2); internal_static_mdg_engine_proto_Trace_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_Error_descriptor, new java.lang.String[] { "Message", "Location", "TimeNs", "Json", }); internal_static_mdg_engine_proto_Trace_HTTP_descriptor = internal_static_mdg_engine_proto_Trace_descriptor.getNestedTypes().get(3); internal_static_mdg_engine_proto_Trace_HTTP_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_HTTP_descriptor, new java.lang.String[] { "Method", "Host", "Path", "RequestHeaders", "ResponseHeaders", "StatusCode", "Secure", "Protocol", }); internal_static_mdg_engine_proto_Trace_HTTP_Values_descriptor = internal_static_mdg_engine_proto_Trace_HTTP_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_Trace_HTTP_Values_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_HTTP_Values_descriptor, new java.lang.String[] { "Value", }); internal_static_mdg_engine_proto_Trace_HTTP_RequestHeadersEntry_descriptor = internal_static_mdg_engine_proto_Trace_HTTP_descriptor.getNestedTypes().get(1); internal_static_mdg_engine_proto_Trace_HTTP_RequestHeadersEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_HTTP_RequestHeadersEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_Trace_HTTP_ResponseHeadersEntry_descriptor = internal_static_mdg_engine_proto_Trace_HTTP_descriptor.getNestedTypes().get(2); internal_static_mdg_engine_proto_Trace_HTTP_ResponseHeadersEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_HTTP_ResponseHeadersEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_Trace_Location_descriptor = internal_static_mdg_engine_proto_Trace_descriptor.getNestedTypes().get(4); internal_static_mdg_engine_proto_Trace_Location_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_Location_descriptor, new java.lang.String[] { "Line", "Column", }); internal_static_mdg_engine_proto_Trace_Node_descriptor = internal_static_mdg_engine_proto_Trace_descriptor.getNestedTypes().get(5); internal_static_mdg_engine_proto_Trace_Node_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_Node_descriptor, new java.lang.String[] { "ResponseName", "Index", "OriginalFieldName", "Type", "ParentType", "CachePolicy", "StartTime", "EndTime", "Error", "Child", "Id", }); internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor = internal_static_mdg_engine_proto_Trace_descriptor.getNestedTypes().get(6); internal_static_mdg_engine_proto_Trace_QueryPlanNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor, new java.lang.String[] { "Sequence", "Parallel", "Fetch", "Flatten", "Node", }); internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_descriptor = internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_QueryPlanNode_SequenceNode_descriptor, new java.lang.String[] { "Nodes", }); internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_descriptor = internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor.getNestedTypes().get(1); internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_QueryPlanNode_ParallelNode_descriptor, new java.lang.String[] { "Nodes", }); internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_descriptor = internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor.getNestedTypes().get(2); internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_QueryPlanNode_FetchNode_descriptor, new java.lang.String[] { "ServiceName", "TraceParsingFailed", "Trace", "SentTimeOffset", "SentTime", "ReceivedTime", }); internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_descriptor = internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor.getNestedTypes().get(3); internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_QueryPlanNode_FlattenNode_descriptor, new java.lang.String[] { "ResponsePath", "Node", }); internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_descriptor = internal_static_mdg_engine_proto_Trace_QueryPlanNode_descriptor.getNestedTypes().get(4); internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Trace_QueryPlanNode_ResponsePathElement_descriptor, new java.lang.String[] { "FieldName", "Index", "Id", }); internal_static_mdg_engine_proto_ReportHeader_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_mdg_engine_proto_ReportHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ReportHeader_descriptor, new java.lang.String[] { "Service", "Hostname", "AgentVersion", "ServiceVersion", "RuntimeVersion", "Uname", "SchemaTag", "SchemaHash", }); internal_static_mdg_engine_proto_PathErrorStats_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_mdg_engine_proto_PathErrorStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_PathErrorStats_descriptor, new java.lang.String[] { "Children", "ErrorsCount", "RequestsWithErrorsCount", }); internal_static_mdg_engine_proto_PathErrorStats_ChildrenEntry_descriptor = internal_static_mdg_engine_proto_PathErrorStats_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_PathErrorStats_ChildrenEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_PathErrorStats_ChildrenEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_ClientNameStats_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_mdg_engine_proto_ClientNameStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ClientNameStats_descriptor, new java.lang.String[] { "LatencyCount", "RequestsCountPerVersion", "CacheHitsPerVersion", "PersistedQueryHitsPerVersion", "PersistedQueryMissesPerVersion", "RegisteredOperationCountPerVersion", "ForbiddenOperationCountPerVersion", "CacheLatencyCount", "RootErrorStats", "RequestsWithErrorsCount", "PublicCacheTtlCount", "PrivateCacheTtlCount", }); internal_static_mdg_engine_proto_ClientNameStats_RequestsCountPerVersionEntry_descriptor = internal_static_mdg_engine_proto_ClientNameStats_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_ClientNameStats_RequestsCountPerVersionEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ClientNameStats_RequestsCountPerVersionEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_ClientNameStats_CacheHitsPerVersionEntry_descriptor = internal_static_mdg_engine_proto_ClientNameStats_descriptor.getNestedTypes().get(1); internal_static_mdg_engine_proto_ClientNameStats_CacheHitsPerVersionEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ClientNameStats_CacheHitsPerVersionEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryHitsPerVersionEntry_descriptor = internal_static_mdg_engine_proto_ClientNameStats_descriptor.getNestedTypes().get(2); internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryHitsPerVersionEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryHitsPerVersionEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryMissesPerVersionEntry_descriptor = internal_static_mdg_engine_proto_ClientNameStats_descriptor.getNestedTypes().get(3); internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryMissesPerVersionEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ClientNameStats_PersistedQueryMissesPerVersionEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_ClientNameStats_RegisteredOperationCountPerVersionEntry_descriptor = internal_static_mdg_engine_proto_ClientNameStats_descriptor.getNestedTypes().get(4); internal_static_mdg_engine_proto_ClientNameStats_RegisteredOperationCountPerVersionEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ClientNameStats_RegisteredOperationCountPerVersionEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_ClientNameStats_ForbiddenOperationCountPerVersionEntry_descriptor = internal_static_mdg_engine_proto_ClientNameStats_descriptor.getNestedTypes().get(5); internal_static_mdg_engine_proto_ClientNameStats_ForbiddenOperationCountPerVersionEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ClientNameStats_ForbiddenOperationCountPerVersionEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_QueryLatencyStats_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_mdg_engine_proto_QueryLatencyStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_QueryLatencyStats_descriptor, new java.lang.String[] { "LatencyCount", "RequestCount", "CacheHits", "PersistedQueryHits", "PersistedQueryMisses", "CacheLatencyCount", "RootErrorStats", "RequestsWithErrorsCount", "PublicCacheTtlCount", "PrivateCacheTtlCount", "RegisteredOperationCount", "ForbiddenOperationCount", }); internal_static_mdg_engine_proto_StatsContext_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_mdg_engine_proto_StatsContext_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_StatsContext_descriptor, new java.lang.String[] { "ClientReferenceId", "ClientName", "ClientVersion", }); internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ContextualizedQueryLatencyStats_descriptor, new java.lang.String[] { "QueryLatencyStats", "Context", }); internal_static_mdg_engine_proto_ContextualizedTypeStats_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_mdg_engine_proto_ContextualizedTypeStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ContextualizedTypeStats_descriptor, new java.lang.String[] { "Context", "PerTypeStat", }); internal_static_mdg_engine_proto_ContextualizedTypeStats_PerTypeStatEntry_descriptor = internal_static_mdg_engine_proto_ContextualizedTypeStats_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_ContextualizedTypeStats_PerTypeStatEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_ContextualizedTypeStats_PerTypeStatEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_FieldStat_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_mdg_engine_proto_FieldStat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_FieldStat_descriptor, new java.lang.String[] { "Name", "ReturnType", "ErrorsCount", "Count", "RequestsWithErrorsCount", "LatencyCount", }); internal_static_mdg_engine_proto_TypeStat_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_mdg_engine_proto_TypeStat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_TypeStat_descriptor, new java.lang.String[] { "Name", "Field", "PerFieldStat", }); internal_static_mdg_engine_proto_TypeStat_PerFieldStatEntry_descriptor = internal_static_mdg_engine_proto_TypeStat_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_TypeStat_PerFieldStatEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_TypeStat_PerFieldStatEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_QueryStats_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_mdg_engine_proto_QueryStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_QueryStats_descriptor, new java.lang.String[] { "PerClientName", "QueryStatsWithContext", "PerType", "PerTypeStat", "TypeStatsWithContext", }); internal_static_mdg_engine_proto_QueryStats_PerClientNameEntry_descriptor = internal_static_mdg_engine_proto_QueryStats_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_QueryStats_PerClientNameEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_QueryStats_PerClientNameEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_QueryStats_PerTypeStatEntry_descriptor = internal_static_mdg_engine_proto_QueryStats_descriptor.getNestedTypes().get(1); internal_static_mdg_engine_proto_QueryStats_PerTypeStatEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_QueryStats_PerTypeStatEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_TracesReport_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_mdg_engine_proto_TracesReport_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_TracesReport_descriptor, new java.lang.String[] { "Header", "Trace", }); internal_static_mdg_engine_proto_Field_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_mdg_engine_proto_Field_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Field_descriptor, new java.lang.String[] { "Name", "ReturnType", }); internal_static_mdg_engine_proto_Type_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_mdg_engine_proto_Type_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Type_descriptor, new java.lang.String[] { "Name", "Field", }); internal_static_mdg_engine_proto_MemStats_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_mdg_engine_proto_MemStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_MemStats_descriptor, new java.lang.String[] { "TotalBytes", "StackBytes", "HeapBytes", "HeapReleasedBytes", "GcOverheadBytes", "StackUsedBytes", "HeapAllocatedBytes", "HeapAllocatedObjects", "HeapAllocatedBytesDelta", "HeapAllocatedObjectsDelta", "HeapFreedObjectsDelta", "GcStwNsDelta", "GcCountDelta", }); internal_static_mdg_engine_proto_TimeStats_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_mdg_engine_proto_TimeStats_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_TimeStats_descriptor, new java.lang.String[] { "UptimeNs", "RealNsDelta", "UserNsDelta", "SysNsDelta", }); internal_static_mdg_engine_proto_StatsReport_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_mdg_engine_proto_StatsReport_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_StatsReport_descriptor, new java.lang.String[] { "Header", "MemStats", "TimeStats", "StartTime", "EndTime", "RealtimeDuration", "PerQuery", "LegacyPerQueryImplicitOperationName", "Type", }); internal_static_mdg_engine_proto_StatsReport_PerQueryEntry_descriptor = internal_static_mdg_engine_proto_StatsReport_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_StatsReport_PerQueryEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_StatsReport_PerQueryEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_StatsReport_LegacyPerQueryImplicitOperationNameEntry_descriptor = internal_static_mdg_engine_proto_StatsReport_descriptor.getNestedTypes().get(1); internal_static_mdg_engine_proto_StatsReport_LegacyPerQueryImplicitOperationNameEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_StatsReport_LegacyPerQueryImplicitOperationNameEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_FullTracesReport_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_mdg_engine_proto_FullTracesReport_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_FullTracesReport_descriptor, new java.lang.String[] { "Header", "TracesPerQuery", }); internal_static_mdg_engine_proto_FullTracesReport_TracesPerQueryEntry_descriptor = internal_static_mdg_engine_proto_FullTracesReport_descriptor.getNestedTypes().get(0); internal_static_mdg_engine_proto_FullTracesReport_TracesPerQueryEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_FullTracesReport_TracesPerQueryEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_mdg_engine_proto_Traces_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_mdg_engine_proto_Traces_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_Traces_descriptor, new java.lang.String[] { "Trace", }); internal_static_mdg_engine_proto_TraceV1_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_mdg_engine_proto_TraceV1_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_mdg_engine_proto_TraceV1_descriptor, new java.lang.String[] { "Header", "Trace", }); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy