
com.google.appengine.tools.appstats.proto2api.StatsProtos Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: datamodel.proto
package com.google.appengine.tools.appstats.proto2api;
public final class StatsProtos {
private StatsProtos() {}
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 AggregateRpcStatsProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.AggregateRpcStatsProto)
com.google.protobuf.MessageOrBuilder {
/**
* required string service_call_name = 1;
* @return Whether the serviceCallName field is set.
*/
boolean hasServiceCallName();
/**
* required string service_call_name = 1;
* @return The serviceCallName.
*/
java.lang.String getServiceCallName();
/**
* required string service_call_name = 1;
* @return The bytes for serviceCallName.
*/
com.google.protobuf.ByteString
getServiceCallNameBytes();
/**
* required int64 total_amount_of_calls = 3;
* @return Whether the totalAmountOfCalls field is set.
*/
boolean hasTotalAmountOfCalls();
/**
* required int64 total_amount_of_calls = 3;
* @return The totalAmountOfCalls.
*/
long getTotalAmountOfCalls();
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 total_cost_of_calls_microdollars = 4;
* @return Whether the totalCostOfCallsMicrodollars field is set.
*/
boolean hasTotalCostOfCallsMicrodollars();
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 total_cost_of_calls_microdollars = 4;
* @return The totalCostOfCallsMicrodollars.
*/
long getTotalCostOfCallsMicrodollars();
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
java.util.List
getTotalBilledOpsList();
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getTotalBilledOps(int index);
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
int getTotalBilledOpsCount();
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>
getTotalBilledOpsOrBuilderList();
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder getTotalBilledOpsOrBuilder(
int index);
}
/**
*
* Represents some quick statistics on similar RPCs, grouped by their
* service name and call name.
*
*
* Protobuf type {@code java.apphosting.AggregateRpcStatsProto}
*/
public static final class AggregateRpcStatsProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.AggregateRpcStatsProto)
AggregateRpcStatsProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateRpcStatsProto.newBuilder() to construct.
private AggregateRpcStatsProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateRpcStatsProto() {
serviceCallName_ = "";
totalBilledOps_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AggregateRpcStatsProto();
}
@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.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_AggregateRpcStatsProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_AggregateRpcStatsProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder.class);
}
private int bitField0_;
public static final int SERVICE_CALL_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object serviceCallName_ = "";
/**
* required string service_call_name = 1;
* @return Whether the serviceCallName field is set.
*/
@java.lang.Override
public boolean hasServiceCallName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required string service_call_name = 1;
* @return The serviceCallName.
*/
@java.lang.Override
public java.lang.String getServiceCallName() {
java.lang.Object ref = serviceCallName_;
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()) {
serviceCallName_ = s;
}
return s;
}
}
/**
* required string service_call_name = 1;
* @return The bytes for serviceCallName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getServiceCallNameBytes() {
java.lang.Object ref = serviceCallName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceCallName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TOTAL_AMOUNT_OF_CALLS_FIELD_NUMBER = 3;
private long totalAmountOfCalls_ = 0L;
/**
* required int64 total_amount_of_calls = 3;
* @return Whether the totalAmountOfCalls field is set.
*/
@java.lang.Override
public boolean hasTotalAmountOfCalls() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required int64 total_amount_of_calls = 3;
* @return The totalAmountOfCalls.
*/
@java.lang.Override
public long getTotalAmountOfCalls() {
return totalAmountOfCalls_;
}
public static final int TOTAL_COST_OF_CALLS_MICRODOLLARS_FIELD_NUMBER = 4;
private long totalCostOfCallsMicrodollars_ = 0L;
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 total_cost_of_calls_microdollars = 4;
* @return Whether the totalCostOfCallsMicrodollars field is set.
*/
@java.lang.Override
public boolean hasTotalCostOfCallsMicrodollars() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 total_cost_of_calls_microdollars = 4;
* @return The totalCostOfCallsMicrodollars.
*/
@java.lang.Override
public long getTotalCostOfCallsMicrodollars() {
return totalCostOfCallsMicrodollars_;
}
public static final int TOTAL_BILLED_OPS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List totalBilledOps_;
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
@java.lang.Override
public java.util.List getTotalBilledOpsList() {
return totalBilledOps_;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
@java.lang.Override
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>
getTotalBilledOpsOrBuilderList() {
return totalBilledOps_;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
@java.lang.Override
public int getTotalBilledOpsCount() {
return totalBilledOps_.size();
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getTotalBilledOps(int index) {
return totalBilledOps_.get(index);
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder getTotalBilledOpsOrBuilder(
int index) {
return totalBilledOps_.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;
if (!hasServiceCallName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTotalAmountOfCalls()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getTotalBilledOpsCount(); i++) {
if (!getTotalBilledOps(i).isInitialized()) {
memoizedIsInitialized = 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, serviceCallName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(3, totalAmountOfCalls_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(4, totalCostOfCallsMicrodollars_);
}
for (int i = 0; i < totalBilledOps_.size(); i++) {
output.writeMessage(5, totalBilledOps_.get(i));
}
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, serviceCallName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, totalAmountOfCalls_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, totalCostOfCallsMicrodollars_);
}
for (int i = 0; i < totalBilledOps_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, totalBilledOps_.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.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto)) {
return super.equals(obj);
}
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto other = (com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto) obj;
if (hasServiceCallName() != other.hasServiceCallName()) return false;
if (hasServiceCallName()) {
if (!getServiceCallName()
.equals(other.getServiceCallName())) return false;
}
if (hasTotalAmountOfCalls() != other.hasTotalAmountOfCalls()) return false;
if (hasTotalAmountOfCalls()) {
if (getTotalAmountOfCalls()
!= other.getTotalAmountOfCalls()) return false;
}
if (hasTotalCostOfCallsMicrodollars() != other.hasTotalCostOfCallsMicrodollars()) return false;
if (hasTotalCostOfCallsMicrodollars()) {
if (getTotalCostOfCallsMicrodollars()
!= other.getTotalCostOfCallsMicrodollars()) return false;
}
if (!getTotalBilledOpsList()
.equals(other.getTotalBilledOpsList())) 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 (hasServiceCallName()) {
hash = (37 * hash) + SERVICE_CALL_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceCallName().hashCode();
}
if (hasTotalAmountOfCalls()) {
hash = (37 * hash) + TOTAL_AMOUNT_OF_CALLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalAmountOfCalls());
}
if (hasTotalCostOfCallsMicrodollars()) {
hash = (37 * hash) + TOTAL_COST_OF_CALLS_MICRODOLLARS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalCostOfCallsMicrodollars());
}
if (getTotalBilledOpsCount() > 0) {
hash = (37 * hash) + TOTAL_BILLED_OPS_FIELD_NUMBER;
hash = (53 * hash) + getTotalBilledOpsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Represents some quick statistics on similar RPCs, grouped by their
* service name and call name.
*
*
* Protobuf type {@code java.apphosting.AggregateRpcStatsProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.AggregateRpcStatsProto)
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_AggregateRpcStatsProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_AggregateRpcStatsProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder.class);
}
// Construct using com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
serviceCallName_ = "";
totalAmountOfCalls_ = 0L;
totalCostOfCallsMicrodollars_ = 0L;
if (totalBilledOpsBuilder_ == null) {
totalBilledOps_ = java.util.Collections.emptyList();
} else {
totalBilledOps_ = null;
totalBilledOpsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_AggregateRpcStatsProto_descriptor;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto getDefaultInstanceForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto build() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto buildPartial() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto result = new com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto result) {
if (totalBilledOpsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
totalBilledOps_ = java.util.Collections.unmodifiableList(totalBilledOps_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.totalBilledOps_ = totalBilledOps_;
} else {
result.totalBilledOps_ = totalBilledOpsBuilder_.build();
}
}
private void buildPartial0(com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.serviceCallName_ = serviceCallName_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.totalAmountOfCalls_ = totalAmountOfCalls_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.totalCostOfCallsMicrodollars_ = totalCostOfCallsMicrodollars_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto) {
return mergeFrom((com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto other) {
if (other == com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.getDefaultInstance()) return this;
if (other.hasServiceCallName()) {
serviceCallName_ = other.serviceCallName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTotalAmountOfCalls()) {
setTotalAmountOfCalls(other.getTotalAmountOfCalls());
}
if (other.hasTotalCostOfCallsMicrodollars()) {
setTotalCostOfCallsMicrodollars(other.getTotalCostOfCallsMicrodollars());
}
if (totalBilledOpsBuilder_ == null) {
if (!other.totalBilledOps_.isEmpty()) {
if (totalBilledOps_.isEmpty()) {
totalBilledOps_ = other.totalBilledOps_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTotalBilledOpsIsMutable();
totalBilledOps_.addAll(other.totalBilledOps_);
}
onChanged();
}
} else {
if (!other.totalBilledOps_.isEmpty()) {
if (totalBilledOpsBuilder_.isEmpty()) {
totalBilledOpsBuilder_.dispose();
totalBilledOpsBuilder_ = null;
totalBilledOps_ = other.totalBilledOps_;
bitField0_ = (bitField0_ & ~0x00000008);
totalBilledOpsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTotalBilledOpsFieldBuilder() : null;
} else {
totalBilledOpsBuilder_.addAllMessages(other.totalBilledOps_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasServiceCallName()) {
return false;
}
if (!hasTotalAmountOfCalls()) {
return false;
}
for (int i = 0; i < getTotalBilledOpsCount(); i++) {
if (!getTotalBilledOps(i).isInitialized()) {
return false;
}
}
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: {
serviceCallName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 24: {
totalAmountOfCalls_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 24
case 32: {
totalCostOfCallsMicrodollars_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 32
case 42: {
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto m =
input.readMessage(
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.PARSER,
extensionRegistry);
if (totalBilledOpsBuilder_ == null) {
ensureTotalBilledOpsIsMutable();
totalBilledOps_.add(m);
} else {
totalBilledOpsBuilder_.addMessage(m);
}
break;
} // case 42
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 serviceCallName_ = "";
/**
* required string service_call_name = 1;
* @return Whether the serviceCallName field is set.
*/
public boolean hasServiceCallName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required string service_call_name = 1;
* @return The serviceCallName.
*/
public java.lang.String getServiceCallName() {
java.lang.Object ref = serviceCallName_;
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()) {
serviceCallName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string service_call_name = 1;
* @return The bytes for serviceCallName.
*/
public com.google.protobuf.ByteString
getServiceCallNameBytes() {
java.lang.Object ref = serviceCallName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceCallName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string service_call_name = 1;
* @param value The serviceCallName to set.
* @return This builder for chaining.
*/
public Builder setServiceCallName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
serviceCallName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* required string service_call_name = 1;
* @return This builder for chaining.
*/
public Builder clearServiceCallName() {
serviceCallName_ = getDefaultInstance().getServiceCallName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* required string service_call_name = 1;
* @param value The bytes for serviceCallName to set.
* @return This builder for chaining.
*/
public Builder setServiceCallNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
serviceCallName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long totalAmountOfCalls_ ;
/**
* required int64 total_amount_of_calls = 3;
* @return Whether the totalAmountOfCalls field is set.
*/
@java.lang.Override
public boolean hasTotalAmountOfCalls() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required int64 total_amount_of_calls = 3;
* @return The totalAmountOfCalls.
*/
@java.lang.Override
public long getTotalAmountOfCalls() {
return totalAmountOfCalls_;
}
/**
* required int64 total_amount_of_calls = 3;
* @param value The totalAmountOfCalls to set.
* @return This builder for chaining.
*/
public Builder setTotalAmountOfCalls(long value) {
totalAmountOfCalls_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* required int64 total_amount_of_calls = 3;
* @return This builder for chaining.
*/
public Builder clearTotalAmountOfCalls() {
bitField0_ = (bitField0_ & ~0x00000002);
totalAmountOfCalls_ = 0L;
onChanged();
return this;
}
private long totalCostOfCallsMicrodollars_ ;
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 total_cost_of_calls_microdollars = 4;
* @return Whether the totalCostOfCallsMicrodollars field is set.
*/
@java.lang.Override
public boolean hasTotalCostOfCallsMicrodollars() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 total_cost_of_calls_microdollars = 4;
* @return The totalCostOfCallsMicrodollars.
*/
@java.lang.Override
public long getTotalCostOfCallsMicrodollars() {
return totalCostOfCallsMicrodollars_;
}
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 total_cost_of_calls_microdollars = 4;
* @param value The totalCostOfCallsMicrodollars to set.
* @return This builder for chaining.
*/
public Builder setTotalCostOfCallsMicrodollars(long value) {
totalCostOfCallsMicrodollars_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 total_cost_of_calls_microdollars = 4;
* @return This builder for chaining.
*/
public Builder clearTotalCostOfCallsMicrodollars() {
bitField0_ = (bitField0_ & ~0x00000004);
totalCostOfCallsMicrodollars_ = 0L;
onChanged();
return this;
}
private java.util.List totalBilledOps_ =
java.util.Collections.emptyList();
private void ensureTotalBilledOpsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
totalBilledOps_ = new java.util.ArrayList(totalBilledOps_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder> totalBilledOpsBuilder_;
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public java.util.List getTotalBilledOpsList() {
if (totalBilledOpsBuilder_ == null) {
return java.util.Collections.unmodifiableList(totalBilledOps_);
} else {
return totalBilledOpsBuilder_.getMessageList();
}
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public int getTotalBilledOpsCount() {
if (totalBilledOpsBuilder_ == null) {
return totalBilledOps_.size();
} else {
return totalBilledOpsBuilder_.getCount();
}
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getTotalBilledOps(int index) {
if (totalBilledOpsBuilder_ == null) {
return totalBilledOps_.get(index);
} else {
return totalBilledOpsBuilder_.getMessage(index);
}
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder setTotalBilledOps(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto value) {
if (totalBilledOpsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTotalBilledOpsIsMutable();
totalBilledOps_.set(index, value);
onChanged();
} else {
totalBilledOpsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder setTotalBilledOps(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder builderForValue) {
if (totalBilledOpsBuilder_ == null) {
ensureTotalBilledOpsIsMutable();
totalBilledOps_.set(index, builderForValue.build());
onChanged();
} else {
totalBilledOpsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder addTotalBilledOps(com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto value) {
if (totalBilledOpsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTotalBilledOpsIsMutable();
totalBilledOps_.add(value);
onChanged();
} else {
totalBilledOpsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder addTotalBilledOps(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto value) {
if (totalBilledOpsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTotalBilledOpsIsMutable();
totalBilledOps_.add(index, value);
onChanged();
} else {
totalBilledOpsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder addTotalBilledOps(
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder builderForValue) {
if (totalBilledOpsBuilder_ == null) {
ensureTotalBilledOpsIsMutable();
totalBilledOps_.add(builderForValue.build());
onChanged();
} else {
totalBilledOpsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder addTotalBilledOps(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder builderForValue) {
if (totalBilledOpsBuilder_ == null) {
ensureTotalBilledOpsIsMutable();
totalBilledOps_.add(index, builderForValue.build());
onChanged();
} else {
totalBilledOpsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder addAllTotalBilledOps(
java.lang.Iterable extends com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto> values) {
if (totalBilledOpsBuilder_ == null) {
ensureTotalBilledOpsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, totalBilledOps_);
onChanged();
} else {
totalBilledOpsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder clearTotalBilledOps() {
if (totalBilledOpsBuilder_ == null) {
totalBilledOps_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
totalBilledOpsBuilder_.clear();
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public Builder removeTotalBilledOps(int index) {
if (totalBilledOpsBuilder_ == null) {
ensureTotalBilledOpsIsMutable();
totalBilledOps_.remove(index);
onChanged();
} else {
totalBilledOpsBuilder_.remove(index);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder getTotalBilledOpsBuilder(
int index) {
return getTotalBilledOpsFieldBuilder().getBuilder(index);
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder getTotalBilledOpsOrBuilder(
int index) {
if (totalBilledOpsBuilder_ == null) {
return totalBilledOps_.get(index); } else {
return totalBilledOpsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>
getTotalBilledOpsOrBuilderList() {
if (totalBilledOpsBuilder_ != null) {
return totalBilledOpsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(totalBilledOps_);
}
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder addTotalBilledOpsBuilder() {
return getTotalBilledOpsFieldBuilder().addBuilder(
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.getDefaultInstance());
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder addTotalBilledOpsBuilder(
int index) {
return getTotalBilledOpsFieldBuilder().addBuilder(
index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.getDefaultInstance());
}
/**
* repeated .java.apphosting.BilledOpProto total_billed_ops = 5;
*/
public java.util.List
getTotalBilledOpsBuilderList() {
return getTotalBilledOpsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>
getTotalBilledOpsFieldBuilder() {
if (totalBilledOpsBuilder_ == null) {
totalBilledOpsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>(
totalBilledOps_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
totalBilledOps_ = null;
}
return totalBilledOpsBuilder_;
}
@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:java.apphosting.AggregateRpcStatsProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.AggregateRpcStatsProto)
private static final com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto();
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AggregateRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface KeyValProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.KeyValProto)
com.google.protobuf.MessageOrBuilder {
/**
* required string key = 1;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
* required string key = 1;
* @return The key.
*/
java.lang.String getKey();
/**
* required string key = 1;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* required string value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* required string value = 2;
* @return The value.
*/
java.lang.String getValue();
/**
* required string value = 2;
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
*
* Represents a key-value pair.
*
*
* Protobuf type {@code java.apphosting.KeyValProto}
*/
public static final class KeyValProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.KeyValProto)
KeyValProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use KeyValProto.newBuilder() to construct.
private KeyValProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private KeyValProto() {
key_ = "";
value_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new KeyValProto();
}
@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.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_KeyValProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_KeyValProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder.class);
}
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object key_ = "";
/**
* required string key = 1;
* @return Whether the key field is set.
*/
@java.lang.Override
public boolean hasKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required string key = 1;
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
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()) {
key_ = s;
}
return s;
}
}
/**
* required string key = 1;
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object value_ = "";
/**
* required string value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required string value = 2;
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
java.lang.Object ref = value_;
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()) {
value_ = s;
}
return s;
}
}
/**
* required string value = 2;
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = 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;
if (!hasKey()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 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, key_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
}
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, key_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
}
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.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto)) {
return super.equals(obj);
}
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto other = (com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto) obj;
if (hasKey() != other.hasKey()) return false;
if (hasKey()) {
if (!getKey()
.equals(other.getKey())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) 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 (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto 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.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto 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.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto 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.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto 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.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Represents a key-value pair.
*
*
* Protobuf type {@code java.apphosting.KeyValProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.KeyValProto)
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_KeyValProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_KeyValProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder.class);
}
// Construct using com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
key_ = "";
value_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_KeyValProto_descriptor;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getDefaultInstanceForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto build() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto buildPartial() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto result = new com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.key_ = key_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
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.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto) {
return mergeFrom((com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto other) {
if (other == com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.getDefaultInstance()) return this;
if (other.hasKey()) {
key_ = other.key_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasValue()) {
value_ = other.value_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasKey()) {
return false;
}
if (!hasValue()) {
return false;
}
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: {
key_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
value_ = 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 key_ = "";
/**
* required string key = 1;
* @return Whether the key field is set.
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required string key = 1;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
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()) {
key_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string key = 1;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string key = 1;
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* required string key = 1;
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* required string key = 1;
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object value_ = "";
/**
* required string value = 2;
* @return Whether the value field is set.
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* required string value = 2;
* @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
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()) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string value = 2;
* @return The bytes for value.
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* required string value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* required string value = 2;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
value_ = 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:java.apphosting.KeyValProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.KeyValProto)
private static final com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto();
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public KeyValProto 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.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StackFrameProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.StackFrameProto)
com.google.protobuf.MessageOrBuilder {
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return Whether the classOrFileName field is set.
*/
boolean hasClassOrFileName();
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return The classOrFileName.
*/
java.lang.String getClassOrFileName();
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return The bytes for classOrFileName.
*/
com.google.protobuf.ByteString
getClassOrFileNameBytes();
/**
*
* not always available in Java
*
*
* optional int32 line_number = 2;
* @return Whether the lineNumber field is set.
*/
boolean hasLineNumber();
/**
*
* not always available in Java
*
*
* optional int32 line_number = 2;
* @return The lineNumber.
*/
int getLineNumber();
/**
* required string function_name = 3;
* @return Whether the functionName field is set.
*/
boolean hasFunctionName();
/**
* required string function_name = 3;
* @return The functionName.
*/
java.lang.String getFunctionName();
/**
* required string function_name = 3;
* @return The bytes for functionName.
*/
com.google.protobuf.ByteString
getFunctionNameBytes();
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
java.util.List
getVariablesList();
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getVariables(int index);
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
int getVariablesCount();
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>
getVariablesOrBuilderList();
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder getVariablesOrBuilder(
int index);
}
/**
*
* Represents a single stack frame (python) or line in a stack trace (Java).
*
*
* Protobuf type {@code java.apphosting.StackFrameProto}
*/
public static final class StackFrameProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.StackFrameProto)
StackFrameProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use StackFrameProto.newBuilder() to construct.
private StackFrameProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StackFrameProto() {
classOrFileName_ = "";
functionName_ = "";
variables_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StackFrameProto();
}
@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.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_StackFrameProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_StackFrameProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder.class);
}
private int bitField0_;
public static final int CLASS_OR_FILE_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object classOrFileName_ = "";
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return Whether the classOrFileName field is set.
*/
@java.lang.Override
public boolean hasClassOrFileName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return The classOrFileName.
*/
@java.lang.Override
public java.lang.String getClassOrFileName() {
java.lang.Object ref = classOrFileName_;
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()) {
classOrFileName_ = s;
}
return s;
}
}
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return The bytes for classOrFileName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClassOrFileNameBytes() {
java.lang.Object ref = classOrFileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classOrFileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LINE_NUMBER_FIELD_NUMBER = 2;
private int lineNumber_ = 0;
/**
*
* not always available in Java
*
*
* optional int32 line_number = 2;
* @return Whether the lineNumber field is set.
*/
@java.lang.Override
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* not always available in Java
*
*
* optional int32 line_number = 2;
* @return The lineNumber.
*/
@java.lang.Override
public int getLineNumber() {
return lineNumber_;
}
public static final int FUNCTION_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object functionName_ = "";
/**
* required string function_name = 3;
* @return Whether the functionName field is set.
*/
@java.lang.Override
public boolean hasFunctionName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* required string function_name = 3;
* @return The functionName.
*/
@java.lang.Override
public java.lang.String getFunctionName() {
java.lang.Object ref = functionName_;
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()) {
functionName_ = s;
}
return s;
}
}
/**
* required string function_name = 3;
* @return The bytes for functionName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFunctionNameBytes() {
java.lang.Object ref = functionName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
functionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VARIABLES_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List variables_;
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
@java.lang.Override
public java.util.List getVariablesList() {
return variables_;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
@java.lang.Override
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>
getVariablesOrBuilderList() {
return variables_;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
@java.lang.Override
public int getVariablesCount() {
return variables_.size();
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getVariables(int index) {
return variables_.get(index);
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder getVariablesOrBuilder(
int index) {
return variables_.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;
if (!hasClassOrFileName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasFunctionName()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getVariablesCount(); i++) {
if (!getVariables(i).isInitialized()) {
memoizedIsInitialized = 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, classOrFileName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, lineNumber_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, functionName_);
}
for (int i = 0; i < variables_.size(); i++) {
output.writeMessage(4, variables_.get(i));
}
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, classOrFileName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, lineNumber_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, functionName_);
}
for (int i = 0; i < variables_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, variables_.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.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto)) {
return super.equals(obj);
}
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto other = (com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto) obj;
if (hasClassOrFileName() != other.hasClassOrFileName()) return false;
if (hasClassOrFileName()) {
if (!getClassOrFileName()
.equals(other.getClassOrFileName())) return false;
}
if (hasLineNumber() != other.hasLineNumber()) return false;
if (hasLineNumber()) {
if (getLineNumber()
!= other.getLineNumber()) return false;
}
if (hasFunctionName() != other.hasFunctionName()) return false;
if (hasFunctionName()) {
if (!getFunctionName()
.equals(other.getFunctionName())) return false;
}
if (!getVariablesList()
.equals(other.getVariablesList())) 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 (hasClassOrFileName()) {
hash = (37 * hash) + CLASS_OR_FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClassOrFileName().hashCode();
}
if (hasLineNumber()) {
hash = (37 * hash) + LINE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getLineNumber();
}
if (hasFunctionName()) {
hash = (37 * hash) + FUNCTION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFunctionName().hashCode();
}
if (getVariablesCount() > 0) {
hash = (37 * hash) + VARIABLES_FIELD_NUMBER;
hash = (53 * hash) + getVariablesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto 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.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto 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.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto 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.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto 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.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Represents a single stack frame (python) or line in a stack trace (Java).
*
*
* Protobuf type {@code java.apphosting.StackFrameProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.StackFrameProto)
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_StackFrameProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_StackFrameProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder.class);
}
// Construct using com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
classOrFileName_ = "";
lineNumber_ = 0;
functionName_ = "";
if (variablesBuilder_ == null) {
variables_ = java.util.Collections.emptyList();
} else {
variables_ = null;
variablesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_StackFrameProto_descriptor;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto getDefaultInstanceForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto build() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto buildPartial() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto result = new com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto result) {
if (variablesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
variables_ = java.util.Collections.unmodifiableList(variables_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.variables_ = variables_;
} else {
result.variables_ = variablesBuilder_.build();
}
}
private void buildPartial0(com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.classOrFileName_ = classOrFileName_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.lineNumber_ = lineNumber_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.functionName_ = functionName_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto) {
return mergeFrom((com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto other) {
if (other == com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.getDefaultInstance()) return this;
if (other.hasClassOrFileName()) {
classOrFileName_ = other.classOrFileName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasLineNumber()) {
setLineNumber(other.getLineNumber());
}
if (other.hasFunctionName()) {
functionName_ = other.functionName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (variablesBuilder_ == null) {
if (!other.variables_.isEmpty()) {
if (variables_.isEmpty()) {
variables_ = other.variables_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureVariablesIsMutable();
variables_.addAll(other.variables_);
}
onChanged();
}
} else {
if (!other.variables_.isEmpty()) {
if (variablesBuilder_.isEmpty()) {
variablesBuilder_.dispose();
variablesBuilder_ = null;
variables_ = other.variables_;
bitField0_ = (bitField0_ & ~0x00000008);
variablesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getVariablesFieldBuilder() : null;
} else {
variablesBuilder_.addAllMessages(other.variables_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasClassOrFileName()) {
return false;
}
if (!hasFunctionName()) {
return false;
}
for (int i = 0; i < getVariablesCount(); i++) {
if (!getVariables(i).isInitialized()) {
return false;
}
}
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: {
classOrFileName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
lineNumber_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
functionName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto m =
input.readMessage(
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.PARSER,
extensionRegistry);
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.add(m);
} else {
variablesBuilder_.addMessage(m);
}
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 classOrFileName_ = "";
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return Whether the classOrFileName field is set.
*/
public boolean hasClassOrFileName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return The classOrFileName.
*/
public java.lang.String getClassOrFileName() {
java.lang.Object ref = classOrFileName_;
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()) {
classOrFileName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return The bytes for classOrFileName.
*/
public com.google.protobuf.ByteString
getClassOrFileNameBytes() {
java.lang.Object ref = classOrFileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classOrFileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @param value The classOrFileName to set.
* @return This builder for chaining.
*/
public Builder setClassOrFileName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
classOrFileName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @return This builder for chaining.
*/
public Builder clearClassOrFileName() {
classOrFileName_ = getDefaultInstance().getClassOrFileName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* filename in Python, class in Java
*
*
* required string class_or_file_name = 1;
* @param value The bytes for classOrFileName to set.
* @return This builder for chaining.
*/
public Builder setClassOrFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
classOrFileName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int lineNumber_ ;
/**
*
* not always available in Java
*
*
* optional int32 line_number = 2;
* @return Whether the lineNumber field is set.
*/
@java.lang.Override
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* not always available in Java
*
*
* optional int32 line_number = 2;
* @return The lineNumber.
*/
@java.lang.Override
public int getLineNumber() {
return lineNumber_;
}
/**
*
* not always available in Java
*
*
* optional int32 line_number = 2;
* @param value The lineNumber to set.
* @return This builder for chaining.
*/
public Builder setLineNumber(int value) {
lineNumber_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* not always available in Java
*
*
* optional int32 line_number = 2;
* @return This builder for chaining.
*/
public Builder clearLineNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
lineNumber_ = 0;
onChanged();
return this;
}
private java.lang.Object functionName_ = "";
/**
* required string function_name = 3;
* @return Whether the functionName field is set.
*/
public boolean hasFunctionName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* required string function_name = 3;
* @return The functionName.
*/
public java.lang.String getFunctionName() {
java.lang.Object ref = functionName_;
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()) {
functionName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string function_name = 3;
* @return The bytes for functionName.
*/
public com.google.protobuf.ByteString
getFunctionNameBytes() {
java.lang.Object ref = functionName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
functionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string function_name = 3;
* @param value The functionName to set.
* @return This builder for chaining.
*/
public Builder setFunctionName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
functionName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* required string function_name = 3;
* @return This builder for chaining.
*/
public Builder clearFunctionName() {
functionName_ = getDefaultInstance().getFunctionName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* required string function_name = 3;
* @param value The bytes for functionName to set.
* @return This builder for chaining.
*/
public Builder setFunctionNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
functionName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.util.List variables_ =
java.util.Collections.emptyList();
private void ensureVariablesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
variables_ = new java.util.ArrayList(variables_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder> variablesBuilder_;
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public java.util.List getVariablesList() {
if (variablesBuilder_ == null) {
return java.util.Collections.unmodifiableList(variables_);
} else {
return variablesBuilder_.getMessageList();
}
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public int getVariablesCount() {
if (variablesBuilder_ == null) {
return variables_.size();
} else {
return variablesBuilder_.getCount();
}
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getVariables(int index) {
if (variablesBuilder_ == null) {
return variables_.get(index);
} else {
return variablesBuilder_.getMessage(index);
}
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder setVariables(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto value) {
if (variablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariablesIsMutable();
variables_.set(index, value);
onChanged();
} else {
variablesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder setVariables(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder builderForValue) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.set(index, builderForValue.build());
onChanged();
} else {
variablesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder addVariables(com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto value) {
if (variablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariablesIsMutable();
variables_.add(value);
onChanged();
} else {
variablesBuilder_.addMessage(value);
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder addVariables(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto value) {
if (variablesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVariablesIsMutable();
variables_.add(index, value);
onChanged();
} else {
variablesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder addVariables(
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder builderForValue) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.add(builderForValue.build());
onChanged();
} else {
variablesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder addVariables(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder builderForValue) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.add(index, builderForValue.build());
onChanged();
} else {
variablesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder addAllVariables(
java.lang.Iterable extends com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto> values) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, variables_);
onChanged();
} else {
variablesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder clearVariables() {
if (variablesBuilder_ == null) {
variables_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
variablesBuilder_.clear();
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public Builder removeVariables(int index) {
if (variablesBuilder_ == null) {
ensureVariablesIsMutable();
variables_.remove(index);
onChanged();
} else {
variablesBuilder_.remove(index);
}
return this;
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder getVariablesBuilder(
int index) {
return getVariablesFieldBuilder().getBuilder(index);
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder getVariablesOrBuilder(
int index) {
if (variablesBuilder_ == null) {
return variables_.get(index); } else {
return variablesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>
getVariablesOrBuilderList() {
if (variablesBuilder_ != null) {
return variablesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(variables_);
}
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder addVariablesBuilder() {
return getVariablesFieldBuilder().addBuilder(
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.getDefaultInstance());
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder addVariablesBuilder(
int index) {
return getVariablesFieldBuilder().addBuilder(
index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.getDefaultInstance());
}
/**
*
* not available in Java
*
*
* repeated .java.apphosting.KeyValProto variables = 4;
*/
public java.util.List
getVariablesBuilderList() {
return getVariablesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>
getVariablesFieldBuilder() {
if (variablesBuilder_ == null) {
variablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>(
variables_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
variables_ = null;
}
return variablesBuilder_;
}
@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:java.apphosting.StackFrameProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.StackFrameProto)
private static final com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto();
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StackFrameProto 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.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BilledOpProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.BilledOpProto)
com.google.protobuf.MessageOrBuilder {
/**
* required .java.apphosting.BilledOpProto.BilledOp op = 1;
* @return Whether the op field is set.
*/
boolean hasOp();
/**
* required .java.apphosting.BilledOpProto.BilledOp op = 1;
* @return The op.
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp getOp();
/**
*
* the number of times that op was performed
*
*
* required int32 num_ops = 2;
* @return Whether the numOps field is set.
*/
boolean hasNumOps();
/**
*
* the number of times that op was performed
*
*
* required int32 num_ops = 2;
* @return The numOps.
*/
int getNumOps();
}
/**
*
* Billed operations associated with an RPC or a collection of RPCs.
*
*
* Protobuf type {@code java.apphosting.BilledOpProto}
*/
public static final class BilledOpProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.BilledOpProto)
BilledOpProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use BilledOpProto.newBuilder() to construct.
private BilledOpProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BilledOpProto() {
op_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BilledOpProto();
}
@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.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_BilledOpProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_BilledOpProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder.class);
}
/**
* Protobuf enum {@code java.apphosting.BilledOpProto.BilledOp}
*/
public enum BilledOp
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DATASTORE_READ = 0;
*/
DATASTORE_READ(0),
/**
* DATASTORE_WRITE = 1;
*/
DATASTORE_WRITE(1),
/**
* DATASTORE_SMALL = 2;
*/
DATASTORE_SMALL(2),
/**
* MAIL_RECIPIENT = 3;
*/
MAIL_RECIPIENT(3),
/**
* CHANNEL_OPEN = 4;
*/
CHANNEL_OPEN(4),
/**
* XMPP_STANZA = 5;
*/
XMPP_STANZA(5),
/**
*
* Implementation never finished must be preserved as it's referenced by
* the labs jar.
*
*
* CHANNEL_PRESENCE = 6;
*/
CHANNEL_PRESENCE(6),
;
/**
* DATASTORE_READ = 0;
*/
public static final int DATASTORE_READ_VALUE = 0;
/**
* DATASTORE_WRITE = 1;
*/
public static final int DATASTORE_WRITE_VALUE = 1;
/**
* DATASTORE_SMALL = 2;
*/
public static final int DATASTORE_SMALL_VALUE = 2;
/**
* MAIL_RECIPIENT = 3;
*/
public static final int MAIL_RECIPIENT_VALUE = 3;
/**
* CHANNEL_OPEN = 4;
*/
public static final int CHANNEL_OPEN_VALUE = 4;
/**
* XMPP_STANZA = 5;
*/
public static final int XMPP_STANZA_VALUE = 5;
/**
*
* Implementation never finished must be preserved as it's referenced by
* the labs jar.
*
*
* CHANNEL_PRESENCE = 6;
*/
public static final int CHANNEL_PRESENCE_VALUE = 6;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static BilledOp valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static BilledOp forNumber(int value) {
switch (value) {
case 0: return DATASTORE_READ;
case 1: return DATASTORE_WRITE;
case 2: return DATASTORE_SMALL;
case 3: return MAIL_RECIPIENT;
case 4: return CHANNEL_OPEN;
case 5: return XMPP_STANZA;
case 6: return CHANNEL_PRESENCE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
BilledOp> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public BilledOp findValueByNumber(int number) {
return BilledOp.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.getDescriptor().getEnumTypes().get(0);
}
private static final BilledOp[] VALUES = values();
public static BilledOp valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private BilledOp(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:java.apphosting.BilledOpProto.BilledOp)
}
private int bitField0_;
public static final int OP_FIELD_NUMBER = 1;
private int op_ = 0;
/**
* required .java.apphosting.BilledOpProto.BilledOp op = 1;
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .java.apphosting.BilledOpProto.BilledOp op = 1;
* @return The op.
*/
@java.lang.Override public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp getOp() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp result = com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp.forNumber(op_);
return result == null ? com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp.DATASTORE_READ : result;
}
public static final int NUM_OPS_FIELD_NUMBER = 2;
private int numOps_ = 0;
/**
*
* the number of times that op was performed
*
*
* required int32 num_ops = 2;
* @return Whether the numOps field is set.
*/
@java.lang.Override
public boolean hasNumOps() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* the number of times that op was performed
*
*
* required int32 num_ops = 2;
* @return The numOps.
*/
@java.lang.Override
public int getNumOps() {
return numOps_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasOp()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasNumOps()) {
memoizedIsInitialized = 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.writeEnum(1, op_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, numOps_);
}
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
.computeEnumSize(1, op_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, numOps_);
}
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.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto)) {
return super.equals(obj);
}
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto other = (com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto) obj;
if (hasOp() != other.hasOp()) return false;
if (hasOp()) {
if (op_ != other.op_) return false;
}
if (hasNumOps() != other.hasNumOps()) return false;
if (hasNumOps()) {
if (getNumOps()
!= other.getNumOps()) 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 (hasOp()) {
hash = (37 * hash) + OP_FIELD_NUMBER;
hash = (53 * hash) + op_;
}
if (hasNumOps()) {
hash = (37 * hash) + NUM_OPS_FIELD_NUMBER;
hash = (53 * hash) + getNumOps();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto 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.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto 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.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto 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.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto 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.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto 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;
}
/**
*
* Billed operations associated with an RPC or a collection of RPCs.
*
*
* Protobuf type {@code java.apphosting.BilledOpProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.BilledOpProto)
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_BilledOpProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_BilledOpProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder.class);
}
// Construct using com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
op_ = 0;
numOps_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_BilledOpProto_descriptor;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getDefaultInstanceForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto build() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto buildPartial() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto result = new com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.op_ = op_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.numOps_ = numOps_;
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.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto) {
return mergeFrom((com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto other) {
if (other == com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.getDefaultInstance()) return this;
if (other.hasOp()) {
setOp(other.getOp());
}
if (other.hasNumOps()) {
setNumOps(other.getNumOps());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasOp()) {
return false;
}
if (!hasNumOps()) {
return false;
}
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: {
int tmpRaw = input.readEnum();
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp tmpValue =
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
op_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 16: {
numOps_ = 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 op_ = 0;
/**
* required .java.apphosting.BilledOpProto.BilledOp op = 1;
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required .java.apphosting.BilledOpProto.BilledOp op = 1;
* @return The op.
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp getOp() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp result = com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp.forNumber(op_);
return result == null ? com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp.DATASTORE_READ : result;
}
/**
* required .java.apphosting.BilledOpProto.BilledOp op = 1;
* @param value The op to set.
* @return This builder for chaining.
*/
public Builder setOp(com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.BilledOp value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
op_ = value.getNumber();
onChanged();
return this;
}
/**
* required .java.apphosting.BilledOpProto.BilledOp op = 1;
* @return This builder for chaining.
*/
public Builder clearOp() {
bitField0_ = (bitField0_ & ~0x00000001);
op_ = 0;
onChanged();
return this;
}
private int numOps_ ;
/**
*
* the number of times that op was performed
*
*
* required int32 num_ops = 2;
* @return Whether the numOps field is set.
*/
@java.lang.Override
public boolean hasNumOps() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* the number of times that op was performed
*
*
* required int32 num_ops = 2;
* @return The numOps.
*/
@java.lang.Override
public int getNumOps() {
return numOps_;
}
/**
*
* the number of times that op was performed
*
*
* required int32 num_ops = 2;
* @param value The numOps to set.
* @return This builder for chaining.
*/
public Builder setNumOps(int value) {
numOps_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* the number of times that op was performed
*
*
* required int32 num_ops = 2;
* @return This builder for chaining.
*/
public Builder clearNumOps() {
bitField0_ = (bitField0_ & ~0x00000002);
numOps_ = 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:java.apphosting.BilledOpProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.BilledOpProto)
private static final com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto();
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BilledOpProto 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.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DatastoreCallDetailsProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.DatastoreCallDetailsProto)
com.google.protobuf.MessageOrBuilder {
/**
* optional string query_kind = 1;
* @return Whether the queryKind field is set.
*/
boolean hasQueryKind();
/**
* optional string query_kind = 1;
* @return The queryKind.
*/
java.lang.String getQueryKind();
/**
* optional string query_kind = 1;
* @return The bytes for queryKind.
*/
com.google.protobuf.ByteString
getQueryKindBytes();
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
* @return Whether the queryAncestor field is set.
*/
boolean hasQueryAncestor();
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
* @return The queryAncestor.
*/
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getQueryAncestor();
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getQueryAncestorOrBuilder();
/**
* optional fixed64 query_thiscursor = 3;
* @return Whether the queryThiscursor field is set.
*/
boolean hasQueryThiscursor();
/**
* optional fixed64 query_thiscursor = 3;
* @return The queryThiscursor.
*/
long getQueryThiscursor();
/**
* optional fixed64 query_nextcursor = 4;
* @return Whether the queryNextcursor field is set.
*/
boolean hasQueryNextcursor();
/**
* optional fixed64 query_nextcursor = 4;
* @return The queryNextcursor.
*/
long getQueryNextcursor();
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @return A list containing the getSuccessfulFetch.
*/
java.util.List getGetSuccessfulFetchList();
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @return The count of getSuccessfulFetch.
*/
int getGetSuccessfulFetchCount();
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @param index The index of the element to return.
* @return The getSuccessfulFetch at the given index.
*/
boolean getGetSuccessfulFetch(int index);
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
java.util.List
getKeysReadList();
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getKeysRead(int index);
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
int getKeysReadCount();
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
java.util.List extends com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getKeysReadOrBuilderList();
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getKeysReadOrBuilder(
int index);
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
java.util.List
getKeysWrittenList();
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getKeysWritten(int index);
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
int getKeysWrittenCount();
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
java.util.List extends com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getKeysWrittenOrBuilderList();
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getKeysWrittenOrBuilder(
int index);
}
/**
*
* Detailed information about individual datastore RPC calls such as keys of
* entities fetched or written by the call. In addition to the entity keys,
* useful information specific to each call is recorded. E.g., for queries,
* the entity kind and cursor information is recorded; For gets, a flag
* indicating if the requested entity key is successfully retrieved is recorded.
*
*
* Protobuf type {@code java.apphosting.DatastoreCallDetailsProto}
*/
public static final class DatastoreCallDetailsProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.DatastoreCallDetailsProto)
DatastoreCallDetailsProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DatastoreCallDetailsProto.newBuilder() to construct.
private DatastoreCallDetailsProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DatastoreCallDetailsProto() {
queryKind_ = "";
getSuccessfulFetch_ = emptyBooleanList();
keysRead_ = java.util.Collections.emptyList();
keysWritten_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DatastoreCallDetailsProto();
}
@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.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_DatastoreCallDetailsProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_DatastoreCallDetailsProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.Builder.class);
}
private int bitField0_;
public static final int QUERY_KIND_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object queryKind_ = "";
/**
* optional string query_kind = 1;
* @return Whether the queryKind field is set.
*/
@java.lang.Override
public boolean hasQueryKind() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string query_kind = 1;
* @return The queryKind.
*/
@java.lang.Override
public java.lang.String getQueryKind() {
java.lang.Object ref = queryKind_;
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()) {
queryKind_ = s;
}
return s;
}
}
/**
* optional string query_kind = 1;
* @return The bytes for queryKind.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQueryKindBytes() {
java.lang.Object ref = queryKind_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
queryKind_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int QUERY_ANCESTOR_FIELD_NUMBER = 2;
private com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference queryAncestor_;
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
* @return Whether the queryAncestor field is set.
*/
@java.lang.Override
public boolean hasQueryAncestor() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
* @return The queryAncestor.
*/
@java.lang.Override
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getQueryAncestor() {
return queryAncestor_ == null ? com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance() : queryAncestor_;
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
@java.lang.Override
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getQueryAncestorOrBuilder() {
return queryAncestor_ == null ? com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance() : queryAncestor_;
}
public static final int QUERY_THISCURSOR_FIELD_NUMBER = 3;
private long queryThiscursor_ = 0L;
/**
* optional fixed64 query_thiscursor = 3;
* @return Whether the queryThiscursor field is set.
*/
@java.lang.Override
public boolean hasQueryThiscursor() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional fixed64 query_thiscursor = 3;
* @return The queryThiscursor.
*/
@java.lang.Override
public long getQueryThiscursor() {
return queryThiscursor_;
}
public static final int QUERY_NEXTCURSOR_FIELD_NUMBER = 4;
private long queryNextcursor_ = 0L;
/**
* optional fixed64 query_nextcursor = 4;
* @return Whether the queryNextcursor field is set.
*/
@java.lang.Override
public boolean hasQueryNextcursor() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional fixed64 query_nextcursor = 4;
* @return The queryNextcursor.
*/
@java.lang.Override
public long getQueryNextcursor() {
return queryNextcursor_;
}
public static final int GET_SUCCESSFUL_FETCH_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.BooleanList getSuccessfulFetch_;
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @return A list containing the getSuccessfulFetch.
*/
@java.lang.Override
public java.util.List
getGetSuccessfulFetchList() {
return getSuccessfulFetch_;
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @return The count of getSuccessfulFetch.
*/
public int getGetSuccessfulFetchCount() {
return getSuccessfulFetch_.size();
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @param index The index of the element to return.
* @return The getSuccessfulFetch at the given index.
*/
public boolean getGetSuccessfulFetch(int index) {
return getSuccessfulFetch_.getBoolean(index);
}
public static final int KEYS_READ_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List keysRead_;
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
@java.lang.Override
public java.util.List getKeysReadList() {
return keysRead_;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
@java.lang.Override
public java.util.List extends com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getKeysReadOrBuilderList() {
return keysRead_;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
@java.lang.Override
public int getKeysReadCount() {
return keysRead_.size();
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
@java.lang.Override
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getKeysRead(int index) {
return keysRead_.get(index);
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
@java.lang.Override
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getKeysReadOrBuilder(
int index) {
return keysRead_.get(index);
}
public static final int KEYS_WRITTEN_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private java.util.List keysWritten_;
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
@java.lang.Override
public java.util.List getKeysWrittenList() {
return keysWritten_;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
@java.lang.Override
public java.util.List extends com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getKeysWrittenOrBuilderList() {
return keysWritten_;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
@java.lang.Override
public int getKeysWrittenCount() {
return keysWritten_.size();
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
@java.lang.Override
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getKeysWritten(int index) {
return keysWritten_.get(index);
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
@java.lang.Override
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getKeysWrittenOrBuilder(
int index) {
return keysWritten_.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;
if (hasQueryAncestor()) {
if (!getQueryAncestor().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getKeysReadCount(); i++) {
if (!getKeysRead(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getKeysWrittenCount(); i++) {
if (!getKeysWritten(i).isInitialized()) {
memoizedIsInitialized = 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, queryKind_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getQueryAncestor());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeFixed64(3, queryThiscursor_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeFixed64(4, queryNextcursor_);
}
for (int i = 0; i < getSuccessfulFetch_.size(); i++) {
output.writeBool(5, getSuccessfulFetch_.getBoolean(i));
}
for (int i = 0; i < keysRead_.size(); i++) {
output.writeMessage(6, keysRead_.get(i));
}
for (int i = 0; i < keysWritten_.size(); i++) {
output.writeMessage(7, keysWritten_.get(i));
}
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, queryKind_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getQueryAncestor());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(3, queryThiscursor_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(4, queryNextcursor_);
}
{
int dataSize = 0;
dataSize = 1 * getGetSuccessfulFetchList().size();
size += dataSize;
size += 1 * getGetSuccessfulFetchList().size();
}
for (int i = 0; i < keysRead_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, keysRead_.get(i));
}
for (int i = 0; i < keysWritten_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, keysWritten_.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.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto)) {
return super.equals(obj);
}
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto other = (com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto) obj;
if (hasQueryKind() != other.hasQueryKind()) return false;
if (hasQueryKind()) {
if (!getQueryKind()
.equals(other.getQueryKind())) return false;
}
if (hasQueryAncestor() != other.hasQueryAncestor()) return false;
if (hasQueryAncestor()) {
if (!getQueryAncestor()
.equals(other.getQueryAncestor())) return false;
}
if (hasQueryThiscursor() != other.hasQueryThiscursor()) return false;
if (hasQueryThiscursor()) {
if (getQueryThiscursor()
!= other.getQueryThiscursor()) return false;
}
if (hasQueryNextcursor() != other.hasQueryNextcursor()) return false;
if (hasQueryNextcursor()) {
if (getQueryNextcursor()
!= other.getQueryNextcursor()) return false;
}
if (!getGetSuccessfulFetchList()
.equals(other.getGetSuccessfulFetchList())) return false;
if (!getKeysReadList()
.equals(other.getKeysReadList())) return false;
if (!getKeysWrittenList()
.equals(other.getKeysWrittenList())) 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 (hasQueryKind()) {
hash = (37 * hash) + QUERY_KIND_FIELD_NUMBER;
hash = (53 * hash) + getQueryKind().hashCode();
}
if (hasQueryAncestor()) {
hash = (37 * hash) + QUERY_ANCESTOR_FIELD_NUMBER;
hash = (53 * hash) + getQueryAncestor().hashCode();
}
if (hasQueryThiscursor()) {
hash = (37 * hash) + QUERY_THISCURSOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getQueryThiscursor());
}
if (hasQueryNextcursor()) {
hash = (37 * hash) + QUERY_NEXTCURSOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getQueryNextcursor());
}
if (getGetSuccessfulFetchCount() > 0) {
hash = (37 * hash) + GET_SUCCESSFUL_FETCH_FIELD_NUMBER;
hash = (53 * hash) + getGetSuccessfulFetchList().hashCode();
}
if (getKeysReadCount() > 0) {
hash = (37 * hash) + KEYS_READ_FIELD_NUMBER;
hash = (53 * hash) + getKeysReadList().hashCode();
}
if (getKeysWrittenCount() > 0) {
hash = (37 * hash) + KEYS_WRITTEN_FIELD_NUMBER;
hash = (53 * hash) + getKeysWrittenList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto 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.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto 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.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto 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.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto 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.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto 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;
}
/**
*
* Detailed information about individual datastore RPC calls such as keys of
* entities fetched or written by the call. In addition to the entity keys,
* useful information specific to each call is recorded. E.g., for queries,
* the entity kind and cursor information is recorded; For gets, a flag
* indicating if the requested entity key is successfully retrieved is recorded.
*
*
* Protobuf type {@code java.apphosting.DatastoreCallDetailsProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.DatastoreCallDetailsProto)
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_DatastoreCallDetailsProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_DatastoreCallDetailsProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.Builder.class);
}
// Construct using com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getQueryAncestorFieldBuilder();
getKeysReadFieldBuilder();
getKeysWrittenFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
queryKind_ = "";
queryAncestor_ = null;
if (queryAncestorBuilder_ != null) {
queryAncestorBuilder_.dispose();
queryAncestorBuilder_ = null;
}
queryThiscursor_ = 0L;
queryNextcursor_ = 0L;
getSuccessfulFetch_ = emptyBooleanList();
if (keysReadBuilder_ == null) {
keysRead_ = java.util.Collections.emptyList();
} else {
keysRead_ = null;
keysReadBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
if (keysWrittenBuilder_ == null) {
keysWritten_ = java.util.Collections.emptyList();
} else {
keysWritten_ = null;
keysWrittenBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_DatastoreCallDetailsProto_descriptor;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto getDefaultInstanceForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto build() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto buildPartial() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto result = new com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto result) {
if (((bitField0_ & 0x00000010) != 0)) {
getSuccessfulFetch_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.getSuccessfulFetch_ = getSuccessfulFetch_;
if (keysReadBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
keysRead_ = java.util.Collections.unmodifiableList(keysRead_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.keysRead_ = keysRead_;
} else {
result.keysRead_ = keysReadBuilder_.build();
}
if (keysWrittenBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
keysWritten_ = java.util.Collections.unmodifiableList(keysWritten_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.keysWritten_ = keysWritten_;
} else {
result.keysWritten_ = keysWrittenBuilder_.build();
}
}
private void buildPartial0(com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.queryKind_ = queryKind_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.queryAncestor_ = queryAncestorBuilder_ == null
? queryAncestor_
: queryAncestorBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.queryThiscursor_ = queryThiscursor_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.queryNextcursor_ = queryNextcursor_;
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.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto) {
return mergeFrom((com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto other) {
if (other == com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.getDefaultInstance()) return this;
if (other.hasQueryKind()) {
queryKind_ = other.queryKind_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasQueryAncestor()) {
mergeQueryAncestor(other.getQueryAncestor());
}
if (other.hasQueryThiscursor()) {
setQueryThiscursor(other.getQueryThiscursor());
}
if (other.hasQueryNextcursor()) {
setQueryNextcursor(other.getQueryNextcursor());
}
if (!other.getSuccessfulFetch_.isEmpty()) {
if (getSuccessfulFetch_.isEmpty()) {
getSuccessfulFetch_ = other.getSuccessfulFetch_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureGetSuccessfulFetchIsMutable();
getSuccessfulFetch_.addAll(other.getSuccessfulFetch_);
}
onChanged();
}
if (keysReadBuilder_ == null) {
if (!other.keysRead_.isEmpty()) {
if (keysRead_.isEmpty()) {
keysRead_ = other.keysRead_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureKeysReadIsMutable();
keysRead_.addAll(other.keysRead_);
}
onChanged();
}
} else {
if (!other.keysRead_.isEmpty()) {
if (keysReadBuilder_.isEmpty()) {
keysReadBuilder_.dispose();
keysReadBuilder_ = null;
keysRead_ = other.keysRead_;
bitField0_ = (bitField0_ & ~0x00000020);
keysReadBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getKeysReadFieldBuilder() : null;
} else {
keysReadBuilder_.addAllMessages(other.keysRead_);
}
}
}
if (keysWrittenBuilder_ == null) {
if (!other.keysWritten_.isEmpty()) {
if (keysWritten_.isEmpty()) {
keysWritten_ = other.keysWritten_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureKeysWrittenIsMutable();
keysWritten_.addAll(other.keysWritten_);
}
onChanged();
}
} else {
if (!other.keysWritten_.isEmpty()) {
if (keysWrittenBuilder_.isEmpty()) {
keysWrittenBuilder_.dispose();
keysWrittenBuilder_ = null;
keysWritten_ = other.keysWritten_;
bitField0_ = (bitField0_ & ~0x00000040);
keysWrittenBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getKeysWrittenFieldBuilder() : null;
} else {
keysWrittenBuilder_.addAllMessages(other.keysWritten_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasQueryAncestor()) {
if (!getQueryAncestor().isInitialized()) {
return false;
}
}
for (int i = 0; i < getKeysReadCount(); i++) {
if (!getKeysRead(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getKeysWrittenCount(); i++) {
if (!getKeysWritten(i).isInitialized()) {
return false;
}
}
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: {
queryKind_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getQueryAncestorFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 25: {
queryThiscursor_ = input.readFixed64();
bitField0_ |= 0x00000004;
break;
} // case 25
case 33: {
queryNextcursor_ = input.readFixed64();
bitField0_ |= 0x00000008;
break;
} // case 33
case 40: {
boolean v = input.readBool();
ensureGetSuccessfulFetchIsMutable();
getSuccessfulFetch_.addBoolean(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureGetSuccessfulFetchIsMutable();
while (input.getBytesUntilLimit() > 0) {
getSuccessfulFetch_.addBoolean(input.readBool());
}
input.popLimit(limit);
break;
} // case 42
case 50: {
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference m =
input.readMessage(
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.PARSER,
extensionRegistry);
if (keysReadBuilder_ == null) {
ensureKeysReadIsMutable();
keysRead_.add(m);
} else {
keysReadBuilder_.addMessage(m);
}
break;
} // case 50
case 58: {
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference m =
input.readMessage(
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.PARSER,
extensionRegistry);
if (keysWrittenBuilder_ == null) {
ensureKeysWrittenIsMutable();
keysWritten_.add(m);
} else {
keysWrittenBuilder_.addMessage(m);
}
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object queryKind_ = "";
/**
* optional string query_kind = 1;
* @return Whether the queryKind field is set.
*/
public boolean hasQueryKind() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string query_kind = 1;
* @return The queryKind.
*/
public java.lang.String getQueryKind() {
java.lang.Object ref = queryKind_;
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()) {
queryKind_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string query_kind = 1;
* @return The bytes for queryKind.
*/
public com.google.protobuf.ByteString
getQueryKindBytes() {
java.lang.Object ref = queryKind_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
queryKind_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string query_kind = 1;
* @param value The queryKind to set.
* @return This builder for chaining.
*/
public Builder setQueryKind(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
queryKind_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string query_kind = 1;
* @return This builder for chaining.
*/
public Builder clearQueryKind() {
queryKind_ = getDefaultInstance().getQueryKind();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string query_kind = 1;
* @param value The bytes for queryKind to set.
* @return This builder for chaining.
*/
public Builder setQueryKindBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
queryKind_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference queryAncestor_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder> queryAncestorBuilder_;
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
* @return Whether the queryAncestor field is set.
*/
public boolean hasQueryAncestor() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
* @return The queryAncestor.
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getQueryAncestor() {
if (queryAncestorBuilder_ == null) {
return queryAncestor_ == null ? com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance() : queryAncestor_;
} else {
return queryAncestorBuilder_.getMessage();
}
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
public Builder setQueryAncestor(com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference value) {
if (queryAncestorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
queryAncestor_ = value;
} else {
queryAncestorBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
public Builder setQueryAncestor(
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder builderForValue) {
if (queryAncestorBuilder_ == null) {
queryAncestor_ = builderForValue.build();
} else {
queryAncestorBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
public Builder mergeQueryAncestor(com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference value) {
if (queryAncestorBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
queryAncestor_ != null &&
queryAncestor_ != com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance()) {
getQueryAncestorBuilder().mergeFrom(value);
} else {
queryAncestor_ = value;
}
} else {
queryAncestorBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
public Builder clearQueryAncestor() {
bitField0_ = (bitField0_ & ~0x00000002);
queryAncestor_ = null;
if (queryAncestorBuilder_ != null) {
queryAncestorBuilder_.dispose();
queryAncestorBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder getQueryAncestorBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getQueryAncestorFieldBuilder().getBuilder();
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getQueryAncestorOrBuilder() {
if (queryAncestorBuilder_ != null) {
return queryAncestorBuilder_.getMessageOrBuilder();
} else {
return queryAncestor_ == null ?
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance() : queryAncestor_;
}
}
/**
* optional .storage_onestore_v3.Reference query_ancestor = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getQueryAncestorFieldBuilder() {
if (queryAncestorBuilder_ == null) {
queryAncestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>(
getQueryAncestor(),
getParentForChildren(),
isClean());
queryAncestor_ = null;
}
return queryAncestorBuilder_;
}
private long queryThiscursor_ ;
/**
* optional fixed64 query_thiscursor = 3;
* @return Whether the queryThiscursor field is set.
*/
@java.lang.Override
public boolean hasQueryThiscursor() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional fixed64 query_thiscursor = 3;
* @return The queryThiscursor.
*/
@java.lang.Override
public long getQueryThiscursor() {
return queryThiscursor_;
}
/**
* optional fixed64 query_thiscursor = 3;
* @param value The queryThiscursor to set.
* @return This builder for chaining.
*/
public Builder setQueryThiscursor(long value) {
queryThiscursor_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional fixed64 query_thiscursor = 3;
* @return This builder for chaining.
*/
public Builder clearQueryThiscursor() {
bitField0_ = (bitField0_ & ~0x00000004);
queryThiscursor_ = 0L;
onChanged();
return this;
}
private long queryNextcursor_ ;
/**
* optional fixed64 query_nextcursor = 4;
* @return Whether the queryNextcursor field is set.
*/
@java.lang.Override
public boolean hasQueryNextcursor() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional fixed64 query_nextcursor = 4;
* @return The queryNextcursor.
*/
@java.lang.Override
public long getQueryNextcursor() {
return queryNextcursor_;
}
/**
* optional fixed64 query_nextcursor = 4;
* @param value The queryNextcursor to set.
* @return This builder for chaining.
*/
public Builder setQueryNextcursor(long value) {
queryNextcursor_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional fixed64 query_nextcursor = 4;
* @return This builder for chaining.
*/
public Builder clearQueryNextcursor() {
bitField0_ = (bitField0_ & ~0x00000008);
queryNextcursor_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.BooleanList getSuccessfulFetch_ = emptyBooleanList();
private void ensureGetSuccessfulFetchIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
getSuccessfulFetch_ = mutableCopy(getSuccessfulFetch_);
bitField0_ |= 0x00000010;
}
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @return A list containing the getSuccessfulFetch.
*/
public java.util.List
getGetSuccessfulFetchList() {
return ((bitField0_ & 0x00000010) != 0) ?
java.util.Collections.unmodifiableList(getSuccessfulFetch_) : getSuccessfulFetch_;
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @return The count of getSuccessfulFetch.
*/
public int getGetSuccessfulFetchCount() {
return getSuccessfulFetch_.size();
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @param index The index of the element to return.
* @return The getSuccessfulFetch at the given index.
*/
public boolean getGetSuccessfulFetch(int index) {
return getSuccessfulFetch_.getBoolean(index);
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @param index The index to set the value at.
* @param value The getSuccessfulFetch to set.
* @return This builder for chaining.
*/
public Builder setGetSuccessfulFetch(
int index, boolean value) {
ensureGetSuccessfulFetchIsMutable();
getSuccessfulFetch_.setBoolean(index, value);
onChanged();
return this;
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @param value The getSuccessfulFetch to add.
* @return This builder for chaining.
*/
public Builder addGetSuccessfulFetch(boolean value) {
ensureGetSuccessfulFetchIsMutable();
getSuccessfulFetch_.addBoolean(value);
onChanged();
return this;
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @param values The getSuccessfulFetch to add.
* @return This builder for chaining.
*/
public Builder addAllGetSuccessfulFetch(
java.lang.Iterable extends java.lang.Boolean> values) {
ensureGetSuccessfulFetchIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, getSuccessfulFetch_);
onChanged();
return this;
}
/**
*
* For get calls, not all requested entities are successfully retrieved.
* We record a bool per requested entity key indicating if the corresponding
* key was successfully fetched. The actual set of entities requested is
* recorded in the keys_read field below.
*
*
* repeated bool get_successful_fetch = 5;
* @return This builder for chaining.
*/
public Builder clearGetSuccessfulFetch() {
getSuccessfulFetch_ = emptyBooleanList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private java.util.List keysRead_ =
java.util.Collections.emptyList();
private void ensureKeysReadIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
keysRead_ = new java.util.ArrayList(keysRead_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder> keysReadBuilder_;
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public java.util.List getKeysReadList() {
if (keysReadBuilder_ == null) {
return java.util.Collections.unmodifiableList(keysRead_);
} else {
return keysReadBuilder_.getMessageList();
}
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public int getKeysReadCount() {
if (keysReadBuilder_ == null) {
return keysRead_.size();
} else {
return keysReadBuilder_.getCount();
}
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getKeysRead(int index) {
if (keysReadBuilder_ == null) {
return keysRead_.get(index);
} else {
return keysReadBuilder_.getMessage(index);
}
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder setKeysRead(
int index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference value) {
if (keysReadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysReadIsMutable();
keysRead_.set(index, value);
onChanged();
} else {
keysReadBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder setKeysRead(
int index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder builderForValue) {
if (keysReadBuilder_ == null) {
ensureKeysReadIsMutable();
keysRead_.set(index, builderForValue.build());
onChanged();
} else {
keysReadBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder addKeysRead(com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference value) {
if (keysReadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysReadIsMutable();
keysRead_.add(value);
onChanged();
} else {
keysReadBuilder_.addMessage(value);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder addKeysRead(
int index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference value) {
if (keysReadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysReadIsMutable();
keysRead_.add(index, value);
onChanged();
} else {
keysReadBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder addKeysRead(
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder builderForValue) {
if (keysReadBuilder_ == null) {
ensureKeysReadIsMutable();
keysRead_.add(builderForValue.build());
onChanged();
} else {
keysReadBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder addKeysRead(
int index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder builderForValue) {
if (keysReadBuilder_ == null) {
ensureKeysReadIsMutable();
keysRead_.add(index, builderForValue.build());
onChanged();
} else {
keysReadBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder addAllKeysRead(
java.lang.Iterable extends com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference> values) {
if (keysReadBuilder_ == null) {
ensureKeysReadIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keysRead_);
onChanged();
} else {
keysReadBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder clearKeysRead() {
if (keysReadBuilder_ == null) {
keysRead_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
keysReadBuilder_.clear();
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public Builder removeKeysRead(int index) {
if (keysReadBuilder_ == null) {
ensureKeysReadIsMutable();
keysRead_.remove(index);
onChanged();
} else {
keysReadBuilder_.remove(index);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder getKeysReadBuilder(
int index) {
return getKeysReadFieldBuilder().getBuilder(index);
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getKeysReadOrBuilder(
int index) {
if (keysReadBuilder_ == null) {
return keysRead_.get(index); } else {
return keysReadBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public java.util.List extends com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getKeysReadOrBuilderList() {
if (keysReadBuilder_ != null) {
return keysReadBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(keysRead_);
}
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder addKeysReadBuilder() {
return getKeysReadFieldBuilder().addBuilder(
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance());
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder addKeysReadBuilder(
int index) {
return getKeysReadFieldBuilder().addBuilder(
index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance());
}
/**
*
* Optional (resource and space intensive) information about the keys of
* entities that were fetched/written in datastore get/put/query/next
* calls. Currently, entities accessed in other RPC calls is not recorded.
* For get calls, keys_read represents the set of keys requested
* from the datastore -- success status is recorded seperately.
*
*
* repeated .storage_onestore_v3.Reference keys_read = 6;
*/
public java.util.List
getKeysReadBuilderList() {
return getKeysReadFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getKeysReadFieldBuilder() {
if (keysReadBuilder_ == null) {
keysReadBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>(
keysRead_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
keysRead_ = null;
}
return keysReadBuilder_;
}
private java.util.List keysWritten_ =
java.util.Collections.emptyList();
private void ensureKeysWrittenIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
keysWritten_ = new java.util.ArrayList(keysWritten_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder> keysWrittenBuilder_;
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public java.util.List getKeysWrittenList() {
if (keysWrittenBuilder_ == null) {
return java.util.Collections.unmodifiableList(keysWritten_);
} else {
return keysWrittenBuilder_.getMessageList();
}
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public int getKeysWrittenCount() {
if (keysWrittenBuilder_ == null) {
return keysWritten_.size();
} else {
return keysWrittenBuilder_.getCount();
}
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference getKeysWritten(int index) {
if (keysWrittenBuilder_ == null) {
return keysWritten_.get(index);
} else {
return keysWrittenBuilder_.getMessage(index);
}
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder setKeysWritten(
int index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference value) {
if (keysWrittenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysWrittenIsMutable();
keysWritten_.set(index, value);
onChanged();
} else {
keysWrittenBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder setKeysWritten(
int index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder builderForValue) {
if (keysWrittenBuilder_ == null) {
ensureKeysWrittenIsMutable();
keysWritten_.set(index, builderForValue.build());
onChanged();
} else {
keysWrittenBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder addKeysWritten(com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference value) {
if (keysWrittenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysWrittenIsMutable();
keysWritten_.add(value);
onChanged();
} else {
keysWrittenBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder addKeysWritten(
int index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference value) {
if (keysWrittenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysWrittenIsMutable();
keysWritten_.add(index, value);
onChanged();
} else {
keysWrittenBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder addKeysWritten(
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder builderForValue) {
if (keysWrittenBuilder_ == null) {
ensureKeysWrittenIsMutable();
keysWritten_.add(builderForValue.build());
onChanged();
} else {
keysWrittenBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder addKeysWritten(
int index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder builderForValue) {
if (keysWrittenBuilder_ == null) {
ensureKeysWrittenIsMutable();
keysWritten_.add(index, builderForValue.build());
onChanged();
} else {
keysWrittenBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder addAllKeysWritten(
java.lang.Iterable extends com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference> values) {
if (keysWrittenBuilder_ == null) {
ensureKeysWrittenIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keysWritten_);
onChanged();
} else {
keysWrittenBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder clearKeysWritten() {
if (keysWrittenBuilder_ == null) {
keysWritten_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
keysWrittenBuilder_.clear();
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public Builder removeKeysWritten(int index) {
if (keysWrittenBuilder_ == null) {
ensureKeysWrittenIsMutable();
keysWritten_.remove(index);
onChanged();
} else {
keysWrittenBuilder_.remove(index);
}
return this;
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder getKeysWrittenBuilder(
int index) {
return getKeysWrittenFieldBuilder().getBuilder(index);
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder getKeysWrittenOrBuilder(
int index) {
if (keysWrittenBuilder_ == null) {
return keysWritten_.get(index); } else {
return keysWrittenBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public java.util.List extends com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getKeysWrittenOrBuilderList() {
if (keysWrittenBuilder_ != null) {
return keysWrittenBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(keysWritten_);
}
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder addKeysWrittenBuilder() {
return getKeysWrittenFieldBuilder().addBuilder(
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance());
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder addKeysWrittenBuilder(
int index) {
return getKeysWrittenFieldBuilder().addBuilder(
index, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.getDefaultInstance());
}
/**
* repeated .storage_onestore_v3.Reference keys_written = 7;
*/
public java.util.List
getKeysWrittenBuilderList() {
return getKeysWrittenFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>
getKeysWrittenFieldBuilder() {
if (keysWrittenBuilder_ == null) {
keysWrittenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference, com.google.storage.onestore.v3.proto2api.OnestoreEntity.Reference.Builder, com.google.storage.onestore.v3.proto2api.OnestoreEntity.ReferenceOrBuilder>(
keysWritten_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
keysWritten_ = null;
}
return keysWrittenBuilder_;
}
@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:java.apphosting.DatastoreCallDetailsProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.DatastoreCallDetailsProto)
private static final com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto();
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DatastoreCallDetailsProto 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.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IndividualRpcStatsProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.IndividualRpcStatsProto)
com.google.protobuf.MessageOrBuilder {
/**
* required string service_call_name = 1;
* @return Whether the serviceCallName field is set.
*/
boolean hasServiceCallName();
/**
* required string service_call_name = 1;
* @return The serviceCallName.
*/
java.lang.String getServiceCallName();
/**
* required string service_call_name = 1;
* @return The bytes for serviceCallName.
*/
com.google.protobuf.ByteString
getServiceCallNameBytes();
/**
* optional string request_data_summary = 3;
* @return Whether the requestDataSummary field is set.
*/
boolean hasRequestDataSummary();
/**
* optional string request_data_summary = 3;
* @return The requestDataSummary.
*/
java.lang.String getRequestDataSummary();
/**
* optional string request_data_summary = 3;
* @return The bytes for requestDataSummary.
*/
com.google.protobuf.ByteString
getRequestDataSummaryBytes();
/**
* optional string response_data_summary = 4;
* @return Whether the responseDataSummary field is set.
*/
boolean hasResponseDataSummary();
/**
* optional string response_data_summary = 4;
* @return The responseDataSummary.
*/
java.lang.String getResponseDataSummary();
/**
* optional string response_data_summary = 4;
* @return The bytes for responseDataSummary.
*/
com.google.protobuf.ByteString
getResponseDataSummaryBytes();
/**
* optional int64 api_mcycles = 5;
* @return Whether the apiMcycles field is set.
*/
boolean hasApiMcycles();
/**
* optional int64 api_mcycles = 5;
* @return The apiMcycles.
*/
long getApiMcycles();
/**
* optional int64 api_milliseconds = 11;
* @return Whether the apiMilliseconds field is set.
*/
boolean hasApiMilliseconds();
/**
* optional int64 api_milliseconds = 11;
* @return The apiMilliseconds.
*/
long getApiMilliseconds();
/**
* required int64 start_offset_milliseconds = 6;
* @return Whether the startOffsetMilliseconds field is set.
*/
boolean hasStartOffsetMilliseconds();
/**
* required int64 start_offset_milliseconds = 6;
* @return The startOffsetMilliseconds.
*/
long getStartOffsetMilliseconds();
/**
* optional int64 duration_milliseconds = 7 [default = 0];
* @return Whether the durationMilliseconds field is set.
*/
boolean hasDurationMilliseconds();
/**
* optional int64 duration_milliseconds = 7 [default = 0];
* @return The durationMilliseconds.
*/
long getDurationMilliseconds();
/**
* optional string namespace = 8 [default = ""];
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* optional string namespace = 8 [default = ""];
* @return The namespace.
*/
java.lang.String getNamespace();
/**
* optional string namespace = 8 [default = ""];
* @return The bytes for namespace.
*/
com.google.protobuf.ByteString
getNamespaceBytes();
/**
* optional bool was_successful = 9 [default = true];
* @return Whether the wasSuccessful field is set.
*/
boolean hasWasSuccessful();
/**
* optional bool was_successful = 9 [default = true];
* @return The wasSuccessful.
*/
boolean getWasSuccessful();
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
java.util.List
getCallStackList();
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto getCallStack(int index);
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
int getCallStackCount();
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder>
getCallStackOrBuilderList();
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder getCallStackOrBuilder(
int index);
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
* @return Whether the datastoreDetails field is set.
*/
boolean hasDatastoreDetails();
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
* @return The datastoreDetails.
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto getDatastoreDetails();
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProtoOrBuilder getDatastoreDetailsOrBuilder();
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 call_cost_microdollars = 13;
* @return Whether the callCostMicrodollars field is set.
*/
boolean hasCallCostMicrodollars();
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 call_cost_microdollars = 13;
* @return The callCostMicrodollars.
*/
long getCallCostMicrodollars();
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
java.util.List
getBilledOpsList();
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getBilledOps(int index);
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
int getBilledOpsCount();
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>
getBilledOpsOrBuilderList();
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder getBilledOpsOrBuilder(
int index);
}
/**
*
* Represents the statistics for a single RPC in a request.
*
*
* Protobuf type {@code java.apphosting.IndividualRpcStatsProto}
*/
public static final class IndividualRpcStatsProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.IndividualRpcStatsProto)
IndividualRpcStatsProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use IndividualRpcStatsProto.newBuilder() to construct.
private IndividualRpcStatsProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private IndividualRpcStatsProto() {
serviceCallName_ = "";
requestDataSummary_ = "";
responseDataSummary_ = "";
namespace_ = "";
wasSuccessful_ = true;
callStack_ = java.util.Collections.emptyList();
billedOps_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new IndividualRpcStatsProto();
}
@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.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_IndividualRpcStatsProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_IndividualRpcStatsProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder.class);
}
private int bitField0_;
public static final int SERVICE_CALL_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object serviceCallName_ = "";
/**
* required string service_call_name = 1;
* @return Whether the serviceCallName field is set.
*/
@java.lang.Override
public boolean hasServiceCallName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required string service_call_name = 1;
* @return The serviceCallName.
*/
@java.lang.Override
public java.lang.String getServiceCallName() {
java.lang.Object ref = serviceCallName_;
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()) {
serviceCallName_ = s;
}
return s;
}
}
/**
* required string service_call_name = 1;
* @return The bytes for serviceCallName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getServiceCallNameBytes() {
java.lang.Object ref = serviceCallName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceCallName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REQUEST_DATA_SUMMARY_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object requestDataSummary_ = "";
/**
* optional string request_data_summary = 3;
* @return Whether the requestDataSummary field is set.
*/
@java.lang.Override
public boolean hasRequestDataSummary() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string request_data_summary = 3;
* @return The requestDataSummary.
*/
@java.lang.Override
public java.lang.String getRequestDataSummary() {
java.lang.Object ref = requestDataSummary_;
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()) {
requestDataSummary_ = s;
}
return s;
}
}
/**
* optional string request_data_summary = 3;
* @return The bytes for requestDataSummary.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestDataSummaryBytes() {
java.lang.Object ref = requestDataSummary_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestDataSummary_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RESPONSE_DATA_SUMMARY_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object responseDataSummary_ = "";
/**
* optional string response_data_summary = 4;
* @return Whether the responseDataSummary field is set.
*/
@java.lang.Override
public boolean hasResponseDataSummary() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string response_data_summary = 4;
* @return The responseDataSummary.
*/
@java.lang.Override
public java.lang.String getResponseDataSummary() {
java.lang.Object ref = responseDataSummary_;
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()) {
responseDataSummary_ = s;
}
return s;
}
}
/**
* optional string response_data_summary = 4;
* @return The bytes for responseDataSummary.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResponseDataSummaryBytes() {
java.lang.Object ref = responseDataSummary_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseDataSummary_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int API_MCYCLES_FIELD_NUMBER = 5;
private long apiMcycles_ = 0L;
/**
* optional int64 api_mcycles = 5;
* @return Whether the apiMcycles field is set.
*/
@java.lang.Override
public boolean hasApiMcycles() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 api_mcycles = 5;
* @return The apiMcycles.
*/
@java.lang.Override
public long getApiMcycles() {
return apiMcycles_;
}
public static final int API_MILLISECONDS_FIELD_NUMBER = 11;
private long apiMilliseconds_ = 0L;
/**
* optional int64 api_milliseconds = 11;
* @return Whether the apiMilliseconds field is set.
*/
@java.lang.Override
public boolean hasApiMilliseconds() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int64 api_milliseconds = 11;
* @return The apiMilliseconds.
*/
@java.lang.Override
public long getApiMilliseconds() {
return apiMilliseconds_;
}
public static final int START_OFFSET_MILLISECONDS_FIELD_NUMBER = 6;
private long startOffsetMilliseconds_ = 0L;
/**
* required int64 start_offset_milliseconds = 6;
* @return Whether the startOffsetMilliseconds field is set.
*/
@java.lang.Override
public boolean hasStartOffsetMilliseconds() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* required int64 start_offset_milliseconds = 6;
* @return The startOffsetMilliseconds.
*/
@java.lang.Override
public long getStartOffsetMilliseconds() {
return startOffsetMilliseconds_;
}
public static final int DURATION_MILLISECONDS_FIELD_NUMBER = 7;
private long durationMilliseconds_ = 0L;
/**
* optional int64 duration_milliseconds = 7 [default = 0];
* @return Whether the durationMilliseconds field is set.
*/
@java.lang.Override
public boolean hasDurationMilliseconds() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 duration_milliseconds = 7 [default = 0];
* @return The durationMilliseconds.
*/
@java.lang.Override
public long getDurationMilliseconds() {
return durationMilliseconds_;
}
public static final int NAMESPACE_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object namespace_ = "";
/**
* optional string namespace = 8 [default = ""];
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string namespace = 8 [default = ""];
* @return The namespace.
*/
@java.lang.Override
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
namespace_ = s;
}
return s;
}
}
/**
* optional string namespace = 8 [default = ""];
* @return The bytes for namespace.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WAS_SUCCESSFUL_FIELD_NUMBER = 9;
private boolean wasSuccessful_ = true;
/**
* optional bool was_successful = 9 [default = true];
* @return Whether the wasSuccessful field is set.
*/
@java.lang.Override
public boolean hasWasSuccessful() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional bool was_successful = 9 [default = true];
* @return The wasSuccessful.
*/
@java.lang.Override
public boolean getWasSuccessful() {
return wasSuccessful_;
}
public static final int CALL_STACK_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private java.util.List callStack_;
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
@java.lang.Override
public java.util.List getCallStackList() {
return callStack_;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
@java.lang.Override
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder>
getCallStackOrBuilderList() {
return callStack_;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
@java.lang.Override
public int getCallStackCount() {
return callStack_.size();
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto getCallStack(int index) {
return callStack_.get(index);
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder getCallStackOrBuilder(
int index) {
return callStack_.get(index);
}
public static final int DATASTORE_DETAILS_FIELD_NUMBER = 12;
private com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto datastoreDetails_;
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
* @return Whether the datastoreDetails field is set.
*/
@java.lang.Override
public boolean hasDatastoreDetails() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
* @return The datastoreDetails.
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto getDatastoreDetails() {
return datastoreDetails_ == null ? com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.getDefaultInstance() : datastoreDetails_;
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProtoOrBuilder getDatastoreDetailsOrBuilder() {
return datastoreDetails_ == null ? com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.getDefaultInstance() : datastoreDetails_;
}
public static final int CALL_COST_MICRODOLLARS_FIELD_NUMBER = 13;
private long callCostMicrodollars_ = 0L;
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 call_cost_microdollars = 13;
* @return Whether the callCostMicrodollars field is set.
*/
@java.lang.Override
public boolean hasCallCostMicrodollars() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 call_cost_microdollars = 13;
* @return The callCostMicrodollars.
*/
@java.lang.Override
public long getCallCostMicrodollars() {
return callCostMicrodollars_;
}
public static final int BILLED_OPS_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private java.util.List billedOps_;
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
@java.lang.Override
public java.util.List getBilledOpsList() {
return billedOps_;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
@java.lang.Override
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>
getBilledOpsOrBuilderList() {
return billedOps_;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
@java.lang.Override
public int getBilledOpsCount() {
return billedOps_.size();
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getBilledOps(int index) {
return billedOps_.get(index);
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder getBilledOpsOrBuilder(
int index) {
return billedOps_.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;
if (!hasServiceCallName()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasStartOffsetMilliseconds()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getCallStackCount(); i++) {
if (!getCallStack(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasDatastoreDetails()) {
if (!getDatastoreDetails().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getBilledOpsCount(); i++) {
if (!getBilledOps(i).isInitialized()) {
memoizedIsInitialized = 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, serviceCallName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestDataSummary_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, responseDataSummary_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(5, apiMcycles_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, startOffsetMilliseconds_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, durationMilliseconds_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, namespace_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeBool(9, wasSuccessful_);
}
for (int i = 0; i < callStack_.size(); i++) {
output.writeMessage(10, callStack_.get(i));
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(11, apiMilliseconds_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeMessage(12, getDatastoreDetails());
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(13, callCostMicrodollars_);
}
for (int i = 0; i < billedOps_.size(); i++) {
output.writeMessage(14, billedOps_.get(i));
}
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, serviceCallName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestDataSummary_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, responseDataSummary_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, apiMcycles_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, startOffsetMilliseconds_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, durationMilliseconds_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, namespace_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, wasSuccessful_);
}
for (int i = 0; i < callStack_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, callStack_.get(i));
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, apiMilliseconds_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getDatastoreDetails());
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, callCostMicrodollars_);
}
for (int i = 0; i < billedOps_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, billedOps_.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.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto)) {
return super.equals(obj);
}
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto other = (com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto) obj;
if (hasServiceCallName() != other.hasServiceCallName()) return false;
if (hasServiceCallName()) {
if (!getServiceCallName()
.equals(other.getServiceCallName())) return false;
}
if (hasRequestDataSummary() != other.hasRequestDataSummary()) return false;
if (hasRequestDataSummary()) {
if (!getRequestDataSummary()
.equals(other.getRequestDataSummary())) return false;
}
if (hasResponseDataSummary() != other.hasResponseDataSummary()) return false;
if (hasResponseDataSummary()) {
if (!getResponseDataSummary()
.equals(other.getResponseDataSummary())) return false;
}
if (hasApiMcycles() != other.hasApiMcycles()) return false;
if (hasApiMcycles()) {
if (getApiMcycles()
!= other.getApiMcycles()) return false;
}
if (hasApiMilliseconds() != other.hasApiMilliseconds()) return false;
if (hasApiMilliseconds()) {
if (getApiMilliseconds()
!= other.getApiMilliseconds()) return false;
}
if (hasStartOffsetMilliseconds() != other.hasStartOffsetMilliseconds()) return false;
if (hasStartOffsetMilliseconds()) {
if (getStartOffsetMilliseconds()
!= other.getStartOffsetMilliseconds()) return false;
}
if (hasDurationMilliseconds() != other.hasDurationMilliseconds()) return false;
if (hasDurationMilliseconds()) {
if (getDurationMilliseconds()
!= other.getDurationMilliseconds()) return false;
}
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (hasWasSuccessful() != other.hasWasSuccessful()) return false;
if (hasWasSuccessful()) {
if (getWasSuccessful()
!= other.getWasSuccessful()) return false;
}
if (!getCallStackList()
.equals(other.getCallStackList())) return false;
if (hasDatastoreDetails() != other.hasDatastoreDetails()) return false;
if (hasDatastoreDetails()) {
if (!getDatastoreDetails()
.equals(other.getDatastoreDetails())) return false;
}
if (hasCallCostMicrodollars() != other.hasCallCostMicrodollars()) return false;
if (hasCallCostMicrodollars()) {
if (getCallCostMicrodollars()
!= other.getCallCostMicrodollars()) return false;
}
if (!getBilledOpsList()
.equals(other.getBilledOpsList())) 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 (hasServiceCallName()) {
hash = (37 * hash) + SERVICE_CALL_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceCallName().hashCode();
}
if (hasRequestDataSummary()) {
hash = (37 * hash) + REQUEST_DATA_SUMMARY_FIELD_NUMBER;
hash = (53 * hash) + getRequestDataSummary().hashCode();
}
if (hasResponseDataSummary()) {
hash = (37 * hash) + RESPONSE_DATA_SUMMARY_FIELD_NUMBER;
hash = (53 * hash) + getResponseDataSummary().hashCode();
}
if (hasApiMcycles()) {
hash = (37 * hash) + API_MCYCLES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getApiMcycles());
}
if (hasApiMilliseconds()) {
hash = (37 * hash) + API_MILLISECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getApiMilliseconds());
}
if (hasStartOffsetMilliseconds()) {
hash = (37 * hash) + START_OFFSET_MILLISECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartOffsetMilliseconds());
}
if (hasDurationMilliseconds()) {
hash = (37 * hash) + DURATION_MILLISECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDurationMilliseconds());
}
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (hasWasSuccessful()) {
hash = (37 * hash) + WAS_SUCCESSFUL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getWasSuccessful());
}
if (getCallStackCount() > 0) {
hash = (37 * hash) + CALL_STACK_FIELD_NUMBER;
hash = (53 * hash) + getCallStackList().hashCode();
}
if (hasDatastoreDetails()) {
hash = (37 * hash) + DATASTORE_DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getDatastoreDetails().hashCode();
}
if (hasCallCostMicrodollars()) {
hash = (37 * hash) + CALL_COST_MICRODOLLARS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCallCostMicrodollars());
}
if (getBilledOpsCount() > 0) {
hash = (37 * hash) + BILLED_OPS_FIELD_NUMBER;
hash = (53 * hash) + getBilledOpsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Represents the statistics for a single RPC in a request.
*
*
* Protobuf type {@code java.apphosting.IndividualRpcStatsProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.IndividualRpcStatsProto)
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_IndividualRpcStatsProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_IndividualRpcStatsProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder.class);
}
// Construct using com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCallStackFieldBuilder();
getDatastoreDetailsFieldBuilder();
getBilledOpsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
serviceCallName_ = "";
requestDataSummary_ = "";
responseDataSummary_ = "";
apiMcycles_ = 0L;
apiMilliseconds_ = 0L;
startOffsetMilliseconds_ = 0L;
durationMilliseconds_ = 0L;
namespace_ = "";
wasSuccessful_ = true;
if (callStackBuilder_ == null) {
callStack_ = java.util.Collections.emptyList();
} else {
callStack_ = null;
callStackBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
datastoreDetails_ = null;
if (datastoreDetailsBuilder_ != null) {
datastoreDetailsBuilder_.dispose();
datastoreDetailsBuilder_ = null;
}
callCostMicrodollars_ = 0L;
if (billedOpsBuilder_ == null) {
billedOps_ = java.util.Collections.emptyList();
} else {
billedOps_ = null;
billedOpsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_IndividualRpcStatsProto_descriptor;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto getDefaultInstanceForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto build() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto buildPartial() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto result = new com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto result) {
if (callStackBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0)) {
callStack_ = java.util.Collections.unmodifiableList(callStack_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.callStack_ = callStack_;
} else {
result.callStack_ = callStackBuilder_.build();
}
if (billedOpsBuilder_ == null) {
if (((bitField0_ & 0x00001000) != 0)) {
billedOps_ = java.util.Collections.unmodifiableList(billedOps_);
bitField0_ = (bitField0_ & ~0x00001000);
}
result.billedOps_ = billedOps_;
} else {
result.billedOps_ = billedOpsBuilder_.build();
}
}
private void buildPartial0(com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.serviceCallName_ = serviceCallName_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.requestDataSummary_ = requestDataSummary_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.responseDataSummary_ = responseDataSummary_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.apiMcycles_ = apiMcycles_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.apiMilliseconds_ = apiMilliseconds_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.startOffsetMilliseconds_ = startOffsetMilliseconds_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.durationMilliseconds_ = durationMilliseconds_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.namespace_ = namespace_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.wasSuccessful_ = wasSuccessful_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.datastoreDetails_ = datastoreDetailsBuilder_ == null
? datastoreDetails_
: datastoreDetailsBuilder_.build();
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.callCostMicrodollars_ = callCostMicrodollars_;
to_bitField0_ |= 0x00000400;
}
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.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto) {
return mergeFrom((com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto other) {
if (other == com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.getDefaultInstance()) return this;
if (other.hasServiceCallName()) {
serviceCallName_ = other.serviceCallName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasRequestDataSummary()) {
requestDataSummary_ = other.requestDataSummary_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasResponseDataSummary()) {
responseDataSummary_ = other.responseDataSummary_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasApiMcycles()) {
setApiMcycles(other.getApiMcycles());
}
if (other.hasApiMilliseconds()) {
setApiMilliseconds(other.getApiMilliseconds());
}
if (other.hasStartOffsetMilliseconds()) {
setStartOffsetMilliseconds(other.getStartOffsetMilliseconds());
}
if (other.hasDurationMilliseconds()) {
setDurationMilliseconds(other.getDurationMilliseconds());
}
if (other.hasNamespace()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasWasSuccessful()) {
setWasSuccessful(other.getWasSuccessful());
}
if (callStackBuilder_ == null) {
if (!other.callStack_.isEmpty()) {
if (callStack_.isEmpty()) {
callStack_ = other.callStack_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureCallStackIsMutable();
callStack_.addAll(other.callStack_);
}
onChanged();
}
} else {
if (!other.callStack_.isEmpty()) {
if (callStackBuilder_.isEmpty()) {
callStackBuilder_.dispose();
callStackBuilder_ = null;
callStack_ = other.callStack_;
bitField0_ = (bitField0_ & ~0x00000200);
callStackBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCallStackFieldBuilder() : null;
} else {
callStackBuilder_.addAllMessages(other.callStack_);
}
}
}
if (other.hasDatastoreDetails()) {
mergeDatastoreDetails(other.getDatastoreDetails());
}
if (other.hasCallCostMicrodollars()) {
setCallCostMicrodollars(other.getCallCostMicrodollars());
}
if (billedOpsBuilder_ == null) {
if (!other.billedOps_.isEmpty()) {
if (billedOps_.isEmpty()) {
billedOps_ = other.billedOps_;
bitField0_ = (bitField0_ & ~0x00001000);
} else {
ensureBilledOpsIsMutable();
billedOps_.addAll(other.billedOps_);
}
onChanged();
}
} else {
if (!other.billedOps_.isEmpty()) {
if (billedOpsBuilder_.isEmpty()) {
billedOpsBuilder_.dispose();
billedOpsBuilder_ = null;
billedOps_ = other.billedOps_;
bitField0_ = (bitField0_ & ~0x00001000);
billedOpsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBilledOpsFieldBuilder() : null;
} else {
billedOpsBuilder_.addAllMessages(other.billedOps_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasServiceCallName()) {
return false;
}
if (!hasStartOffsetMilliseconds()) {
return false;
}
for (int i = 0; i < getCallStackCount(); i++) {
if (!getCallStack(i).isInitialized()) {
return false;
}
}
if (hasDatastoreDetails()) {
if (!getDatastoreDetails().isInitialized()) {
return false;
}
}
for (int i = 0; i < getBilledOpsCount(); i++) {
if (!getBilledOps(i).isInitialized()) {
return false;
}
}
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: {
serviceCallName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 26: {
requestDataSummary_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 26
case 34: {
responseDataSummary_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 34
case 40: {
apiMcycles_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 40
case 48: {
startOffsetMilliseconds_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
durationMilliseconds_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 66: {
namespace_ = input.readBytes();
bitField0_ |= 0x00000080;
break;
} // case 66
case 72: {
wasSuccessful_ = input.readBool();
bitField0_ |= 0x00000100;
break;
} // case 72
case 82: {
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto m =
input.readMessage(
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.PARSER,
extensionRegistry);
if (callStackBuilder_ == null) {
ensureCallStackIsMutable();
callStack_.add(m);
} else {
callStackBuilder_.addMessage(m);
}
break;
} // case 82
case 88: {
apiMilliseconds_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 88
case 98: {
input.readMessage(
getDatastoreDetailsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000400;
break;
} // case 98
case 104: {
callCostMicrodollars_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 104
case 114: {
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto m =
input.readMessage(
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.PARSER,
extensionRegistry);
if (billedOpsBuilder_ == null) {
ensureBilledOpsIsMutable();
billedOps_.add(m);
} else {
billedOpsBuilder_.addMessage(m);
}
break;
} // case 114
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 serviceCallName_ = "";
/**
* required string service_call_name = 1;
* @return Whether the serviceCallName field is set.
*/
public boolean hasServiceCallName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required string service_call_name = 1;
* @return The serviceCallName.
*/
public java.lang.String getServiceCallName() {
java.lang.Object ref = serviceCallName_;
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()) {
serviceCallName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string service_call_name = 1;
* @return The bytes for serviceCallName.
*/
public com.google.protobuf.ByteString
getServiceCallNameBytes() {
java.lang.Object ref = serviceCallName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serviceCallName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string service_call_name = 1;
* @param value The serviceCallName to set.
* @return This builder for chaining.
*/
public Builder setServiceCallName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
serviceCallName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* required string service_call_name = 1;
* @return This builder for chaining.
*/
public Builder clearServiceCallName() {
serviceCallName_ = getDefaultInstance().getServiceCallName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* required string service_call_name = 1;
* @param value The bytes for serviceCallName to set.
* @return This builder for chaining.
*/
public Builder setServiceCallNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
serviceCallName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object requestDataSummary_ = "";
/**
* optional string request_data_summary = 3;
* @return Whether the requestDataSummary field is set.
*/
public boolean hasRequestDataSummary() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string request_data_summary = 3;
* @return The requestDataSummary.
*/
public java.lang.String getRequestDataSummary() {
java.lang.Object ref = requestDataSummary_;
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()) {
requestDataSummary_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string request_data_summary = 3;
* @return The bytes for requestDataSummary.
*/
public com.google.protobuf.ByteString
getRequestDataSummaryBytes() {
java.lang.Object ref = requestDataSummary_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestDataSummary_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string request_data_summary = 3;
* @param value The requestDataSummary to set.
* @return This builder for chaining.
*/
public Builder setRequestDataSummary(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
requestDataSummary_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string request_data_summary = 3;
* @return This builder for chaining.
*/
public Builder clearRequestDataSummary() {
requestDataSummary_ = getDefaultInstance().getRequestDataSummary();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string request_data_summary = 3;
* @param value The bytes for requestDataSummary to set.
* @return This builder for chaining.
*/
public Builder setRequestDataSummaryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
requestDataSummary_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object responseDataSummary_ = "";
/**
* optional string response_data_summary = 4;
* @return Whether the responseDataSummary field is set.
*/
public boolean hasResponseDataSummary() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string response_data_summary = 4;
* @return The responseDataSummary.
*/
public java.lang.String getResponseDataSummary() {
java.lang.Object ref = responseDataSummary_;
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()) {
responseDataSummary_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string response_data_summary = 4;
* @return The bytes for responseDataSummary.
*/
public com.google.protobuf.ByteString
getResponseDataSummaryBytes() {
java.lang.Object ref = responseDataSummary_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseDataSummary_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string response_data_summary = 4;
* @param value The responseDataSummary to set.
* @return This builder for chaining.
*/
public Builder setResponseDataSummary(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
responseDataSummary_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string response_data_summary = 4;
* @return This builder for chaining.
*/
public Builder clearResponseDataSummary() {
responseDataSummary_ = getDefaultInstance().getResponseDataSummary();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string response_data_summary = 4;
* @param value The bytes for responseDataSummary to set.
* @return This builder for chaining.
*/
public Builder setResponseDataSummaryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
responseDataSummary_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private long apiMcycles_ ;
/**
* optional int64 api_mcycles = 5;
* @return Whether the apiMcycles field is set.
*/
@java.lang.Override
public boolean hasApiMcycles() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int64 api_mcycles = 5;
* @return The apiMcycles.
*/
@java.lang.Override
public long getApiMcycles() {
return apiMcycles_;
}
/**
* optional int64 api_mcycles = 5;
* @param value The apiMcycles to set.
* @return This builder for chaining.
*/
public Builder setApiMcycles(long value) {
apiMcycles_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional int64 api_mcycles = 5;
* @return This builder for chaining.
*/
public Builder clearApiMcycles() {
bitField0_ = (bitField0_ & ~0x00000008);
apiMcycles_ = 0L;
onChanged();
return this;
}
private long apiMilliseconds_ ;
/**
* optional int64 api_milliseconds = 11;
* @return Whether the apiMilliseconds field is set.
*/
@java.lang.Override
public boolean hasApiMilliseconds() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int64 api_milliseconds = 11;
* @return The apiMilliseconds.
*/
@java.lang.Override
public long getApiMilliseconds() {
return apiMilliseconds_;
}
/**
* optional int64 api_milliseconds = 11;
* @param value The apiMilliseconds to set.
* @return This builder for chaining.
*/
public Builder setApiMilliseconds(long value) {
apiMilliseconds_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional int64 api_milliseconds = 11;
* @return This builder for chaining.
*/
public Builder clearApiMilliseconds() {
bitField0_ = (bitField0_ & ~0x00000010);
apiMilliseconds_ = 0L;
onChanged();
return this;
}
private long startOffsetMilliseconds_ ;
/**
* required int64 start_offset_milliseconds = 6;
* @return Whether the startOffsetMilliseconds field is set.
*/
@java.lang.Override
public boolean hasStartOffsetMilliseconds() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* required int64 start_offset_milliseconds = 6;
* @return The startOffsetMilliseconds.
*/
@java.lang.Override
public long getStartOffsetMilliseconds() {
return startOffsetMilliseconds_;
}
/**
* required int64 start_offset_milliseconds = 6;
* @param value The startOffsetMilliseconds to set.
* @return This builder for chaining.
*/
public Builder setStartOffsetMilliseconds(long value) {
startOffsetMilliseconds_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* required int64 start_offset_milliseconds = 6;
* @return This builder for chaining.
*/
public Builder clearStartOffsetMilliseconds() {
bitField0_ = (bitField0_ & ~0x00000020);
startOffsetMilliseconds_ = 0L;
onChanged();
return this;
}
private long durationMilliseconds_ ;
/**
* optional int64 duration_milliseconds = 7 [default = 0];
* @return Whether the durationMilliseconds field is set.
*/
@java.lang.Override
public boolean hasDurationMilliseconds() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional int64 duration_milliseconds = 7 [default = 0];
* @return The durationMilliseconds.
*/
@java.lang.Override
public long getDurationMilliseconds() {
return durationMilliseconds_;
}
/**
* optional int64 duration_milliseconds = 7 [default = 0];
* @param value The durationMilliseconds to set.
* @return This builder for chaining.
*/
public Builder setDurationMilliseconds(long value) {
durationMilliseconds_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* optional int64 duration_milliseconds = 7 [default = 0];
* @return This builder for chaining.
*/
public Builder clearDurationMilliseconds() {
bitField0_ = (bitField0_ & ~0x00000040);
durationMilliseconds_ = 0L;
onChanged();
return this;
}
private java.lang.Object namespace_ = "";
/**
* optional string namespace = 8 [default = ""];
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string namespace = 8 [default = ""];
* @return The namespace.
*/
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
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()) {
namespace_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string namespace = 8 [default = ""];
* @return The bytes for namespace.
*/
public com.google.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string namespace = 8 [default = ""];
* @param value The namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespace(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
namespace_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional string namespace = 8 [default = ""];
* @return This builder for chaining.
*/
public Builder clearNamespace() {
namespace_ = getDefaultInstance().getNamespace();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* optional string namespace = 8 [default = ""];
* @param value The bytes for namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespaceBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
namespace_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private boolean wasSuccessful_ = true;
/**
* optional bool was_successful = 9 [default = true];
* @return Whether the wasSuccessful field is set.
*/
@java.lang.Override
public boolean hasWasSuccessful() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional bool was_successful = 9 [default = true];
* @return The wasSuccessful.
*/
@java.lang.Override
public boolean getWasSuccessful() {
return wasSuccessful_;
}
/**
* optional bool was_successful = 9 [default = true];
* @param value The wasSuccessful to set.
* @return This builder for chaining.
*/
public Builder setWasSuccessful(boolean value) {
wasSuccessful_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional bool was_successful = 9 [default = true];
* @return This builder for chaining.
*/
public Builder clearWasSuccessful() {
bitField0_ = (bitField0_ & ~0x00000100);
wasSuccessful_ = true;
onChanged();
return this;
}
private java.util.List callStack_ =
java.util.Collections.emptyList();
private void ensureCallStackIsMutable() {
if (!((bitField0_ & 0x00000200) != 0)) {
callStack_ = new java.util.ArrayList(callStack_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder> callStackBuilder_;
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public java.util.List getCallStackList() {
if (callStackBuilder_ == null) {
return java.util.Collections.unmodifiableList(callStack_);
} else {
return callStackBuilder_.getMessageList();
}
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public int getCallStackCount() {
if (callStackBuilder_ == null) {
return callStack_.size();
} else {
return callStackBuilder_.getCount();
}
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto getCallStack(int index) {
if (callStackBuilder_ == null) {
return callStack_.get(index);
} else {
return callStackBuilder_.getMessage(index);
}
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder setCallStack(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto value) {
if (callStackBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCallStackIsMutable();
callStack_.set(index, value);
onChanged();
} else {
callStackBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder setCallStack(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder builderForValue) {
if (callStackBuilder_ == null) {
ensureCallStackIsMutable();
callStack_.set(index, builderForValue.build());
onChanged();
} else {
callStackBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder addCallStack(com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto value) {
if (callStackBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCallStackIsMutable();
callStack_.add(value);
onChanged();
} else {
callStackBuilder_.addMessage(value);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder addCallStack(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto value) {
if (callStackBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCallStackIsMutable();
callStack_.add(index, value);
onChanged();
} else {
callStackBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder addCallStack(
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder builderForValue) {
if (callStackBuilder_ == null) {
ensureCallStackIsMutable();
callStack_.add(builderForValue.build());
onChanged();
} else {
callStackBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder addCallStack(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder builderForValue) {
if (callStackBuilder_ == null) {
ensureCallStackIsMutable();
callStack_.add(index, builderForValue.build());
onChanged();
} else {
callStackBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder addAllCallStack(
java.lang.Iterable extends com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto> values) {
if (callStackBuilder_ == null) {
ensureCallStackIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, callStack_);
onChanged();
} else {
callStackBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder clearCallStack() {
if (callStackBuilder_ == null) {
callStack_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
callStackBuilder_.clear();
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public Builder removeCallStack(int index) {
if (callStackBuilder_ == null) {
ensureCallStackIsMutable();
callStack_.remove(index);
onChanged();
} else {
callStackBuilder_.remove(index);
}
return this;
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder getCallStackBuilder(
int index) {
return getCallStackFieldBuilder().getBuilder(index);
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder getCallStackOrBuilder(
int index) {
if (callStackBuilder_ == null) {
return callStack_.get(index); } else {
return callStackBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder>
getCallStackOrBuilderList() {
if (callStackBuilder_ != null) {
return callStackBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(callStack_);
}
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder addCallStackBuilder() {
return getCallStackFieldBuilder().addBuilder(
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.getDefaultInstance());
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder addCallStackBuilder(
int index) {
return getCallStackFieldBuilder().addBuilder(
index, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.getDefaultInstance());
}
/**
*
* Optional (resource and space intensive) information about the call stack
* of the rpc invocation.
*
*
* repeated .java.apphosting.StackFrameProto call_stack = 10;
*/
public java.util.List
getCallStackBuilderList() {
return getCallStackFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder>
getCallStackFieldBuilder() {
if (callStackBuilder_ == null) {
callStackBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.StackFrameProtoOrBuilder>(
callStack_,
((bitField0_ & 0x00000200) != 0),
getParentForChildren(),
isClean());
callStack_ = null;
}
return callStackBuilder_;
}
private com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto datastoreDetails_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProtoOrBuilder> datastoreDetailsBuilder_;
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
* @return Whether the datastoreDetails field is set.
*/
public boolean hasDatastoreDetails() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
* @return The datastoreDetails.
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto getDatastoreDetails() {
if (datastoreDetailsBuilder_ == null) {
return datastoreDetails_ == null ? com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.getDefaultInstance() : datastoreDetails_;
} else {
return datastoreDetailsBuilder_.getMessage();
}
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
public Builder setDatastoreDetails(com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto value) {
if (datastoreDetailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
datastoreDetails_ = value;
} else {
datastoreDetailsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
public Builder setDatastoreDetails(
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.Builder builderForValue) {
if (datastoreDetailsBuilder_ == null) {
datastoreDetails_ = builderForValue.build();
} else {
datastoreDetailsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
public Builder mergeDatastoreDetails(com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto value) {
if (datastoreDetailsBuilder_ == null) {
if (((bitField0_ & 0x00000400) != 0) &&
datastoreDetails_ != null &&
datastoreDetails_ != com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.getDefaultInstance()) {
getDatastoreDetailsBuilder().mergeFrom(value);
} else {
datastoreDetails_ = value;
}
} else {
datastoreDetailsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
public Builder clearDatastoreDetails() {
bitField0_ = (bitField0_ & ~0x00000400);
datastoreDetails_ = null;
if (datastoreDetailsBuilder_ != null) {
datastoreDetailsBuilder_.dispose();
datastoreDetailsBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.Builder getDatastoreDetailsBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getDatastoreDetailsFieldBuilder().getBuilder();
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProtoOrBuilder getDatastoreDetailsOrBuilder() {
if (datastoreDetailsBuilder_ != null) {
return datastoreDetailsBuilder_.getMessageOrBuilder();
} else {
return datastoreDetails_ == null ?
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.getDefaultInstance() : datastoreDetails_;
}
}
/**
*
* Detailed information about individual datastore RPC calls such as keys
* of entities fetched or written by the call.
*
*
* optional .java.apphosting.DatastoreCallDetailsProto datastore_details = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProtoOrBuilder>
getDatastoreDetailsFieldBuilder() {
if (datastoreDetailsBuilder_ == null) {
datastoreDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.DatastoreCallDetailsProtoOrBuilder>(
getDatastoreDetails(),
getParentForChildren(),
isClean());
datastoreDetails_ = null;
}
return datastoreDetailsBuilder_;
}
private long callCostMicrodollars_ ;
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 call_cost_microdollars = 13;
* @return Whether the callCostMicrodollars field is set.
*/
@java.lang.Override
public boolean hasCallCostMicrodollars() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 call_cost_microdollars = 13;
* @return The callCostMicrodollars.
*/
@java.lang.Override
public long getCallCostMicrodollars() {
return callCostMicrodollars_;
}
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 call_cost_microdollars = 13;
* @param value The callCostMicrodollars to set.
* @return This builder for chaining.
*/
public Builder setCallCostMicrodollars(long value) {
callCostMicrodollars_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* field actually contains micropennies
* TODO: Rename this field once the appstats client code is out of the
* labs jar.
*
*
* optional int64 call_cost_microdollars = 13;
* @return This builder for chaining.
*/
public Builder clearCallCostMicrodollars() {
bitField0_ = (bitField0_ & ~0x00000800);
callCostMicrodollars_ = 0L;
onChanged();
return this;
}
private java.util.List billedOps_ =
java.util.Collections.emptyList();
private void ensureBilledOpsIsMutable() {
if (!((bitField0_ & 0x00001000) != 0)) {
billedOps_ = new java.util.ArrayList(billedOps_);
bitField0_ |= 0x00001000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder> billedOpsBuilder_;
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public java.util.List getBilledOpsList() {
if (billedOpsBuilder_ == null) {
return java.util.Collections.unmodifiableList(billedOps_);
} else {
return billedOpsBuilder_.getMessageList();
}
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public int getBilledOpsCount() {
if (billedOpsBuilder_ == null) {
return billedOps_.size();
} else {
return billedOpsBuilder_.getCount();
}
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto getBilledOps(int index) {
if (billedOpsBuilder_ == null) {
return billedOps_.get(index);
} else {
return billedOpsBuilder_.getMessage(index);
}
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder setBilledOps(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto value) {
if (billedOpsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBilledOpsIsMutable();
billedOps_.set(index, value);
onChanged();
} else {
billedOpsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder setBilledOps(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder builderForValue) {
if (billedOpsBuilder_ == null) {
ensureBilledOpsIsMutable();
billedOps_.set(index, builderForValue.build());
onChanged();
} else {
billedOpsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder addBilledOps(com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto value) {
if (billedOpsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBilledOpsIsMutable();
billedOps_.add(value);
onChanged();
} else {
billedOpsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder addBilledOps(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto value) {
if (billedOpsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBilledOpsIsMutable();
billedOps_.add(index, value);
onChanged();
} else {
billedOpsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder addBilledOps(
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder builderForValue) {
if (billedOpsBuilder_ == null) {
ensureBilledOpsIsMutable();
billedOps_.add(builderForValue.build());
onChanged();
} else {
billedOpsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder addBilledOps(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder builderForValue) {
if (billedOpsBuilder_ == null) {
ensureBilledOpsIsMutable();
billedOps_.add(index, builderForValue.build());
onChanged();
} else {
billedOpsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder addAllBilledOps(
java.lang.Iterable extends com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto> values) {
if (billedOpsBuilder_ == null) {
ensureBilledOpsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, billedOps_);
onChanged();
} else {
billedOpsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder clearBilledOps() {
if (billedOpsBuilder_ == null) {
billedOps_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
} else {
billedOpsBuilder_.clear();
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public Builder removeBilledOps(int index) {
if (billedOpsBuilder_ == null) {
ensureBilledOpsIsMutable();
billedOps_.remove(index);
onChanged();
} else {
billedOpsBuilder_.remove(index);
}
return this;
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder getBilledOpsBuilder(
int index) {
return getBilledOpsFieldBuilder().getBuilder(index);
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder getBilledOpsOrBuilder(
int index) {
if (billedOpsBuilder_ == null) {
return billedOps_.get(index); } else {
return billedOpsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>
getBilledOpsOrBuilderList() {
if (billedOpsBuilder_ != null) {
return billedOpsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(billedOps_);
}
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder addBilledOpsBuilder() {
return getBilledOpsFieldBuilder().addBuilder(
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.getDefaultInstance());
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder addBilledOpsBuilder(
int index) {
return getBilledOpsFieldBuilder().addBuilder(
index, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.getDefaultInstance());
}
/**
* repeated .java.apphosting.BilledOpProto billed_ops = 14;
*/
public java.util.List
getBilledOpsBuilderList() {
return getBilledOpsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>
getBilledOpsFieldBuilder() {
if (billedOpsBuilder_ == null) {
billedOpsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.BilledOpProtoOrBuilder>(
billedOps_,
((bitField0_ & 0x00001000) != 0),
getParentForChildren(),
isClean());
billedOps_ = null;
}
return billedOpsBuilder_;
}
@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:java.apphosting.IndividualRpcStatsProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.IndividualRpcStatsProto)
private static final com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto();
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public IndividualRpcStatsProto 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.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RequestStatProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.RequestStatProto)
com.google.protobuf.MessageOrBuilder {
/**
*
* The wall time at the start of processing this request.
* Format is the difference, measured in milliseconds, between the current
* time and midnight, January 1, 1970 UTC.
*
*
* required int64 start_timestamp_milliseconds = 1;
* @return Whether the startTimestampMilliseconds field is set.
*/
boolean hasStartTimestampMilliseconds();
/**
*
* The wall time at the start of processing this request.
* Format is the difference, measured in milliseconds, between the current
* time and midnight, January 1, 1970 UTC.
*
*
* required int64 start_timestamp_milliseconds = 1;
* @return The startTimestampMilliseconds.
*/
long getStartTimestampMilliseconds();
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return Whether the httpMethod field is set.
*/
boolean hasHttpMethod();
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return The httpMethod.
*/
java.lang.String getHttpMethod();
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return The bytes for httpMethod.
*/
com.google.protobuf.ByteString
getHttpMethodBytes();
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return Whether the httpPath field is set.
*/
boolean hasHttpPath();
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return The httpPath.
*/
java.lang.String getHttpPath();
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return The bytes for httpPath.
*/
com.google.protobuf.ByteString
getHttpPathBytes();
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return Whether the httpQuery field is set.
*/
boolean hasHttpQuery();
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return The httpQuery.
*/
java.lang.String getHttpQuery();
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return The bytes for httpQuery.
*/
com.google.protobuf.ByteString
getHttpQueryBytes();
/**
*
* The http response code.
*
*
* optional int32 http_status = 5 [default = 200];
* @return Whether the httpStatus field is set.
*/
boolean hasHttpStatus();
/**
*
* The http response code.
*
*
* optional int32 http_status = 5 [default = 200];
* @return The httpStatus.
*/
int getHttpStatus();
/**
*
* The wall time it took for the request to complete.
* The end time of the request can be computed by adding this value to
* start_timestamp_milliseconds.
*
*
* required int64 duration_milliseconds = 6;
* @return Whether the durationMilliseconds field is set.
*/
boolean hasDurationMilliseconds();
/**
*
* The wall time it took for the request to complete.
* The end time of the request can be computed by adding this value to
* start_timestamp_milliseconds.
*
*
* required int64 duration_milliseconds = 6;
* @return The durationMilliseconds.
*/
long getDurationMilliseconds();
/**
*
* The total amount of time spent in API calls, in megacycles.
*
*
* optional int64 api_mcycles = 7;
* @return Whether the apiMcycles field is set.
*/
boolean hasApiMcycles();
/**
*
* The total amount of time spent in API calls, in megacycles.
*
*
* optional int64 api_mcycles = 7;
* @return The apiMcycles.
*/
long getApiMcycles();
/**
*
* The total amount of time spent in processing the rpc, minus API calls,
* in megacycles.
*
*
* optional int64 processor_mcycles = 8;
* @return Whether the processorMcycles field is set.
*/
boolean hasProcessorMcycles();
/**
*
* The total amount of time spent in processing the rpc, minus API calls,
* in megacycles.
*
*
* optional int64 processor_mcycles = 8;
* @return The processorMcycles.
*/
long getProcessorMcycles();
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
java.util.List
getRpcStatsList();
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto getRpcStats(int index);
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
int getRpcStatsCount();
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder>
getRpcStatsOrBuilderList();
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder getRpcStatsOrBuilder(
int index);
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
java.util.List
getCgiEnvList();
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getCgiEnv(int index);
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
int getCgiEnvCount();
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>
getCgiEnvOrBuilderList();
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder getCgiEnvOrBuilder(
int index);
/**
*
* The amount of overhead spent in collecting extra data for statistics,
* in milliseconds wall time.
*
*
* optional int64 overhead_walltime_milliseconds = 102;
* @return Whether the overheadWalltimeMilliseconds field is set.
*/
boolean hasOverheadWalltimeMilliseconds();
/**
*
* The amount of overhead spent in collecting extra data for statistics,
* in milliseconds wall time.
*
*
* optional int64 overhead_walltime_milliseconds = 102;
* @return The overheadWalltimeMilliseconds.
*/
long getOverheadWalltimeMilliseconds();
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return Whether the userEmail field is set.
*/
boolean hasUserEmail();
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return The userEmail.
*/
java.lang.String getUserEmail();
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return The bytes for userEmail.
*/
com.google.protobuf.ByteString
getUserEmailBytes();
/**
*
* Was the user an administrator at the time of this request?
*
*
* optional bool is_admin = 104;
* @return Whether the isAdmin field is set.
*/
boolean hasIsAdmin();
/**
*
* Was the user an administrator at the time of this request?
*
*
* optional bool is_admin = 104;
* @return The isAdmin.
*/
boolean getIsAdmin();
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
java.util.List
getIndividualStatsList();
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto getIndividualStats(int index);
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
int getIndividualStatsCount();
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder>
getIndividualStatsOrBuilderList();
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder getIndividualStatsOrBuilder(
int index);
}
/**
*
* Represents statistical data for a single request.
* This protocol buffer can contain full, verbose information, or just be
* a smaller, compact summary that takes up less space. In the latter case,
* only fields with a number lower than 100 are populated. This makes it
* very easy to gather a subset of summary-only fields using the protocol
* buffer's descriptor.
*
*
* Protobuf type {@code java.apphosting.RequestStatProto}
*/
public static final class RequestStatProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.RequestStatProto)
RequestStatProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RequestStatProto.newBuilder() to construct.
private RequestStatProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RequestStatProto() {
httpMethod_ = "GET";
httpPath_ = "/";
httpQuery_ = "";
httpStatus_ = 200;
rpcStats_ = java.util.Collections.emptyList();
cgiEnv_ = java.util.Collections.emptyList();
userEmail_ = "";
individualStats_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RequestStatProto();
}
@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.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_RequestStatProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_RequestStatProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto.Builder.class);
}
private int bitField0_;
public static final int START_TIMESTAMP_MILLISECONDS_FIELD_NUMBER = 1;
private long startTimestampMilliseconds_ = 0L;
/**
*
* The wall time at the start of processing this request.
* Format is the difference, measured in milliseconds, between the current
* time and midnight, January 1, 1970 UTC.
*
*
* required int64 start_timestamp_milliseconds = 1;
* @return Whether the startTimestampMilliseconds field is set.
*/
@java.lang.Override
public boolean hasStartTimestampMilliseconds() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The wall time at the start of processing this request.
* Format is the difference, measured in milliseconds, between the current
* time and midnight, January 1, 1970 UTC.
*
*
* required int64 start_timestamp_milliseconds = 1;
* @return The startTimestampMilliseconds.
*/
@java.lang.Override
public long getStartTimestampMilliseconds() {
return startTimestampMilliseconds_;
}
public static final int HTTP_METHOD_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object httpMethod_ = "GET";
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return Whether the httpMethod field is set.
*/
@java.lang.Override
public boolean hasHttpMethod() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return The httpMethod.
*/
@java.lang.Override
public java.lang.String getHttpMethod() {
java.lang.Object ref = httpMethod_;
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()) {
httpMethod_ = s;
}
return s;
}
}
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return The bytes for httpMethod.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHttpMethodBytes() {
java.lang.Object ref = httpMethod_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpMethod_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HTTP_PATH_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object httpPath_ = "/";
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return Whether the httpPath field is set.
*/
@java.lang.Override
public boolean hasHttpPath() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return The httpPath.
*/
@java.lang.Override
public java.lang.String getHttpPath() {
java.lang.Object ref = httpPath_;
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()) {
httpPath_ = s;
}
return s;
}
}
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return The bytes for httpPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHttpPathBytes() {
java.lang.Object ref = httpPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HTTP_QUERY_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object httpQuery_ = "";
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return Whether the httpQuery field is set.
*/
@java.lang.Override
public boolean hasHttpQuery() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return The httpQuery.
*/
@java.lang.Override
public java.lang.String getHttpQuery() {
java.lang.Object ref = httpQuery_;
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()) {
httpQuery_ = s;
}
return s;
}
}
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return The bytes for httpQuery.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHttpQueryBytes() {
java.lang.Object ref = httpQuery_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpQuery_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HTTP_STATUS_FIELD_NUMBER = 5;
private int httpStatus_ = 200;
/**
*
* The http response code.
*
*
* optional int32 http_status = 5 [default = 200];
* @return Whether the httpStatus field is set.
*/
@java.lang.Override
public boolean hasHttpStatus() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* The http response code.
*
*
* optional int32 http_status = 5 [default = 200];
* @return The httpStatus.
*/
@java.lang.Override
public int getHttpStatus() {
return httpStatus_;
}
public static final int DURATION_MILLISECONDS_FIELD_NUMBER = 6;
private long durationMilliseconds_ = 0L;
/**
*
* The wall time it took for the request to complete.
* The end time of the request can be computed by adding this value to
* start_timestamp_milliseconds.
*
*
* required int64 duration_milliseconds = 6;
* @return Whether the durationMilliseconds field is set.
*/
@java.lang.Override
public boolean hasDurationMilliseconds() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* The wall time it took for the request to complete.
* The end time of the request can be computed by adding this value to
* start_timestamp_milliseconds.
*
*
* required int64 duration_milliseconds = 6;
* @return The durationMilliseconds.
*/
@java.lang.Override
public long getDurationMilliseconds() {
return durationMilliseconds_;
}
public static final int API_MCYCLES_FIELD_NUMBER = 7;
private long apiMcycles_ = 0L;
/**
*
* The total amount of time spent in API calls, in megacycles.
*
*
* optional int64 api_mcycles = 7;
* @return Whether the apiMcycles field is set.
*/
@java.lang.Override
public boolean hasApiMcycles() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* The total amount of time spent in API calls, in megacycles.
*
*
* optional int64 api_mcycles = 7;
* @return The apiMcycles.
*/
@java.lang.Override
public long getApiMcycles() {
return apiMcycles_;
}
public static final int PROCESSOR_MCYCLES_FIELD_NUMBER = 8;
private long processorMcycles_ = 0L;
/**
*
* The total amount of time spent in processing the rpc, minus API calls,
* in megacycles.
*
*
* optional int64 processor_mcycles = 8;
* @return Whether the processorMcycles field is set.
*/
@java.lang.Override
public boolean hasProcessorMcycles() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* The total amount of time spent in processing the rpc, minus API calls,
* in megacycles.
*
*
* optional int64 processor_mcycles = 8;
* @return The processorMcycles.
*/
@java.lang.Override
public long getProcessorMcycles() {
return processorMcycles_;
}
public static final int RPC_STATS_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private java.util.List rpcStats_;
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
@java.lang.Override
public java.util.List getRpcStatsList() {
return rpcStats_;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
@java.lang.Override
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder>
getRpcStatsOrBuilderList() {
return rpcStats_;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
@java.lang.Override
public int getRpcStatsCount() {
return rpcStats_.size();
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto getRpcStats(int index) {
return rpcStats_.get(index);
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder getRpcStatsOrBuilder(
int index) {
return rpcStats_.get(index);
}
public static final int CGI_ENV_FIELD_NUMBER = 101;
@SuppressWarnings("serial")
private java.util.List cgiEnv_;
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
@java.lang.Override
public java.util.List getCgiEnvList() {
return cgiEnv_;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
@java.lang.Override
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>
getCgiEnvOrBuilderList() {
return cgiEnv_;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
@java.lang.Override
public int getCgiEnvCount() {
return cgiEnv_.size();
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getCgiEnv(int index) {
return cgiEnv_.get(index);
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder getCgiEnvOrBuilder(
int index) {
return cgiEnv_.get(index);
}
public static final int OVERHEAD_WALLTIME_MILLISECONDS_FIELD_NUMBER = 102;
private long overheadWalltimeMilliseconds_ = 0L;
/**
*
* The amount of overhead spent in collecting extra data for statistics,
* in milliseconds wall time.
*
*
* optional int64 overhead_walltime_milliseconds = 102;
* @return Whether the overheadWalltimeMilliseconds field is set.
*/
@java.lang.Override
public boolean hasOverheadWalltimeMilliseconds() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* The amount of overhead spent in collecting extra data for statistics,
* in milliseconds wall time.
*
*
* optional int64 overhead_walltime_milliseconds = 102;
* @return The overheadWalltimeMilliseconds.
*/
@java.lang.Override
public long getOverheadWalltimeMilliseconds() {
return overheadWalltimeMilliseconds_;
}
public static final int USER_EMAIL_FIELD_NUMBER = 103;
@SuppressWarnings("serial")
private volatile java.lang.Object userEmail_ = "";
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return Whether the userEmail field is set.
*/
@java.lang.Override
public boolean hasUserEmail() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return The userEmail.
*/
@java.lang.Override
public java.lang.String getUserEmail() {
java.lang.Object ref = userEmail_;
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()) {
userEmail_ = s;
}
return s;
}
}
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return The bytes for userEmail.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserEmailBytes() {
java.lang.Object ref = userEmail_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userEmail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IS_ADMIN_FIELD_NUMBER = 104;
private boolean isAdmin_ = false;
/**
*
* Was the user an administrator at the time of this request?
*
*
* optional bool is_admin = 104;
* @return Whether the isAdmin field is set.
*/
@java.lang.Override
public boolean hasIsAdmin() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Was the user an administrator at the time of this request?
*
*
* optional bool is_admin = 104;
* @return The isAdmin.
*/
@java.lang.Override
public boolean getIsAdmin() {
return isAdmin_;
}
public static final int INDIVIDUAL_STATS_FIELD_NUMBER = 107;
@SuppressWarnings("serial")
private java.util.List individualStats_;
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
@java.lang.Override
public java.util.List getIndividualStatsList() {
return individualStats_;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
@java.lang.Override
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder>
getIndividualStatsOrBuilderList() {
return individualStats_;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
@java.lang.Override
public int getIndividualStatsCount() {
return individualStats_.size();
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto getIndividualStats(int index) {
return individualStats_.get(index);
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder getIndividualStatsOrBuilder(
int index) {
return individualStats_.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;
if (!hasStartTimestampMilliseconds()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasDurationMilliseconds()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getRpcStatsCount(); i++) {
if (!getRpcStats(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getCgiEnvCount(); i++) {
if (!getCgiEnv(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getIndividualStatsCount(); i++) {
if (!getIndividualStats(i).isInitialized()) {
memoizedIsInitialized = 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, startTimestampMilliseconds_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, httpMethod_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, httpPath_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, httpQuery_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt32(5, httpStatus_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, durationMilliseconds_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, apiMcycles_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(8, processorMcycles_);
}
for (int i = 0; i < rpcStats_.size(); i++) {
output.writeMessage(9, rpcStats_.get(i));
}
for (int i = 0; i < cgiEnv_.size(); i++) {
output.writeMessage(101, cgiEnv_.get(i));
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(102, overheadWalltimeMilliseconds_);
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 103, userEmail_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeBool(104, isAdmin_);
}
for (int i = 0; i < individualStats_.size(); i++) {
output.writeMessage(107, individualStats_.get(i));
}
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, startTimestampMilliseconds_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, httpMethod_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, httpPath_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, httpQuery_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, httpStatus_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, durationMilliseconds_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, apiMcycles_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, processorMcycles_);
}
for (int i = 0; i < rpcStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, rpcStats_.get(i));
}
for (int i = 0; i < cgiEnv_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(101, cgiEnv_.get(i));
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(102, overheadWalltimeMilliseconds_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(103, userEmail_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(104, isAdmin_);
}
for (int i = 0; i < individualStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(107, individualStats_.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.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto)) {
return super.equals(obj);
}
com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto other = (com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto) obj;
if (hasStartTimestampMilliseconds() != other.hasStartTimestampMilliseconds()) return false;
if (hasStartTimestampMilliseconds()) {
if (getStartTimestampMilliseconds()
!= other.getStartTimestampMilliseconds()) return false;
}
if (hasHttpMethod() != other.hasHttpMethod()) return false;
if (hasHttpMethod()) {
if (!getHttpMethod()
.equals(other.getHttpMethod())) return false;
}
if (hasHttpPath() != other.hasHttpPath()) return false;
if (hasHttpPath()) {
if (!getHttpPath()
.equals(other.getHttpPath())) return false;
}
if (hasHttpQuery() != other.hasHttpQuery()) return false;
if (hasHttpQuery()) {
if (!getHttpQuery()
.equals(other.getHttpQuery())) return false;
}
if (hasHttpStatus() != other.hasHttpStatus()) return false;
if (hasHttpStatus()) {
if (getHttpStatus()
!= other.getHttpStatus()) return false;
}
if (hasDurationMilliseconds() != other.hasDurationMilliseconds()) return false;
if (hasDurationMilliseconds()) {
if (getDurationMilliseconds()
!= other.getDurationMilliseconds()) return false;
}
if (hasApiMcycles() != other.hasApiMcycles()) return false;
if (hasApiMcycles()) {
if (getApiMcycles()
!= other.getApiMcycles()) return false;
}
if (hasProcessorMcycles() != other.hasProcessorMcycles()) return false;
if (hasProcessorMcycles()) {
if (getProcessorMcycles()
!= other.getProcessorMcycles()) return false;
}
if (!getRpcStatsList()
.equals(other.getRpcStatsList())) return false;
if (!getCgiEnvList()
.equals(other.getCgiEnvList())) return false;
if (hasOverheadWalltimeMilliseconds() != other.hasOverheadWalltimeMilliseconds()) return false;
if (hasOverheadWalltimeMilliseconds()) {
if (getOverheadWalltimeMilliseconds()
!= other.getOverheadWalltimeMilliseconds()) return false;
}
if (hasUserEmail() != other.hasUserEmail()) return false;
if (hasUserEmail()) {
if (!getUserEmail()
.equals(other.getUserEmail())) return false;
}
if (hasIsAdmin() != other.hasIsAdmin()) return false;
if (hasIsAdmin()) {
if (getIsAdmin()
!= other.getIsAdmin()) return false;
}
if (!getIndividualStatsList()
.equals(other.getIndividualStatsList())) 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 (hasStartTimestampMilliseconds()) {
hash = (37 * hash) + START_TIMESTAMP_MILLISECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTimestampMilliseconds());
}
if (hasHttpMethod()) {
hash = (37 * hash) + HTTP_METHOD_FIELD_NUMBER;
hash = (53 * hash) + getHttpMethod().hashCode();
}
if (hasHttpPath()) {
hash = (37 * hash) + HTTP_PATH_FIELD_NUMBER;
hash = (53 * hash) + getHttpPath().hashCode();
}
if (hasHttpQuery()) {
hash = (37 * hash) + HTTP_QUERY_FIELD_NUMBER;
hash = (53 * hash) + getHttpQuery().hashCode();
}
if (hasHttpStatus()) {
hash = (37 * hash) + HTTP_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getHttpStatus();
}
if (hasDurationMilliseconds()) {
hash = (37 * hash) + DURATION_MILLISECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDurationMilliseconds());
}
if (hasApiMcycles()) {
hash = (37 * hash) + API_MCYCLES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getApiMcycles());
}
if (hasProcessorMcycles()) {
hash = (37 * hash) + PROCESSOR_MCYCLES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProcessorMcycles());
}
if (getRpcStatsCount() > 0) {
hash = (37 * hash) + RPC_STATS_FIELD_NUMBER;
hash = (53 * hash) + getRpcStatsList().hashCode();
}
if (getCgiEnvCount() > 0) {
hash = (37 * hash) + CGI_ENV_FIELD_NUMBER;
hash = (53 * hash) + getCgiEnvList().hashCode();
}
if (hasOverheadWalltimeMilliseconds()) {
hash = (37 * hash) + OVERHEAD_WALLTIME_MILLISECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOverheadWalltimeMilliseconds());
}
if (hasUserEmail()) {
hash = (37 * hash) + USER_EMAIL_FIELD_NUMBER;
hash = (53 * hash) + getUserEmail().hashCode();
}
if (hasIsAdmin()) {
hash = (37 * hash) + IS_ADMIN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsAdmin());
}
if (getIndividualStatsCount() > 0) {
hash = (37 * hash) + INDIVIDUAL_STATS_FIELD_NUMBER;
hash = (53 * hash) + getIndividualStatsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto 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.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto 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.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto 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.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto 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.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Represents statistical data for a single request.
* This protocol buffer can contain full, verbose information, or just be
* a smaller, compact summary that takes up less space. In the latter case,
* only fields with a number lower than 100 are populated. This makes it
* very easy to gather a subset of summary-only fields using the protocol
* buffer's descriptor.
*
*
* Protobuf type {@code java.apphosting.RequestStatProto}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.RequestStatProto)
com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_RequestStatProto_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_RequestStatProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto.class, com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto.Builder.class);
}
// Construct using com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
startTimestampMilliseconds_ = 0L;
httpMethod_ = "GET";
httpPath_ = "/";
httpQuery_ = "";
httpStatus_ = 200;
durationMilliseconds_ = 0L;
apiMcycles_ = 0L;
processorMcycles_ = 0L;
if (rpcStatsBuilder_ == null) {
rpcStats_ = java.util.Collections.emptyList();
} else {
rpcStats_ = null;
rpcStatsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
if (cgiEnvBuilder_ == null) {
cgiEnv_ = java.util.Collections.emptyList();
} else {
cgiEnv_ = null;
cgiEnvBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
overheadWalltimeMilliseconds_ = 0L;
userEmail_ = "";
isAdmin_ = false;
if (individualStatsBuilder_ == null) {
individualStats_ = java.util.Collections.emptyList();
} else {
individualStats_ = null;
individualStatsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00002000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.internal_static_java_apphosting_RequestStatProto_descriptor;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto getDefaultInstanceForType() {
return com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto.getDefaultInstance();
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto build() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto buildPartial() {
com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto result = new com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto result) {
if (rpcStatsBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
rpcStats_ = java.util.Collections.unmodifiableList(rpcStats_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.rpcStats_ = rpcStats_;
} else {
result.rpcStats_ = rpcStatsBuilder_.build();
}
if (cgiEnvBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0)) {
cgiEnv_ = java.util.Collections.unmodifiableList(cgiEnv_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.cgiEnv_ = cgiEnv_;
} else {
result.cgiEnv_ = cgiEnvBuilder_.build();
}
if (individualStatsBuilder_ == null) {
if (((bitField0_ & 0x00002000) != 0)) {
individualStats_ = java.util.Collections.unmodifiableList(individualStats_);
bitField0_ = (bitField0_ & ~0x00002000);
}
result.individualStats_ = individualStats_;
} else {
result.individualStats_ = individualStatsBuilder_.build();
}
}
private void buildPartial0(com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.startTimestampMilliseconds_ = startTimestampMilliseconds_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.httpMethod_ = httpMethod_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.httpPath_ = httpPath_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.httpQuery_ = httpQuery_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.httpStatus_ = httpStatus_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.durationMilliseconds_ = durationMilliseconds_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.apiMcycles_ = apiMcycles_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.processorMcycles_ = processorMcycles_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.overheadWalltimeMilliseconds_ = overheadWalltimeMilliseconds_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.userEmail_ = userEmail_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.isAdmin_ = isAdmin_;
to_bitField0_ |= 0x00000400;
}
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.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto) {
return mergeFrom((com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto other) {
if (other == com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto.getDefaultInstance()) return this;
if (other.hasStartTimestampMilliseconds()) {
setStartTimestampMilliseconds(other.getStartTimestampMilliseconds());
}
if (other.hasHttpMethod()) {
httpMethod_ = other.httpMethod_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasHttpPath()) {
httpPath_ = other.httpPath_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasHttpQuery()) {
httpQuery_ = other.httpQuery_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasHttpStatus()) {
setHttpStatus(other.getHttpStatus());
}
if (other.hasDurationMilliseconds()) {
setDurationMilliseconds(other.getDurationMilliseconds());
}
if (other.hasApiMcycles()) {
setApiMcycles(other.getApiMcycles());
}
if (other.hasProcessorMcycles()) {
setProcessorMcycles(other.getProcessorMcycles());
}
if (rpcStatsBuilder_ == null) {
if (!other.rpcStats_.isEmpty()) {
if (rpcStats_.isEmpty()) {
rpcStats_ = other.rpcStats_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureRpcStatsIsMutable();
rpcStats_.addAll(other.rpcStats_);
}
onChanged();
}
} else {
if (!other.rpcStats_.isEmpty()) {
if (rpcStatsBuilder_.isEmpty()) {
rpcStatsBuilder_.dispose();
rpcStatsBuilder_ = null;
rpcStats_ = other.rpcStats_;
bitField0_ = (bitField0_ & ~0x00000100);
rpcStatsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRpcStatsFieldBuilder() : null;
} else {
rpcStatsBuilder_.addAllMessages(other.rpcStats_);
}
}
}
if (cgiEnvBuilder_ == null) {
if (!other.cgiEnv_.isEmpty()) {
if (cgiEnv_.isEmpty()) {
cgiEnv_ = other.cgiEnv_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureCgiEnvIsMutable();
cgiEnv_.addAll(other.cgiEnv_);
}
onChanged();
}
} else {
if (!other.cgiEnv_.isEmpty()) {
if (cgiEnvBuilder_.isEmpty()) {
cgiEnvBuilder_.dispose();
cgiEnvBuilder_ = null;
cgiEnv_ = other.cgiEnv_;
bitField0_ = (bitField0_ & ~0x00000200);
cgiEnvBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCgiEnvFieldBuilder() : null;
} else {
cgiEnvBuilder_.addAllMessages(other.cgiEnv_);
}
}
}
if (other.hasOverheadWalltimeMilliseconds()) {
setOverheadWalltimeMilliseconds(other.getOverheadWalltimeMilliseconds());
}
if (other.hasUserEmail()) {
userEmail_ = other.userEmail_;
bitField0_ |= 0x00000800;
onChanged();
}
if (other.hasIsAdmin()) {
setIsAdmin(other.getIsAdmin());
}
if (individualStatsBuilder_ == null) {
if (!other.individualStats_.isEmpty()) {
if (individualStats_.isEmpty()) {
individualStats_ = other.individualStats_;
bitField0_ = (bitField0_ & ~0x00002000);
} else {
ensureIndividualStatsIsMutable();
individualStats_.addAll(other.individualStats_);
}
onChanged();
}
} else {
if (!other.individualStats_.isEmpty()) {
if (individualStatsBuilder_.isEmpty()) {
individualStatsBuilder_.dispose();
individualStatsBuilder_ = null;
individualStats_ = other.individualStats_;
bitField0_ = (bitField0_ & ~0x00002000);
individualStatsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getIndividualStatsFieldBuilder() : null;
} else {
individualStatsBuilder_.addAllMessages(other.individualStats_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasStartTimestampMilliseconds()) {
return false;
}
if (!hasDurationMilliseconds()) {
return false;
}
for (int i = 0; i < getRpcStatsCount(); i++) {
if (!getRpcStats(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getCgiEnvCount(); i++) {
if (!getCgiEnv(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getIndividualStatsCount(); i++) {
if (!getIndividualStats(i).isInitialized()) {
return false;
}
}
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: {
startTimestampMilliseconds_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
httpMethod_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
httpPath_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
httpQuery_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
httpStatus_ = input.readInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
durationMilliseconds_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
apiMcycles_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
processorMcycles_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 74: {
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto m =
input.readMessage(
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.PARSER,
extensionRegistry);
if (rpcStatsBuilder_ == null) {
ensureRpcStatsIsMutable();
rpcStats_.add(m);
} else {
rpcStatsBuilder_.addMessage(m);
}
break;
} // case 74
case 810: {
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto m =
input.readMessage(
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.PARSER,
extensionRegistry);
if (cgiEnvBuilder_ == null) {
ensureCgiEnvIsMutable();
cgiEnv_.add(m);
} else {
cgiEnvBuilder_.addMessage(m);
}
break;
} // case 810
case 816: {
overheadWalltimeMilliseconds_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 816
case 826: {
userEmail_ = input.readBytes();
bitField0_ |= 0x00000800;
break;
} // case 826
case 832: {
isAdmin_ = input.readBool();
bitField0_ |= 0x00001000;
break;
} // case 832
case 858: {
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto m =
input.readMessage(
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.PARSER,
extensionRegistry);
if (individualStatsBuilder_ == null) {
ensureIndividualStatsIsMutable();
individualStats_.add(m);
} else {
individualStatsBuilder_.addMessage(m);
}
break;
} // case 858
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 startTimestampMilliseconds_ ;
/**
*
* The wall time at the start of processing this request.
* Format is the difference, measured in milliseconds, between the current
* time and midnight, January 1, 1970 UTC.
*
*
* required int64 start_timestamp_milliseconds = 1;
* @return Whether the startTimestampMilliseconds field is set.
*/
@java.lang.Override
public boolean hasStartTimestampMilliseconds() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The wall time at the start of processing this request.
* Format is the difference, measured in milliseconds, between the current
* time and midnight, January 1, 1970 UTC.
*
*
* required int64 start_timestamp_milliseconds = 1;
* @return The startTimestampMilliseconds.
*/
@java.lang.Override
public long getStartTimestampMilliseconds() {
return startTimestampMilliseconds_;
}
/**
*
* The wall time at the start of processing this request.
* Format is the difference, measured in milliseconds, between the current
* time and midnight, January 1, 1970 UTC.
*
*
* required int64 start_timestamp_milliseconds = 1;
* @param value The startTimestampMilliseconds to set.
* @return This builder for chaining.
*/
public Builder setStartTimestampMilliseconds(long value) {
startTimestampMilliseconds_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The wall time at the start of processing this request.
* Format is the difference, measured in milliseconds, between the current
* time and midnight, January 1, 1970 UTC.
*
*
* required int64 start_timestamp_milliseconds = 1;
* @return This builder for chaining.
*/
public Builder clearStartTimestampMilliseconds() {
bitField0_ = (bitField0_ & ~0x00000001);
startTimestampMilliseconds_ = 0L;
onChanged();
return this;
}
private java.lang.Object httpMethod_ = "GET";
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return Whether the httpMethod field is set.
*/
public boolean hasHttpMethod() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return The httpMethod.
*/
public java.lang.String getHttpMethod() {
java.lang.Object ref = httpMethod_;
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()) {
httpMethod_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return The bytes for httpMethod.
*/
public com.google.protobuf.ByteString
getHttpMethodBytes() {
java.lang.Object ref = httpMethod_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpMethod_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @param value The httpMethod to set.
* @return This builder for chaining.
*/
public Builder setHttpMethod(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
httpMethod_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @return This builder for chaining.
*/
public Builder clearHttpMethod() {
httpMethod_ = getDefaultInstance().getHttpMethod();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* The http method, like GET or POST.
*
*
* optional string http_method = 2 [default = "GET"];
* @param value The bytes for httpMethod to set.
* @return This builder for chaining.
*/
public Builder setHttpMethodBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
httpMethod_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object httpPath_ = "/";
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return Whether the httpPath field is set.
*/
public boolean hasHttpPath() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return The httpPath.
*/
public java.lang.String getHttpPath() {
java.lang.Object ref = httpPath_;
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()) {
httpPath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return The bytes for httpPath.
*/
public com.google.protobuf.ByteString
getHttpPathBytes() {
java.lang.Object ref = httpPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @param value The httpPath to set.
* @return This builder for chaining.
*/
public Builder setHttpPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
httpPath_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @return This builder for chaining.
*/
public Builder clearHttpPath() {
httpPath_ = getDefaultInstance().getHttpPath();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* The http path.
*
*
* optional string http_path = 3 [default = "/"];
* @param value The bytes for httpPath to set.
* @return This builder for chaining.
*/
public Builder setHttpPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
httpPath_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object httpQuery_ = "";
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return Whether the httpQuery field is set.
*/
public boolean hasHttpQuery() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return The httpQuery.
*/
public java.lang.String getHttpQuery() {
java.lang.Object ref = httpQuery_;
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()) {
httpQuery_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return The bytes for httpQuery.
*/
public com.google.protobuf.ByteString
getHttpQueryBytes() {
java.lang.Object ref = httpQuery_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpQuery_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @param value The httpQuery to set.
* @return This builder for chaining.
*/
public Builder setHttpQuery(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
httpQuery_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @return This builder for chaining.
*/
public Builder clearHttpQuery() {
httpQuery_ = getDefaultInstance().getHttpQuery();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* The http query string.
*
*
* optional string http_query = 4;
* @param value The bytes for httpQuery to set.
* @return This builder for chaining.
*/
public Builder setHttpQueryBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
httpQuery_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private int httpStatus_ = 200;
/**
*
* The http response code.
*
*
* optional int32 http_status = 5 [default = 200];
* @return Whether the httpStatus field is set.
*/
@java.lang.Override
public boolean hasHttpStatus() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* The http response code.
*
*
* optional int32 http_status = 5 [default = 200];
* @return The httpStatus.
*/
@java.lang.Override
public int getHttpStatus() {
return httpStatus_;
}
/**
*
* The http response code.
*
*
* optional int32 http_status = 5 [default = 200];
* @param value The httpStatus to set.
* @return This builder for chaining.
*/
public Builder setHttpStatus(int value) {
httpStatus_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* The http response code.
*
*
* optional int32 http_status = 5 [default = 200];
* @return This builder for chaining.
*/
public Builder clearHttpStatus() {
bitField0_ = (bitField0_ & ~0x00000010);
httpStatus_ = 200;
onChanged();
return this;
}
private long durationMilliseconds_ ;
/**
*
* The wall time it took for the request to complete.
* The end time of the request can be computed by adding this value to
* start_timestamp_milliseconds.
*
*
* required int64 duration_milliseconds = 6;
* @return Whether the durationMilliseconds field is set.
*/
@java.lang.Override
public boolean hasDurationMilliseconds() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* The wall time it took for the request to complete.
* The end time of the request can be computed by adding this value to
* start_timestamp_milliseconds.
*
*
* required int64 duration_milliseconds = 6;
* @return The durationMilliseconds.
*/
@java.lang.Override
public long getDurationMilliseconds() {
return durationMilliseconds_;
}
/**
*
* The wall time it took for the request to complete.
* The end time of the request can be computed by adding this value to
* start_timestamp_milliseconds.
*
*
* required int64 duration_milliseconds = 6;
* @param value The durationMilliseconds to set.
* @return This builder for chaining.
*/
public Builder setDurationMilliseconds(long value) {
durationMilliseconds_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* The wall time it took for the request to complete.
* The end time of the request can be computed by adding this value to
* start_timestamp_milliseconds.
*
*
* required int64 duration_milliseconds = 6;
* @return This builder for chaining.
*/
public Builder clearDurationMilliseconds() {
bitField0_ = (bitField0_ & ~0x00000020);
durationMilliseconds_ = 0L;
onChanged();
return this;
}
private long apiMcycles_ ;
/**
*
* The total amount of time spent in API calls, in megacycles.
*
*
* optional int64 api_mcycles = 7;
* @return Whether the apiMcycles field is set.
*/
@java.lang.Override
public boolean hasApiMcycles() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* The total amount of time spent in API calls, in megacycles.
*
*
* optional int64 api_mcycles = 7;
* @return The apiMcycles.
*/
@java.lang.Override
public long getApiMcycles() {
return apiMcycles_;
}
/**
*
* The total amount of time spent in API calls, in megacycles.
*
*
* optional int64 api_mcycles = 7;
* @param value The apiMcycles to set.
* @return This builder for chaining.
*/
public Builder setApiMcycles(long value) {
apiMcycles_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* The total amount of time spent in API calls, in megacycles.
*
*
* optional int64 api_mcycles = 7;
* @return This builder for chaining.
*/
public Builder clearApiMcycles() {
bitField0_ = (bitField0_ & ~0x00000040);
apiMcycles_ = 0L;
onChanged();
return this;
}
private long processorMcycles_ ;
/**
*
* The total amount of time spent in processing the rpc, minus API calls,
* in megacycles.
*
*
* optional int64 processor_mcycles = 8;
* @return Whether the processorMcycles field is set.
*/
@java.lang.Override
public boolean hasProcessorMcycles() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* The total amount of time spent in processing the rpc, minus API calls,
* in megacycles.
*
*
* optional int64 processor_mcycles = 8;
* @return The processorMcycles.
*/
@java.lang.Override
public long getProcessorMcycles() {
return processorMcycles_;
}
/**
*
* The total amount of time spent in processing the rpc, minus API calls,
* in megacycles.
*
*
* optional int64 processor_mcycles = 8;
* @param value The processorMcycles to set.
* @return This builder for chaining.
*/
public Builder setProcessorMcycles(long value) {
processorMcycles_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* The total amount of time spent in processing the rpc, minus API calls,
* in megacycles.
*
*
* optional int64 processor_mcycles = 8;
* @return This builder for chaining.
*/
public Builder clearProcessorMcycles() {
bitField0_ = (bitField0_ & ~0x00000080);
processorMcycles_ = 0L;
onChanged();
return this;
}
private java.util.List rpcStats_ =
java.util.Collections.emptyList();
private void ensureRpcStatsIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
rpcStats_ = new java.util.ArrayList(rpcStats_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder> rpcStatsBuilder_;
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public java.util.List getRpcStatsList() {
if (rpcStatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(rpcStats_);
} else {
return rpcStatsBuilder_.getMessageList();
}
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public int getRpcStatsCount() {
if (rpcStatsBuilder_ == null) {
return rpcStats_.size();
} else {
return rpcStatsBuilder_.getCount();
}
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto getRpcStats(int index) {
if (rpcStatsBuilder_ == null) {
return rpcStats_.get(index);
} else {
return rpcStatsBuilder_.getMessage(index);
}
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder setRpcStats(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto value) {
if (rpcStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRpcStatsIsMutable();
rpcStats_.set(index, value);
onChanged();
} else {
rpcStatsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder setRpcStats(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder builderForValue) {
if (rpcStatsBuilder_ == null) {
ensureRpcStatsIsMutable();
rpcStats_.set(index, builderForValue.build());
onChanged();
} else {
rpcStatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder addRpcStats(com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto value) {
if (rpcStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRpcStatsIsMutable();
rpcStats_.add(value);
onChanged();
} else {
rpcStatsBuilder_.addMessage(value);
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder addRpcStats(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto value) {
if (rpcStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRpcStatsIsMutable();
rpcStats_.add(index, value);
onChanged();
} else {
rpcStatsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder addRpcStats(
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder builderForValue) {
if (rpcStatsBuilder_ == null) {
ensureRpcStatsIsMutable();
rpcStats_.add(builderForValue.build());
onChanged();
} else {
rpcStatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder addRpcStats(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder builderForValue) {
if (rpcStatsBuilder_ == null) {
ensureRpcStatsIsMutable();
rpcStats_.add(index, builderForValue.build());
onChanged();
} else {
rpcStatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder addAllRpcStats(
java.lang.Iterable extends com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto> values) {
if (rpcStatsBuilder_ == null) {
ensureRpcStatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rpcStats_);
onChanged();
} else {
rpcStatsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder clearRpcStats() {
if (rpcStatsBuilder_ == null) {
rpcStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
rpcStatsBuilder_.clear();
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public Builder removeRpcStats(int index) {
if (rpcStatsBuilder_ == null) {
ensureRpcStatsIsMutable();
rpcStats_.remove(index);
onChanged();
} else {
rpcStatsBuilder_.remove(index);
}
return this;
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder getRpcStatsBuilder(
int index) {
return getRpcStatsFieldBuilder().getBuilder(index);
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder getRpcStatsOrBuilder(
int index) {
if (rpcStatsBuilder_ == null) {
return rpcStats_.get(index); } else {
return rpcStatsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder>
getRpcStatsOrBuilderList() {
if (rpcStatsBuilder_ != null) {
return rpcStatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rpcStats_);
}
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder addRpcStatsBuilder() {
return getRpcStatsFieldBuilder().addBuilder(
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.getDefaultInstance());
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder addRpcStatsBuilder(
int index) {
return getRpcStatsFieldBuilder().addBuilder(
index, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.getDefaultInstance());
}
/**
*
* A quick summary of all rpc calls made.
*
*
* repeated .java.apphosting.AggregateRpcStatsProto rpc_stats = 9;
*/
public java.util.List
getRpcStatsBuilderList() {
return getRpcStatsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder>
getRpcStatsFieldBuilder() {
if (rpcStatsBuilder_ == null) {
rpcStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.AggregateRpcStatsProtoOrBuilder>(
rpcStats_,
((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
rpcStats_ = null;
}
return rpcStatsBuilder_;
}
private java.util.List cgiEnv_ =
java.util.Collections.emptyList();
private void ensureCgiEnvIsMutable() {
if (!((bitField0_ & 0x00000200) != 0)) {
cgiEnv_ = new java.util.ArrayList(cgiEnv_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder> cgiEnvBuilder_;
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public java.util.List getCgiEnvList() {
if (cgiEnvBuilder_ == null) {
return java.util.Collections.unmodifiableList(cgiEnv_);
} else {
return cgiEnvBuilder_.getMessageList();
}
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public int getCgiEnvCount() {
if (cgiEnvBuilder_ == null) {
return cgiEnv_.size();
} else {
return cgiEnvBuilder_.getCount();
}
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto getCgiEnv(int index) {
if (cgiEnvBuilder_ == null) {
return cgiEnv_.get(index);
} else {
return cgiEnvBuilder_.getMessage(index);
}
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder setCgiEnv(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto value) {
if (cgiEnvBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCgiEnvIsMutable();
cgiEnv_.set(index, value);
onChanged();
} else {
cgiEnvBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder setCgiEnv(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder builderForValue) {
if (cgiEnvBuilder_ == null) {
ensureCgiEnvIsMutable();
cgiEnv_.set(index, builderForValue.build());
onChanged();
} else {
cgiEnvBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder addCgiEnv(com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto value) {
if (cgiEnvBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCgiEnvIsMutable();
cgiEnv_.add(value);
onChanged();
} else {
cgiEnvBuilder_.addMessage(value);
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder addCgiEnv(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto value) {
if (cgiEnvBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCgiEnvIsMutable();
cgiEnv_.add(index, value);
onChanged();
} else {
cgiEnvBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder addCgiEnv(
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder builderForValue) {
if (cgiEnvBuilder_ == null) {
ensureCgiEnvIsMutable();
cgiEnv_.add(builderForValue.build());
onChanged();
} else {
cgiEnvBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder addCgiEnv(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder builderForValue) {
if (cgiEnvBuilder_ == null) {
ensureCgiEnvIsMutable();
cgiEnv_.add(index, builderForValue.build());
onChanged();
} else {
cgiEnvBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder addAllCgiEnv(
java.lang.Iterable extends com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto> values) {
if (cgiEnvBuilder_ == null) {
ensureCgiEnvIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, cgiEnv_);
onChanged();
} else {
cgiEnvBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder clearCgiEnv() {
if (cgiEnvBuilder_ == null) {
cgiEnv_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
cgiEnvBuilder_.clear();
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public Builder removeCgiEnv(int index) {
if (cgiEnvBuilder_ == null) {
ensureCgiEnvIsMutable();
cgiEnv_.remove(index);
onChanged();
} else {
cgiEnvBuilder_.remove(index);
}
return this;
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder getCgiEnvBuilder(
int index) {
return getCgiEnvFieldBuilder().getBuilder(index);
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder getCgiEnvOrBuilder(
int index) {
if (cgiEnvBuilder_ == null) {
return cgiEnv_.get(index); } else {
return cgiEnvBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>
getCgiEnvOrBuilderList() {
if (cgiEnvBuilder_ != null) {
return cgiEnvBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(cgiEnv_);
}
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder addCgiEnvBuilder() {
return getCgiEnvFieldBuilder().addBuilder(
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.getDefaultInstance());
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder addCgiEnvBuilder(
int index) {
return getCgiEnvFieldBuilder().addBuilder(
index, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.getDefaultInstance());
}
/**
*
* CGI environment variables in the request.
* This will be optional (can be turned off, since it takes up additional
* memcache space), and may be completely missing in Java.
*
*
* repeated .java.apphosting.KeyValProto cgi_env = 101;
*/
public java.util.List
getCgiEnvBuilderList() {
return getCgiEnvFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>
getCgiEnvFieldBuilder() {
if (cgiEnvBuilder_ == null) {
cgiEnvBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.KeyValProtoOrBuilder>(
cgiEnv_,
((bitField0_ & 0x00000200) != 0),
getParentForChildren(),
isClean());
cgiEnv_ = null;
}
return cgiEnvBuilder_;
}
private long overheadWalltimeMilliseconds_ ;
/**
*
* The amount of overhead spent in collecting extra data for statistics,
* in milliseconds wall time.
*
*
* optional int64 overhead_walltime_milliseconds = 102;
* @return Whether the overheadWalltimeMilliseconds field is set.
*/
@java.lang.Override
public boolean hasOverheadWalltimeMilliseconds() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* The amount of overhead spent in collecting extra data for statistics,
* in milliseconds wall time.
*
*
* optional int64 overhead_walltime_milliseconds = 102;
* @return The overheadWalltimeMilliseconds.
*/
@java.lang.Override
public long getOverheadWalltimeMilliseconds() {
return overheadWalltimeMilliseconds_;
}
/**
*
* The amount of overhead spent in collecting extra data for statistics,
* in milliseconds wall time.
*
*
* optional int64 overhead_walltime_milliseconds = 102;
* @param value The overheadWalltimeMilliseconds to set.
* @return This builder for chaining.
*/
public Builder setOverheadWalltimeMilliseconds(long value) {
overheadWalltimeMilliseconds_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
*
* The amount of overhead spent in collecting extra data for statistics,
* in milliseconds wall time.
*
*
* optional int64 overhead_walltime_milliseconds = 102;
* @return This builder for chaining.
*/
public Builder clearOverheadWalltimeMilliseconds() {
bitField0_ = (bitField0_ & ~0x00000400);
overheadWalltimeMilliseconds_ = 0L;
onChanged();
return this;
}
private java.lang.Object userEmail_ = "";
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return Whether the userEmail field is set.
*/
public boolean hasUserEmail() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return The userEmail.
*/
public java.lang.String getUserEmail() {
java.lang.Object ref = userEmail_;
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()) {
userEmail_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return The bytes for userEmail.
*/
public com.google.protobuf.ByteString
getUserEmailBytes() {
java.lang.Object ref = userEmail_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userEmail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @param value The userEmail to set.
* @return This builder for chaining.
*/
public Builder setUserEmail(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
userEmail_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @return This builder for chaining.
*/
public Builder clearUserEmail() {
userEmail_ = getDefaultInstance().getUserEmail();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
*
* The email of the user, if a user is logged in.
*
*
* optional string user_email = 103;
* @param value The bytes for userEmail to set.
* @return This builder for chaining.
*/
public Builder setUserEmailBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
userEmail_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private boolean isAdmin_ ;
/**
*
* Was the user an administrator at the time of this request?
*
*
* optional bool is_admin = 104;
* @return Whether the isAdmin field is set.
*/
@java.lang.Override
public boolean hasIsAdmin() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* Was the user an administrator at the time of this request?
*
*
* optional bool is_admin = 104;
* @return The isAdmin.
*/
@java.lang.Override
public boolean getIsAdmin() {
return isAdmin_;
}
/**
*
* Was the user an administrator at the time of this request?
*
*
* optional bool is_admin = 104;
* @param value The isAdmin to set.
* @return This builder for chaining.
*/
public Builder setIsAdmin(boolean value) {
isAdmin_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
*
* Was the user an administrator at the time of this request?
*
*
* optional bool is_admin = 104;
* @return This builder for chaining.
*/
public Builder clearIsAdmin() {
bitField0_ = (bitField0_ & ~0x00001000);
isAdmin_ = false;
onChanged();
return this;
}
private java.util.List individualStats_ =
java.util.Collections.emptyList();
private void ensureIndividualStatsIsMutable() {
if (!((bitField0_ & 0x00002000) != 0)) {
individualStats_ = new java.util.ArrayList(individualStats_);
bitField0_ |= 0x00002000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder> individualStatsBuilder_;
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public java.util.List getIndividualStatsList() {
if (individualStatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(individualStats_);
} else {
return individualStatsBuilder_.getMessageList();
}
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public int getIndividualStatsCount() {
if (individualStatsBuilder_ == null) {
return individualStats_.size();
} else {
return individualStatsBuilder_.getCount();
}
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto getIndividualStats(int index) {
if (individualStatsBuilder_ == null) {
return individualStats_.get(index);
} else {
return individualStatsBuilder_.getMessage(index);
}
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder setIndividualStats(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto value) {
if (individualStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIndividualStatsIsMutable();
individualStats_.set(index, value);
onChanged();
} else {
individualStatsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder setIndividualStats(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder builderForValue) {
if (individualStatsBuilder_ == null) {
ensureIndividualStatsIsMutable();
individualStats_.set(index, builderForValue.build());
onChanged();
} else {
individualStatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder addIndividualStats(com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto value) {
if (individualStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIndividualStatsIsMutable();
individualStats_.add(value);
onChanged();
} else {
individualStatsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder addIndividualStats(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto value) {
if (individualStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIndividualStatsIsMutable();
individualStats_.add(index, value);
onChanged();
} else {
individualStatsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder addIndividualStats(
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder builderForValue) {
if (individualStatsBuilder_ == null) {
ensureIndividualStatsIsMutable();
individualStats_.add(builderForValue.build());
onChanged();
} else {
individualStatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder addIndividualStats(
int index, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder builderForValue) {
if (individualStatsBuilder_ == null) {
ensureIndividualStatsIsMutable();
individualStats_.add(index, builderForValue.build());
onChanged();
} else {
individualStatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder addAllIndividualStats(
java.lang.Iterable extends com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto> values) {
if (individualStatsBuilder_ == null) {
ensureIndividualStatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, individualStats_);
onChanged();
} else {
individualStatsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder clearIndividualStats() {
if (individualStatsBuilder_ == null) {
individualStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
} else {
individualStatsBuilder_.clear();
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public Builder removeIndividualStats(int index) {
if (individualStatsBuilder_ == null) {
ensureIndividualStatsIsMutable();
individualStats_.remove(index);
onChanged();
} else {
individualStatsBuilder_.remove(index);
}
return this;
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder getIndividualStatsBuilder(
int index) {
return getIndividualStatsFieldBuilder().getBuilder(index);
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder getIndividualStatsOrBuilder(
int index) {
if (individualStatsBuilder_ == null) {
return individualStats_.get(index); } else {
return individualStatsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public java.util.List extends com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder>
getIndividualStatsOrBuilderList() {
if (individualStatsBuilder_ != null) {
return individualStatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(individualStats_);
}
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder addIndividualStatsBuilder() {
return getIndividualStatsFieldBuilder().addBuilder(
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.getDefaultInstance());
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder addIndividualStatsBuilder(
int index) {
return getIndividualStatsFieldBuilder().addBuilder(
index, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.getDefaultInstance());
}
/**
*
* Data for each individual RPC performed in this request.
*
*
* repeated .java.apphosting.IndividualRpcStatsProto individual_stats = 107;
*/
public java.util.List
getIndividualStatsBuilderList() {
return getIndividualStatsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder>
getIndividualStatsFieldBuilder() {
if (individualStatsBuilder_ == null) {
individualStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProto.Builder, com.google.appengine.tools.appstats.proto2api.StatsProtos.IndividualRpcStatsProtoOrBuilder>(
individualStats_,
((bitField0_ & 0x00002000) != 0),
getParentForChildren(),
isClean());
individualStats_ = null;
}
return individualStatsBuilder_;
}
@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:java.apphosting.RequestStatProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.RequestStatProto)
private static final com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto();
}
public static com.google.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RequestStatProto 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.appengine.tools.appstats.proto2api.StatsProtos.RequestStatProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_AggregateRpcStatsProto_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_AggregateRpcStatsProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_KeyValProto_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_KeyValProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_StackFrameProto_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_StackFrameProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_BilledOpProto_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_BilledOpProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_DatastoreCallDetailsProto_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_DatastoreCallDetailsProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_IndividualRpcStatsProto_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_IndividualRpcStatsProto_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_RequestStatProto_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_RequestStatProto_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\017datamodel.proto\022\017java.apphosting\032\014enti" +
"ty.proto\"\266\001\n\026AggregateRpcStatsProto\022\031\n\021s" +
"ervice_call_name\030\001 \002(\t\022\035\n\025total_amount_o" +
"f_calls\030\003 \002(\003\022(\n total_cost_of_calls_mic" +
"rodollars\030\004 \001(\003\0228\n\020total_billed_ops\030\005 \003(" +
"\0132\036.java.apphosting.BilledOpProto\")\n\013Key" +
"ValProto\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \002(\t\"\212\001\n" +
"\017StackFrameProto\022\032\n\022class_or_file_name\030\001" +
" \002(\t\022\023\n\013line_number\030\002 \001(\005\022\025\n\rfunction_na" +
"me\030\003 \002(\t\022/\n\tvariables\030\004 \003(\0132\034.java.appho" +
"sting.KeyValProto\"\355\001\n\rBilledOpProto\0223\n\002o" +
"p\030\001 \002(\0162\'.java.apphosting.BilledOpProto." +
"BilledOp\022\017\n\007num_ops\030\002 \002(\005\"\225\001\n\010BilledOp\022\022" +
"\n\016DATASTORE_READ\020\000\022\023\n\017DATASTORE_WRITE\020\001\022" +
"\023\n\017DATASTORE_SMALL\020\002\022\022\n\016MAIL_RECIPIENT\020\003" +
"\022\020\n\014CHANNEL_OPEN\020\004\022\017\n\013XMPP_STANZA\020\005\022\024\n\020C" +
"HANNEL_PRESENCE\020\006\"\242\002\n\031DatastoreCallDetai" +
"lsProto\022\022\n\nquery_kind\030\001 \001(\t\0226\n\016query_anc" +
"estor\030\002 \001(\0132\036.storage_onestore_v3.Refere" +
"nce\022\030\n\020query_thiscursor\030\003 \001(\006\022\030\n\020query_n" +
"extcursor\030\004 \001(\006\022\034\n\024get_successful_fetch\030" +
"\005 \003(\010\0221\n\tkeys_read\030\006 \003(\0132\036.storage_onest" +
"ore_v3.Reference\0224\n\014keys_written\030\007 \003(\0132\036" +
".storage_onestore_v3.Reference\"\351\003\n\027Indiv" +
"idualRpcStatsProto\022\031\n\021service_call_name\030" +
"\001 \002(\t\022\034\n\024request_data_summary\030\003 \001(\t\022\035\n\025r" +
"esponse_data_summary\030\004 \001(\t\022\023\n\013api_mcycle" +
"s\030\005 \001(\003\022\030\n\020api_milliseconds\030\013 \001(\003\022!\n\031sta" +
"rt_offset_milliseconds\030\006 \002(\003\022 \n\025duration" +
"_milliseconds\030\007 \001(\003:\0010\022\023\n\tnamespace\030\010 \001(" +
"\t:\000\022\034\n\016was_successful\030\t \001(\010:\004true\0224\n\ncal" +
"l_stack\030\n \003(\0132 .java.apphosting.StackFra" +
"meProto\022E\n\021datastore_details\030\014 \001(\0132*.jav" +
"a.apphosting.DatastoreCallDetailsProto\022\036" +
"\n\026call_cost_microdollars\030\r \001(\003\0222\n\nbilled" +
"_ops\030\016 \003(\0132\036.java.apphosting.BilledOpPro" +
"to\"\342\003\n\020RequestStatProto\022$\n\034start_timesta" +
"mp_milliseconds\030\001 \002(\003\022\030\n\013http_method\030\002 \001" +
"(\t:\003GET\022\024\n\thttp_path\030\003 \001(\t:\001/\022\022\n\nhttp_qu" +
"ery\030\004 \001(\t\022\030\n\013http_status\030\005 \001(\005:\003200\022\035\n\025d" +
"uration_milliseconds\030\006 \002(\003\022\023\n\013api_mcycle" +
"s\030\007 \001(\003\022\031\n\021processor_mcycles\030\010 \001(\003\022:\n\trp" +
"c_stats\030\t \003(\0132\'.java.apphosting.Aggregat" +
"eRpcStatsProto\022-\n\007cgi_env\030e \003(\0132\034.java.a" +
"pphosting.KeyValProto\022&\n\036overhead_wallti" +
"me_milliseconds\030f \001(\003\022\022\n\nuser_email\030g \001(" +
"\t\022\020\n\010is_admin\030h \001(\010\022B\n\020individual_stats\030" +
"k \003(\0132(.java.apphosting.IndividualRpcSta" +
"tsProtoB>\n-com.google.appengine.tools.ap" +
"pstats.proto2apiB\013StatsProtosH\001"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.storage.onestore.v3.proto2api.OnestoreEntity.getDescriptor(),
});
internal_static_java_apphosting_AggregateRpcStatsProto_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_java_apphosting_AggregateRpcStatsProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_AggregateRpcStatsProto_descriptor,
new java.lang.String[] { "ServiceCallName", "TotalAmountOfCalls", "TotalCostOfCallsMicrodollars", "TotalBilledOps", });
internal_static_java_apphosting_KeyValProto_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_java_apphosting_KeyValProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_KeyValProto_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_java_apphosting_StackFrameProto_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_java_apphosting_StackFrameProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_StackFrameProto_descriptor,
new java.lang.String[] { "ClassOrFileName", "LineNumber", "FunctionName", "Variables", });
internal_static_java_apphosting_BilledOpProto_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_java_apphosting_BilledOpProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_BilledOpProto_descriptor,
new java.lang.String[] { "Op", "NumOps", });
internal_static_java_apphosting_DatastoreCallDetailsProto_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_java_apphosting_DatastoreCallDetailsProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_DatastoreCallDetailsProto_descriptor,
new java.lang.String[] { "QueryKind", "QueryAncestor", "QueryThiscursor", "QueryNextcursor", "GetSuccessfulFetch", "KeysRead", "KeysWritten", });
internal_static_java_apphosting_IndividualRpcStatsProto_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_java_apphosting_IndividualRpcStatsProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_IndividualRpcStatsProto_descriptor,
new java.lang.String[] { "ServiceCallName", "RequestDataSummary", "ResponseDataSummary", "ApiMcycles", "ApiMilliseconds", "StartOffsetMilliseconds", "DurationMilliseconds", "Namespace", "WasSuccessful", "CallStack", "DatastoreDetails", "CallCostMicrodollars", "BilledOps", });
internal_static_java_apphosting_RequestStatProto_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_java_apphosting_RequestStatProto_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_RequestStatProto_descriptor,
new java.lang.String[] { "StartTimestampMilliseconds", "HttpMethod", "HttpPath", "HttpQuery", "HttpStatus", "DurationMilliseconds", "ApiMcycles", "ProcessorMcycles", "RpcStats", "CgiEnv", "OverheadWalltimeMilliseconds", "UserEmail", "IsAdmin", "IndividualStats", });
com.google.storage.onestore.v3.proto2api.OnestoreEntity.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy