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

com.google.apphosting.base.protos.SpanDetails Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: span_details.proto

package com.google.apphosting.base.protos;

public final class SpanDetails {
  private SpanDetails() {}
  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 StartSpanDetailsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cloud_trace.StartSpanDetails)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * The span start timestamp, in nanoseconds since the epoch.
     * 
* * optional int64 timestamp = 1; * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** *
     * The span start timestamp, in nanoseconds since the epoch.
     * 
* * optional int64 timestamp = 1; * @return The timestamp. */ long getTimestamp(); /** *
     * The name of the span.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ boolean hasName(); /** *
     * The name of the span.
     * 
* * optional string name = 2; * @return The name. */ java.lang.String getName(); /** *
     * The name of the span.
     * 
* * optional string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * The kind of the span.
     * 
* * optional .cloud_trace.SpanKind kind = 3; * @return Whether the kind field is set. */ boolean hasKind(); /** *
     * The kind of the span.
     * 
* * optional .cloud_trace.SpanKind kind = 3; * @return The kind. */ com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind getKind(); /** *
     * Whether this span is a primary span.  We only search and return the primary
     * spans of a trace when a ROOTSPAN view is requested.  In most cases, primary
     * spans are also root spans.
     * 
* * optional bool is_primary = 4; * @return Whether the isPrimary field is set. */ boolean hasIsPrimary(); /** *
     * Whether this span is a primary span.  We only search and return the primary
     * spans of a trace when a ROOTSPAN view is requested.  In most cases, primary
     * spans are also root spans.
     * 
* * optional bool is_primary = 4; * @return The isPrimary. */ boolean getIsPrimary(); } /** *
   * StartSpanDetails contains details on the start span event.
   * 
* * Protobuf type {@code cloud_trace.StartSpanDetails} */ public static final class StartSpanDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.StartSpanDetails) StartSpanDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use StartSpanDetails.newBuilder() to construct. private StartSpanDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StartSpanDetails() { name_ = ""; kind_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StartSpanDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StartSpanDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StartSpanDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.StartSpanDetails.class, com.google.apphosting.base.protos.SpanDetails.StartSpanDetails.Builder.class); } private int bitField0_; public static final int TIMESTAMP_FIELD_NUMBER = 1; private long timestamp_ = 0L; /** *
     * The span start timestamp, in nanoseconds since the epoch.
     * 
* * optional int64 timestamp = 1; * @return Whether the timestamp field is set. */ @java.lang.Override public boolean hasTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The span start timestamp, in nanoseconds since the epoch.
     * 
* * optional int64 timestamp = 1; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } public static final int NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * The name of the span.
     * 
* * optional string name = 2; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The name of the span.
     * 
* * optional 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
     * The name of the span.
     * 
* * optional 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 KIND_FIELD_NUMBER = 3; private int kind_ = 0; /** *
     * The kind of the span.
     * 
* * optional .cloud_trace.SpanKind kind = 3; * @return Whether the kind field is set. */ @java.lang.Override public boolean hasKind() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The kind of the span.
     * 
* * optional .cloud_trace.SpanKind kind = 3; * @return The kind. */ @java.lang.Override public com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind getKind() { com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind result = com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind.forNumber(kind_); return result == null ? com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind.SPAN_DEFAULT : result; } public static final int IS_PRIMARY_FIELD_NUMBER = 4; private boolean isPrimary_ = false; /** *
     * Whether this span is a primary span.  We only search and return the primary
     * spans of a trace when a ROOTSPAN view is requested.  In most cases, primary
     * spans are also root spans.
     * 
* * optional bool is_primary = 4; * @return Whether the isPrimary field is set. */ @java.lang.Override public boolean hasIsPrimary() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Whether this span is a primary span.  We only search and return the primary
     * spans of a trace when a ROOTSPAN view is requested.  In most cases, primary
     * spans are also root spans.
     * 
* * optional bool is_primary = 4; * @return The isPrimary. */ @java.lang.Override public boolean getIsPrimary() { return isPrimary_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, timestamp_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeEnum(3, kind_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, isPrimary_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, timestamp_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, kind_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, isPrimary_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.StartSpanDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.StartSpanDetails other = (com.google.apphosting.base.protos.SpanDetails.StartSpanDetails) obj; if (hasTimestamp() != other.hasTimestamp()) return false; if (hasTimestamp()) { if (getTimestamp() != other.getTimestamp()) return false; } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasKind() != other.hasKind()) return false; if (hasKind()) { if (kind_ != other.kind_) return false; } if (hasIsPrimary() != other.hasIsPrimary()) return false; if (hasIsPrimary()) { if (getIsPrimary() != other.getIsPrimary()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + kind_; } if (hasIsPrimary()) { hash = (37 * hash) + IS_PRIMARY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsPrimary()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.StartSpanDetails 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; } /** *
     * StartSpanDetails contains details on the start span event.
     * 
* * Protobuf type {@code cloud_trace.StartSpanDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.StartSpanDetails) com.google.apphosting.base.protos.SpanDetails.StartSpanDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StartSpanDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StartSpanDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.StartSpanDetails.class, com.google.apphosting.base.protos.SpanDetails.StartSpanDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.StartSpanDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; timestamp_ = 0L; name_ = ""; kind_ = 0; isPrimary_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StartSpanDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StartSpanDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.StartSpanDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StartSpanDetails build() { com.google.apphosting.base.protos.SpanDetails.StartSpanDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StartSpanDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.StartSpanDetails result = new com.google.apphosting.base.protos.SpanDetails.StartSpanDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.StartSpanDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.timestamp_ = timestamp_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.name_ = name_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.kind_ = kind_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.isPrimary_ = isPrimary_; to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.StartSpanDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.StartSpanDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.StartSpanDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.StartSpanDetails.getDefaultInstance()) return this; if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } if (other.hasName()) { name_ = other.name_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasKind()) { setKind(other.getKind()); } if (other.hasIsPrimary()) { setIsPrimary(other.getIsPrimary()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { timestamp_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { name_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { int tmpRaw = input.readEnum(); com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind tmpValue = com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind.forNumber(tmpRaw); if (tmpValue == null) { mergeUnknownVarintField(3, tmpRaw); } else { kind_ = tmpRaw; bitField0_ |= 0x00000004; } break; } // case 24 case 32: { isPrimary_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long timestamp_ ; /** *
       * The span start timestamp, in nanoseconds since the epoch.
       * 
* * optional int64 timestamp = 1; * @return Whether the timestamp field is set. */ @java.lang.Override public boolean hasTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The span start timestamp, in nanoseconds since the epoch.
       * 
* * optional int64 timestamp = 1; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } /** *
       * The span start timestamp, in nanoseconds since the epoch.
       * 
* * optional int64 timestamp = 1; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp(long value) { timestamp_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The span start timestamp, in nanoseconds since the epoch.
       * 
* * optional int64 timestamp = 1; * @return This builder for chaining. */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000001); timestamp_ = 0L; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * The name of the span.
       * 
* * optional string name = 2; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * The name of the span.
       * 
* * optional 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * The name of the span.
       * 
* * optional 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; } } /** *
       * The name of the span.
       * 
* * optional 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * The name of the span.
       * 
* * optional string name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * The name of the span.
       * 
* * optional 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(); } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private int kind_ = 0; /** *
       * The kind of the span.
       * 
* * optional .cloud_trace.SpanKind kind = 3; * @return Whether the kind field is set. */ @java.lang.Override public boolean hasKind() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * The kind of the span.
       * 
* * optional .cloud_trace.SpanKind kind = 3; * @return The kind. */ @java.lang.Override public com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind getKind() { com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind result = com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind.forNumber(kind_); return result == null ? com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind.SPAN_DEFAULT : result; } /** *
       * The kind of the span.
       * 
* * optional .cloud_trace.SpanKind kind = 3; * @param value The kind to set. * @return This builder for chaining. */ public Builder setKind(com.google.apphosting.base.protos.SpanKindOuterClass.SpanKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; kind_ = value.getNumber(); onChanged(); return this; } /** *
       * The kind of the span.
       * 
* * optional .cloud_trace.SpanKind kind = 3; * @return This builder for chaining. */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000004); kind_ = 0; onChanged(); return this; } private boolean isPrimary_ ; /** *
       * Whether this span is a primary span.  We only search and return the primary
       * spans of a trace when a ROOTSPAN view is requested.  In most cases, primary
       * spans are also root spans.
       * 
* * optional bool is_primary = 4; * @return Whether the isPrimary field is set. */ @java.lang.Override public boolean hasIsPrimary() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Whether this span is a primary span.  We only search and return the primary
       * spans of a trace when a ROOTSPAN view is requested.  In most cases, primary
       * spans are also root spans.
       * 
* * optional bool is_primary = 4; * @return The isPrimary. */ @java.lang.Override public boolean getIsPrimary() { return isPrimary_; } /** *
       * Whether this span is a primary span.  We only search and return the primary
       * spans of a trace when a ROOTSPAN view is requested.  In most cases, primary
       * spans are also root spans.
       * 
* * optional bool is_primary = 4; * @param value The isPrimary to set. * @return This builder for chaining. */ public Builder setIsPrimary(boolean value) { isPrimary_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Whether this span is a primary span.  We only search and return the primary
       * spans of a trace when a ROOTSPAN view is requested.  In most cases, primary
       * spans are also root spans.
       * 
* * optional bool is_primary = 4; * @return This builder for chaining. */ public Builder clearIsPrimary() { bitField0_ = (bitField0_ & ~0x00000008); isPrimary_ = false; 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:cloud_trace.StartSpanDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.StartSpanDetails) private static final com.google.apphosting.base.protos.SpanDetails.StartSpanDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.StartSpanDetails(); } public static com.google.apphosting.base.protos.SpanDetails.StartSpanDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StartSpanDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StartSpanDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EndSpanDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.EndSpanDetails) com.google.protobuf.MessageOrBuilder { /** *
     * The span end timestamp, in nanoseconds since the epoch.
     * 
* * optional int64 timestamp = 1; * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** *
     * The span end timestamp, in nanoseconds since the epoch.
     * 
* * optional int64 timestamp = 1; * @return The timestamp. */ long getTimestamp(); } /** *
   * EndSpanDetails contains details on the end span event.
   * 
* * Protobuf type {@code cloud_trace.EndSpanDetails} */ public static final class EndSpanDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.EndSpanDetails) EndSpanDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use EndSpanDetails.newBuilder() to construct. private EndSpanDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EndSpanDetails() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EndSpanDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_EndSpanDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_EndSpanDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.EndSpanDetails.class, com.google.apphosting.base.protos.SpanDetails.EndSpanDetails.Builder.class); } private int bitField0_; public static final int TIMESTAMP_FIELD_NUMBER = 1; private long timestamp_ = 0L; /** *
     * The span end timestamp, in nanoseconds since the epoch.
     * 
* * optional int64 timestamp = 1; * @return Whether the timestamp field is set. */ @java.lang.Override public boolean hasTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The span end timestamp, in nanoseconds since the epoch.
     * 
* * optional int64 timestamp = 1; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, timestamp_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, timestamp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.EndSpanDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.EndSpanDetails other = (com.google.apphosting.base.protos.SpanDetails.EndSpanDetails) obj; if (hasTimestamp() != other.hasTimestamp()) return false; if (hasTimestamp()) { if (getTimestamp() != other.getTimestamp()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.EndSpanDetails 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; } /** *
     * EndSpanDetails contains details on the end span event.
     * 
* * Protobuf type {@code cloud_trace.EndSpanDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.EndSpanDetails) com.google.apphosting.base.protos.SpanDetails.EndSpanDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_EndSpanDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_EndSpanDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.EndSpanDetails.class, com.google.apphosting.base.protos.SpanDetails.EndSpanDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.EndSpanDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; timestamp_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_EndSpanDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.EndSpanDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.EndSpanDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.EndSpanDetails build() { com.google.apphosting.base.protos.SpanDetails.EndSpanDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.EndSpanDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.EndSpanDetails result = new com.google.apphosting.base.protos.SpanDetails.EndSpanDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.EndSpanDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.timestamp_ = timestamp_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.EndSpanDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.EndSpanDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.EndSpanDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.EndSpanDetails.getDefaultInstance()) return this; if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { timestamp_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long timestamp_ ; /** *
       * The span end timestamp, in nanoseconds since the epoch.
       * 
* * optional int64 timestamp = 1; * @return Whether the timestamp field is set. */ @java.lang.Override public boolean hasTimestamp() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The span end timestamp, in nanoseconds since the epoch.
       * 
* * optional int64 timestamp = 1; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } /** *
       * The span end timestamp, in nanoseconds since the epoch.
       * 
* * optional int64 timestamp = 1; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp(long value) { timestamp_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The span end timestamp, in nanoseconds since the epoch.
       * 
* * optional int64 timestamp = 1; * @return This builder for chaining. */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000001); timestamp_ = 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:cloud_trace.EndSpanDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.EndSpanDetails) private static final com.google.apphosting.base.protos.SpanDetails.EndSpanDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.EndSpanDetails(); } public static com.google.apphosting.base.protos.SpanDetails.EndSpanDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EndSpanDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.EndSpanDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SpanDetailsProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.SpanDetailsProto) com.google.protobuf.MessageOrBuilder { /** * optional .cloud_trace.HttpDetails http_details = 2; * @return Whether the httpDetails field is set. */ boolean hasHttpDetails(); /** * optional .cloud_trace.HttpDetails http_details = 2; * @return The httpDetails. */ com.google.apphosting.base.protos.SpanDetails.HttpDetails getHttpDetails(); /** * optional .cloud_trace.HttpDetails http_details = 2; */ com.google.apphosting.base.protos.SpanDetails.HttpDetailsOrBuilder getHttpDetailsOrBuilder(); /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; * @return Whether the appEngineAppDetails field is set. */ boolean hasAppEngineAppDetails(); /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; * @return The appEngineAppDetails. */ com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails getAppEngineAppDetails(); /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetailsOrBuilder getAppEngineAppDetailsOrBuilder(); /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; * @return Whether the appEngineServiceRpcDetails field is set. */ boolean hasAppEngineServiceRpcDetails(); /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; * @return The appEngineServiceRpcDetails. */ com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails getAppEngineServiceRpcDetails(); /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetailsOrBuilder getAppEngineServiceRpcDetailsOrBuilder(); /** *
     * Only one of the following should be set.
     * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; * @return Whether the stackTraceDetails field is set. */ boolean hasStackTraceDetails(); /** *
     * Only one of the following should be set.
     * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; * @return The stackTraceDetails. */ com.google.apphosting.base.protos.SpanDetails.StackTraceDetails getStackTraceDetails(); /** *
     * Only one of the following should be set.
     * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ com.google.apphosting.base.protos.SpanDetails.StackTraceDetailsOrBuilder getStackTraceDetailsOrBuilder(); /** * optional uint64 stack_trace_hash_id = 7; * @return Whether the stackTraceHashId field is set. */ boolean hasStackTraceHashId(); /** * optional uint64 stack_trace_hash_id = 7; * @return The stackTraceHashId. */ long getStackTraceHashId(); /** * optional .cloud_trace.ErrorDetails error_details = 6; * @return Whether the errorDetails field is set. */ boolean hasErrorDetails(); /** * optional .cloud_trace.ErrorDetails error_details = 6; * @return The errorDetails. */ com.google.apphosting.base.protos.SpanDetails.ErrorDetails getErrorDetails(); /** * optional .cloud_trace.ErrorDetails error_details = 6; */ com.google.apphosting.base.protos.SpanDetails.ErrorDetailsOrBuilder getErrorDetailsOrBuilder(); /** *
     * The service component at which this trace span was generated.
     * 
* * optional string component = 8; * @return Whether the component field is set. */ boolean hasComponent(); /** *
     * The service component at which this trace span was generated.
     * 
* * optional string component = 8; * @return The component. */ java.lang.String getComponent(); /** *
     * The service component at which this trace span was generated.
     * 
* * optional string component = 8; * @return The bytes for component. */ com.google.protobuf.ByteString getComponentBytes(); /** * optional .cloud_trace.GCEDetails gce_details = 9; * @return Whether the gceDetails field is set. */ boolean hasGceDetails(); /** * optional .cloud_trace.GCEDetails gce_details = 9; * @return The gceDetails. */ com.google.apphosting.base.protos.SpanDetails.GCEDetails getGceDetails(); /** * optional .cloud_trace.GCEDetails gce_details = 9; */ com.google.apphosting.base.protos.SpanDetails.GCEDetailsOrBuilder getGceDetailsOrBuilder(); } /** *
   * A SpanDetailsProto can be added to spans in a trace event. These can be used
   * to supply the relevant span metadata to the trace.
   * NEXT ID: 10
   * 
* * Protobuf type {@code cloud_trace.SpanDetailsProto} */ public static final class SpanDetailsProto extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.SpanDetailsProto) SpanDetailsProtoOrBuilder { private static final long serialVersionUID = 0L; // Use SpanDetailsProto.newBuilder() to construct. private SpanDetailsProto(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SpanDetailsProto() { component_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SpanDetailsProto(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_SpanDetailsProto_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_SpanDetailsProto_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto.class, com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto.Builder.class); } private int bitField0_; public static final int HTTP_DETAILS_FIELD_NUMBER = 2; private com.google.apphosting.base.protos.SpanDetails.HttpDetails httpDetails_; /** * optional .cloud_trace.HttpDetails http_details = 2; * @return Whether the httpDetails field is set. */ @java.lang.Override public boolean hasHttpDetails() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cloud_trace.HttpDetails http_details = 2; * @return The httpDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.HttpDetails getHttpDetails() { return httpDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.HttpDetails.getDefaultInstance() : httpDetails_; } /** * optional .cloud_trace.HttpDetails http_details = 2; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.HttpDetailsOrBuilder getHttpDetailsOrBuilder() { return httpDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.HttpDetails.getDefaultInstance() : httpDetails_; } public static final int APP_ENGINE_APP_DETAILS_FIELD_NUMBER = 3; private com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails appEngineAppDetails_; /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; * @return Whether the appEngineAppDetails field is set. */ @java.lang.Override public boolean hasAppEngineAppDetails() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; * @return The appEngineAppDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails getAppEngineAppDetails() { return appEngineAppDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.getDefaultInstance() : appEngineAppDetails_; } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetailsOrBuilder getAppEngineAppDetailsOrBuilder() { return appEngineAppDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.getDefaultInstance() : appEngineAppDetails_; } public static final int APP_ENGINE_SERVICE_RPC_DETAILS_FIELD_NUMBER = 4; private com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails appEngineServiceRpcDetails_; /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; * @return Whether the appEngineServiceRpcDetails field is set. */ @java.lang.Override public boolean hasAppEngineServiceRpcDetails() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; * @return The appEngineServiceRpcDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails getAppEngineServiceRpcDetails() { return appEngineServiceRpcDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.getDefaultInstance() : appEngineServiceRpcDetails_; } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetailsOrBuilder getAppEngineServiceRpcDetailsOrBuilder() { return appEngineServiceRpcDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.getDefaultInstance() : appEngineServiceRpcDetails_; } public static final int STACK_TRACE_DETAILS_FIELD_NUMBER = 5; private com.google.apphosting.base.protos.SpanDetails.StackTraceDetails stackTraceDetails_; /** *
     * Only one of the following should be set.
     * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; * @return Whether the stackTraceDetails field is set. */ @java.lang.Override public boolean hasStackTraceDetails() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Only one of the following should be set.
     * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; * @return The stackTraceDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails getStackTraceDetails() { return stackTraceDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.getDefaultInstance() : stackTraceDetails_; } /** *
     * Only one of the following should be set.
     * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetailsOrBuilder getStackTraceDetailsOrBuilder() { return stackTraceDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.getDefaultInstance() : stackTraceDetails_; } public static final int STACK_TRACE_HASH_ID_FIELD_NUMBER = 7; private long stackTraceHashId_ = 0L; /** * optional uint64 stack_trace_hash_id = 7; * @return Whether the stackTraceHashId field is set. */ @java.lang.Override public boolean hasStackTraceHashId() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint64 stack_trace_hash_id = 7; * @return The stackTraceHashId. */ @java.lang.Override public long getStackTraceHashId() { return stackTraceHashId_; } public static final int ERROR_DETAILS_FIELD_NUMBER = 6; private com.google.apphosting.base.protos.SpanDetails.ErrorDetails errorDetails_; /** * optional .cloud_trace.ErrorDetails error_details = 6; * @return Whether the errorDetails field is set. */ @java.lang.Override public boolean hasErrorDetails() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .cloud_trace.ErrorDetails error_details = 6; * @return The errorDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.ErrorDetails getErrorDetails() { return errorDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.ErrorDetails.getDefaultInstance() : errorDetails_; } /** * optional .cloud_trace.ErrorDetails error_details = 6; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.ErrorDetailsOrBuilder getErrorDetailsOrBuilder() { return errorDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.ErrorDetails.getDefaultInstance() : errorDetails_; } public static final int COMPONENT_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object component_ = ""; /** *
     * The service component at which this trace span was generated.
     * 
* * optional string component = 8; * @return Whether the component field is set. */ @java.lang.Override public boolean hasComponent() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * The service component at which this trace span was generated.
     * 
* * optional string component = 8; * @return The component. */ @java.lang.Override public java.lang.String getComponent() { java.lang.Object ref = component_; 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 (bs.isValidUtf8()) { component_ = s; } return s; } } /** *
     * The service component at which this trace span was generated.
     * 
* * optional string component = 8; * @return The bytes for component. */ @java.lang.Override public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); component_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GCE_DETAILS_FIELD_NUMBER = 9; private com.google.apphosting.base.protos.SpanDetails.GCEDetails gceDetails_; /** * optional .cloud_trace.GCEDetails gce_details = 9; * @return Whether the gceDetails field is set. */ @java.lang.Override public boolean hasGceDetails() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .cloud_trace.GCEDetails gce_details = 9; * @return The gceDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.GCEDetails getGceDetails() { return gceDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.GCEDetails.getDefaultInstance() : gceDetails_; } /** * optional .cloud_trace.GCEDetails gce_details = 9; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.GCEDetailsOrBuilder getGceDetailsOrBuilder() { return gceDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.GCEDetails.getDefaultInstance() : gceDetails_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getHttpDetails()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getAppEngineAppDetails()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getAppEngineServiceRpcDetails()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(5, getStackTraceDetails()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getErrorDetails()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt64(7, stackTraceHashId_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, component_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(9, getGceDetails()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getHttpDetails()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getAppEngineAppDetails()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getAppEngineServiceRpcDetails()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getStackTraceDetails()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getErrorDetails()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, stackTraceHashId_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, component_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getGceDetails()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto other = (com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto) obj; if (hasHttpDetails() != other.hasHttpDetails()) return false; if (hasHttpDetails()) { if (!getHttpDetails() .equals(other.getHttpDetails())) return false; } if (hasAppEngineAppDetails() != other.hasAppEngineAppDetails()) return false; if (hasAppEngineAppDetails()) { if (!getAppEngineAppDetails() .equals(other.getAppEngineAppDetails())) return false; } if (hasAppEngineServiceRpcDetails() != other.hasAppEngineServiceRpcDetails()) return false; if (hasAppEngineServiceRpcDetails()) { if (!getAppEngineServiceRpcDetails() .equals(other.getAppEngineServiceRpcDetails())) return false; } if (hasStackTraceDetails() != other.hasStackTraceDetails()) return false; if (hasStackTraceDetails()) { if (!getStackTraceDetails() .equals(other.getStackTraceDetails())) return false; } if (hasStackTraceHashId() != other.hasStackTraceHashId()) return false; if (hasStackTraceHashId()) { if (getStackTraceHashId() != other.getStackTraceHashId()) return false; } if (hasErrorDetails() != other.hasErrorDetails()) return false; if (hasErrorDetails()) { if (!getErrorDetails() .equals(other.getErrorDetails())) return false; } if (hasComponent() != other.hasComponent()) return false; if (hasComponent()) { if (!getComponent() .equals(other.getComponent())) return false; } if (hasGceDetails() != other.hasGceDetails()) return false; if (hasGceDetails()) { if (!getGceDetails() .equals(other.getGceDetails())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHttpDetails()) { hash = (37 * hash) + HTTP_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getHttpDetails().hashCode(); } if (hasAppEngineAppDetails()) { hash = (37 * hash) + APP_ENGINE_APP_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getAppEngineAppDetails().hashCode(); } if (hasAppEngineServiceRpcDetails()) { hash = (37 * hash) + APP_ENGINE_SERVICE_RPC_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getAppEngineServiceRpcDetails().hashCode(); } if (hasStackTraceDetails()) { hash = (37 * hash) + STACK_TRACE_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getStackTraceDetails().hashCode(); } if (hasStackTraceHashId()) { hash = (37 * hash) + STACK_TRACE_HASH_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStackTraceHashId()); } if (hasErrorDetails()) { hash = (37 * hash) + ERROR_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getErrorDetails().hashCode(); } if (hasComponent()) { hash = (37 * hash) + COMPONENT_FIELD_NUMBER; hash = (53 * hash) + getComponent().hashCode(); } if (hasGceDetails()) { hash = (37 * hash) + GCE_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getGceDetails().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto 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; } /** *
     * A SpanDetailsProto can be added to spans in a trace event. These can be used
     * to supply the relevant span metadata to the trace.
     * NEXT ID: 10
     * 
* * Protobuf type {@code cloud_trace.SpanDetailsProto} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.SpanDetailsProto) com.google.apphosting.base.protos.SpanDetails.SpanDetailsProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_SpanDetailsProto_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_SpanDetailsProto_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto.class, com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getHttpDetailsFieldBuilder(); getAppEngineAppDetailsFieldBuilder(); getAppEngineServiceRpcDetailsFieldBuilder(); getStackTraceDetailsFieldBuilder(); getErrorDetailsFieldBuilder(); getGceDetailsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; httpDetails_ = null; if (httpDetailsBuilder_ != null) { httpDetailsBuilder_.dispose(); httpDetailsBuilder_ = null; } appEngineAppDetails_ = null; if (appEngineAppDetailsBuilder_ != null) { appEngineAppDetailsBuilder_.dispose(); appEngineAppDetailsBuilder_ = null; } appEngineServiceRpcDetails_ = null; if (appEngineServiceRpcDetailsBuilder_ != null) { appEngineServiceRpcDetailsBuilder_.dispose(); appEngineServiceRpcDetailsBuilder_ = null; } stackTraceDetails_ = null; if (stackTraceDetailsBuilder_ != null) { stackTraceDetailsBuilder_.dispose(); stackTraceDetailsBuilder_ = null; } stackTraceHashId_ = 0L; errorDetails_ = null; if (errorDetailsBuilder_ != null) { errorDetailsBuilder_.dispose(); errorDetailsBuilder_ = null; } component_ = ""; gceDetails_ = null; if (gceDetailsBuilder_ != null) { gceDetailsBuilder_.dispose(); gceDetailsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_SpanDetailsProto_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto build() { com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto buildPartial() { com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto result = new com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.httpDetails_ = httpDetailsBuilder_ == null ? httpDetails_ : httpDetailsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.appEngineAppDetails_ = appEngineAppDetailsBuilder_ == null ? appEngineAppDetails_ : appEngineAppDetailsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.appEngineServiceRpcDetails_ = appEngineServiceRpcDetailsBuilder_ == null ? appEngineServiceRpcDetails_ : appEngineServiceRpcDetailsBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.stackTraceDetails_ = stackTraceDetailsBuilder_ == null ? stackTraceDetails_ : stackTraceDetailsBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.stackTraceHashId_ = stackTraceHashId_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.errorDetails_ = errorDetailsBuilder_ == null ? errorDetails_ : errorDetailsBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.component_ = component_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.gceDetails_ = gceDetailsBuilder_ == null ? gceDetails_ : gceDetailsBuilder_.build(); to_bitField0_ |= 0x00000080; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto other) { if (other == com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto.getDefaultInstance()) return this; if (other.hasHttpDetails()) { mergeHttpDetails(other.getHttpDetails()); } if (other.hasAppEngineAppDetails()) { mergeAppEngineAppDetails(other.getAppEngineAppDetails()); } if (other.hasAppEngineServiceRpcDetails()) { mergeAppEngineServiceRpcDetails(other.getAppEngineServiceRpcDetails()); } if (other.hasStackTraceDetails()) { mergeStackTraceDetails(other.getStackTraceDetails()); } if (other.hasStackTraceHashId()) { setStackTraceHashId(other.getStackTraceHashId()); } if (other.hasErrorDetails()) { mergeErrorDetails(other.getErrorDetails()); } if (other.hasComponent()) { component_ = other.component_; bitField0_ |= 0x00000040; onChanged(); } if (other.hasGceDetails()) { mergeGceDetails(other.getGceDetails()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { input.readMessage( getHttpDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 18 case 26: { input.readMessage( getAppEngineAppDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 26 case 34: { input.readMessage( getAppEngineServiceRpcDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 42: { input.readMessage( getStackTraceDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 42 case 50: { input.readMessage( getErrorDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 56: { stackTraceHashId_ = input.readUInt64(); bitField0_ |= 0x00000010; break; } // case 56 case 66: { component_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 66 case 74: { input.readMessage( getGceDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.apphosting.base.protos.SpanDetails.HttpDetails httpDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.HttpDetails, com.google.apphosting.base.protos.SpanDetails.HttpDetails.Builder, com.google.apphosting.base.protos.SpanDetails.HttpDetailsOrBuilder> httpDetailsBuilder_; /** * optional .cloud_trace.HttpDetails http_details = 2; * @return Whether the httpDetails field is set. */ public boolean hasHttpDetails() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cloud_trace.HttpDetails http_details = 2; * @return The httpDetails. */ public com.google.apphosting.base.protos.SpanDetails.HttpDetails getHttpDetails() { if (httpDetailsBuilder_ == null) { return httpDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.HttpDetails.getDefaultInstance() : httpDetails_; } else { return httpDetailsBuilder_.getMessage(); } } /** * optional .cloud_trace.HttpDetails http_details = 2; */ public Builder setHttpDetails(com.google.apphosting.base.protos.SpanDetails.HttpDetails value) { if (httpDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } httpDetails_ = value; } else { httpDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional .cloud_trace.HttpDetails http_details = 2; */ public Builder setHttpDetails( com.google.apphosting.base.protos.SpanDetails.HttpDetails.Builder builderForValue) { if (httpDetailsBuilder_ == null) { httpDetails_ = builderForValue.build(); } else { httpDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional .cloud_trace.HttpDetails http_details = 2; */ public Builder mergeHttpDetails(com.google.apphosting.base.protos.SpanDetails.HttpDetails value) { if (httpDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && httpDetails_ != null && httpDetails_ != com.google.apphosting.base.protos.SpanDetails.HttpDetails.getDefaultInstance()) { getHttpDetailsBuilder().mergeFrom(value); } else { httpDetails_ = value; } } else { httpDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional .cloud_trace.HttpDetails http_details = 2; */ public Builder clearHttpDetails() { bitField0_ = (bitField0_ & ~0x00000001); httpDetails_ = null; if (httpDetailsBuilder_ != null) { httpDetailsBuilder_.dispose(); httpDetailsBuilder_ = null; } onChanged(); return this; } /** * optional .cloud_trace.HttpDetails http_details = 2; */ public com.google.apphosting.base.protos.SpanDetails.HttpDetails.Builder getHttpDetailsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getHttpDetailsFieldBuilder().getBuilder(); } /** * optional .cloud_trace.HttpDetails http_details = 2; */ public com.google.apphosting.base.protos.SpanDetails.HttpDetailsOrBuilder getHttpDetailsOrBuilder() { if (httpDetailsBuilder_ != null) { return httpDetailsBuilder_.getMessageOrBuilder(); } else { return httpDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.HttpDetails.getDefaultInstance() : httpDetails_; } } /** * optional .cloud_trace.HttpDetails http_details = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.HttpDetails, com.google.apphosting.base.protos.SpanDetails.HttpDetails.Builder, com.google.apphosting.base.protos.SpanDetails.HttpDetailsOrBuilder> getHttpDetailsFieldBuilder() { if (httpDetailsBuilder_ == null) { httpDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.HttpDetails, com.google.apphosting.base.protos.SpanDetails.HttpDetails.Builder, com.google.apphosting.base.protos.SpanDetails.HttpDetailsOrBuilder>( getHttpDetails(), getParentForChildren(), isClean()); httpDetails_ = null; } return httpDetailsBuilder_; } private com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails appEngineAppDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetailsOrBuilder> appEngineAppDetailsBuilder_; /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; * @return Whether the appEngineAppDetails field is set. */ public boolean hasAppEngineAppDetails() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; * @return The appEngineAppDetails. */ public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails getAppEngineAppDetails() { if (appEngineAppDetailsBuilder_ == null) { return appEngineAppDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.getDefaultInstance() : appEngineAppDetails_; } else { return appEngineAppDetailsBuilder_.getMessage(); } } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ public Builder setAppEngineAppDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails value) { if (appEngineAppDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appEngineAppDetails_ = value; } else { appEngineAppDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ public Builder setAppEngineAppDetails( com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.Builder builderForValue) { if (appEngineAppDetailsBuilder_ == null) { appEngineAppDetails_ = builderForValue.build(); } else { appEngineAppDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ public Builder mergeAppEngineAppDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails value) { if (appEngineAppDetailsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && appEngineAppDetails_ != null && appEngineAppDetails_ != com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.getDefaultInstance()) { getAppEngineAppDetailsBuilder().mergeFrom(value); } else { appEngineAppDetails_ = value; } } else { appEngineAppDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ public Builder clearAppEngineAppDetails() { bitField0_ = (bitField0_ & ~0x00000002); appEngineAppDetails_ = null; if (appEngineAppDetailsBuilder_ != null) { appEngineAppDetailsBuilder_.dispose(); appEngineAppDetailsBuilder_ = null; } onChanged(); return this; } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.Builder getAppEngineAppDetailsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAppEngineAppDetailsFieldBuilder().getBuilder(); } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetailsOrBuilder getAppEngineAppDetailsOrBuilder() { if (appEngineAppDetailsBuilder_ != null) { return appEngineAppDetailsBuilder_.getMessageOrBuilder(); } else { return appEngineAppDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.getDefaultInstance() : appEngineAppDetails_; } } /** * optional .cloud_trace.AppEngineAppDetails app_engine_app_details = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetailsOrBuilder> getAppEngineAppDetailsFieldBuilder() { if (appEngineAppDetailsBuilder_ == null) { appEngineAppDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetailsOrBuilder>( getAppEngineAppDetails(), getParentForChildren(), isClean()); appEngineAppDetails_ = null; } return appEngineAppDetailsBuilder_; } private com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails appEngineServiceRpcDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetailsOrBuilder> appEngineServiceRpcDetailsBuilder_; /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; * @return Whether the appEngineServiceRpcDetails field is set. */ public boolean hasAppEngineServiceRpcDetails() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; * @return The appEngineServiceRpcDetails. */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails getAppEngineServiceRpcDetails() { if (appEngineServiceRpcDetailsBuilder_ == null) { return appEngineServiceRpcDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.getDefaultInstance() : appEngineServiceRpcDetails_; } else { return appEngineServiceRpcDetailsBuilder_.getMessage(); } } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ public Builder setAppEngineServiceRpcDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails value) { if (appEngineServiceRpcDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appEngineServiceRpcDetails_ = value; } else { appEngineServiceRpcDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ public Builder setAppEngineServiceRpcDetails( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.Builder builderForValue) { if (appEngineServiceRpcDetailsBuilder_ == null) { appEngineServiceRpcDetails_ = builderForValue.build(); } else { appEngineServiceRpcDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ public Builder mergeAppEngineServiceRpcDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails value) { if (appEngineServiceRpcDetailsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && appEngineServiceRpcDetails_ != null && appEngineServiceRpcDetails_ != com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.getDefaultInstance()) { getAppEngineServiceRpcDetailsBuilder().mergeFrom(value); } else { appEngineServiceRpcDetails_ = value; } } else { appEngineServiceRpcDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ public Builder clearAppEngineServiceRpcDetails() { bitField0_ = (bitField0_ & ~0x00000004); appEngineServiceRpcDetails_ = null; if (appEngineServiceRpcDetailsBuilder_ != null) { appEngineServiceRpcDetailsBuilder_.dispose(); appEngineServiceRpcDetailsBuilder_ = null; } onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.Builder getAppEngineServiceRpcDetailsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getAppEngineServiceRpcDetailsFieldBuilder().getBuilder(); } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetailsOrBuilder getAppEngineServiceRpcDetailsOrBuilder() { if (appEngineServiceRpcDetailsBuilder_ != null) { return appEngineServiceRpcDetailsBuilder_.getMessageOrBuilder(); } else { return appEngineServiceRpcDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.getDefaultInstance() : appEngineServiceRpcDetails_; } } /** * optional .cloud_trace.AppEngineServiceRpcDetails app_engine_service_rpc_details = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetailsOrBuilder> getAppEngineServiceRpcDetailsFieldBuilder() { if (appEngineServiceRpcDetailsBuilder_ == null) { appEngineServiceRpcDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetailsOrBuilder>( getAppEngineServiceRpcDetails(), getParentForChildren(), isClean()); appEngineServiceRpcDetails_ = null; } return appEngineServiceRpcDetailsBuilder_; } private com.google.apphosting.base.protos.SpanDetails.StackTraceDetails stackTraceDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.StackTraceDetails, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.Builder, com.google.apphosting.base.protos.SpanDetails.StackTraceDetailsOrBuilder> stackTraceDetailsBuilder_; /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; * @return Whether the stackTraceDetails field is set. */ public boolean hasStackTraceDetails() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; * @return The stackTraceDetails. */ public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails getStackTraceDetails() { if (stackTraceDetailsBuilder_ == null) { return stackTraceDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.getDefaultInstance() : stackTraceDetails_; } else { return stackTraceDetailsBuilder_.getMessage(); } } /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ public Builder setStackTraceDetails(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails value) { if (stackTraceDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stackTraceDetails_ = value; } else { stackTraceDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ public Builder setStackTraceDetails( com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.Builder builderForValue) { if (stackTraceDetailsBuilder_ == null) { stackTraceDetails_ = builderForValue.build(); } else { stackTraceDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ public Builder mergeStackTraceDetails(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails value) { if (stackTraceDetailsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && stackTraceDetails_ != null && stackTraceDetails_ != com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.getDefaultInstance()) { getStackTraceDetailsBuilder().mergeFrom(value); } else { stackTraceDetails_ = value; } } else { stackTraceDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ public Builder clearStackTraceDetails() { bitField0_ = (bitField0_ & ~0x00000008); stackTraceDetails_ = null; if (stackTraceDetailsBuilder_ != null) { stackTraceDetailsBuilder_.dispose(); stackTraceDetailsBuilder_ = null; } onChanged(); return this; } /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.Builder getStackTraceDetailsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStackTraceDetailsFieldBuilder().getBuilder(); } /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ public com.google.apphosting.base.protos.SpanDetails.StackTraceDetailsOrBuilder getStackTraceDetailsOrBuilder() { if (stackTraceDetailsBuilder_ != null) { return stackTraceDetailsBuilder_.getMessageOrBuilder(); } else { return stackTraceDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.getDefaultInstance() : stackTraceDetails_; } } /** *
       * Only one of the following should be set.
       * 
* * optional .cloud_trace.StackTraceDetails stack_trace_details = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.StackTraceDetails, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.Builder, com.google.apphosting.base.protos.SpanDetails.StackTraceDetailsOrBuilder> getStackTraceDetailsFieldBuilder() { if (stackTraceDetailsBuilder_ == null) { stackTraceDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.StackTraceDetails, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.Builder, com.google.apphosting.base.protos.SpanDetails.StackTraceDetailsOrBuilder>( getStackTraceDetails(), getParentForChildren(), isClean()); stackTraceDetails_ = null; } return stackTraceDetailsBuilder_; } private long stackTraceHashId_ ; /** * optional uint64 stack_trace_hash_id = 7; * @return Whether the stackTraceHashId field is set. */ @java.lang.Override public boolean hasStackTraceHashId() { return ((bitField0_ & 0x00000010) != 0); } /** * optional uint64 stack_trace_hash_id = 7; * @return The stackTraceHashId. */ @java.lang.Override public long getStackTraceHashId() { return stackTraceHashId_; } /** * optional uint64 stack_trace_hash_id = 7; * @param value The stackTraceHashId to set. * @return This builder for chaining. */ public Builder setStackTraceHashId(long value) { stackTraceHashId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * optional uint64 stack_trace_hash_id = 7; * @return This builder for chaining. */ public Builder clearStackTraceHashId() { bitField0_ = (bitField0_ & ~0x00000010); stackTraceHashId_ = 0L; onChanged(); return this; } private com.google.apphosting.base.protos.SpanDetails.ErrorDetails errorDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.ErrorDetails, com.google.apphosting.base.protos.SpanDetails.ErrorDetails.Builder, com.google.apphosting.base.protos.SpanDetails.ErrorDetailsOrBuilder> errorDetailsBuilder_; /** * optional .cloud_trace.ErrorDetails error_details = 6; * @return Whether the errorDetails field is set. */ public boolean hasErrorDetails() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .cloud_trace.ErrorDetails error_details = 6; * @return The errorDetails. */ public com.google.apphosting.base.protos.SpanDetails.ErrorDetails getErrorDetails() { if (errorDetailsBuilder_ == null) { return errorDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.ErrorDetails.getDefaultInstance() : errorDetails_; } else { return errorDetailsBuilder_.getMessage(); } } /** * optional .cloud_trace.ErrorDetails error_details = 6; */ public Builder setErrorDetails(com.google.apphosting.base.protos.SpanDetails.ErrorDetails value) { if (errorDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } errorDetails_ = value; } else { errorDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional .cloud_trace.ErrorDetails error_details = 6; */ public Builder setErrorDetails( com.google.apphosting.base.protos.SpanDetails.ErrorDetails.Builder builderForValue) { if (errorDetailsBuilder_ == null) { errorDetails_ = builderForValue.build(); } else { errorDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional .cloud_trace.ErrorDetails error_details = 6; */ public Builder mergeErrorDetails(com.google.apphosting.base.protos.SpanDetails.ErrorDetails value) { if (errorDetailsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && errorDetails_ != null && errorDetails_ != com.google.apphosting.base.protos.SpanDetails.ErrorDetails.getDefaultInstance()) { getErrorDetailsBuilder().mergeFrom(value); } else { errorDetails_ = value; } } else { errorDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional .cloud_trace.ErrorDetails error_details = 6; */ public Builder clearErrorDetails() { bitField0_ = (bitField0_ & ~0x00000020); errorDetails_ = null; if (errorDetailsBuilder_ != null) { errorDetailsBuilder_.dispose(); errorDetailsBuilder_ = null; } onChanged(); return this; } /** * optional .cloud_trace.ErrorDetails error_details = 6; */ public com.google.apphosting.base.protos.SpanDetails.ErrorDetails.Builder getErrorDetailsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getErrorDetailsFieldBuilder().getBuilder(); } /** * optional .cloud_trace.ErrorDetails error_details = 6; */ public com.google.apphosting.base.protos.SpanDetails.ErrorDetailsOrBuilder getErrorDetailsOrBuilder() { if (errorDetailsBuilder_ != null) { return errorDetailsBuilder_.getMessageOrBuilder(); } else { return errorDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.ErrorDetails.getDefaultInstance() : errorDetails_; } } /** * optional .cloud_trace.ErrorDetails error_details = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.ErrorDetails, com.google.apphosting.base.protos.SpanDetails.ErrorDetails.Builder, com.google.apphosting.base.protos.SpanDetails.ErrorDetailsOrBuilder> getErrorDetailsFieldBuilder() { if (errorDetailsBuilder_ == null) { errorDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.ErrorDetails, com.google.apphosting.base.protos.SpanDetails.ErrorDetails.Builder, com.google.apphosting.base.protos.SpanDetails.ErrorDetailsOrBuilder>( getErrorDetails(), getParentForChildren(), isClean()); errorDetails_ = null; } return errorDetailsBuilder_; } private java.lang.Object component_ = ""; /** *
       * The service component at which this trace span was generated.
       * 
* * optional string component = 8; * @return Whether the component field is set. */ public boolean hasComponent() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * The service component at which this trace span was generated.
       * 
* * optional string component = 8; * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { component_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * The service component at which this trace span was generated.
       * 
* * optional string component = 8; * @return The bytes for component. */ public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); component_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The service component at which this trace span was generated.
       * 
* * optional string component = 8; * @param value The component to set. * @return This builder for chaining. */ public Builder setComponent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } component_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * The service component at which this trace span was generated.
       * 
* * optional string component = 8; * @return This builder for chaining. */ public Builder clearComponent() { component_ = getDefaultInstance().getComponent(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
       * The service component at which this trace span was generated.
       * 
* * optional string component = 8; * @param value The bytes for component to set. * @return This builder for chaining. */ public Builder setComponentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } component_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private com.google.apphosting.base.protos.SpanDetails.GCEDetails gceDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.GCEDetails, com.google.apphosting.base.protos.SpanDetails.GCEDetails.Builder, com.google.apphosting.base.protos.SpanDetails.GCEDetailsOrBuilder> gceDetailsBuilder_; /** * optional .cloud_trace.GCEDetails gce_details = 9; * @return Whether the gceDetails field is set. */ public boolean hasGceDetails() { return ((bitField0_ & 0x00000080) != 0); } /** * optional .cloud_trace.GCEDetails gce_details = 9; * @return The gceDetails. */ public com.google.apphosting.base.protos.SpanDetails.GCEDetails getGceDetails() { if (gceDetailsBuilder_ == null) { return gceDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.GCEDetails.getDefaultInstance() : gceDetails_; } else { return gceDetailsBuilder_.getMessage(); } } /** * optional .cloud_trace.GCEDetails gce_details = 9; */ public Builder setGceDetails(com.google.apphosting.base.protos.SpanDetails.GCEDetails value) { if (gceDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gceDetails_ = value; } else { gceDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * optional .cloud_trace.GCEDetails gce_details = 9; */ public Builder setGceDetails( com.google.apphosting.base.protos.SpanDetails.GCEDetails.Builder builderForValue) { if (gceDetailsBuilder_ == null) { gceDetails_ = builderForValue.build(); } else { gceDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * optional .cloud_trace.GCEDetails gce_details = 9; */ public Builder mergeGceDetails(com.google.apphosting.base.protos.SpanDetails.GCEDetails value) { if (gceDetailsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && gceDetails_ != null && gceDetails_ != com.google.apphosting.base.protos.SpanDetails.GCEDetails.getDefaultInstance()) { getGceDetailsBuilder().mergeFrom(value); } else { gceDetails_ = value; } } else { gceDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** * optional .cloud_trace.GCEDetails gce_details = 9; */ public Builder clearGceDetails() { bitField0_ = (bitField0_ & ~0x00000080); gceDetails_ = null; if (gceDetailsBuilder_ != null) { gceDetailsBuilder_.dispose(); gceDetailsBuilder_ = null; } onChanged(); return this; } /** * optional .cloud_trace.GCEDetails gce_details = 9; */ public com.google.apphosting.base.protos.SpanDetails.GCEDetails.Builder getGceDetailsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getGceDetailsFieldBuilder().getBuilder(); } /** * optional .cloud_trace.GCEDetails gce_details = 9; */ public com.google.apphosting.base.protos.SpanDetails.GCEDetailsOrBuilder getGceDetailsOrBuilder() { if (gceDetailsBuilder_ != null) { return gceDetailsBuilder_.getMessageOrBuilder(); } else { return gceDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.GCEDetails.getDefaultInstance() : gceDetails_; } } /** * optional .cloud_trace.GCEDetails gce_details = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.GCEDetails, com.google.apphosting.base.protos.SpanDetails.GCEDetails.Builder, com.google.apphosting.base.protos.SpanDetails.GCEDetailsOrBuilder> getGceDetailsFieldBuilder() { if (gceDetailsBuilder_ == null) { gceDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.GCEDetails, com.google.apphosting.base.protos.SpanDetails.GCEDetails.Builder, com.google.apphosting.base.protos.SpanDetails.GCEDetailsOrBuilder>( getGceDetails(), getParentForChildren(), isClean()); gceDetails_ = null; } return gceDetailsBuilder_; } @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:cloud_trace.SpanDetailsProto) } // @@protoc_insertion_point(class_scope:cloud_trace.SpanDetailsProto) private static final com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto(); } public static com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SpanDetailsProto parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.SpanDetailsProto getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HttpDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.HttpDetails) com.google.protobuf.MessageOrBuilder { /** *
     * The method string is defined by the mapping in //webutil/http/httputils.cc,
     * called [kAllProtocols].
     * 
* * optional string method = 1; * @return Whether the method field is set. */ boolean hasMethod(); /** *
     * The method string is defined by the mapping in //webutil/http/httputils.cc,
     * called [kAllProtocols].
     * 
* * optional string method = 1; * @return The method. */ java.lang.String getMethod(); /** *
     * The method string is defined by the mapping in //webutil/http/httputils.cc,
     * called [kAllProtocols].
     * 
* * optional string method = 1; * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); /** * optional string full_url = 2; * @return Whether the fullUrl field is set. */ boolean hasFullUrl(); /** * optional string full_url = 2; * @return The fullUrl. */ java.lang.String getFullUrl(); /** * optional string full_url = 2; * @return The bytes for fullUrl. */ com.google.protobuf.ByteString getFullUrlBytes(); /** * optional int32 status_code = 3; * @return Whether the statusCode field is set. */ boolean hasStatusCode(); /** * optional int32 status_code = 3; * @return The statusCode. */ int getStatusCode(); /** * optional int32 request_payload_size = 4; * @return Whether the requestPayloadSize field is set. */ boolean hasRequestPayloadSize(); /** * optional int32 request_payload_size = 4; * @return The requestPayloadSize. */ int getRequestPayloadSize(); /** * optional int32 response_payload_size = 5; * @return Whether the responsePayloadSize field is set. */ boolean hasResponsePayloadSize(); /** * optional int32 response_payload_size = 5; * @return The responsePayloadSize. */ int getResponsePayloadSize(); /** * optional string host = 6; * @return Whether the host field is set. */ boolean hasHost(); /** * optional string host = 6; * @return The host. */ java.lang.String getHost(); /** * optional string host = 6; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** *
     * This field was added for GAE's /urlfetch.Fetch service call.
     * 
* * optional string redirected_url = 7; * @return Whether the redirectedUrl field is set. */ boolean hasRedirectedUrl(); /** *
     * This field was added for GAE's /urlfetch.Fetch service call.
     * 
* * optional string redirected_url = 7; * @return The redirectedUrl. */ java.lang.String getRedirectedUrl(); /** *
     * This field was added for GAE's /urlfetch.Fetch service call.
     * 
* * optional string redirected_url = 7; * @return The bytes for redirectedUrl. */ com.google.protobuf.ByteString getRedirectedUrlBytes(); /** *
     * The user-agent header of the request.
     * 
* * optional string user_agent = 8; * @return Whether the userAgent field is set. */ boolean hasUserAgent(); /** *
     * The user-agent header of the request.
     * 
* * optional string user_agent = 8; * @return The userAgent. */ java.lang.String getUserAgent(); /** *
     * The user-agent header of the request.
     * 
* * optional string user_agent = 8; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); /** *
     * The HTTP protocol used between the client and the server, e.g., SPDY.
     * 
* * optional string client_protocol = 9; * @return Whether the clientProtocol field is set. */ boolean hasClientProtocol(); /** *
     * The HTTP protocol used between the client and the server, e.g., SPDY.
     * 
* * optional string client_protocol = 9; * @return The clientProtocol. */ java.lang.String getClientProtocol(); /** *
     * The HTTP protocol used between the client and the server, e.g., SPDY.
     * 
* * optional string client_protocol = 9; * @return The bytes for clientProtocol. */ com.google.protobuf.ByteString getClientProtocolBytes(); /** *
     * Country from which the request originated, as an ISO 3166-1 alpha-2 country
     * code.
     * 
* * optional string client_country = 11; * @return Whether the clientCountry field is set. */ boolean hasClientCountry(); /** *
     * Country from which the request originated, as an ISO 3166-1 alpha-2 country
     * code.
     * 
* * optional string client_country = 11; * @return The clientCountry. */ java.lang.String getClientCountry(); /** *
     * Country from which the request originated, as an ISO 3166-1 alpha-2 country
     * code.
     * 
* * optional string client_country = 11; * @return The bytes for clientCountry. */ com.google.protobuf.ByteString getClientCountryBytes(); /** *
     * Name of region from which the request originated.
     * 
* * optional string client_region = 12; * @return Whether the clientRegion field is set. */ boolean hasClientRegion(); /** *
     * Name of region from which the request originated.
     * 
* * optional string client_region = 12; * @return The clientRegion. */ java.lang.String getClientRegion(); /** *
     * Name of region from which the request originated.
     * 
* * optional string client_region = 12; * @return The bytes for clientRegion. */ com.google.protobuf.ByteString getClientRegionBytes(); /** *
     * Name of the city from which the request originated.
     * 
* * optional string client_city = 13; * @return Whether the clientCity field is set. */ boolean hasClientCity(); /** *
     * Name of the city from which the request originated.
     * 
* * optional string client_city = 13; * @return The clientCity. */ java.lang.String getClientCity(); /** *
     * Name of the city from which the request originated.
     * 
* * optional string client_city = 13; * @return The bytes for clientCity. */ com.google.protobuf.ByteString getClientCityBytes(); } /** *
   * This messages provides additional metadata for spans that represent HTTP
   * requests.
   * NEXT ID: 14
   * 
* * Protobuf type {@code cloud_trace.HttpDetails} */ public static final class HttpDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.HttpDetails) HttpDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use HttpDetails.newBuilder() to construct. private HttpDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HttpDetails() { method_ = ""; fullUrl_ = ""; host_ = ""; redirectedUrl_ = ""; userAgent_ = ""; clientProtocol_ = ""; clientCountry_ = ""; clientRegion_ = ""; clientCity_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HttpDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_HttpDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_HttpDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.HttpDetails.class, com.google.apphosting.base.protos.SpanDetails.HttpDetails.Builder.class); } private int bitField0_; public static final int METHOD_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object method_ = ""; /** *
     * The method string is defined by the mapping in //webutil/http/httputils.cc,
     * called [kAllProtocols].
     * 
* * optional string method = 1; * @return Whether the method field is set. */ @java.lang.Override public boolean hasMethod() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The method string is defined by the mapping in //webutil/http/httputils.cc,
     * called [kAllProtocols].
     * 
* * optional string method = 1; * @return The method. */ @java.lang.Override public java.lang.String getMethod() { java.lang.Object ref = method_; 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 (bs.isValidUtf8()) { method_ = s; } return s; } } /** *
     * The method string is defined by the mapping in //webutil/http/httputils.cc,
     * called [kAllProtocols].
     * 
* * optional string method = 1; * @return The bytes for method. */ @java.lang.Override public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FULL_URL_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object fullUrl_ = ""; /** * optional string full_url = 2; * @return Whether the fullUrl field is set. */ @java.lang.Override public boolean hasFullUrl() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string full_url = 2; * @return The fullUrl. */ @java.lang.Override public java.lang.String getFullUrl() { java.lang.Object ref = fullUrl_; 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 (bs.isValidUtf8()) { fullUrl_ = s; } return s; } } /** * optional string full_url = 2; * @return The bytes for fullUrl. */ @java.lang.Override public com.google.protobuf.ByteString getFullUrlBytes() { java.lang.Object ref = fullUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_CODE_FIELD_NUMBER = 3; private int statusCode_ = 0; /** * optional int32 status_code = 3; * @return Whether the statusCode field is set. */ @java.lang.Override public boolean hasStatusCode() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 status_code = 3; * @return The statusCode. */ @java.lang.Override public int getStatusCode() { return statusCode_; } public static final int REQUEST_PAYLOAD_SIZE_FIELD_NUMBER = 4; private int requestPayloadSize_ = 0; /** * optional int32 request_payload_size = 4; * @return Whether the requestPayloadSize field is set. */ @java.lang.Override public boolean hasRequestPayloadSize() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 request_payload_size = 4; * @return The requestPayloadSize. */ @java.lang.Override public int getRequestPayloadSize() { return requestPayloadSize_; } public static final int RESPONSE_PAYLOAD_SIZE_FIELD_NUMBER = 5; private int responsePayloadSize_ = 0; /** * optional int32 response_payload_size = 5; * @return Whether the responsePayloadSize field is set. */ @java.lang.Override public boolean hasResponsePayloadSize() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 response_payload_size = 5; * @return The responsePayloadSize. */ @java.lang.Override public int getResponsePayloadSize() { return responsePayloadSize_; } public static final int HOST_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object host_ = ""; /** * optional string host = 6; * @return Whether the host field is set. */ @java.lang.Override public boolean hasHost() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string host = 6; * @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(); if (bs.isValidUtf8()) { host_ = s; } return s; } } /** * optional string host = 6; * @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 REDIRECTED_URL_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object redirectedUrl_ = ""; /** *
     * This field was added for GAE's /urlfetch.Fetch service call.
     * 
* * optional string redirected_url = 7; * @return Whether the redirectedUrl field is set. */ @java.lang.Override public boolean hasRedirectedUrl() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * This field was added for GAE's /urlfetch.Fetch service call.
     * 
* * optional string redirected_url = 7; * @return The redirectedUrl. */ @java.lang.Override public java.lang.String getRedirectedUrl() { java.lang.Object ref = redirectedUrl_; 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 (bs.isValidUtf8()) { redirectedUrl_ = s; } return s; } } /** *
     * This field was added for GAE's /urlfetch.Fetch service call.
     * 
* * optional string redirected_url = 7; * @return The bytes for redirectedUrl. */ @java.lang.Override public com.google.protobuf.ByteString getRedirectedUrlBytes() { java.lang.Object ref = redirectedUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); redirectedUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_AGENT_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object userAgent_ = ""; /** *
     * The user-agent header of the request.
     * 
* * optional string user_agent = 8; * @return Whether the userAgent field is set. */ @java.lang.Override public boolean hasUserAgent() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * The user-agent header of the request.
     * 
* * optional string user_agent = 8; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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 (bs.isValidUtf8()) { userAgent_ = s; } return s; } } /** *
     * The user-agent header of the request.
     * 
* * optional string user_agent = 8; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_PROTOCOL_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object clientProtocol_ = ""; /** *
     * The HTTP protocol used between the client and the server, e.g., SPDY.
     * 
* * optional string client_protocol = 9; * @return Whether the clientProtocol field is set. */ @java.lang.Override public boolean hasClientProtocol() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * The HTTP protocol used between the client and the server, e.g., SPDY.
     * 
* * optional string client_protocol = 9; * @return The clientProtocol. */ @java.lang.Override public java.lang.String getClientProtocol() { java.lang.Object ref = clientProtocol_; 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 (bs.isValidUtf8()) { clientProtocol_ = s; } return s; } } /** *
     * The HTTP protocol used between the client and the server, e.g., SPDY.
     * 
* * optional string client_protocol = 9; * @return The bytes for clientProtocol. */ @java.lang.Override public com.google.protobuf.ByteString getClientProtocolBytes() { java.lang.Object ref = clientProtocol_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientProtocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_COUNTRY_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object clientCountry_ = ""; /** *
     * Country from which the request originated, as an ISO 3166-1 alpha-2 country
     * code.
     * 
* * optional string client_country = 11; * @return Whether the clientCountry field is set. */ @java.lang.Override public boolean hasClientCountry() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Country from which the request originated, as an ISO 3166-1 alpha-2 country
     * code.
     * 
* * optional string client_country = 11; * @return The clientCountry. */ @java.lang.Override public java.lang.String getClientCountry() { java.lang.Object ref = clientCountry_; 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 (bs.isValidUtf8()) { clientCountry_ = s; } return s; } } /** *
     * Country from which the request originated, as an ISO 3166-1 alpha-2 country
     * code.
     * 
* * optional string client_country = 11; * @return The bytes for clientCountry. */ @java.lang.Override public com.google.protobuf.ByteString getClientCountryBytes() { java.lang.Object ref = clientCountry_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientCountry_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_REGION_FIELD_NUMBER = 12; @SuppressWarnings("serial") private volatile java.lang.Object clientRegion_ = ""; /** *
     * Name of region from which the request originated.
     * 
* * optional string client_region = 12; * @return Whether the clientRegion field is set. */ @java.lang.Override public boolean hasClientRegion() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * Name of region from which the request originated.
     * 
* * optional string client_region = 12; * @return The clientRegion. */ @java.lang.Override public java.lang.String getClientRegion() { java.lang.Object ref = clientRegion_; 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 (bs.isValidUtf8()) { clientRegion_ = s; } return s; } } /** *
     * Name of region from which the request originated.
     * 
* * optional string client_region = 12; * @return The bytes for clientRegion. */ @java.lang.Override public com.google.protobuf.ByteString getClientRegionBytes() { java.lang.Object ref = clientRegion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_CITY_FIELD_NUMBER = 13; @SuppressWarnings("serial") private volatile java.lang.Object clientCity_ = ""; /** *
     * Name of the city from which the request originated.
     * 
* * optional string client_city = 13; * @return Whether the clientCity field is set. */ @java.lang.Override public boolean hasClientCity() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * Name of the city from which the request originated.
     * 
* * optional string client_city = 13; * @return The clientCity. */ @java.lang.Override public java.lang.String getClientCity() { java.lang.Object ref = clientCity_; 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 (bs.isValidUtf8()) { clientCity_ = s; } return s; } } /** *
     * Name of the city from which the request originated.
     * 
* * optional string client_city = 13; * @return The bytes for clientCity. */ @java.lang.Override public com.google.protobuf.ByteString getClientCityBytes() { java.lang.Object ref = clientCity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientCity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, method_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fullUrl_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, statusCode_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(4, requestPayloadSize_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(5, responsePayloadSize_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, host_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, redirectedUrl_); } if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, userAgent_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clientProtocol_); } if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clientCountry_); } if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, clientRegion_); } if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, clientCity_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, method_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fullUrl_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, statusCode_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, requestPayloadSize_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, responsePayloadSize_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, host_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, redirectedUrl_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, userAgent_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clientProtocol_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, clientCountry_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, clientRegion_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, clientCity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.HttpDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.HttpDetails other = (com.google.apphosting.base.protos.SpanDetails.HttpDetails) obj; if (hasMethod() != other.hasMethod()) return false; if (hasMethod()) { if (!getMethod() .equals(other.getMethod())) return false; } if (hasFullUrl() != other.hasFullUrl()) return false; if (hasFullUrl()) { if (!getFullUrl() .equals(other.getFullUrl())) return false; } if (hasStatusCode() != other.hasStatusCode()) return false; if (hasStatusCode()) { if (getStatusCode() != other.getStatusCode()) return false; } if (hasRequestPayloadSize() != other.hasRequestPayloadSize()) return false; if (hasRequestPayloadSize()) { if (getRequestPayloadSize() != other.getRequestPayloadSize()) return false; } if (hasResponsePayloadSize() != other.hasResponsePayloadSize()) return false; if (hasResponsePayloadSize()) { if (getResponsePayloadSize() != other.getResponsePayloadSize()) return false; } if (hasHost() != other.hasHost()) return false; if (hasHost()) { if (!getHost() .equals(other.getHost())) return false; } if (hasRedirectedUrl() != other.hasRedirectedUrl()) return false; if (hasRedirectedUrl()) { if (!getRedirectedUrl() .equals(other.getRedirectedUrl())) return false; } if (hasUserAgent() != other.hasUserAgent()) return false; if (hasUserAgent()) { if (!getUserAgent() .equals(other.getUserAgent())) return false; } if (hasClientProtocol() != other.hasClientProtocol()) return false; if (hasClientProtocol()) { if (!getClientProtocol() .equals(other.getClientProtocol())) return false; } if (hasClientCountry() != other.hasClientCountry()) return false; if (hasClientCountry()) { if (!getClientCountry() .equals(other.getClientCountry())) return false; } if (hasClientRegion() != other.hasClientRegion()) return false; if (hasClientRegion()) { if (!getClientRegion() .equals(other.getClientRegion())) return false; } if (hasClientCity() != other.hasClientCity()) return false; if (hasClientCity()) { if (!getClientCity() .equals(other.getClientCity())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMethod()) { hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + getMethod().hashCode(); } if (hasFullUrl()) { hash = (37 * hash) + FULL_URL_FIELD_NUMBER; hash = (53 * hash) + getFullUrl().hashCode(); } if (hasStatusCode()) { hash = (37 * hash) + STATUS_CODE_FIELD_NUMBER; hash = (53 * hash) + getStatusCode(); } if (hasRequestPayloadSize()) { hash = (37 * hash) + REQUEST_PAYLOAD_SIZE_FIELD_NUMBER; hash = (53 * hash) + getRequestPayloadSize(); } if (hasResponsePayloadSize()) { hash = (37 * hash) + RESPONSE_PAYLOAD_SIZE_FIELD_NUMBER; hash = (53 * hash) + getResponsePayloadSize(); } if (hasHost()) { hash = (37 * hash) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); } if (hasRedirectedUrl()) { hash = (37 * hash) + REDIRECTED_URL_FIELD_NUMBER; hash = (53 * hash) + getRedirectedUrl().hashCode(); } if (hasUserAgent()) { hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); } if (hasClientProtocol()) { hash = (37 * hash) + CLIENT_PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + getClientProtocol().hashCode(); } if (hasClientCountry()) { hash = (37 * hash) + CLIENT_COUNTRY_FIELD_NUMBER; hash = (53 * hash) + getClientCountry().hashCode(); } if (hasClientRegion()) { hash = (37 * hash) + CLIENT_REGION_FIELD_NUMBER; hash = (53 * hash) + getClientRegion().hashCode(); } if (hasClientCity()) { hash = (37 * hash) + CLIENT_CITY_FIELD_NUMBER; hash = (53 * hash) + getClientCity().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.HttpDetails 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 messages provides additional metadata for spans that represent HTTP
     * requests.
     * NEXT ID: 14
     * 
* * Protobuf type {@code cloud_trace.HttpDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.HttpDetails) com.google.apphosting.base.protos.SpanDetails.HttpDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_HttpDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_HttpDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.HttpDetails.class, com.google.apphosting.base.protos.SpanDetails.HttpDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.HttpDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; method_ = ""; fullUrl_ = ""; statusCode_ = 0; requestPayloadSize_ = 0; responsePayloadSize_ = 0; host_ = ""; redirectedUrl_ = ""; userAgent_ = ""; clientProtocol_ = ""; clientCountry_ = ""; clientRegion_ = ""; clientCity_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_HttpDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.HttpDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.HttpDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.HttpDetails build() { com.google.apphosting.base.protos.SpanDetails.HttpDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.HttpDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.HttpDetails result = new com.google.apphosting.base.protos.SpanDetails.HttpDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.HttpDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.method_ = method_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.fullUrl_ = fullUrl_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.statusCode_ = statusCode_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestPayloadSize_ = requestPayloadSize_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.responsePayloadSize_ = responsePayloadSize_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.host_ = host_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.redirectedUrl_ = redirectedUrl_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.userAgent_ = userAgent_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.clientProtocol_ = clientProtocol_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.clientCountry_ = clientCountry_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.clientRegion_ = clientRegion_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { result.clientCity_ = clientCity_; to_bitField0_ |= 0x00000800; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.HttpDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.HttpDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.HttpDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.HttpDetails.getDefaultInstance()) return this; if (other.hasMethod()) { method_ = other.method_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasFullUrl()) { fullUrl_ = other.fullUrl_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasStatusCode()) { setStatusCode(other.getStatusCode()); } if (other.hasRequestPayloadSize()) { setRequestPayloadSize(other.getRequestPayloadSize()); } if (other.hasResponsePayloadSize()) { setResponsePayloadSize(other.getResponsePayloadSize()); } if (other.hasHost()) { host_ = other.host_; bitField0_ |= 0x00000020; onChanged(); } if (other.hasRedirectedUrl()) { redirectedUrl_ = other.redirectedUrl_; bitField0_ |= 0x00000040; onChanged(); } if (other.hasUserAgent()) { userAgent_ = other.userAgent_; bitField0_ |= 0x00000080; onChanged(); } if (other.hasClientProtocol()) { clientProtocol_ = other.clientProtocol_; bitField0_ |= 0x00000100; onChanged(); } if (other.hasClientCountry()) { clientCountry_ = other.clientCountry_; bitField0_ |= 0x00000200; onChanged(); } if (other.hasClientRegion()) { clientRegion_ = other.clientRegion_; bitField0_ |= 0x00000400; onChanged(); } if (other.hasClientCity()) { clientCity_ = other.clientCity_; bitField0_ |= 0x00000800; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { method_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { fullUrl_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { statusCode_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { requestPayloadSize_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { responsePayloadSize_ = input.readInt32(); bitField0_ |= 0x00000010; break; } // case 40 case 50: { host_ = input.readBytes(); bitField0_ |= 0x00000020; break; } // case 50 case 58: { redirectedUrl_ = input.readBytes(); bitField0_ |= 0x00000040; break; } // case 58 case 66: { userAgent_ = input.readBytes(); bitField0_ |= 0x00000080; break; } // case 66 case 74: { clientProtocol_ = input.readBytes(); bitField0_ |= 0x00000100; break; } // case 74 case 90: { clientCountry_ = input.readBytes(); bitField0_ |= 0x00000200; break; } // case 90 case 98: { clientRegion_ = input.readBytes(); bitField0_ |= 0x00000400; break; } // case 98 case 106: { clientCity_ = input.readBytes(); bitField0_ |= 0x00000800; break; } // case 106 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object method_ = ""; /** *
       * The method string is defined by the mapping in //webutil/http/httputils.cc,
       * called [kAllProtocols].
       * 
* * optional string method = 1; * @return Whether the method field is set. */ public boolean hasMethod() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * The method string is defined by the mapping in //webutil/http/httputils.cc,
       * called [kAllProtocols].
       * 
* * optional string method = 1; * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { method_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * The method string is defined by the mapping in //webutil/http/httputils.cc,
       * called [kAllProtocols].
       * 
* * optional string method = 1; * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The method string is defined by the mapping in //webutil/http/httputils.cc,
       * called [kAllProtocols].
       * 
* * optional string method = 1; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } method_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The method string is defined by the mapping in //webutil/http/httputils.cc,
       * called [kAllProtocols].
       * 
* * optional string method = 1; * @return This builder for chaining. */ public Builder clearMethod() { method_ = getDefaultInstance().getMethod(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The method string is defined by the mapping in //webutil/http/httputils.cc,
       * called [kAllProtocols].
       * 
* * optional string method = 1; * @param value The bytes for method to set. * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } method_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object fullUrl_ = ""; /** * optional string full_url = 2; * @return Whether the fullUrl field is set. */ public boolean hasFullUrl() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string full_url = 2; * @return The fullUrl. */ public java.lang.String getFullUrl() { java.lang.Object ref = fullUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { fullUrl_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string full_url = 2; * @return The bytes for fullUrl. */ public com.google.protobuf.ByteString getFullUrlBytes() { java.lang.Object ref = fullUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string full_url = 2; * @param value The fullUrl to set. * @return This builder for chaining. */ public Builder setFullUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fullUrl_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional string full_url = 2; * @return This builder for chaining. */ public Builder clearFullUrl() { fullUrl_ = getDefaultInstance().getFullUrl(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * optional string full_url = 2; * @param value The bytes for fullUrl to set. * @return This builder for chaining. */ public Builder setFullUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } fullUrl_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private int statusCode_ ; /** * optional int32 status_code = 3; * @return Whether the statusCode field is set. */ @java.lang.Override public boolean hasStatusCode() { return ((bitField0_ & 0x00000004) != 0); } /** * optional int32 status_code = 3; * @return The statusCode. */ @java.lang.Override public int getStatusCode() { return statusCode_; } /** * optional int32 status_code = 3; * @param value The statusCode to set. * @return This builder for chaining. */ public Builder setStatusCode(int value) { statusCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional int32 status_code = 3; * @return This builder for chaining. */ public Builder clearStatusCode() { bitField0_ = (bitField0_ & ~0x00000004); statusCode_ = 0; onChanged(); return this; } private int requestPayloadSize_ ; /** * optional int32 request_payload_size = 4; * @return Whether the requestPayloadSize field is set. */ @java.lang.Override public boolean hasRequestPayloadSize() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int32 request_payload_size = 4; * @return The requestPayloadSize. */ @java.lang.Override public int getRequestPayloadSize() { return requestPayloadSize_; } /** * optional int32 request_payload_size = 4; * @param value The requestPayloadSize to set. * @return This builder for chaining. */ public Builder setRequestPayloadSize(int value) { requestPayloadSize_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * optional int32 request_payload_size = 4; * @return This builder for chaining. */ public Builder clearRequestPayloadSize() { bitField0_ = (bitField0_ & ~0x00000008); requestPayloadSize_ = 0; onChanged(); return this; } private int responsePayloadSize_ ; /** * optional int32 response_payload_size = 5; * @return Whether the responsePayloadSize field is set. */ @java.lang.Override public boolean hasResponsePayloadSize() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int32 response_payload_size = 5; * @return The responsePayloadSize. */ @java.lang.Override public int getResponsePayloadSize() { return responsePayloadSize_; } /** * optional int32 response_payload_size = 5; * @param value The responsePayloadSize to set. * @return This builder for chaining. */ public Builder setResponsePayloadSize(int value) { responsePayloadSize_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * optional int32 response_payload_size = 5; * @return This builder for chaining. */ public Builder clearResponsePayloadSize() { bitField0_ = (bitField0_ & ~0x00000010); responsePayloadSize_ = 0; onChanged(); return this; } private java.lang.Object host_ = ""; /** * optional string host = 6; * @return Whether the host field is set. */ public boolean hasHost() { return ((bitField0_ & 0x00000020) != 0); } /** * optional string host = 6; * @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(); if (bs.isValidUtf8()) { host_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string host = 6; * @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; } } /** * optional string host = 6; * @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; bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional string host = 6; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** * optional string host = 6; * @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(); } host_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private java.lang.Object redirectedUrl_ = ""; /** *
       * This field was added for GAE's /urlfetch.Fetch service call.
       * 
* * optional string redirected_url = 7; * @return Whether the redirectedUrl field is set. */ public boolean hasRedirectedUrl() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * This field was added for GAE's /urlfetch.Fetch service call.
       * 
* * optional string redirected_url = 7; * @return The redirectedUrl. */ public java.lang.String getRedirectedUrl() { java.lang.Object ref = redirectedUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { redirectedUrl_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * This field was added for GAE's /urlfetch.Fetch service call.
       * 
* * optional string redirected_url = 7; * @return The bytes for redirectedUrl. */ public com.google.protobuf.ByteString getRedirectedUrlBytes() { java.lang.Object ref = redirectedUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); redirectedUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This field was added for GAE's /urlfetch.Fetch service call.
       * 
* * optional string redirected_url = 7; * @param value The redirectedUrl to set. * @return This builder for chaining. */ public Builder setRedirectedUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } redirectedUrl_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * This field was added for GAE's /urlfetch.Fetch service call.
       * 
* * optional string redirected_url = 7; * @return This builder for chaining. */ public Builder clearRedirectedUrl() { redirectedUrl_ = getDefaultInstance().getRedirectedUrl(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
       * This field was added for GAE's /urlfetch.Fetch service call.
       * 
* * optional string redirected_url = 7; * @param value The bytes for redirectedUrl to set. * @return This builder for chaining. */ public Builder setRedirectedUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } redirectedUrl_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private java.lang.Object userAgent_ = ""; /** *
       * The user-agent header of the request.
       * 
* * optional string user_agent = 8; * @return Whether the userAgent field is set. */ public boolean hasUserAgent() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * The user-agent header of the request.
       * 
* * optional string user_agent = 8; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { userAgent_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * The user-agent header of the request.
       * 
* * optional string user_agent = 8; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The user-agent header of the request.
       * 
* * optional string user_agent = 8; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * The user-agent header of the request.
       * 
* * optional string user_agent = 8; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** *
       * The user-agent header of the request.
       * 
* * optional string user_agent = 8; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } private java.lang.Object clientProtocol_ = ""; /** *
       * The HTTP protocol used between the client and the server, e.g., SPDY.
       * 
* * optional string client_protocol = 9; * @return Whether the clientProtocol field is set. */ public boolean hasClientProtocol() { return ((bitField0_ & 0x00000100) != 0); } /** *
       * The HTTP protocol used between the client and the server, e.g., SPDY.
       * 
* * optional string client_protocol = 9; * @return The clientProtocol. */ public java.lang.String getClientProtocol() { java.lang.Object ref = clientProtocol_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { clientProtocol_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * The HTTP protocol used between the client and the server, e.g., SPDY.
       * 
* * optional string client_protocol = 9; * @return The bytes for clientProtocol. */ public com.google.protobuf.ByteString getClientProtocolBytes() { java.lang.Object ref = clientProtocol_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientProtocol_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The HTTP protocol used between the client and the server, e.g., SPDY.
       * 
* * optional string client_protocol = 9; * @param value The clientProtocol to set. * @return This builder for chaining. */ public Builder setClientProtocol( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientProtocol_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * The HTTP protocol used between the client and the server, e.g., SPDY.
       * 
* * optional string client_protocol = 9; * @return This builder for chaining. */ public Builder clearClientProtocol() { clientProtocol_ = getDefaultInstance().getClientProtocol(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** *
       * The HTTP protocol used between the client and the server, e.g., SPDY.
       * 
* * optional string client_protocol = 9; * @param value The bytes for clientProtocol to set. * @return This builder for chaining. */ public Builder setClientProtocolBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } clientProtocol_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private java.lang.Object clientCountry_ = ""; /** *
       * Country from which the request originated, as an ISO 3166-1 alpha-2 country
       * code.
       * 
* * optional string client_country = 11; * @return Whether the clientCountry field is set. */ public boolean hasClientCountry() { return ((bitField0_ & 0x00000200) != 0); } /** *
       * Country from which the request originated, as an ISO 3166-1 alpha-2 country
       * code.
       * 
* * optional string client_country = 11; * @return The clientCountry. */ public java.lang.String getClientCountry() { java.lang.Object ref = clientCountry_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { clientCountry_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Country from which the request originated, as an ISO 3166-1 alpha-2 country
       * code.
       * 
* * optional string client_country = 11; * @return The bytes for clientCountry. */ public com.google.protobuf.ByteString getClientCountryBytes() { java.lang.Object ref = clientCountry_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientCountry_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Country from which the request originated, as an ISO 3166-1 alpha-2 country
       * code.
       * 
* * optional string client_country = 11; * @param value The clientCountry to set. * @return This builder for chaining. */ public Builder setClientCountry( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientCountry_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Country from which the request originated, as an ISO 3166-1 alpha-2 country
       * code.
       * 
* * optional string client_country = 11; * @return This builder for chaining. */ public Builder clearClientCountry() { clientCountry_ = getDefaultInstance().getClientCountry(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** *
       * Country from which the request originated, as an ISO 3166-1 alpha-2 country
       * code.
       * 
* * optional string client_country = 11; * @param value The bytes for clientCountry to set. * @return This builder for chaining. */ public Builder setClientCountryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } clientCountry_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } private java.lang.Object clientRegion_ = ""; /** *
       * Name of region from which the request originated.
       * 
* * optional string client_region = 12; * @return Whether the clientRegion field is set. */ public boolean hasClientRegion() { return ((bitField0_ & 0x00000400) != 0); } /** *
       * Name of region from which the request originated.
       * 
* * optional string client_region = 12; * @return The clientRegion. */ public java.lang.String getClientRegion() { java.lang.Object ref = clientRegion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { clientRegion_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Name of region from which the request originated.
       * 
* * optional string client_region = 12; * @return The bytes for clientRegion. */ public com.google.protobuf.ByteString getClientRegionBytes() { java.lang.Object ref = clientRegion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of region from which the request originated.
       * 
* * optional string client_region = 12; * @param value The clientRegion to set. * @return This builder for chaining. */ public Builder setClientRegion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientRegion_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * Name of region from which the request originated.
       * 
* * optional string client_region = 12; * @return This builder for chaining. */ public Builder clearClientRegion() { clientRegion_ = getDefaultInstance().getClientRegion(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
       * Name of region from which the request originated.
       * 
* * optional string client_region = 12; * @param value The bytes for clientRegion to set. * @return This builder for chaining. */ public Builder setClientRegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } clientRegion_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private java.lang.Object clientCity_ = ""; /** *
       * Name of the city from which the request originated.
       * 
* * optional string client_city = 13; * @return Whether the clientCity field is set. */ public boolean hasClientCity() { return ((bitField0_ & 0x00000800) != 0); } /** *
       * Name of the city from which the request originated.
       * 
* * optional string client_city = 13; * @return The clientCity. */ public java.lang.String getClientCity() { java.lang.Object ref = clientCity_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { clientCity_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Name of the city from which the request originated.
       * 
* * optional string client_city = 13; * @return The bytes for clientCity. */ public com.google.protobuf.ByteString getClientCityBytes() { java.lang.Object ref = clientCity_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientCity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Name of the city from which the request originated.
       * 
* * optional string client_city = 13; * @param value The clientCity to set. * @return This builder for chaining. */ public Builder setClientCity( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientCity_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * Name of the city from which the request originated.
       * 
* * optional string client_city = 13; * @return This builder for chaining. */ public Builder clearClientCity() { clientCity_ = getDefaultInstance().getClientCity(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } /** *
       * Name of the city from which the request originated.
       * 
* * optional string client_city = 13; * @param value The bytes for clientCity to set. * @return This builder for chaining. */ public Builder setClientCityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } clientCity_ = value; bitField0_ |= 0x00000800; 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:cloud_trace.HttpDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.HttpDetails) private static final com.google.apphosting.base.protos.SpanDetails.HttpDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.HttpDetails(); } public static com.google.apphosting.base.protos.SpanDetails.HttpDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HttpDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.HttpDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AppEngineAppDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.AppEngineAppDetails) com.google.protobuf.MessageOrBuilder { /** * optional string version_id = 1; * @return Whether the versionId field is set. */ boolean hasVersionId(); /** * optional string version_id = 1; * @return The versionId. */ java.lang.String getVersionId(); /** * optional string version_id = 1; * @return The bytes for versionId. */ com.google.protobuf.ByteString getVersionIdBytes(); /** * optional string request_log_id = 2; * @return Whether the requestLogId field is set. */ boolean hasRequestLogId(); /** * optional string request_log_id = 2; * @return The requestLogId. */ java.lang.String getRequestLogId(); /** * optional string request_log_id = 2; * @return The bytes for requestLogId. */ com.google.protobuf.ByteString getRequestLogIdBytes(); /** * optional string engine_id = 3; * @return Whether the engineId field is set. */ boolean hasEngineId(); /** * optional string engine_id = 3; * @return The engineId. */ java.lang.String getEngineId(); /** * optional string engine_id = 3; * @return The bytes for engineId. */ com.google.protobuf.ByteString getEngineIdBytes(); /** * optional string engine_version_id = 4; * @return Whether the engineVersionId field is set. */ boolean hasEngineVersionId(); /** * optional string engine_version_id = 4; * @return The engineVersionId. */ java.lang.String getEngineVersionId(); /** * optional string engine_version_id = 4; * @return The bytes for engineVersionId. */ com.google.protobuf.ByteString getEngineVersionIdBytes(); } /** *
   * This message provides additional metadata for spans that represent Google App
   * Engine requests.
   * NEXT ID: 5
   * 
* * Protobuf type {@code cloud_trace.AppEngineAppDetails} */ public static final class AppEngineAppDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.AppEngineAppDetails) AppEngineAppDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use AppEngineAppDetails.newBuilder() to construct. private AppEngineAppDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AppEngineAppDetails() { versionId_ = ""; requestLogId_ = ""; engineId_ = ""; engineVersionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AppEngineAppDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineAppDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineAppDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.Builder.class); } private int bitField0_; public static final int VERSION_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object versionId_ = ""; /** * optional string version_id = 1; * @return Whether the versionId field is set. */ @java.lang.Override public boolean hasVersionId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string version_id = 1; * @return The versionId. */ @java.lang.Override public java.lang.String getVersionId() { java.lang.Object ref = versionId_; 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 (bs.isValidUtf8()) { versionId_ = s; } return s; } } /** * optional string version_id = 1; * @return The bytes for versionId. */ @java.lang.Override public com.google.protobuf.ByteString getVersionIdBytes() { java.lang.Object ref = versionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); versionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REQUEST_LOG_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object requestLogId_ = ""; /** * optional string request_log_id = 2; * @return Whether the requestLogId field is set. */ @java.lang.Override public boolean hasRequestLogId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string request_log_id = 2; * @return The requestLogId. */ @java.lang.Override public java.lang.String getRequestLogId() { java.lang.Object ref = requestLogId_; 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 (bs.isValidUtf8()) { requestLogId_ = s; } return s; } } /** * optional string request_log_id = 2; * @return The bytes for requestLogId. */ @java.lang.Override public com.google.protobuf.ByteString getRequestLogIdBytes() { java.lang.Object ref = requestLogId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); requestLogId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENGINE_ID_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object engineId_ = ""; /** * optional string engine_id = 3; * @return Whether the engineId field is set. */ @java.lang.Override public boolean hasEngineId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string engine_id = 3; * @return The engineId. */ @java.lang.Override public java.lang.String getEngineId() { java.lang.Object ref = engineId_; 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 (bs.isValidUtf8()) { engineId_ = s; } return s; } } /** * optional string engine_id = 3; * @return The bytes for engineId. */ @java.lang.Override public com.google.protobuf.ByteString getEngineIdBytes() { java.lang.Object ref = engineId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); engineId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENGINE_VERSION_ID_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object engineVersionId_ = ""; /** * optional string engine_version_id = 4; * @return Whether the engineVersionId field is set. */ @java.lang.Override public boolean hasEngineVersionId() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string engine_version_id = 4; * @return The engineVersionId. */ @java.lang.Override public java.lang.String getEngineVersionId() { java.lang.Object ref = engineVersionId_; 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 (bs.isValidUtf8()) { engineVersionId_ = s; } return s; } } /** * optional string engine_version_id = 4; * @return The bytes for engineVersionId. */ @java.lang.Override public com.google.protobuf.ByteString getEngineVersionIdBytes() { java.lang.Object ref = engineVersionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); engineVersionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionId_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestLogId_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, engineId_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, engineVersionId_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestLogId_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, engineId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, engineVersionId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails other = (com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails) obj; if (hasVersionId() != other.hasVersionId()) return false; if (hasVersionId()) { if (!getVersionId() .equals(other.getVersionId())) return false; } if (hasRequestLogId() != other.hasRequestLogId()) return false; if (hasRequestLogId()) { if (!getRequestLogId() .equals(other.getRequestLogId())) return false; } if (hasEngineId() != other.hasEngineId()) return false; if (hasEngineId()) { if (!getEngineId() .equals(other.getEngineId())) return false; } if (hasEngineVersionId() != other.hasEngineVersionId()) return false; if (hasEngineVersionId()) { if (!getEngineVersionId() .equals(other.getEngineVersionId())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasVersionId()) { hash = (37 * hash) + VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getVersionId().hashCode(); } if (hasRequestLogId()) { hash = (37 * hash) + REQUEST_LOG_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestLogId().hashCode(); } if (hasEngineId()) { hash = (37 * hash) + ENGINE_ID_FIELD_NUMBER; hash = (53 * hash) + getEngineId().hashCode(); } if (hasEngineVersionId()) { hash = (37 * hash) + ENGINE_VERSION_ID_FIELD_NUMBER; hash = (53 * hash) + getEngineVersionId().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails 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 message provides additional metadata for spans that represent Google App
     * Engine requests.
     * NEXT ID: 5
     * 
* * Protobuf type {@code cloud_trace.AppEngineAppDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.AppEngineAppDetails) com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineAppDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineAppDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; versionId_ = ""; requestLogId_ = ""; engineId_ = ""; engineVersionId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineAppDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails build() { com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails result = new com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.versionId_ = versionId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.requestLogId_ = requestLogId_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.engineId_ = engineId_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.engineVersionId_ = engineVersionId_; to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails.getDefaultInstance()) return this; if (other.hasVersionId()) { versionId_ = other.versionId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasRequestLogId()) { requestLogId_ = other.requestLogId_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasEngineId()) { engineId_ = other.engineId_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasEngineVersionId()) { engineVersionId_ = other.engineVersionId_; bitField0_ |= 0x00000008; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { versionId_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { requestLogId_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { engineId_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { engineVersionId_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object versionId_ = ""; /** * optional string version_id = 1; * @return Whether the versionId field is set. */ public boolean hasVersionId() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string version_id = 1; * @return The versionId. */ public java.lang.String getVersionId() { java.lang.Object ref = versionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { versionId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string version_id = 1; * @return The bytes for versionId. */ public com.google.protobuf.ByteString getVersionIdBytes() { java.lang.Object ref = versionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); versionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string version_id = 1; * @param value The versionId to set. * @return This builder for chaining. */ public Builder setVersionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } versionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional string version_id = 1; * @return This builder for chaining. */ public Builder clearVersionId() { versionId_ = getDefaultInstance().getVersionId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * optional string version_id = 1; * @param value The bytes for versionId to set. * @return This builder for chaining. */ public Builder setVersionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } versionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object requestLogId_ = ""; /** * optional string request_log_id = 2; * @return Whether the requestLogId field is set. */ public boolean hasRequestLogId() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string request_log_id = 2; * @return The requestLogId. */ public java.lang.String getRequestLogId() { java.lang.Object ref = requestLogId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { requestLogId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string request_log_id = 2; * @return The bytes for requestLogId. */ public com.google.protobuf.ByteString getRequestLogIdBytes() { java.lang.Object ref = requestLogId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); requestLogId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string request_log_id = 2; * @param value The requestLogId to set. * @return This builder for chaining. */ public Builder setRequestLogId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } requestLogId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional string request_log_id = 2; * @return This builder for chaining. */ public Builder clearRequestLogId() { requestLogId_ = getDefaultInstance().getRequestLogId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * optional string request_log_id = 2; * @param value The bytes for requestLogId to set. * @return This builder for chaining. */ public Builder setRequestLogIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } requestLogId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object engineId_ = ""; /** * optional string engine_id = 3; * @return Whether the engineId field is set. */ public boolean hasEngineId() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string engine_id = 3; * @return The engineId. */ public java.lang.String getEngineId() { java.lang.Object ref = engineId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { engineId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string engine_id = 3; * @return The bytes for engineId. */ public com.google.protobuf.ByteString getEngineIdBytes() { java.lang.Object ref = engineId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); engineId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string engine_id = 3; * @param value The engineId to set. * @return This builder for chaining. */ public Builder setEngineId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } engineId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional string engine_id = 3; * @return This builder for chaining. */ public Builder clearEngineId() { engineId_ = getDefaultInstance().getEngineId(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * optional string engine_id = 3; * @param value The bytes for engineId to set. * @return This builder for chaining. */ public Builder setEngineIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } engineId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object engineVersionId_ = ""; /** * optional string engine_version_id = 4; * @return Whether the engineVersionId field is set. */ public boolean hasEngineVersionId() { return ((bitField0_ & 0x00000008) != 0); } /** * optional string engine_version_id = 4; * @return The engineVersionId. */ public java.lang.String getEngineVersionId() { java.lang.Object ref = engineVersionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { engineVersionId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string engine_version_id = 4; * @return The bytes for engineVersionId. */ public com.google.protobuf.ByteString getEngineVersionIdBytes() { java.lang.Object ref = engineVersionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); engineVersionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string engine_version_id = 4; * @param value The engineVersionId to set. * @return This builder for chaining. */ public Builder setEngineVersionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } engineVersionId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * optional string engine_version_id = 4; * @return This builder for chaining. */ public Builder clearEngineVersionId() { engineVersionId_ = getDefaultInstance().getEngineVersionId(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * optional string engine_version_id = 4; * @param value The bytes for engineVersionId to set. * @return This builder for chaining. */ public Builder setEngineVersionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } engineVersionId_ = value; bitField0_ |= 0x00000008; 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:cloud_trace.AppEngineAppDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.AppEngineAppDetails) private static final com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails(); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AppEngineAppDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineAppDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AppEngineServiceRpcDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.AppEngineServiceRpcDetails) com.google.protobuf.MessageOrBuilder { /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; * @return Whether the datastoreDetails field is set. */ boolean hasDatastoreDetails(); /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; * @return The datastoreDetails. */ com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails getDatastoreDetails(); /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetailsOrBuilder getDatastoreDetailsOrBuilder(); /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; * @return Whether the stubbyDetails field is set. */ boolean hasStubbyDetails(); /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; * @return The stubbyDetails. */ com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails getStubbyDetails(); /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetailsOrBuilder getStubbyDetailsOrBuilder(); /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; * @return Whether the memcacheDetails field is set. */ boolean hasMemcacheDetails(); /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; * @return The memcacheDetails. */ com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails getMemcacheDetails(); /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetailsOrBuilder getMemcacheDetailsOrBuilder(); /** *
     * These error fields are based on the scheme and values documented in
     * google3/apphosting/base/runtime.proto.
     * 
* * optional string error_message = 4; * @return Whether the errorMessage field is set. */ boolean hasErrorMessage(); /** *
     * These error fields are based on the scheme and values documented in
     * google3/apphosting/base/runtime.proto.
     * 
* * optional string error_message = 4; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** *
     * These error fields are based on the scheme and values documented in
     * google3/apphosting/base/runtime.proto.
     * 
* * optional string error_message = 4; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); /** *
     * This field is set when there is an RPC application error.
     * 
* * optional int32 application_error = 5; * @return Whether the applicationError field is set. */ boolean hasApplicationError(); /** *
     * This field is set when there is an RPC application error.
     * 
* * optional int32 application_error = 5; * @return The applicationError. */ int getApplicationError(); } /** *
   * This message provides additional metadata for spans that represent Google App
   * Engine Service API calls.
   * NEXT ID: 6
   * 
* * Protobuf type {@code cloud_trace.AppEngineServiceRpcDetails} */ public static final class AppEngineServiceRpcDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.AppEngineServiceRpcDetails) AppEngineServiceRpcDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use AppEngineServiceRpcDetails.newBuilder() to construct. private AppEngineServiceRpcDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AppEngineServiceRpcDetails() { errorMessage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AppEngineServiceRpcDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.Builder.class); } public interface DatastoreDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails) com.google.protobuf.MessageOrBuilder { /** * optional int32 offset = 1; * @return Whether the offset field is set. */ boolean hasOffset(); /** * optional int32 offset = 1; * @return The offset. */ int getOffset(); /** * optional bool has_cursor = 2; * @return Whether the hasCursor field is set. */ boolean hasHasCursor(); /** * optional bool has_cursor = 2; * @return The hasCursor. */ boolean getHasCursor(); /** * optional bool has_ancestor = 3; * @return Whether the hasAncestor field is set. */ boolean hasHasAncestor(); /** * optional bool has_ancestor = 3; * @return The hasAncestor. */ boolean getHasAncestor(); /** *
       * This field is deprecated and will be removed when it's no longer used.
       * 
* * optional bool has_transaction = 4; * @return Whether the hasTransaction field is set. */ boolean hasHasTransaction(); /** *
       * This field is deprecated and will be removed when it's no longer used.
       * 
* * optional bool has_transaction = 4; * @return The hasTransaction. */ boolean getHasTransaction(); /** * optional string kind = 5; * @return Whether the kind field is set. */ boolean hasKind(); /** * optional string kind = 5; * @return The kind. */ java.lang.String getKind(); /** * optional string kind = 5; * @return The bytes for kind. */ com.google.protobuf.ByteString getKindBytes(); /** * optional int32 count = 6; * @return Whether the count field is set. */ boolean hasCount(); /** * optional int32 count = 6; * @return The count. */ int getCount(); /** * optional int32 limit = 7; * @return Whether the limit field is set. */ boolean hasLimit(); /** * optional int32 limit = 7; * @return The limit. */ int getLimit(); /** * optional int32 size = 8; * @return Whether the size field is set. */ boolean hasSize(); /** * optional int32 size = 8; * @return The size. */ int getSize(); /** * optional int32 skipped = 9; * @return Whether the skipped field is set. */ boolean hasSkipped(); /** * optional int32 skipped = 9; * @return The skipped. */ int getSkipped(); /** * optional bool more_results = 10; * @return Whether the moreResults field is set. */ boolean hasMoreResults(); /** * optional bool more_results = 10; * @return The moreResults. */ boolean getMoreResults(); /** * optional int32 index_writes = 11; * @return Whether the indexWrites field is set. */ boolean hasIndexWrites(); /** * optional int32 index_writes = 11; * @return The indexWrites. */ int getIndexWrites(); /** * optional int32 entity_writes = 12; * @return Whether the entityWrites field is set. */ boolean hasEntityWrites(); /** * optional int32 entity_writes = 12; * @return The entityWrites. */ int getEntityWrites(); /** * optional int32 requested_entity_puts = 13; * @return Whether the requestedEntityPuts field is set. */ boolean hasRequestedEntityPuts(); /** * optional int32 requested_entity_puts = 13; * @return The requestedEntityPuts. */ int getRequestedEntityPuts(); /** * optional int32 requested_entity_deletes = 14; * @return Whether the requestedEntityDeletes field is set. */ boolean hasRequestedEntityDeletes(); /** * optional int32 requested_entity_deletes = 14; * @return The requestedEntityDeletes. */ int getRequestedEntityDeletes(); /** * optional uint64 query_cursor = 15; * @return Whether the queryCursor field is set. */ boolean hasQueryCursor(); /** * optional uint64 query_cursor = 15; * @return The queryCursor. */ long getQueryCursor(); /** * optional int64 transaction_handle = 16; * @return Whether the transactionHandle field is set. */ boolean hasTransactionHandle(); /** * optional int64 transaction_handle = 16; * @return The transactionHandle. */ long getTransactionHandle(); /** * optional int32 composite_index_count = 17; * @return Whether the compositeIndexCount field is set. */ boolean hasCompositeIndexCount(); /** * optional int32 composite_index_count = 17; * @return The compositeIndexCount. */ int getCompositeIndexCount(); } /** *
     * This message provides additional metadata for spans that represent Google
     * App Engine Datastore API calls.
     * NEXT ID: 18
     * 
* * Protobuf type {@code cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails} */ public static final class DatastoreDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails) DatastoreDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use DatastoreDetails.newBuilder() to construct. private DatastoreDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DatastoreDetails() { kind_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DatastoreDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.Builder.class); } private int bitField0_; public static final int OFFSET_FIELD_NUMBER = 1; private int offset_ = 0; /** * optional int32 offset = 1; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 offset = 1; * @return The offset. */ @java.lang.Override public int getOffset() { return offset_; } public static final int HAS_CURSOR_FIELD_NUMBER = 2; private boolean hasCursor_ = false; /** * optional bool has_cursor = 2; * @return Whether the hasCursor field is set. */ @java.lang.Override public boolean hasHasCursor() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool has_cursor = 2; * @return The hasCursor. */ @java.lang.Override public boolean getHasCursor() { return hasCursor_; } public static final int HAS_ANCESTOR_FIELD_NUMBER = 3; private boolean hasAncestor_ = false; /** * optional bool has_ancestor = 3; * @return Whether the hasAncestor field is set. */ @java.lang.Override public boolean hasHasAncestor() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bool has_ancestor = 3; * @return The hasAncestor. */ @java.lang.Override public boolean getHasAncestor() { return hasAncestor_; } public static final int HAS_TRANSACTION_FIELD_NUMBER = 4; private boolean hasTransaction_ = false; /** *
       * This field is deprecated and will be removed when it's no longer used.
       * 
* * optional bool has_transaction = 4; * @return Whether the hasTransaction field is set. */ @java.lang.Override public boolean hasHasTransaction() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * This field is deprecated and will be removed when it's no longer used.
       * 
* * optional bool has_transaction = 4; * @return The hasTransaction. */ @java.lang.Override public boolean getHasTransaction() { return hasTransaction_; } public static final int KIND_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object kind_ = ""; /** * optional string kind = 5; * @return Whether the kind field is set. */ @java.lang.Override public boolean hasKind() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string kind = 5; * @return The kind. */ @java.lang.Override public java.lang.String getKind() { java.lang.Object ref = kind_; 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 (bs.isValidUtf8()) { kind_ = s; } return s; } } /** * optional string kind = 5; * @return The bytes for kind. */ @java.lang.Override public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COUNT_FIELD_NUMBER = 6; private int count_ = 0; /** * optional int32 count = 6; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 count = 6; * @return The count. */ @java.lang.Override public int getCount() { return count_; } public static final int LIMIT_FIELD_NUMBER = 7; private int limit_ = 0; /** * optional int32 limit = 7; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 limit = 7; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } public static final int SIZE_FIELD_NUMBER = 8; private int size_ = 0; /** * optional int32 size = 8; * @return Whether the size field is set. */ @java.lang.Override public boolean hasSize() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 size = 8; * @return The size. */ @java.lang.Override public int getSize() { return size_; } public static final int SKIPPED_FIELD_NUMBER = 9; private int skipped_ = 0; /** * optional int32 skipped = 9; * @return Whether the skipped field is set. */ @java.lang.Override public boolean hasSkipped() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int32 skipped = 9; * @return The skipped. */ @java.lang.Override public int getSkipped() { return skipped_; } public static final int MORE_RESULTS_FIELD_NUMBER = 10; private boolean moreResults_ = false; /** * optional bool more_results = 10; * @return Whether the moreResults field is set. */ @java.lang.Override public boolean hasMoreResults() { return ((bitField0_ & 0x00000200) != 0); } /** * optional bool more_results = 10; * @return The moreResults. */ @java.lang.Override public boolean getMoreResults() { return moreResults_; } public static final int INDEX_WRITES_FIELD_NUMBER = 11; private int indexWrites_ = 0; /** * optional int32 index_writes = 11; * @return Whether the indexWrites field is set. */ @java.lang.Override public boolean hasIndexWrites() { return ((bitField0_ & 0x00000400) != 0); } /** * optional int32 index_writes = 11; * @return The indexWrites. */ @java.lang.Override public int getIndexWrites() { return indexWrites_; } public static final int ENTITY_WRITES_FIELD_NUMBER = 12; private int entityWrites_ = 0; /** * optional int32 entity_writes = 12; * @return Whether the entityWrites field is set. */ @java.lang.Override public boolean hasEntityWrites() { return ((bitField0_ & 0x00000800) != 0); } /** * optional int32 entity_writes = 12; * @return The entityWrites. */ @java.lang.Override public int getEntityWrites() { return entityWrites_; } public static final int REQUESTED_ENTITY_PUTS_FIELD_NUMBER = 13; private int requestedEntityPuts_ = 0; /** * optional int32 requested_entity_puts = 13; * @return Whether the requestedEntityPuts field is set. */ @java.lang.Override public boolean hasRequestedEntityPuts() { return ((bitField0_ & 0x00001000) != 0); } /** * optional int32 requested_entity_puts = 13; * @return The requestedEntityPuts. */ @java.lang.Override public int getRequestedEntityPuts() { return requestedEntityPuts_; } public static final int REQUESTED_ENTITY_DELETES_FIELD_NUMBER = 14; private int requestedEntityDeletes_ = 0; /** * optional int32 requested_entity_deletes = 14; * @return Whether the requestedEntityDeletes field is set. */ @java.lang.Override public boolean hasRequestedEntityDeletes() { return ((bitField0_ & 0x00002000) != 0); } /** * optional int32 requested_entity_deletes = 14; * @return The requestedEntityDeletes. */ @java.lang.Override public int getRequestedEntityDeletes() { return requestedEntityDeletes_; } public static final int QUERY_CURSOR_FIELD_NUMBER = 15; private long queryCursor_ = 0L; /** * optional uint64 query_cursor = 15; * @return Whether the queryCursor field is set. */ @java.lang.Override public boolean hasQueryCursor() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint64 query_cursor = 15; * @return The queryCursor. */ @java.lang.Override public long getQueryCursor() { return queryCursor_; } public static final int TRANSACTION_HANDLE_FIELD_NUMBER = 16; private long transactionHandle_ = 0L; /** * optional int64 transaction_handle = 16; * @return Whether the transactionHandle field is set. */ @java.lang.Override public boolean hasTransactionHandle() { return ((bitField0_ & 0x00008000) != 0); } /** * optional int64 transaction_handle = 16; * @return The transactionHandle. */ @java.lang.Override public long getTransactionHandle() { return transactionHandle_; } public static final int COMPOSITE_INDEX_COUNT_FIELD_NUMBER = 17; private int compositeIndexCount_ = 0; /** * optional int32 composite_index_count = 17; * @return Whether the compositeIndexCount field is set. */ @java.lang.Override public boolean hasCompositeIndexCount() { return ((bitField0_ & 0x00010000) != 0); } /** * optional int32 composite_index_count = 17; * @return The compositeIndexCount. */ @java.lang.Override public int getCompositeIndexCount() { return compositeIndexCount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, offset_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, hasCursor_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, hasAncestor_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, hasTransaction_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, kind_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt32(6, count_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeInt32(7, limit_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt32(8, size_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeInt32(9, skipped_); } if (((bitField0_ & 0x00000200) != 0)) { output.writeBool(10, moreResults_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeInt32(11, indexWrites_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeInt32(12, entityWrites_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeInt32(13, requestedEntityPuts_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeInt32(14, requestedEntityDeletes_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt64(15, queryCursor_); } if (((bitField0_ & 0x00008000) != 0)) { output.writeInt64(16, transactionHandle_); } if (((bitField0_ & 0x00010000) != 0)) { output.writeInt32(17, compositeIndexCount_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, offset_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, hasCursor_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, hasAncestor_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, hasTransaction_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, kind_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, count_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, limit_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, size_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, skipped_); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, moreResults_); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, indexWrites_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, entityWrites_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(13, requestedEntityPuts_); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(14, requestedEntityDeletes_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(15, queryCursor_); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(16, transactionHandle_); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(17, compositeIndexCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails other = (com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails) obj; if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { if (getOffset() != other.getOffset()) return false; } if (hasHasCursor() != other.hasHasCursor()) return false; if (hasHasCursor()) { if (getHasCursor() != other.getHasCursor()) return false; } if (hasHasAncestor() != other.hasHasAncestor()) return false; if (hasHasAncestor()) { if (getHasAncestor() != other.getHasAncestor()) return false; } if (hasHasTransaction() != other.hasHasTransaction()) return false; if (hasHasTransaction()) { if (getHasTransaction() != other.getHasTransaction()) return false; } if (hasKind() != other.hasKind()) return false; if (hasKind()) { if (!getKind() .equals(other.getKind())) return false; } if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (hasSize() != other.hasSize()) return false; if (hasSize()) { if (getSize() != other.getSize()) return false; } if (hasSkipped() != other.hasSkipped()) return false; if (hasSkipped()) { if (getSkipped() != other.getSkipped()) return false; } if (hasMoreResults() != other.hasMoreResults()) return false; if (hasMoreResults()) { if (getMoreResults() != other.getMoreResults()) return false; } if (hasIndexWrites() != other.hasIndexWrites()) return false; if (hasIndexWrites()) { if (getIndexWrites() != other.getIndexWrites()) return false; } if (hasEntityWrites() != other.hasEntityWrites()) return false; if (hasEntityWrites()) { if (getEntityWrites() != other.getEntityWrites()) return false; } if (hasRequestedEntityPuts() != other.hasRequestedEntityPuts()) return false; if (hasRequestedEntityPuts()) { if (getRequestedEntityPuts() != other.getRequestedEntityPuts()) return false; } if (hasRequestedEntityDeletes() != other.hasRequestedEntityDeletes()) return false; if (hasRequestedEntityDeletes()) { if (getRequestedEntityDeletes() != other.getRequestedEntityDeletes()) return false; } if (hasQueryCursor() != other.hasQueryCursor()) return false; if (hasQueryCursor()) { if (getQueryCursor() != other.getQueryCursor()) return false; } if (hasTransactionHandle() != other.hasTransactionHandle()) return false; if (hasTransactionHandle()) { if (getTransactionHandle() != other.getTransactionHandle()) return false; } if (hasCompositeIndexCount() != other.hasCompositeIndexCount()) return false; if (hasCompositeIndexCount()) { if (getCompositeIndexCount() != other.getCompositeIndexCount()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOffset()) { hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + getOffset(); } if (hasHasCursor()) { hash = (37 * hash) + HAS_CURSOR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasCursor()); } if (hasHasAncestor()) { hash = (37 * hash) + HAS_ANCESTOR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasAncestor()); } if (hasHasTransaction()) { hash = (37 * hash) + HAS_TRANSACTION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHasTransaction()); } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } if (hasSize()) { hash = (37 * hash) + SIZE_FIELD_NUMBER; hash = (53 * hash) + getSize(); } if (hasSkipped()) { hash = (37 * hash) + SKIPPED_FIELD_NUMBER; hash = (53 * hash) + getSkipped(); } if (hasMoreResults()) { hash = (37 * hash) + MORE_RESULTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMoreResults()); } if (hasIndexWrites()) { hash = (37 * hash) + INDEX_WRITES_FIELD_NUMBER; hash = (53 * hash) + getIndexWrites(); } if (hasEntityWrites()) { hash = (37 * hash) + ENTITY_WRITES_FIELD_NUMBER; hash = (53 * hash) + getEntityWrites(); } if (hasRequestedEntityPuts()) { hash = (37 * hash) + REQUESTED_ENTITY_PUTS_FIELD_NUMBER; hash = (53 * hash) + getRequestedEntityPuts(); } if (hasRequestedEntityDeletes()) { hash = (37 * hash) + REQUESTED_ENTITY_DELETES_FIELD_NUMBER; hash = (53 * hash) + getRequestedEntityDeletes(); } if (hasQueryCursor()) { hash = (37 * hash) + QUERY_CURSOR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getQueryCursor()); } if (hasTransactionHandle()) { hash = (37 * hash) + TRANSACTION_HANDLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTransactionHandle()); } if (hasCompositeIndexCount()) { hash = (37 * hash) + COMPOSITE_INDEX_COUNT_FIELD_NUMBER; hash = (53 * hash) + getCompositeIndexCount(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails 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 message provides additional metadata for spans that represent Google
       * App Engine Datastore API calls.
       * NEXT ID: 18
       * 
* * Protobuf type {@code cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails) com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; offset_ = 0; hasCursor_ = false; hasAncestor_ = false; hasTransaction_ = false; kind_ = ""; count_ = 0; limit_ = 0; size_ = 0; skipped_ = 0; moreResults_ = false; indexWrites_ = 0; entityWrites_ = 0; requestedEntityPuts_ = 0; requestedEntityDeletes_ = 0; queryCursor_ = 0L; transactionHandle_ = 0L; compositeIndexCount_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails build() { com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails result = new com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.offset_ = offset_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.hasCursor_ = hasCursor_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.hasAncestor_ = hasAncestor_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.hasTransaction_ = hasTransaction_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.kind_ = kind_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.size_ = size_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { result.skipped_ = skipped_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { result.moreResults_ = moreResults_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.indexWrites_ = indexWrites_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { result.entityWrites_ = entityWrites_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { result.requestedEntityPuts_ = requestedEntityPuts_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { result.requestedEntityDeletes_ = requestedEntityDeletes_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { result.queryCursor_ = queryCursor_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.transactionHandle_ = transactionHandle_; to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00010000) != 0)) { result.compositeIndexCount_ = compositeIndexCount_; to_bitField0_ |= 0x00010000; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.getDefaultInstance()) return this; if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasHasCursor()) { setHasCursor(other.getHasCursor()); } if (other.hasHasAncestor()) { setHasAncestor(other.getHasAncestor()); } if (other.hasHasTransaction()) { setHasTransaction(other.getHasTransaction()); } if (other.hasKind()) { kind_ = other.kind_; bitField0_ |= 0x00000010; onChanged(); } if (other.hasCount()) { setCount(other.getCount()); } if (other.hasLimit()) { setLimit(other.getLimit()); } if (other.hasSize()) { setSize(other.getSize()); } if (other.hasSkipped()) { setSkipped(other.getSkipped()); } if (other.hasMoreResults()) { setMoreResults(other.getMoreResults()); } if (other.hasIndexWrites()) { setIndexWrites(other.getIndexWrites()); } if (other.hasEntityWrites()) { setEntityWrites(other.getEntityWrites()); } if (other.hasRequestedEntityPuts()) { setRequestedEntityPuts(other.getRequestedEntityPuts()); } if (other.hasRequestedEntityDeletes()) { setRequestedEntityDeletes(other.getRequestedEntityDeletes()); } if (other.hasQueryCursor()) { setQueryCursor(other.getQueryCursor()); } if (other.hasTransactionHandle()) { setTransactionHandle(other.getTransactionHandle()); } if (other.hasCompositeIndexCount()) { setCompositeIndexCount(other.getCompositeIndexCount()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { offset_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { hasCursor_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { hasAncestor_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { hasTransaction_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { kind_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 42 case 48: { count_ = input.readInt32(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { limit_ = input.readInt32(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { size_ = input.readInt32(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { skipped_ = input.readInt32(); bitField0_ |= 0x00000100; break; } // case 72 case 80: { moreResults_ = input.readBool(); bitField0_ |= 0x00000200; break; } // case 80 case 88: { indexWrites_ = input.readInt32(); bitField0_ |= 0x00000400; break; } // case 88 case 96: { entityWrites_ = input.readInt32(); bitField0_ |= 0x00000800; break; } // case 96 case 104: { requestedEntityPuts_ = input.readInt32(); bitField0_ |= 0x00001000; break; } // case 104 case 112: { requestedEntityDeletes_ = input.readInt32(); bitField0_ |= 0x00002000; break; } // case 112 case 120: { queryCursor_ = input.readUInt64(); bitField0_ |= 0x00004000; break; } // case 120 case 128: { transactionHandle_ = input.readInt64(); bitField0_ |= 0x00008000; break; } // case 128 case 136: { compositeIndexCount_ = input.readInt32(); bitField0_ |= 0x00010000; break; } // case 136 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int offset_ ; /** * optional int32 offset = 1; * @return Whether the offset field is set. */ @java.lang.Override public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 offset = 1; * @return The offset. */ @java.lang.Override public int getOffset() { return offset_; } /** * optional int32 offset = 1; * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { offset_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional int32 offset = 1; * @return This builder for chaining. */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000001); offset_ = 0; onChanged(); return this; } private boolean hasCursor_ ; /** * optional bool has_cursor = 2; * @return Whether the hasCursor field is set. */ @java.lang.Override public boolean hasHasCursor() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool has_cursor = 2; * @return The hasCursor. */ @java.lang.Override public boolean getHasCursor() { return hasCursor_; } /** * optional bool has_cursor = 2; * @param value The hasCursor to set. * @return This builder for chaining. */ public Builder setHasCursor(boolean value) { hasCursor_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional bool has_cursor = 2; * @return This builder for chaining. */ public Builder clearHasCursor() { bitField0_ = (bitField0_ & ~0x00000002); hasCursor_ = false; onChanged(); return this; } private boolean hasAncestor_ ; /** * optional bool has_ancestor = 3; * @return Whether the hasAncestor field is set. */ @java.lang.Override public boolean hasHasAncestor() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bool has_ancestor = 3; * @return The hasAncestor. */ @java.lang.Override public boolean getHasAncestor() { return hasAncestor_; } /** * optional bool has_ancestor = 3; * @param value The hasAncestor to set. * @return This builder for chaining. */ public Builder setHasAncestor(boolean value) { hasAncestor_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional bool has_ancestor = 3; * @return This builder for chaining. */ public Builder clearHasAncestor() { bitField0_ = (bitField0_ & ~0x00000004); hasAncestor_ = false; onChanged(); return this; } private boolean hasTransaction_ ; /** *
         * This field is deprecated and will be removed when it's no longer used.
         * 
* * optional bool has_transaction = 4; * @return Whether the hasTransaction field is set. */ @java.lang.Override public boolean hasHasTransaction() { return ((bitField0_ & 0x00000008) != 0); } /** *
         * This field is deprecated and will be removed when it's no longer used.
         * 
* * optional bool has_transaction = 4; * @return The hasTransaction. */ @java.lang.Override public boolean getHasTransaction() { return hasTransaction_; } /** *
         * This field is deprecated and will be removed when it's no longer used.
         * 
* * optional bool has_transaction = 4; * @param value The hasTransaction to set. * @return This builder for chaining. */ public Builder setHasTransaction(boolean value) { hasTransaction_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
         * This field is deprecated and will be removed when it's no longer used.
         * 
* * optional bool has_transaction = 4; * @return This builder for chaining. */ public Builder clearHasTransaction() { bitField0_ = (bitField0_ & ~0x00000008); hasTransaction_ = false; onChanged(); return this; } private java.lang.Object kind_ = ""; /** * optional string kind = 5; * @return Whether the kind field is set. */ public boolean hasKind() { return ((bitField0_ & 0x00000010) != 0); } /** * optional string kind = 5; * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { kind_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string kind = 5; * @return The bytes for kind. */ public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); kind_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string kind = 5; * @param value The kind to set. * @return This builder for chaining. */ public Builder setKind( java.lang.String value) { if (value == null) { throw new NullPointerException(); } kind_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * optional string kind = 5; * @return This builder for chaining. */ public Builder clearKind() { kind_ = getDefaultInstance().getKind(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * optional string kind = 5; * @param value The bytes for kind to set. * @return This builder for chaining. */ public Builder setKindBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } kind_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private int count_ ; /** * optional int32 count = 6; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000020) != 0); } /** * optional int32 count = 6; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** * optional int32 count = 6; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { count_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * optional int32 count = 6; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000020); count_ = 0; onChanged(); return this; } private int limit_ ; /** * optional int32 limit = 7; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000040) != 0); } /** * optional int32 limit = 7; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** * optional int32 limit = 7; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { limit_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * optional int32 limit = 7; * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000040); limit_ = 0; onChanged(); return this; } private int size_ ; /** * optional int32 size = 8; * @return Whether the size field is set. */ @java.lang.Override public boolean hasSize() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 size = 8; * @return The size. */ @java.lang.Override public int getSize() { return size_; } /** * optional int32 size = 8; * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(int value) { size_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** * optional int32 size = 8; * @return This builder for chaining. */ public Builder clearSize() { bitField0_ = (bitField0_ & ~0x00000080); size_ = 0; onChanged(); return this; } private int skipped_ ; /** * optional int32 skipped = 9; * @return Whether the skipped field is set. */ @java.lang.Override public boolean hasSkipped() { return ((bitField0_ & 0x00000100) != 0); } /** * optional int32 skipped = 9; * @return The skipped. */ @java.lang.Override public int getSkipped() { return skipped_; } /** * optional int32 skipped = 9; * @param value The skipped to set. * @return This builder for chaining. */ public Builder setSkipped(int value) { skipped_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * optional int32 skipped = 9; * @return This builder for chaining. */ public Builder clearSkipped() { bitField0_ = (bitField0_ & ~0x00000100); skipped_ = 0; onChanged(); return this; } private boolean moreResults_ ; /** * optional bool more_results = 10; * @return Whether the moreResults field is set. */ @java.lang.Override public boolean hasMoreResults() { return ((bitField0_ & 0x00000200) != 0); } /** * optional bool more_results = 10; * @return The moreResults. */ @java.lang.Override public boolean getMoreResults() { return moreResults_; } /** * optional bool more_results = 10; * @param value The moreResults to set. * @return This builder for chaining. */ public Builder setMoreResults(boolean value) { moreResults_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** * optional bool more_results = 10; * @return This builder for chaining. */ public Builder clearMoreResults() { bitField0_ = (bitField0_ & ~0x00000200); moreResults_ = false; onChanged(); return this; } private int indexWrites_ ; /** * optional int32 index_writes = 11; * @return Whether the indexWrites field is set. */ @java.lang.Override public boolean hasIndexWrites() { return ((bitField0_ & 0x00000400) != 0); } /** * optional int32 index_writes = 11; * @return The indexWrites. */ @java.lang.Override public int getIndexWrites() { return indexWrites_; } /** * optional int32 index_writes = 11; * @param value The indexWrites to set. * @return This builder for chaining. */ public Builder setIndexWrites(int value) { indexWrites_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** * optional int32 index_writes = 11; * @return This builder for chaining. */ public Builder clearIndexWrites() { bitField0_ = (bitField0_ & ~0x00000400); indexWrites_ = 0; onChanged(); return this; } private int entityWrites_ ; /** * optional int32 entity_writes = 12; * @return Whether the entityWrites field is set. */ @java.lang.Override public boolean hasEntityWrites() { return ((bitField0_ & 0x00000800) != 0); } /** * optional int32 entity_writes = 12; * @return The entityWrites. */ @java.lang.Override public int getEntityWrites() { return entityWrites_; } /** * optional int32 entity_writes = 12; * @param value The entityWrites to set. * @return This builder for chaining. */ public Builder setEntityWrites(int value) { entityWrites_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** * optional int32 entity_writes = 12; * @return This builder for chaining. */ public Builder clearEntityWrites() { bitField0_ = (bitField0_ & ~0x00000800); entityWrites_ = 0; onChanged(); return this; } private int requestedEntityPuts_ ; /** * optional int32 requested_entity_puts = 13; * @return Whether the requestedEntityPuts field is set. */ @java.lang.Override public boolean hasRequestedEntityPuts() { return ((bitField0_ & 0x00001000) != 0); } /** * optional int32 requested_entity_puts = 13; * @return The requestedEntityPuts. */ @java.lang.Override public int getRequestedEntityPuts() { return requestedEntityPuts_; } /** * optional int32 requested_entity_puts = 13; * @param value The requestedEntityPuts to set. * @return This builder for chaining. */ public Builder setRequestedEntityPuts(int value) { requestedEntityPuts_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** * optional int32 requested_entity_puts = 13; * @return This builder for chaining. */ public Builder clearRequestedEntityPuts() { bitField0_ = (bitField0_ & ~0x00001000); requestedEntityPuts_ = 0; onChanged(); return this; } private int requestedEntityDeletes_ ; /** * optional int32 requested_entity_deletes = 14; * @return Whether the requestedEntityDeletes field is set. */ @java.lang.Override public boolean hasRequestedEntityDeletes() { return ((bitField0_ & 0x00002000) != 0); } /** * optional int32 requested_entity_deletes = 14; * @return The requestedEntityDeletes. */ @java.lang.Override public int getRequestedEntityDeletes() { return requestedEntityDeletes_; } /** * optional int32 requested_entity_deletes = 14; * @param value The requestedEntityDeletes to set. * @return This builder for chaining. */ public Builder setRequestedEntityDeletes(int value) { requestedEntityDeletes_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** * optional int32 requested_entity_deletes = 14; * @return This builder for chaining. */ public Builder clearRequestedEntityDeletes() { bitField0_ = (bitField0_ & ~0x00002000); requestedEntityDeletes_ = 0; onChanged(); return this; } private long queryCursor_ ; /** * optional uint64 query_cursor = 15; * @return Whether the queryCursor field is set. */ @java.lang.Override public boolean hasQueryCursor() { return ((bitField0_ & 0x00004000) != 0); } /** * optional uint64 query_cursor = 15; * @return The queryCursor. */ @java.lang.Override public long getQueryCursor() { return queryCursor_; } /** * optional uint64 query_cursor = 15; * @param value The queryCursor to set. * @return This builder for chaining. */ public Builder setQueryCursor(long value) { queryCursor_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** * optional uint64 query_cursor = 15; * @return This builder for chaining. */ public Builder clearQueryCursor() { bitField0_ = (bitField0_ & ~0x00004000); queryCursor_ = 0L; onChanged(); return this; } private long transactionHandle_ ; /** * optional int64 transaction_handle = 16; * @return Whether the transactionHandle field is set. */ @java.lang.Override public boolean hasTransactionHandle() { return ((bitField0_ & 0x00008000) != 0); } /** * optional int64 transaction_handle = 16; * @return The transactionHandle. */ @java.lang.Override public long getTransactionHandle() { return transactionHandle_; } /** * optional int64 transaction_handle = 16; * @param value The transactionHandle to set. * @return This builder for chaining. */ public Builder setTransactionHandle(long value) { transactionHandle_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** * optional int64 transaction_handle = 16; * @return This builder for chaining. */ public Builder clearTransactionHandle() { bitField0_ = (bitField0_ & ~0x00008000); transactionHandle_ = 0L; onChanged(); return this; } private int compositeIndexCount_ ; /** * optional int32 composite_index_count = 17; * @return Whether the compositeIndexCount field is set. */ @java.lang.Override public boolean hasCompositeIndexCount() { return ((bitField0_ & 0x00010000) != 0); } /** * optional int32 composite_index_count = 17; * @return The compositeIndexCount. */ @java.lang.Override public int getCompositeIndexCount() { return compositeIndexCount_; } /** * optional int32 composite_index_count = 17; * @param value The compositeIndexCount to set. * @return This builder for chaining. */ public Builder setCompositeIndexCount(int value) { compositeIndexCount_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** * optional int32 composite_index_count = 17; * @return This builder for chaining. */ public Builder clearCompositeIndexCount() { bitField0_ = (bitField0_ & ~0x00010000); compositeIndexCount_ = 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:cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails) private static final com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails(); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DatastoreDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StubbyDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.AppEngineServiceRpcDetails.StubbyDetails) com.google.protobuf.MessageOrBuilder { /** * optional string method = 1; * @return Whether the method field is set. */ boolean hasMethod(); /** * optional string method = 1; * @return The method. */ java.lang.String getMethod(); /** * optional string method = 1; * @return The bytes for method. */ com.google.protobuf.ByteString getMethodBytes(); } /** *
     * This message provides additional metadata for spans that represent Google
     * App Engine Stubby API calls.
     * NEXT ID: 2
     * 
* * Protobuf type {@code cloud_trace.AppEngineServiceRpcDetails.StubbyDetails} */ public static final class StubbyDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.AppEngineServiceRpcDetails.StubbyDetails) StubbyDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use StubbyDetails.newBuilder() to construct. private StubbyDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StubbyDetails() { method_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StubbyDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.Builder.class); } private int bitField0_; public static final int METHOD_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object method_ = ""; /** * optional string method = 1; * @return Whether the method field is set. */ @java.lang.Override public boolean hasMethod() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string method = 1; * @return The method. */ @java.lang.Override public java.lang.String getMethod() { java.lang.Object ref = method_; 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 (bs.isValidUtf8()) { method_ = s; } return s; } } /** * optional string method = 1; * @return The bytes for method. */ @java.lang.Override public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, method_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, method_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails other = (com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails) obj; if (hasMethod() != other.hasMethod()) return false; if (hasMethod()) { if (!getMethod() .equals(other.getMethod())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMethod()) { hash = (37 * hash) + METHOD_FIELD_NUMBER; hash = (53 * hash) + getMethod().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails 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 message provides additional metadata for spans that represent Google
       * App Engine Stubby API calls.
       * NEXT ID: 2
       * 
* * Protobuf type {@code cloud_trace.AppEngineServiceRpcDetails.StubbyDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.AppEngineServiceRpcDetails.StubbyDetails) com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; method_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails build() { com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails result = new com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.method_ = method_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.getDefaultInstance()) return this; if (other.hasMethod()) { method_ = other.method_; bitField0_ |= 0x00000001; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { method_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object method_ = ""; /** * optional string method = 1; * @return Whether the method field is set. */ public boolean hasMethod() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string method = 1; * @return The method. */ public java.lang.String getMethod() { java.lang.Object ref = method_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { method_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string method = 1; * @return The bytes for method. */ public com.google.protobuf.ByteString getMethodBytes() { java.lang.Object ref = method_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); method_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string method = 1; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } method_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional string method = 1; * @return This builder for chaining. */ public Builder clearMethod() { method_ = getDefaultInstance().getMethod(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * optional string method = 1; * @param value The bytes for method to set. * @return This builder for chaining. */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } method_ = value; 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:cloud_trace.AppEngineServiceRpcDetails.StubbyDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.AppEngineServiceRpcDetails.StubbyDetails) private static final com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails(); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StubbyDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MemcacheDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails) com.google.protobuf.MessageOrBuilder { /** * optional int32 count = 1; * @return Whether the count field is set. */ boolean hasCount(); /** * optional int32 count = 1; * @return The count. */ int getCount(); /** * optional int32 size = 2; * @return Whether the size field is set. */ boolean hasSize(); /** * optional int32 size = 2; * @return The size. */ int getSize(); } /** *
     * This message provides additional metadata for spans that represent Google
     * App Engine Memcache API calls.
     * NEXT ID: 3
     * 
* * Protobuf type {@code cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails} */ public static final class MemcacheDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails) MemcacheDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use MemcacheDetails.newBuilder() to construct. private MemcacheDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MemcacheDetails() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MemcacheDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.Builder.class); } private int bitField0_; public static final int COUNT_FIELD_NUMBER = 1; private int count_ = 0; /** * optional int32 count = 1; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 count = 1; * @return The count. */ @java.lang.Override public int getCount() { return count_; } public static final int SIZE_FIELD_NUMBER = 2; private int size_ = 0; /** * optional int32 size = 2; * @return Whether the size field is set. */ @java.lang.Override public boolean hasSize() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 size = 2; * @return The size. */ @java.lang.Override public int getSize() { return size_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(1, count_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt32(2, size_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, count_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, size_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails other = (com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails) obj; if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; } if (hasSize() != other.hasSize()) return false; if (hasSize()) { if (getSize() != other.getSize()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); } if (hasSize()) { hash = (37 * hash) + SIZE_FIELD_NUMBER; hash = (53 * hash) + getSize(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails 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 message provides additional metadata for spans that represent Google
       * App Engine Memcache API calls.
       * NEXT ID: 3
       * 
* * Protobuf type {@code cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails) com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; count_ = 0; size_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails build() { com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails result = new com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.count_ = count_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.size_ = size_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.getDefaultInstance()) return this; if (other.hasCount()) { setCount(other.getCount()); } if (other.hasSize()) { setSize(other.getSize()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { count_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { size_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int count_ ; /** * optional int32 count = 1; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return ((bitField0_ & 0x00000001) != 0); } /** * optional int32 count = 1; * @return The count. */ @java.lang.Override public int getCount() { return count_; } /** * optional int32 count = 1; * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { count_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional int32 count = 1; * @return This builder for chaining. */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000001); count_ = 0; onChanged(); return this; } private int size_ ; /** * optional int32 size = 2; * @return Whether the size field is set. */ @java.lang.Override public boolean hasSize() { return ((bitField0_ & 0x00000002) != 0); } /** * optional int32 size = 2; * @return The size. */ @java.lang.Override public int getSize() { return size_; } /** * optional int32 size = 2; * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(int value) { size_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional int32 size = 2; * @return This builder for chaining. */ public Builder clearSize() { bitField0_ = (bitField0_ & ~0x00000002); size_ = 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:cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails) private static final com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails(); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MemcacheDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int DATASTORE_DETAILS_FIELD_NUMBER = 1; private com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails datastoreDetails_; /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; * @return Whether the datastoreDetails field is set. */ @java.lang.Override public boolean hasDatastoreDetails() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; * @return The datastoreDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails getDatastoreDetails() { return datastoreDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.getDefaultInstance() : datastoreDetails_; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetailsOrBuilder getDatastoreDetailsOrBuilder() { return datastoreDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.getDefaultInstance() : datastoreDetails_; } public static final int STUBBY_DETAILS_FIELD_NUMBER = 2; private com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails stubbyDetails_; /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; * @return Whether the stubbyDetails field is set. */ @java.lang.Override public boolean hasStubbyDetails() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; * @return The stubbyDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails getStubbyDetails() { return stubbyDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.getDefaultInstance() : stubbyDetails_; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetailsOrBuilder getStubbyDetailsOrBuilder() { return stubbyDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.getDefaultInstance() : stubbyDetails_; } public static final int MEMCACHE_DETAILS_FIELD_NUMBER = 3; private com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails memcacheDetails_; /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; * @return Whether the memcacheDetails field is set. */ @java.lang.Override public boolean hasMemcacheDetails() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; * @return The memcacheDetails. */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails getMemcacheDetails() { return memcacheDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.getDefaultInstance() : memcacheDetails_; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetailsOrBuilder getMemcacheDetailsOrBuilder() { return memcacheDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.getDefaultInstance() : memcacheDetails_; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** *
     * These error fields are based on the scheme and values documented in
     * google3/apphosting/base/runtime.proto.
     * 
* * optional string error_message = 4; * @return Whether the errorMessage field is set. */ @java.lang.Override public boolean hasErrorMessage() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * These error fields are based on the scheme and values documented in
     * google3/apphosting/base/runtime.proto.
     * 
* * optional string error_message = 4; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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 (bs.isValidUtf8()) { errorMessage_ = s; } return s; } } /** *
     * These error fields are based on the scheme and values documented in
     * google3/apphosting/base/runtime.proto.
     * 
* * optional string error_message = 4; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int APPLICATION_ERROR_FIELD_NUMBER = 5; private int applicationError_ = 0; /** *
     * This field is set when there is an RPC application error.
     * 
* * optional int32 application_error = 5; * @return Whether the applicationError field is set. */ @java.lang.Override public boolean hasApplicationError() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * This field is set when there is an RPC application error.
     * 
* * optional int32 application_error = 5; * @return The applicationError. */ @java.lang.Override public int getApplicationError() { return applicationError_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getDatastoreDetails()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getStubbyDetails()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getMemcacheDetails()); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, errorMessage_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt32(5, applicationError_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDatastoreDetails()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStubbyDetails()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getMemcacheDetails()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, errorMessage_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, applicationError_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails other = (com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails) obj; if (hasDatastoreDetails() != other.hasDatastoreDetails()) return false; if (hasDatastoreDetails()) { if (!getDatastoreDetails() .equals(other.getDatastoreDetails())) return false; } if (hasStubbyDetails() != other.hasStubbyDetails()) return false; if (hasStubbyDetails()) { if (!getStubbyDetails() .equals(other.getStubbyDetails())) return false; } if (hasMemcacheDetails() != other.hasMemcacheDetails()) return false; if (hasMemcacheDetails()) { if (!getMemcacheDetails() .equals(other.getMemcacheDetails())) return false; } if (hasErrorMessage() != other.hasErrorMessage()) return false; if (hasErrorMessage()) { if (!getErrorMessage() .equals(other.getErrorMessage())) return false; } if (hasApplicationError() != other.hasApplicationError()) return false; if (hasApplicationError()) { if (getApplicationError() != other.getApplicationError()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDatastoreDetails()) { hash = (37 * hash) + DATASTORE_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getDatastoreDetails().hashCode(); } if (hasStubbyDetails()) { hash = (37 * hash) + STUBBY_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getStubbyDetails().hashCode(); } if (hasMemcacheDetails()) { hash = (37 * hash) + MEMCACHE_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getMemcacheDetails().hashCode(); } if (hasErrorMessage()) { hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); } if (hasApplicationError()) { hash = (37 * hash) + APPLICATION_ERROR_FIELD_NUMBER; hash = (53 * hash) + getApplicationError(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails 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 message provides additional metadata for spans that represent Google App
     * Engine Service API calls.
     * NEXT ID: 6
     * 
* * Protobuf type {@code cloud_trace.AppEngineServiceRpcDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.AppEngineServiceRpcDetails) com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.class, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDatastoreDetailsFieldBuilder(); getStubbyDetailsFieldBuilder(); getMemcacheDetailsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; datastoreDetails_ = null; if (datastoreDetailsBuilder_ != null) { datastoreDetailsBuilder_.dispose(); datastoreDetailsBuilder_ = null; } stubbyDetails_ = null; if (stubbyDetailsBuilder_ != null) { stubbyDetailsBuilder_.dispose(); stubbyDetailsBuilder_ = null; } memcacheDetails_ = null; if (memcacheDetailsBuilder_ != null) { memcacheDetailsBuilder_.dispose(); memcacheDetailsBuilder_ = null; } errorMessage_ = ""; applicationError_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails build() { com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails result = new com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.datastoreDetails_ = datastoreDetailsBuilder_ == null ? datastoreDetails_ : datastoreDetailsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.stubbyDetails_ = stubbyDetailsBuilder_ == null ? stubbyDetails_ : stubbyDetailsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.memcacheDetails_ = memcacheDetailsBuilder_ == null ? memcacheDetails_ : memcacheDetailsBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.errorMessage_ = errorMessage_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.applicationError_ = applicationError_; to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.getDefaultInstance()) return this; if (other.hasDatastoreDetails()) { mergeDatastoreDetails(other.getDatastoreDetails()); } if (other.hasStubbyDetails()) { mergeStubbyDetails(other.getStubbyDetails()); } if (other.hasMemcacheDetails()) { mergeMemcacheDetails(other.getMemcacheDetails()); } if (other.hasErrorMessage()) { errorMessage_ = other.errorMessage_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasApplicationError()) { setApplicationError(other.getApplicationError()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getDatastoreDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getStubbyDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getMemcacheDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { errorMessage_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 34 case 40: { applicationError_ = input.readInt32(); bitField0_ |= 0x00000010; break; } // case 40 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails datastoreDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetailsOrBuilder> datastoreDetailsBuilder_; /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; * @return Whether the datastoreDetails field is set. */ public boolean hasDatastoreDetails() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; * @return The datastoreDetails. */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails getDatastoreDetails() { if (datastoreDetailsBuilder_ == null) { return datastoreDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.getDefaultInstance() : datastoreDetails_; } else { return datastoreDetailsBuilder_.getMessage(); } } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ public Builder setDatastoreDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails value) { if (datastoreDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } datastoreDetails_ = value; } else { datastoreDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ public Builder setDatastoreDetails( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.Builder builderForValue) { if (datastoreDetailsBuilder_ == null) { datastoreDetails_ = builderForValue.build(); } else { datastoreDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ public Builder mergeDatastoreDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails value) { if (datastoreDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && datastoreDetails_ != null && datastoreDetails_ != com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.getDefaultInstance()) { getDatastoreDetailsBuilder().mergeFrom(value); } else { datastoreDetails_ = value; } } else { datastoreDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ public Builder clearDatastoreDetails() { bitField0_ = (bitField0_ & ~0x00000001); datastoreDetails_ = null; if (datastoreDetailsBuilder_ != null) { datastoreDetailsBuilder_.dispose(); datastoreDetailsBuilder_ = null; } onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.Builder getDatastoreDetailsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDatastoreDetailsFieldBuilder().getBuilder(); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetailsOrBuilder getDatastoreDetailsOrBuilder() { if (datastoreDetailsBuilder_ != null) { return datastoreDetailsBuilder_.getMessageOrBuilder(); } else { return datastoreDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.getDefaultInstance() : datastoreDetails_; } } /** * optional .cloud_trace.AppEngineServiceRpcDetails.DatastoreDetails datastore_details = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetailsOrBuilder> getDatastoreDetailsFieldBuilder() { if (datastoreDetailsBuilder_ == null) { datastoreDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.DatastoreDetailsOrBuilder>( getDatastoreDetails(), getParentForChildren(), isClean()); datastoreDetails_ = null; } return datastoreDetailsBuilder_; } private com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails stubbyDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetailsOrBuilder> stubbyDetailsBuilder_; /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; * @return Whether the stubbyDetails field is set. */ public boolean hasStubbyDetails() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; * @return The stubbyDetails. */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails getStubbyDetails() { if (stubbyDetailsBuilder_ == null) { return stubbyDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.getDefaultInstance() : stubbyDetails_; } else { return stubbyDetailsBuilder_.getMessage(); } } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ public Builder setStubbyDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails value) { if (stubbyDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stubbyDetails_ = value; } else { stubbyDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ public Builder setStubbyDetails( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.Builder builderForValue) { if (stubbyDetailsBuilder_ == null) { stubbyDetails_ = builderForValue.build(); } else { stubbyDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ public Builder mergeStubbyDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails value) { if (stubbyDetailsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && stubbyDetails_ != null && stubbyDetails_ != com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.getDefaultInstance()) { getStubbyDetailsBuilder().mergeFrom(value); } else { stubbyDetails_ = value; } } else { stubbyDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ public Builder clearStubbyDetails() { bitField0_ = (bitField0_ & ~0x00000002); stubbyDetails_ = null; if (stubbyDetailsBuilder_ != null) { stubbyDetailsBuilder_.dispose(); stubbyDetailsBuilder_ = null; } onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.Builder getStubbyDetailsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStubbyDetailsFieldBuilder().getBuilder(); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetailsOrBuilder getStubbyDetailsOrBuilder() { if (stubbyDetailsBuilder_ != null) { return stubbyDetailsBuilder_.getMessageOrBuilder(); } else { return stubbyDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.getDefaultInstance() : stubbyDetails_; } } /** * optional .cloud_trace.AppEngineServiceRpcDetails.StubbyDetails stubby_details = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetailsOrBuilder> getStubbyDetailsFieldBuilder() { if (stubbyDetailsBuilder_ == null) { stubbyDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.StubbyDetailsOrBuilder>( getStubbyDetails(), getParentForChildren(), isClean()); stubbyDetails_ = null; } return stubbyDetailsBuilder_; } private com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails memcacheDetails_; private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetailsOrBuilder> memcacheDetailsBuilder_; /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; * @return Whether the memcacheDetails field is set. */ public boolean hasMemcacheDetails() { return ((bitField0_ & 0x00000004) != 0); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; * @return The memcacheDetails. */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails getMemcacheDetails() { if (memcacheDetailsBuilder_ == null) { return memcacheDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.getDefaultInstance() : memcacheDetails_; } else { return memcacheDetailsBuilder_.getMessage(); } } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ public Builder setMemcacheDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails value) { if (memcacheDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } memcacheDetails_ = value; } else { memcacheDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ public Builder setMemcacheDetails( com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.Builder builderForValue) { if (memcacheDetailsBuilder_ == null) { memcacheDetails_ = builderForValue.build(); } else { memcacheDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ public Builder mergeMemcacheDetails(com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails value) { if (memcacheDetailsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && memcacheDetails_ != null && memcacheDetails_ != com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.getDefaultInstance()) { getMemcacheDetailsBuilder().mergeFrom(value); } else { memcacheDetails_ = value; } } else { memcacheDetailsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ public Builder clearMemcacheDetails() { bitField0_ = (bitField0_ & ~0x00000004); memcacheDetails_ = null; if (memcacheDetailsBuilder_ != null) { memcacheDetailsBuilder_.dispose(); memcacheDetailsBuilder_ = null; } onChanged(); return this; } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.Builder getMemcacheDetailsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getMemcacheDetailsFieldBuilder().getBuilder(); } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetailsOrBuilder getMemcacheDetailsOrBuilder() { if (memcacheDetailsBuilder_ != null) { return memcacheDetailsBuilder_.getMessageOrBuilder(); } else { return memcacheDetails_ == null ? com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.getDefaultInstance() : memcacheDetails_; } } /** * optional .cloud_trace.AppEngineServiceRpcDetails.MemcacheDetails memcache_details = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetailsOrBuilder> getMemcacheDetailsFieldBuilder() { if (memcacheDetailsBuilder_ == null) { memcacheDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetails.Builder, com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails.MemcacheDetailsOrBuilder>( getMemcacheDetails(), getParentForChildren(), isClean()); memcacheDetails_ = null; } return memcacheDetailsBuilder_; } private java.lang.Object errorMessage_ = ""; /** *
       * These error fields are based on the scheme and values documented in
       * google3/apphosting/base/runtime.proto.
       * 
* * optional string error_message = 4; * @return Whether the errorMessage field is set. */ public boolean hasErrorMessage() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * These error fields are based on the scheme and values documented in
       * google3/apphosting/base/runtime.proto.
       * 
* * optional string error_message = 4; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { errorMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * These error fields are based on the scheme and values documented in
       * google3/apphosting/base/runtime.proto.
       * 
* * optional string error_message = 4; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * These error fields are based on the scheme and values documented in
       * google3/apphosting/base/runtime.proto.
       * 
* * optional string error_message = 4; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * These error fields are based on the scheme and values documented in
       * google3/apphosting/base/runtime.proto.
       * 
* * optional string error_message = 4; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
       * These error fields are based on the scheme and values documented in
       * google3/apphosting/base/runtime.proto.
       * 
* * optional string error_message = 4; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private int applicationError_ ; /** *
       * This field is set when there is an RPC application error.
       * 
* * optional int32 application_error = 5; * @return Whether the applicationError field is set. */ @java.lang.Override public boolean hasApplicationError() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * This field is set when there is an RPC application error.
       * 
* * optional int32 application_error = 5; * @return The applicationError. */ @java.lang.Override public int getApplicationError() { return applicationError_; } /** *
       * This field is set when there is an RPC application error.
       * 
* * optional int32 application_error = 5; * @param value The applicationError to set. * @return This builder for chaining. */ public Builder setApplicationError(int value) { applicationError_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * This field is set when there is an RPC application error.
       * 
* * optional int32 application_error = 5; * @return This builder for chaining. */ public Builder clearApplicationError() { bitField0_ = (bitField0_ & ~0x00000010); applicationError_ = 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:cloud_trace.AppEngineServiceRpcDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.AppEngineServiceRpcDetails) private static final com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails(); } public static com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AppEngineServiceRpcDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.AppEngineServiceRpcDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GCEDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.GCEDetails) com.google.protobuf.MessageOrBuilder { /** *
     * This is GCE VM instance IP v4 address in decimal-dot notation.
     * Storing it formatted in the span (rather than as an integer) makes it
     * simpler to view and filter it.
     * 
* * optional string vm_ipv4 = 1; * @return Whether the vmIpv4 field is set. */ boolean hasVmIpv4(); /** *
     * This is GCE VM instance IP v4 address in decimal-dot notation.
     * Storing it formatted in the span (rather than as an integer) makes it
     * simpler to view and filter it.
     * 
* * optional string vm_ipv4 = 1; * @return The vmIpv4. */ java.lang.String getVmIpv4(); /** *
     * This is GCE VM instance IP v4 address in decimal-dot notation.
     * Storing it formatted in the span (rather than as an integer) makes it
     * simpler to view and filter it.
     * 
* * optional string vm_ipv4 = 1; * @return The bytes for vmIpv4. */ com.google.protobuf.ByteString getVmIpv4Bytes(); } /** *
   * This message has details for the GCE VM instance associated with the span.
   * NEXT ID: 2
   * 
* * Protobuf type {@code cloud_trace.GCEDetails} */ public static final class GCEDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.GCEDetails) GCEDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use GCEDetails.newBuilder() to construct. private GCEDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GCEDetails() { vmIpv4_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GCEDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_GCEDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_GCEDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.GCEDetails.class, com.google.apphosting.base.protos.SpanDetails.GCEDetails.Builder.class); } private int bitField0_; public static final int VM_IPV4_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object vmIpv4_ = ""; /** *
     * This is GCE VM instance IP v4 address in decimal-dot notation.
     * Storing it formatted in the span (rather than as an integer) makes it
     * simpler to view and filter it.
     * 
* * optional string vm_ipv4 = 1; * @return Whether the vmIpv4 field is set. */ @java.lang.Override public boolean hasVmIpv4() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * This is GCE VM instance IP v4 address in decimal-dot notation.
     * Storing it formatted in the span (rather than as an integer) makes it
     * simpler to view and filter it.
     * 
* * optional string vm_ipv4 = 1; * @return The vmIpv4. */ @java.lang.Override public java.lang.String getVmIpv4() { java.lang.Object ref = vmIpv4_; 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 (bs.isValidUtf8()) { vmIpv4_ = s; } return s; } } /** *
     * This is GCE VM instance IP v4 address in decimal-dot notation.
     * Storing it formatted in the span (rather than as an integer) makes it
     * simpler to view and filter it.
     * 
* * optional string vm_ipv4 = 1; * @return The bytes for vmIpv4. */ @java.lang.Override public com.google.protobuf.ByteString getVmIpv4Bytes() { java.lang.Object ref = vmIpv4_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vmIpv4_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmIpv4_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vmIpv4_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.GCEDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.GCEDetails other = (com.google.apphosting.base.protos.SpanDetails.GCEDetails) obj; if (hasVmIpv4() != other.hasVmIpv4()) return false; if (hasVmIpv4()) { if (!getVmIpv4() .equals(other.getVmIpv4())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasVmIpv4()) { hash = (37 * hash) + VM_IPV4_FIELD_NUMBER; hash = (53 * hash) + getVmIpv4().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.GCEDetails 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 message has details for the GCE VM instance associated with the span.
     * NEXT ID: 2
     * 
* * Protobuf type {@code cloud_trace.GCEDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.GCEDetails) com.google.apphosting.base.protos.SpanDetails.GCEDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_GCEDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_GCEDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.GCEDetails.class, com.google.apphosting.base.protos.SpanDetails.GCEDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.GCEDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; vmIpv4_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_GCEDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.GCEDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.GCEDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.GCEDetails build() { com.google.apphosting.base.protos.SpanDetails.GCEDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.GCEDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.GCEDetails result = new com.google.apphosting.base.protos.SpanDetails.GCEDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.GCEDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.vmIpv4_ = vmIpv4_; to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.GCEDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.GCEDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.GCEDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.GCEDetails.getDefaultInstance()) return this; if (other.hasVmIpv4()) { vmIpv4_ = other.vmIpv4_; bitField0_ |= 0x00000001; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { vmIpv4_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object vmIpv4_ = ""; /** *
       * This is GCE VM instance IP v4 address in decimal-dot notation.
       * Storing it formatted in the span (rather than as an integer) makes it
       * simpler to view and filter it.
       * 
* * optional string vm_ipv4 = 1; * @return Whether the vmIpv4 field is set. */ public boolean hasVmIpv4() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * This is GCE VM instance IP v4 address in decimal-dot notation.
       * Storing it formatted in the span (rather than as an integer) makes it
       * simpler to view and filter it.
       * 
* * optional string vm_ipv4 = 1; * @return The vmIpv4. */ public java.lang.String getVmIpv4() { java.lang.Object ref = vmIpv4_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { vmIpv4_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * This is GCE VM instance IP v4 address in decimal-dot notation.
       * Storing it formatted in the span (rather than as an integer) makes it
       * simpler to view and filter it.
       * 
* * optional string vm_ipv4 = 1; * @return The bytes for vmIpv4. */ public com.google.protobuf.ByteString getVmIpv4Bytes() { java.lang.Object ref = vmIpv4_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vmIpv4_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * This is GCE VM instance IP v4 address in decimal-dot notation.
       * Storing it formatted in the span (rather than as an integer) makes it
       * simpler to view and filter it.
       * 
* * optional string vm_ipv4 = 1; * @param value The vmIpv4 to set. * @return This builder for chaining. */ public Builder setVmIpv4( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vmIpv4_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * This is GCE VM instance IP v4 address in decimal-dot notation.
       * Storing it formatted in the span (rather than as an integer) makes it
       * simpler to view and filter it.
       * 
* * optional string vm_ipv4 = 1; * @return This builder for chaining. */ public Builder clearVmIpv4() { vmIpv4_ = getDefaultInstance().getVmIpv4(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * This is GCE VM instance IP v4 address in decimal-dot notation.
       * Storing it formatted in the span (rather than as an integer) makes it
       * simpler to view and filter it.
       * 
* * optional string vm_ipv4 = 1; * @param value The bytes for vmIpv4 to set. * @return This builder for chaining. */ public Builder setVmIpv4Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } vmIpv4_ = value; 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:cloud_trace.GCEDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.GCEDetails) private static final com.google.apphosting.base.protos.SpanDetails.GCEDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.GCEDetails(); } public static com.google.apphosting.base.protos.SpanDetails.GCEDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GCEDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.GCEDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StackTraceDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.StackTraceDetails) com.google.protobuf.MessageOrBuilder { /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ java.util.List getStackFrameList(); /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame getStackFrame(int index); /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ int getStackFrameCount(); /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ java.util.List getStackFrameOrBuilderList(); /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrameOrBuilder getStackFrameOrBuilder( int index); } /** *
   * This message contains a stack trace for the given span.
   * NEXT ID: 2
   * 
* * Protobuf type {@code cloud_trace.StackTraceDetails} */ public static final class StackTraceDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.StackTraceDetails) StackTraceDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use StackTraceDetails.newBuilder() to construct. private StackTraceDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StackTraceDetails() { stackFrame_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StackTraceDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.class, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.Builder.class); } public interface StackFrameOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.StackTraceDetails.StackFrame) com.google.protobuf.MessageOrBuilder { /** * optional string class_name = 1; * @return Whether the className field is set. */ boolean hasClassName(); /** * optional string class_name = 1; * @return The className. */ java.lang.String getClassName(); /** * optional string class_name = 1; * @return The bytes for className. */ com.google.protobuf.ByteString getClassNameBytes(); /** * optional string method_name = 2; * @return Whether the methodName field is set. */ boolean hasMethodName(); /** * optional string method_name = 2; * @return The methodName. */ java.lang.String getMethodName(); /** * optional string method_name = 2; * @return The bytes for methodName. */ com.google.protobuf.ByteString getMethodNameBytes(); /** * optional string file_name = 3; * @return Whether the fileName field is set. */ boolean hasFileName(); /** * optional string file_name = 3; * @return The fileName. */ java.lang.String getFileName(); /** * optional string file_name = 3; * @return The bytes for fileName. */ com.google.protobuf.ByteString getFileNameBytes(); /** * optional int64 line_number = 4; * @return Whether the lineNumber field is set. */ boolean hasLineNumber(); /** * optional int64 line_number = 4; * @return The lineNumber. */ long getLineNumber(); /** * optional int64 column_number = 5; * @return Whether the columnNumber field is set. */ boolean hasColumnNumber(); /** * optional int64 column_number = 5; * @return The columnNumber. */ long getColumnNumber(); } /** *
     * Presents a single stack frame in a stack trace.
     * NEXT ID: 6
     * 
* * Protobuf type {@code cloud_trace.StackTraceDetails.StackFrame} */ public static final class StackFrame extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.StackTraceDetails.StackFrame) StackFrameOrBuilder { private static final long serialVersionUID = 0L; // Use StackFrame.newBuilder() to construct. private StackFrame(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StackFrame() { className_ = ""; methodName_ = ""; fileName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StackFrame(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_StackFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_StackFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.class, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder.class); } private int bitField0_; public static final int CLASS_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object className_ = ""; /** * optional string class_name = 1; * @return Whether the className field is set. */ @java.lang.Override public boolean hasClassName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string class_name = 1; * @return The className. */ @java.lang.Override public java.lang.String getClassName() { java.lang.Object ref = className_; 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 (bs.isValidUtf8()) { className_ = s; } return s; } } /** * optional string class_name = 1; * @return The bytes for className. */ @java.lang.Override public com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METHOD_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object methodName_ = ""; /** * optional string method_name = 2; * @return Whether the methodName field is set. */ @java.lang.Override public boolean hasMethodName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string method_name = 2; * @return The methodName. */ @java.lang.Override public java.lang.String getMethodName() { java.lang.Object ref = methodName_; 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 (bs.isValidUtf8()) { methodName_ = s; } return s; } } /** * optional string method_name = 2; * @return The bytes for methodName. */ @java.lang.Override public com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILE_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object fileName_ = ""; /** * optional string file_name = 3; * @return Whether the fileName field is set. */ @java.lang.Override public boolean hasFileName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string file_name = 3; * @return The fileName. */ @java.lang.Override public java.lang.String getFileName() { java.lang.Object ref = fileName_; 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 (bs.isValidUtf8()) { fileName_ = s; } return s; } } /** * optional string file_name = 3; * @return The bytes for fileName. */ @java.lang.Override public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LINE_NUMBER_FIELD_NUMBER = 4; private long lineNumber_ = 0L; /** * optional int64 line_number = 4; * @return Whether the lineNumber field is set. */ @java.lang.Override public boolean hasLineNumber() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 line_number = 4; * @return The lineNumber. */ @java.lang.Override public long getLineNumber() { return lineNumber_; } public static final int COLUMN_NUMBER_FIELD_NUMBER = 5; private long columnNumber_ = 0L; /** * optional int64 column_number = 5; * @return Whether the columnNumber field is set. */ @java.lang.Override public boolean hasColumnNumber() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int64 column_number = 5; * @return The columnNumber. */ @java.lang.Override public long getColumnNumber() { return columnNumber_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, className_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, methodName_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileName_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeInt64(4, lineNumber_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(5, columnNumber_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, className_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, methodName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fileName_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, lineNumber_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, columnNumber_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame other = (com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame) obj; if (hasClassName() != other.hasClassName()) return false; if (hasClassName()) { if (!getClassName() .equals(other.getClassName())) return false; } if (hasMethodName() != other.hasMethodName()) return false; if (hasMethodName()) { if (!getMethodName() .equals(other.getMethodName())) return false; } if (hasFileName() != other.hasFileName()) return false; if (hasFileName()) { if (!getFileName() .equals(other.getFileName())) return false; } if (hasLineNumber() != other.hasLineNumber()) return false; if (hasLineNumber()) { if (getLineNumber() != other.getLineNumber()) return false; } if (hasColumnNumber() != other.hasColumnNumber()) return false; if (hasColumnNumber()) { if (getColumnNumber() != other.getColumnNumber()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasClassName()) { hash = (37 * hash) + CLASS_NAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (hasMethodName()) { hash = (37 * hash) + METHOD_NAME_FIELD_NUMBER; hash = (53 * hash) + getMethodName().hashCode(); } if (hasFileName()) { hash = (37 * hash) + FILE_NAME_FIELD_NUMBER; hash = (53 * hash) + getFileName().hashCode(); } if (hasLineNumber()) { hash = (37 * hash) + LINE_NUMBER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLineNumber()); } if (hasColumnNumber()) { hash = (37 * hash) + COLUMN_NUMBER_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getColumnNumber()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame 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; } /** *
       * Presents a single stack frame in a stack trace.
       * NEXT ID: 6
       * 
* * Protobuf type {@code cloud_trace.StackTraceDetails.StackFrame} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.StackTraceDetails.StackFrame) com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_StackFrame_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_StackFrame_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.class, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; className_ = ""; methodName_ = ""; fileName_ = ""; lineNumber_ = 0L; columnNumber_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_StackFrame_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame build() { com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame buildPartial() { com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame result = new com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.className_ = className_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.methodName_ = methodName_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.fileName_ = fileName_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.lineNumber_ = lineNumber_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.columnNumber_ = columnNumber_; to_bitField0_ |= 0x00000010; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame other) { if (other == com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.getDefaultInstance()) return this; if (other.hasClassName()) { className_ = other.className_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasMethodName()) { methodName_ = other.methodName_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasFileName()) { fileName_ = other.fileName_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasLineNumber()) { setLineNumber(other.getLineNumber()); } if (other.hasColumnNumber()) { setColumnNumber(other.getColumnNumber()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { className_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { methodName_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { fileName_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { lineNumber_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { columnNumber_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 40 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object className_ = ""; /** * optional string class_name = 1; * @return Whether the className field is set. */ public boolean hasClassName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string class_name = 1; * @return The className. */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { className_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string class_name = 1; * @return The bytes for className. */ public com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string class_name = 1; * @param value The className to set. * @return This builder for chaining. */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } className_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional string class_name = 1; * @return This builder for chaining. */ public Builder clearClassName() { className_ = getDefaultInstance().getClassName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * optional string class_name = 1; * @param value The bytes for className to set. * @return This builder for chaining. */ public Builder setClassNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } className_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object methodName_ = ""; /** * optional string method_name = 2; * @return Whether the methodName field is set. */ public boolean hasMethodName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string method_name = 2; * @return The methodName. */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { methodName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string method_name = 2; * @return The bytes for methodName. */ public com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string method_name = 2; * @param value The methodName to set. * @return This builder for chaining. */ public Builder setMethodName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } methodName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional string method_name = 2; * @return This builder for chaining. */ public Builder clearMethodName() { methodName_ = getDefaultInstance().getMethodName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * optional string method_name = 2; * @param value The bytes for methodName to set. * @return This builder for chaining. */ public Builder setMethodNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } methodName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object fileName_ = ""; /** * optional string file_name = 3; * @return Whether the fileName field is set. */ public boolean hasFileName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional string file_name = 3; * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { fileName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string file_name = 3; * @return The bytes for fileName. */ public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string file_name = 3; * @param value The fileName to set. * @return This builder for chaining. */ public Builder setFileName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * optional string file_name = 3; * @return This builder for chaining. */ public Builder clearFileName() { fileName_ = getDefaultInstance().getFileName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * optional string file_name = 3; * @param value The bytes for fileName to set. * @return This builder for chaining. */ public Builder setFileNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private long lineNumber_ ; /** * optional int64 line_number = 4; * @return Whether the lineNumber field is set. */ @java.lang.Override public boolean hasLineNumber() { return ((bitField0_ & 0x00000008) != 0); } /** * optional int64 line_number = 4; * @return The lineNumber. */ @java.lang.Override public long getLineNumber() { return lineNumber_; } /** * optional int64 line_number = 4; * @param value The lineNumber to set. * @return This builder for chaining. */ public Builder setLineNumber(long value) { lineNumber_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * optional int64 line_number = 4; * @return This builder for chaining. */ public Builder clearLineNumber() { bitField0_ = (bitField0_ & ~0x00000008); lineNumber_ = 0L; onChanged(); return this; } private long columnNumber_ ; /** * optional int64 column_number = 5; * @return Whether the columnNumber field is set. */ @java.lang.Override public boolean hasColumnNumber() { return ((bitField0_ & 0x00000010) != 0); } /** * optional int64 column_number = 5; * @return The columnNumber. */ @java.lang.Override public long getColumnNumber() { return columnNumber_; } /** * optional int64 column_number = 5; * @param value The columnNumber to set. * @return This builder for chaining. */ public Builder setColumnNumber(long value) { columnNumber_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * optional int64 column_number = 5; * @return This builder for chaining. */ public Builder clearColumnNumber() { bitField0_ = (bitField0_ & ~0x00000010); columnNumber_ = 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:cloud_trace.StackTraceDetails.StackFrame) } // @@protoc_insertion_point(class_scope:cloud_trace.StackTraceDetails.StackFrame) private static final com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame(); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StackFrame parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int STACK_FRAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List stackFrame_; /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ @java.lang.Override public java.util.List getStackFrameList() { return stackFrame_; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ @java.lang.Override public java.util.List getStackFrameOrBuilderList() { return stackFrame_; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ @java.lang.Override public int getStackFrameCount() { return stackFrame_.size(); } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame getStackFrame(int index) { return stackFrame_.get(index); } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrameOrBuilder getStackFrameOrBuilder( int index) { return stackFrame_.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 < stackFrame_.size(); i++) { output.writeMessage(1, stackFrame_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < stackFrame_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, stackFrame_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.StackTraceDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.StackTraceDetails other = (com.google.apphosting.base.protos.SpanDetails.StackTraceDetails) obj; if (!getStackFrameList() .equals(other.getStackFrameList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getStackFrameCount() > 0) { hash = (37 * hash) + STACK_FRAME_FIELD_NUMBER; hash = (53 * hash) + getStackFrameList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails 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 message contains a stack trace for the given span.
     * NEXT ID: 2
     * 
* * Protobuf type {@code cloud_trace.StackTraceDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.StackTraceDetails) com.google.apphosting.base.protos.SpanDetails.StackTraceDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.class, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (stackFrameBuilder_ == null) { stackFrame_ = java.util.Collections.emptyList(); } else { stackFrame_ = null; stackFrameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_StackTraceDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails build() { com.google.apphosting.base.protos.SpanDetails.StackTraceDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.StackTraceDetails result = new com.google.apphosting.base.protos.SpanDetails.StackTraceDetails(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails result) { if (stackFrameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { stackFrame_ = java.util.Collections.unmodifiableList(stackFrame_); bitField0_ = (bitField0_ & ~0x00000001); } result.stackFrame_ = stackFrame_; } else { result.stackFrame_ = stackFrameBuilder_.build(); } } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.StackTraceDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.StackTraceDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.getDefaultInstance()) return this; if (stackFrameBuilder_ == null) { if (!other.stackFrame_.isEmpty()) { if (stackFrame_.isEmpty()) { stackFrame_ = other.stackFrame_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStackFrameIsMutable(); stackFrame_.addAll(other.stackFrame_); } onChanged(); } } else { if (!other.stackFrame_.isEmpty()) { if (stackFrameBuilder_.isEmpty()) { stackFrameBuilder_.dispose(); stackFrameBuilder_ = null; stackFrame_ = other.stackFrame_; bitField0_ = (bitField0_ & ~0x00000001); stackFrameBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStackFrameFieldBuilder() : null; } else { stackFrameBuilder_.addAllMessages(other.stackFrame_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame m = input.readMessage( com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.PARSER, extensionRegistry); if (stackFrameBuilder_ == null) { ensureStackFrameIsMutable(); stackFrame_.add(m); } else { stackFrameBuilder_.addMessage(m); } break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List stackFrame_ = java.util.Collections.emptyList(); private void ensureStackFrameIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stackFrame_ = new java.util.ArrayList(stackFrame_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrameOrBuilder> stackFrameBuilder_; /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public java.util.List getStackFrameList() { if (stackFrameBuilder_ == null) { return java.util.Collections.unmodifiableList(stackFrame_); } else { return stackFrameBuilder_.getMessageList(); } } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public int getStackFrameCount() { if (stackFrameBuilder_ == null) { return stackFrame_.size(); } else { return stackFrameBuilder_.getCount(); } } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame getStackFrame(int index) { if (stackFrameBuilder_ == null) { return stackFrame_.get(index); } else { return stackFrameBuilder_.getMessage(index); } } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder setStackFrame( int index, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame value) { if (stackFrameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackFrameIsMutable(); stackFrame_.set(index, value); onChanged(); } else { stackFrameBuilder_.setMessage(index, value); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder setStackFrame( int index, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder builderForValue) { if (stackFrameBuilder_ == null) { ensureStackFrameIsMutable(); stackFrame_.set(index, builderForValue.build()); onChanged(); } else { stackFrameBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder addStackFrame(com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame value) { if (stackFrameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackFrameIsMutable(); stackFrame_.add(value); onChanged(); } else { stackFrameBuilder_.addMessage(value); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder addStackFrame( int index, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame value) { if (stackFrameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackFrameIsMutable(); stackFrame_.add(index, value); onChanged(); } else { stackFrameBuilder_.addMessage(index, value); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder addStackFrame( com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder builderForValue) { if (stackFrameBuilder_ == null) { ensureStackFrameIsMutable(); stackFrame_.add(builderForValue.build()); onChanged(); } else { stackFrameBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder addStackFrame( int index, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder builderForValue) { if (stackFrameBuilder_ == null) { ensureStackFrameIsMutable(); stackFrame_.add(index, builderForValue.build()); onChanged(); } else { stackFrameBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder addAllStackFrame( java.lang.Iterable values) { if (stackFrameBuilder_ == null) { ensureStackFrameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stackFrame_); onChanged(); } else { stackFrameBuilder_.addAllMessages(values); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder clearStackFrame() { if (stackFrameBuilder_ == null) { stackFrame_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { stackFrameBuilder_.clear(); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public Builder removeStackFrame(int index) { if (stackFrameBuilder_ == null) { ensureStackFrameIsMutable(); stackFrame_.remove(index); onChanged(); } else { stackFrameBuilder_.remove(index); } return this; } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder getStackFrameBuilder( int index) { return getStackFrameFieldBuilder().getBuilder(index); } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrameOrBuilder getStackFrameOrBuilder( int index) { if (stackFrameBuilder_ == null) { return stackFrame_.get(index); } else { return stackFrameBuilder_.getMessageOrBuilder(index); } } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public java.util.List getStackFrameOrBuilderList() { if (stackFrameBuilder_ != null) { return stackFrameBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stackFrame_); } } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder addStackFrameBuilder() { return getStackFrameFieldBuilder().addBuilder( com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.getDefaultInstance()); } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder addStackFrameBuilder( int index) { return getStackFrameFieldBuilder().addBuilder( index, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.getDefaultInstance()); } /** * repeated .cloud_trace.StackTraceDetails.StackFrame stack_frame = 1; */ public java.util.List getStackFrameBuilderList() { return getStackFrameFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrameOrBuilder> getStackFrameFieldBuilder() { if (stackFrameBuilder_ == null) { stackFrameBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrame.Builder, com.google.apphosting.base.protos.SpanDetails.StackTraceDetails.StackFrameOrBuilder>( stackFrame_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); stackFrame_ = null; } return stackFrameBuilder_; } @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:cloud_trace.StackTraceDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.StackTraceDetails) private static final com.google.apphosting.base.protos.SpanDetails.StackTraceDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.StackTraceDetails(); } public static com.google.apphosting.base.protos.SpanDetails.StackTraceDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StackTraceDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.StackTraceDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ErrorDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:cloud_trace.ErrorDetails) com.google.protobuf.MessageOrBuilder { /** * optional string name = 1; * @return Whether the name field is set. */ boolean hasName(); /** * optional string name = 1; * @return The name. */ java.lang.String getName(); /** * optional string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * optional string message = 2; * @return Whether the message field is set. */ boolean hasMessage(); /** * optional string message = 2; * @return The message. */ java.lang.String getMessage(); /** * optional string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** *
   * This message contains error status details. See more: go/tapper-error-labels.
   * NEXT ID: 3
   * 
* * Protobuf type {@code cloud_trace.ErrorDetails} */ public static final class ErrorDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cloud_trace.ErrorDetails) ErrorDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use ErrorDetails.newBuilder() to construct. private ErrorDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ErrorDetails() { name_ = ""; message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ErrorDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_ErrorDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_ErrorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.ErrorDetails.class, com.google.apphosting.base.protos.SpanDetails.ErrorDetails.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** * optional string name = 1; * @return Whether the name field is set. */ @java.lang.Override public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional 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 MESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** * optional string message = 2; * @return Whether the message field is set. */ @java.lang.Override public boolean hasMessage() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string message = 2; * @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(); if (bs.isValidUtf8()) { message_ = s; } return s; } } /** * optional string message = 2; * @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; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.apphosting.base.protos.SpanDetails.ErrorDetails)) { return super.equals(obj); } com.google.apphosting.base.protos.SpanDetails.ErrorDetails other = (com.google.apphosting.base.protos.SpanDetails.ErrorDetails) obj; if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName() .equals(other.getName())) return false; } if (hasMessage() != other.hasMessage()) return false; if (hasMessage()) { if (!getMessage() .equals(other.getMessage())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasMessage()) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.apphosting.base.protos.SpanDetails.ErrorDetails 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 message contains error status details. See more: go/tapper-error-labels.
     * NEXT ID: 3
     * 
* * Protobuf type {@code cloud_trace.ErrorDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cloud_trace.ErrorDetails) com.google.apphosting.base.protos.SpanDetails.ErrorDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_ErrorDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_ErrorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.apphosting.base.protos.SpanDetails.ErrorDetails.class, com.google.apphosting.base.protos.SpanDetails.ErrorDetails.Builder.class); } // Construct using com.google.apphosting.base.protos.SpanDetails.ErrorDetails.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.apphosting.base.protos.SpanDetails.internal_static_cloud_trace_ErrorDetails_descriptor; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.ErrorDetails getDefaultInstanceForType() { return com.google.apphosting.base.protos.SpanDetails.ErrorDetails.getDefaultInstance(); } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.ErrorDetails build() { com.google.apphosting.base.protos.SpanDetails.ErrorDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.ErrorDetails buildPartial() { com.google.apphosting.base.protos.SpanDetails.ErrorDetails result = new com.google.apphosting.base.protos.SpanDetails.ErrorDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.apphosting.base.protos.SpanDetails.ErrorDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.message_ = message_; to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apphosting.base.protos.SpanDetails.ErrorDetails) { return mergeFrom((com.google.apphosting.base.protos.SpanDetails.ErrorDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.apphosting.base.protos.SpanDetails.ErrorDetails other) { if (other == com.google.apphosting.base.protos.SpanDetails.ErrorDetails.getDefaultInstance()) return this; if (other.hasName()) { name_ = other.name_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasMessage()) { message_ = other.message_; bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { name_ = input.readBytes(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { message_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; * @return Whether the name field is set. */ public boolean hasName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional 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; } } /** * optional 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; bitField0_ |= 0x00000001; onChanged(); return this; } /** * optional string name = 1; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * optional 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(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object message_ = ""; /** * optional string message = 2; * @return Whether the message field is set. */ public boolean hasMessage() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string message = 2; * @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(); if (bs.isValidUtf8()) { message_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string message = 2; * @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; } } /** * optional string message = 2; * @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; bitField0_ |= 0x00000002; onChanged(); return this; } /** * optional string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * optional string message = 2; * @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(); } message_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cloud_trace.ErrorDetails) } // @@protoc_insertion_point(class_scope:cloud_trace.ErrorDetails) private static final com.google.apphosting.base.protos.SpanDetails.ErrorDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.apphosting.base.protos.SpanDetails.ErrorDetails(); } public static com.google.apphosting.base.protos.SpanDetails.ErrorDetails getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ErrorDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.apphosting.base.protos.SpanDetails.ErrorDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_StartSpanDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_StartSpanDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_EndSpanDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_EndSpanDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_SpanDetailsProto_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_SpanDetailsProto_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_HttpDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_HttpDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_AppEngineAppDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_AppEngineAppDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_AppEngineServiceRpcDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_GCEDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_GCEDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_StackTraceDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_StackTraceDetails_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_StackTraceDetails_StackFrame_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_StackTraceDetails_StackFrame_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cloud_trace_ErrorDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cloud_trace_ErrorDetails_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\022span_details.proto\022\013cloud_trace\032\023label" + "_options.proto\032\017span_kind.proto\"l\n\020Start" + "SpanDetails\022\021\n\ttimestamp\030\001 \001(\003\022\014\n\004name\030\002" + " \001(\t\022#\n\004kind\030\003 \001(\0162\025.cloud_trace.SpanKin" + "d\022\022\n\nis_primary\030\004 \001(\010\"#\n\016EndSpanDetails\022" + "\021\n\ttimestamp\030\001 \001(\003\"\242\003\n\020SpanDetailsProto\022" + ".\n\014http_details\030\002 \001(\0132\030.cloud_trace.Http" + "Details\022@\n\026app_engine_app_details\030\003 \001(\0132" + " .cloud_trace.AppEngineAppDetails\022O\n\036app" + "_engine_service_rpc_details\030\004 \001(\0132\'.clou" + "d_trace.AppEngineServiceRpcDetails\022;\n\023st" + "ack_trace_details\030\005 \001(\0132\036.cloud_trace.St" + "ackTraceDetails\022\033\n\023stack_trace_hash_id\030\007" + " \001(\004\0220\n\rerror_details\030\006 \001(\0132\031.cloud_trac" + "e.ErrorDetails\022\021\n\tcomponent\030\010 \001(\t\022,\n\013gce" + "_details\030\t \001(\0132\027.cloud_trace.GCEDetails\"" + "\230\002\n\013HttpDetails\022\016\n\006method\030\001 \001(\t\022\020\n\010full_" + "url\030\002 \001(\t\022\023\n\013status_code\030\003 \001(\005\022\034\n\024reques" + "t_payload_size\030\004 \001(\005\022\035\n\025response_payload" + "_size\030\005 \001(\005\022\014\n\004host\030\006 \001(\t\022\026\n\016redirected_" + "url\030\007 \001(\t\022\022\n\nuser_agent\030\010 \001(\t\022\027\n\017client_" + "protocol\030\t \001(\t\022\026\n\016client_country\030\013 \001(\t\022\025" + "\n\rclient_region\030\014 \001(\t\022\023\n\013client_city\030\r \001" + "(\t\"o\n\023AppEngineAppDetails\022\022\n\nversion_id\030" + "\001 \001(\t\022\026\n\016request_log_id\030\002 \001(\t\022\021\n\tengine_" + "id\030\003 \001(\t\022\031\n\021engine_version_id\030\004 \001(\t\"\236\006\n\032" + "AppEngineServiceRpcDetails\022S\n\021datastore_" + "details\030\001 \001(\01328.cloud_trace.AppEngineSer" + "viceRpcDetails.DatastoreDetails\022M\n\016stubb" + "y_details\030\002 \001(\01325.cloud_trace.AppEngineS" + "erviceRpcDetails.StubbyDetails\022Q\n\020memcac" + "he_details\030\003 \001(\01327.cloud_trace.AppEngine" + "ServiceRpcDetails.MemcacheDetails\022\025\n\rerr" + "or_message\030\004 \001(\t\022\031\n\021application_error\030\005 " + "\001(\005\032\205\003\n\020DatastoreDetails\022\016\n\006offset\030\001 \001(\005" + "\022\022\n\nhas_cursor\030\002 \001(\010\022\024\n\014has_ancestor\030\003 \001" + "(\010\022\027\n\017has_transaction\030\004 \001(\010\022\014\n\004kind\030\005 \001(" + "\t\022\r\n\005count\030\006 \001(\005\022\r\n\005limit\030\007 \001(\005\022\014\n\004size\030" + "\010 \001(\005\022\017\n\007skipped\030\t \001(\005\022\024\n\014more_results\030\n" + " \001(\010\022\024\n\014index_writes\030\013 \001(\005\022\025\n\rentity_wri" + "tes\030\014 \001(\005\022\035\n\025requested_entity_puts\030\r \001(\005" + "\022 \n\030requested_entity_deletes\030\016 \001(\005\022\024\n\014qu" + "ery_cursor\030\017 \001(\004\022\032\n\022transaction_handle\030\020" + " \001(\003\022\035\n\025composite_index_count\030\021 \001(\005\032\037\n\rS" + "tubbyDetails\022\016\n\006method\030\001 \001(\t\032.\n\017Memcache" + "Details\022\r\n\005count\030\001 \001(\005\022\014\n\004size\030\002 \001(\005\"\035\n\n" + "GCEDetails\022\017\n\007vm_ipv4\030\001 \001(\t\"\311\001\n\021StackTra" + "ceDetails\022>\n\013stack_frame\030\001 \003(\0132).cloud_t" + "race.StackTraceDetails.StackFrame\032t\n\nSta" + "ckFrame\022\022\n\nclass_name\030\001 \001(\t\022\023\n\013method_na" + "me\030\002 \001(\t\022\021\n\tfile_name\030\003 \001(\t\022\023\n\013line_numb" + "er\030\004 \001(\003\022\025\n\rcolumn_number\030\005 \001(\003\"-\n\014Error" + "Details\022\014\n\004name\030\001 \001(\t\022\017\n\007message\030\002 \001(\tB#" + "\n!com.google.apphosting.base.protos" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.apphosting.base.protos.LabelOptionsOuterClass.getDescriptor(), com.google.apphosting.base.protos.SpanKindOuterClass.getDescriptor(), }); internal_static_cloud_trace_StartSpanDetails_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cloud_trace_StartSpanDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_StartSpanDetails_descriptor, new java.lang.String[] { "Timestamp", "Name", "Kind", "IsPrimary", }); internal_static_cloud_trace_EndSpanDetails_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cloud_trace_EndSpanDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_EndSpanDetails_descriptor, new java.lang.String[] { "Timestamp", }); internal_static_cloud_trace_SpanDetailsProto_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cloud_trace_SpanDetailsProto_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_SpanDetailsProto_descriptor, new java.lang.String[] { "HttpDetails", "AppEngineAppDetails", "AppEngineServiceRpcDetails", "StackTraceDetails", "StackTraceHashId", "ErrorDetails", "Component", "GceDetails", }); internal_static_cloud_trace_HttpDetails_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cloud_trace_HttpDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_HttpDetails_descriptor, new java.lang.String[] { "Method", "FullUrl", "StatusCode", "RequestPayloadSize", "ResponsePayloadSize", "Host", "RedirectedUrl", "UserAgent", "ClientProtocol", "ClientCountry", "ClientRegion", "ClientCity", }); internal_static_cloud_trace_AppEngineAppDetails_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cloud_trace_AppEngineAppDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_AppEngineAppDetails_descriptor, new java.lang.String[] { "VersionId", "RequestLogId", "EngineId", "EngineVersionId", }); internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cloud_trace_AppEngineServiceRpcDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor, new java.lang.String[] { "DatastoreDetails", "StubbyDetails", "MemcacheDetails", "ErrorMessage", "ApplicationError", }); internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_descriptor = internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor.getNestedTypes().get(0); internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_AppEngineServiceRpcDetails_DatastoreDetails_descriptor, new java.lang.String[] { "Offset", "HasCursor", "HasAncestor", "HasTransaction", "Kind", "Count", "Limit", "Size", "Skipped", "MoreResults", "IndexWrites", "EntityWrites", "RequestedEntityPuts", "RequestedEntityDeletes", "QueryCursor", "TransactionHandle", "CompositeIndexCount", }); internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_descriptor = internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor.getNestedTypes().get(1); internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_AppEngineServiceRpcDetails_StubbyDetails_descriptor, new java.lang.String[] { "Method", }); internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_descriptor = internal_static_cloud_trace_AppEngineServiceRpcDetails_descriptor.getNestedTypes().get(2); internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_AppEngineServiceRpcDetails_MemcacheDetails_descriptor, new java.lang.String[] { "Count", "Size", }); internal_static_cloud_trace_GCEDetails_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cloud_trace_GCEDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_GCEDetails_descriptor, new java.lang.String[] { "VmIpv4", }); internal_static_cloud_trace_StackTraceDetails_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cloud_trace_StackTraceDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_StackTraceDetails_descriptor, new java.lang.String[] { "StackFrame", }); internal_static_cloud_trace_StackTraceDetails_StackFrame_descriptor = internal_static_cloud_trace_StackTraceDetails_descriptor.getNestedTypes().get(0); internal_static_cloud_trace_StackTraceDetails_StackFrame_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_StackTraceDetails_StackFrame_descriptor, new java.lang.String[] { "ClassName", "MethodName", "FileName", "LineNumber", "ColumnNumber", }); internal_static_cloud_trace_ErrorDetails_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_cloud_trace_ErrorDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cloud_trace_ErrorDetails_descriptor, new java.lang.String[] { "Name", "Message", }); com.google.apphosting.base.protos.LabelOptionsOuterClass.getDescriptor(); com.google.apphosting.base.protos.SpanKindOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy