com.google.apphosting.base.protos.api.ApiBasePb Maven / Gradle / Ivy
Go to download
SDK for dev_appserver (local development) with some of the dependencies shaded (repackaged)
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api_base.proto
package com.google.apphosting.base.protos.api;
public final class ApiBasePb {
private ApiBasePb() {}
public static void registerAllExtensions(
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface StringProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.base.StringProto)
com.google.appengine.repackaged.com.google.protobuf.MessageOrBuilder {
/**
* required string value = 1;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* required string value = 1;
* @return The value.
*/
java.lang.String getValue();
/**
* required string value = 1;
* @return The bytes for value.
*/
com.google.appengine.repackaged.com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code java.apphosting.base.StringProto}
*/
public static final class StringProto extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.base.StringProto)
StringProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use StringProto.newBuilder() to construct.
private StringProto(com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StringProto() {
value_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StringProto();
}
@java.lang.Override
public final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StringProto(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.appengine.repackaged.com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
value_ = bs;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_StringProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_StringProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.StringProto.class, com.google.apphosting.base.protos.api.ApiBasePb.StringProto.Builder.class);
}
private int bitField0_;
public static final int VALUE_FIELD_NUMBER = 1;
private volatile java.lang.Object value_;
/**
* required string value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required string value = 1;
* @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.appengine.repackaged.com.google.protobuf.ByteString bs =
(com.google.appengine.repackaged.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* required string value = 1;
* @return The bytes for value.
*/
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.appengine.repackaged.com.google.protobuf.ByteString b =
com.google.appengine.repackaged.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.appengine.repackaged.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 (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.appengine.repackaged.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
}
unknownFields.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.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.base.protos.api.ApiBasePb.StringProto)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.api.ApiBasePb.StringProto other = (com.google.apphosting.base.protos.api.ApiBasePb.StringProto) obj;
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(
java.nio.ByteBuffer data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(byte[] data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(
byte[] data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseDelimitedFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.base.protos.api.ApiBasePb.StringProto 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.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.base.StringProto}
*/
public static final class Builder extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.base.StringProto)
com.google.apphosting.base.protos.api.ApiBasePb.StringProtoOrBuilder {
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_StringProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_StringProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.StringProto.class, com.google.apphosting.base.protos.api.ApiBasePb.StringProto.Builder.class);
}
// Construct using com.google.apphosting.base.protos.api.ApiBasePb.StringProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
value_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_StringProto_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.StringProto getDefaultInstanceForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.StringProto.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.StringProto build() {
com.google.apphosting.base.protos.api.ApiBasePb.StringProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.StringProto buildPartial() {
com.google.apphosting.base.protos.api.ApiBasePb.StringProto result = new com.google.apphosting.base.protos.api.ApiBasePb.StringProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.appengine.repackaged.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.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.appengine.repackaged.com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.base.protos.api.ApiBasePb.StringProto) {
return mergeFrom((com.google.apphosting.base.protos.api.ApiBasePb.StringProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.api.ApiBasePb.StringProto other) {
if (other == com.google.apphosting.base.protos.api.ApiBasePb.StringProto.getDefaultInstance()) return this;
if (other.hasValue()) {
bitField0_ |= 0x00000001;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasValue()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.apphosting.base.protos.api.ApiBasePb.StringProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.apphosting.base.protos.api.ApiBasePb.StringProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object value_ = "";
/**
* required string value = 1;
* @return Whether the value field is set.
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required string value = 1;
* @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.appengine.repackaged.com.google.protobuf.ByteString bs =
(com.google.appengine.repackaged.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 = 1;
* @return The bytes for value.
*/
public com.google.appengine.repackaged.com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.appengine.repackaged.com.google.protobuf.ByteString b =
com.google.appengine.repackaged.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.appengine.repackaged.com.google.protobuf.ByteString) ref;
}
}
/**
* required string value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
/**
* required string value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* required string value = 1;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.appengine.repackaged.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.base.StringProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.base.StringProto)
private static final com.google.apphosting.base.protos.api.ApiBasePb.StringProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.api.ApiBasePb.StringProto();
}
public static com.google.apphosting.base.protos.api.ApiBasePb.StringProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.appengine.repackaged.com.google.protobuf.Parser
PARSER = new com.google.appengine.repackaged.com.google.protobuf.AbstractParser() {
@java.lang.Override
public StringProto parsePartialFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return new StringProto(input, extensionRegistry);
}
};
public static com.google.appengine.repackaged.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.StringProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface Integer32ProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.base.Integer32Proto)
com.google.appengine.repackaged.com.google.protobuf.MessageOrBuilder {
/**
* required int32 value = 1;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* required int32 value = 1;
* @return The value.
*/
int getValue();
}
/**
* Protobuf type {@code java.apphosting.base.Integer32Proto}
*/
public static final class Integer32Proto extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.base.Integer32Proto)
Integer32ProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use Integer32Proto.newBuilder() to construct.
private Integer32Proto(com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Integer32Proto() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Integer32Proto();
}
@java.lang.Override
public final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Integer32Proto(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
value_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer32Proto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer32Proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto.class, com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto.Builder.class);
}
private int bitField0_;
public static final int VALUE_FIELD_NUMBER = 1;
private int value_;
/**
* required int32 value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 value = 1;
* @return The value.
*/
@java.lang.Override
public int getValue() {
return value_;
}
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 (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.appengine.repackaged.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, value_);
}
unknownFields.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.appengine.repackaged.com.google.protobuf.CodedOutputStream
.computeInt32Size(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto other = (com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto) obj;
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (getValue()
!= other.getValue()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(
java.nio.ByteBuffer data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(byte[] data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(
byte[] data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseDelimitedFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto 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.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.base.Integer32Proto}
*/
public static final class Builder extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.base.Integer32Proto)
com.google.apphosting.base.protos.api.ApiBasePb.Integer32ProtoOrBuilder {
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer32Proto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer32Proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto.class, com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto.Builder.class);
}
// Construct using com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
value_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer32Proto_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto getDefaultInstanceForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto build() {
com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto buildPartial() {
com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto result = new com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.appengine.repackaged.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.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.appengine.repackaged.com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto) {
return mergeFrom((com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto other) {
if (other == com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto.getDefaultInstance()) return this;
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasValue()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int value_ ;
/**
* required int32 value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 value = 1;
* @return The value.
*/
@java.lang.Override
public int getValue() {
return value_;
}
/**
* required int32 value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(int value) {
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
/**
* required int32 value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.base.Integer32Proto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.base.Integer32Proto)
private static final com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto();
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.appengine.repackaged.com.google.protobuf.Parser
PARSER = new com.google.appengine.repackaged.com.google.protobuf.AbstractParser() {
@java.lang.Override
public Integer32Proto parsePartialFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return new Integer32Proto(input, extensionRegistry);
}
};
public static com.google.appengine.repackaged.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.Integer32Proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface Integer64ProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.base.Integer64Proto)
com.google.appengine.repackaged.com.google.protobuf.MessageOrBuilder {
/**
* required int64 value = 1;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* required int64 value = 1;
* @return The value.
*/
long getValue();
}
/**
* Protobuf type {@code java.apphosting.base.Integer64Proto}
*/
public static final class Integer64Proto extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.base.Integer64Proto)
Integer64ProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use Integer64Proto.newBuilder() to construct.
private Integer64Proto(com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Integer64Proto() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Integer64Proto();
}
@java.lang.Override
public final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Integer64Proto(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
value_ = input.readInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer64Proto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer64Proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto.class, com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto.Builder.class);
}
private int bitField0_;
public static final int VALUE_FIELD_NUMBER = 1;
private long value_;
/**
* required int64 value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int64 value = 1;
* @return The value.
*/
@java.lang.Override
public long getValue() {
return value_;
}
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 (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.appengine.repackaged.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, value_);
}
unknownFields.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.appengine.repackaged.com.google.protobuf.CodedOutputStream
.computeInt64Size(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto other = (com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto) obj;
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (getValue()
!= other.getValue()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.appengine.repackaged.com.google.protobuf.Internal.hashLong(
getValue());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(
java.nio.ByteBuffer data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(
java.nio.ByteBuffer data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(byte[] data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(
byte[] data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseDelimitedFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto 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.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.base.Integer64Proto}
*/
public static final class Builder extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.base.Integer64Proto)
com.google.apphosting.base.protos.api.ApiBasePb.Integer64ProtoOrBuilder {
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer64Proto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer64Proto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto.class, com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto.Builder.class);
}
// Construct using com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
value_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_Integer64Proto_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto getDefaultInstanceForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto build() {
com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto buildPartial() {
com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto result = new com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.appengine.repackaged.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.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.appengine.repackaged.com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto) {
return mergeFrom((com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto other) {
if (other == com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto.getDefaultInstance()) return this;
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasValue()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long value_ ;
/**
* required int64 value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int64 value = 1;
* @return The value.
*/
@java.lang.Override
public long getValue() {
return value_;
}
/**
* required int64 value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(long value) {
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
/**
* required int64 value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.base.Integer64Proto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.base.Integer64Proto)
private static final com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto();
}
public static com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.appengine.repackaged.com.google.protobuf.Parser
PARSER = new com.google.appengine.repackaged.com.google.protobuf.AbstractParser() {
@java.lang.Override
public Integer64Proto parsePartialFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return new Integer64Proto(input, extensionRegistry);
}
};
public static com.google.appengine.repackaged.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.Integer64Proto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BoolProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.base.BoolProto)
com.google.appengine.repackaged.com.google.protobuf.MessageOrBuilder {
/**
* required bool value = 1;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* required bool value = 1;
* @return The value.
*/
boolean getValue();
}
/**
* Protobuf type {@code java.apphosting.base.BoolProto}
*/
public static final class BoolProto extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.base.BoolProto)
BoolProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use BoolProto.newBuilder() to construct.
private BoolProto(com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BoolProto() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BoolProto();
}
@java.lang.Override
public final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BoolProto(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
value_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BoolProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BoolProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.BoolProto.class, com.google.apphosting.base.protos.api.ApiBasePb.BoolProto.Builder.class);
}
private int bitField0_;
public static final int VALUE_FIELD_NUMBER = 1;
private boolean value_;
/**
* required bool value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required bool value = 1;
* @return The value.
*/
@java.lang.Override
public boolean getValue() {
return value_;
}
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 (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.appengine.repackaged.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, value_);
}
unknownFields.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.appengine.repackaged.com.google.protobuf.CodedOutputStream
.computeBoolSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.base.protos.api.ApiBasePb.BoolProto)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.api.ApiBasePb.BoolProto other = (com.google.apphosting.base.protos.api.ApiBasePb.BoolProto) obj;
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (getValue()
!= other.getValue()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.appengine.repackaged.com.google.protobuf.Internal.hashBoolean(
getValue());
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(
java.nio.ByteBuffer data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(byte[] data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(
byte[] data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseDelimitedFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.base.protos.api.ApiBasePb.BoolProto 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.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.base.BoolProto}
*/
public static final class Builder extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.base.BoolProto)
com.google.apphosting.base.protos.api.ApiBasePb.BoolProtoOrBuilder {
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BoolProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BoolProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.BoolProto.class, com.google.apphosting.base.protos.api.ApiBasePb.BoolProto.Builder.class);
}
// Construct using com.google.apphosting.base.protos.api.ApiBasePb.BoolProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
value_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BoolProto_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.BoolProto getDefaultInstanceForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.BoolProto.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.BoolProto build() {
com.google.apphosting.base.protos.api.ApiBasePb.BoolProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.BoolProto buildPartial() {
com.google.apphosting.base.protos.api.ApiBasePb.BoolProto result = new com.google.apphosting.base.protos.api.ApiBasePb.BoolProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.appengine.repackaged.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.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.appengine.repackaged.com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.base.protos.api.ApiBasePb.BoolProto) {
return mergeFrom((com.google.apphosting.base.protos.api.ApiBasePb.BoolProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.api.ApiBasePb.BoolProto other) {
if (other == com.google.apphosting.base.protos.api.ApiBasePb.BoolProto.getDefaultInstance()) return this;
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasValue()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.apphosting.base.protos.api.ApiBasePb.BoolProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.apphosting.base.protos.api.ApiBasePb.BoolProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean value_ ;
/**
* required bool value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required bool value = 1;
* @return The value.
*/
@java.lang.Override
public boolean getValue() {
return value_;
}
/**
* required bool value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(boolean value) {
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
/**
* required bool value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.base.BoolProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.base.BoolProto)
private static final com.google.apphosting.base.protos.api.ApiBasePb.BoolProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.api.ApiBasePb.BoolProto();
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BoolProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.appengine.repackaged.com.google.protobuf.Parser
PARSER = new com.google.appengine.repackaged.com.google.protobuf.AbstractParser() {
@java.lang.Override
public BoolProto parsePartialFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return new BoolProto(input, extensionRegistry);
}
};
public static com.google.appengine.repackaged.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.BoolProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DoubleProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.base.DoubleProto)
com.google.appengine.repackaged.com.google.protobuf.MessageOrBuilder {
/**
* required double value = 1;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* required double value = 1;
* @return The value.
*/
double getValue();
}
/**
* Protobuf type {@code java.apphosting.base.DoubleProto}
*/
public static final class DoubleProto extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.base.DoubleProto)
DoubleProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DoubleProto.newBuilder() to construct.
private DoubleProto(com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DoubleProto() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DoubleProto();
}
@java.lang.Override
public final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DoubleProto(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
bitField0_ |= 0x00000001;
value_ = input.readDouble();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_DoubleProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_DoubleProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto.class, com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto.Builder.class);
}
private int bitField0_;
public static final int VALUE_FIELD_NUMBER = 1;
private double value_;
/**
* required double value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required double value = 1;
* @return The value.
*/
@java.lang.Override
public double getValue() {
return value_;
}
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 (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.appengine.repackaged.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeDouble(1, value_);
}
unknownFields.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.appengine.repackaged.com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto other = (com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto) obj;
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (java.lang.Double.doubleToLongBits(getValue())
!= java.lang.Double.doubleToLongBits(
other.getValue())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.appengine.repackaged.com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getValue()));
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(
java.nio.ByteBuffer data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(byte[] data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(
byte[] data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseDelimitedFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto 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.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.base.DoubleProto}
*/
public static final class Builder extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.base.DoubleProto)
com.google.apphosting.base.protos.api.ApiBasePb.DoubleProtoOrBuilder {
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_DoubleProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_DoubleProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto.class, com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto.Builder.class);
}
// Construct using com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
value_ = 0D;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_DoubleProto_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto getDefaultInstanceForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto build() {
com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto buildPartial() {
com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto result = new com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.appengine.repackaged.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.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.appengine.repackaged.com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto) {
return mergeFrom((com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto other) {
if (other == com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto.getDefaultInstance()) return this;
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasValue()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private double value_ ;
/**
* required double value = 1;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required double value = 1;
* @return The value.
*/
@java.lang.Override
public double getValue() {
return value_;
}
/**
* required double value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(double value) {
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
/**
* required double value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0D;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.base.DoubleProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.base.DoubleProto)
private static final com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto();
}
public static com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.appengine.repackaged.com.google.protobuf.Parser
PARSER = new com.google.appengine.repackaged.com.google.protobuf.AbstractParser() {
@java.lang.Override
public DoubleProto parsePartialFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return new DoubleProto(input, extensionRegistry);
}
};
public static com.google.appengine.repackaged.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.DoubleProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BytesProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.base.BytesProto)
com.google.appengine.repackaged.com.google.protobuf.MessageOrBuilder {
/**
* required bytes value = 1 [ctype = CORD];
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* required bytes value = 1 [ctype = CORD];
* @return The value.
*/
com.google.appengine.repackaged.com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code java.apphosting.base.BytesProto}
*/
public static final class BytesProto extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.base.BytesProto)
BytesProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use BytesProto.newBuilder() to construct.
private BytesProto(com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BytesProto() {
value_ = com.google.appengine.repackaged.com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BytesProto();
}
@java.lang.Override
public final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BytesProto(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
bitField0_ |= 0x00000001;
value_ = input.readBytes();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BytesProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BytesProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.BytesProto.class, com.google.apphosting.base.protos.api.ApiBasePb.BytesProto.Builder.class);
}
private int bitField0_;
public static final int VALUE_FIELD_NUMBER = 1;
private com.google.appengine.repackaged.com.google.protobuf.ByteString value_;
/**
* required bytes value = 1 [ctype = CORD];
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required bytes value = 1 [ctype = CORD];
* @return The value.
*/
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.ByteString getValue() {
return value_;
}
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 (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.appengine.repackaged.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBytes(1, value_);
}
unknownFields.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.appengine.repackaged.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, value_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.base.protos.api.ApiBasePb.BytesProto)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.api.ApiBasePb.BytesProto other = (com.google.apphosting.base.protos.api.ApiBasePb.BytesProto) obj;
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(
java.nio.ByteBuffer data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(byte[] data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(
byte[] data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseDelimitedFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.base.protos.api.ApiBasePb.BytesProto 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.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.base.BytesProto}
*/
public static final class Builder extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.base.BytesProto)
com.google.apphosting.base.protos.api.ApiBasePb.BytesProtoOrBuilder {
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BytesProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BytesProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.BytesProto.class, com.google.apphosting.base.protos.api.ApiBasePb.BytesProto.Builder.class);
}
// Construct using com.google.apphosting.base.protos.api.ApiBasePb.BytesProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
value_ = com.google.appengine.repackaged.com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_BytesProto_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.BytesProto getDefaultInstanceForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.BytesProto.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.BytesProto build() {
com.google.apphosting.base.protos.api.ApiBasePb.BytesProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.BytesProto buildPartial() {
com.google.apphosting.base.protos.api.ApiBasePb.BytesProto result = new com.google.apphosting.base.protos.api.ApiBasePb.BytesProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.appengine.repackaged.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.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.appengine.repackaged.com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.base.protos.api.ApiBasePb.BytesProto) {
return mergeFrom((com.google.apphosting.base.protos.api.ApiBasePb.BytesProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.api.ApiBasePb.BytesProto other) {
if (other == com.google.apphosting.base.protos.api.ApiBasePb.BytesProto.getDefaultInstance()) return this;
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasValue()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.apphosting.base.protos.api.ApiBasePb.BytesProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.apphosting.base.protos.api.ApiBasePb.BytesProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.appengine.repackaged.com.google.protobuf.ByteString value_ = com.google.appengine.repackaged.com.google.protobuf.ByteString.EMPTY;
/**
* required bytes value = 1 [ctype = CORD];
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* required bytes value = 1 [ctype = CORD];
* @return The value.
*/
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* required bytes value = 1 [ctype = CORD];
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.appengine.repackaged.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
value_ = value;
onChanged();
return this;
}
/**
* required bytes value = 1 [ctype = CORD];
* @return This builder for chaining.
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000001);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.base.BytesProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.base.BytesProto)
private static final com.google.apphosting.base.protos.api.ApiBasePb.BytesProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.api.ApiBasePb.BytesProto();
}
public static com.google.apphosting.base.protos.api.ApiBasePb.BytesProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.appengine.repackaged.com.google.protobuf.Parser
PARSER = new com.google.appengine.repackaged.com.google.protobuf.AbstractParser() {
@java.lang.Override
public BytesProto parsePartialFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return new BytesProto(input, extensionRegistry);
}
};
public static com.google.appengine.repackaged.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.BytesProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface VoidProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:java.apphosting.base.VoidProto)
com.google.appengine.repackaged.com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code java.apphosting.base.VoidProto}
*/
public static final class VoidProto extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:java.apphosting.base.VoidProto)
VoidProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use VoidProto.newBuilder() to construct.
private VoidProto(com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VoidProto() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VoidProto();
}
@java.lang.Override
public final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VoidProto(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_VoidProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_VoidProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.VoidProto.class, com.google.apphosting.base.protos.api.ApiBasePb.VoidProto.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.appengine.repackaged.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.apphosting.base.protos.api.ApiBasePb.VoidProto)) {
return super.equals(obj);
}
com.google.apphosting.base.protos.api.ApiBasePb.VoidProto other = (com.google.apphosting.base.protos.api.ApiBasePb.VoidProto) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(
java.nio.ByteBuffer data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(
java.nio.ByteBuffer data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.ByteString data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(byte[] data)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(
byte[] data,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseDelimitedFrom(
java.io.InputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parseFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.apphosting.base.protos.api.ApiBasePb.VoidProto 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.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code java.apphosting.base.VoidProto}
*/
public static final class Builder extends
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:java.apphosting.base.VoidProto)
com.google.apphosting.base.protos.api.ApiBasePb.VoidProtoOrBuilder {
public static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_VoidProto_descriptor;
}
@java.lang.Override
protected com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_VoidProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.apphosting.base.protos.api.ApiBasePb.VoidProto.class, com.google.apphosting.base.protos.api.ApiBasePb.VoidProto.Builder.class);
}
// Construct using com.google.apphosting.base.protos.api.ApiBasePb.VoidProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.internal_static_java_apphosting_base_VoidProto_descriptor;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.VoidProto getDefaultInstanceForType() {
return com.google.apphosting.base.protos.api.ApiBasePb.VoidProto.getDefaultInstance();
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.VoidProto build() {
com.google.apphosting.base.protos.api.ApiBasePb.VoidProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.VoidProto buildPartial() {
com.google.apphosting.base.protos.api.ApiBasePb.VoidProto result = new com.google.apphosting.base.protos.api.ApiBasePb.VoidProto(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.appengine.repackaged.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.appengine.repackaged.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.appengine.repackaged.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.appengine.repackaged.com.google.protobuf.Message other) {
if (other instanceof com.google.apphosting.base.protos.api.ApiBasePb.VoidProto) {
return mergeFrom((com.google.apphosting.base.protos.api.ApiBasePb.VoidProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.apphosting.base.protos.api.ApiBasePb.VoidProto other) {
if (other == com.google.apphosting.base.protos.api.ApiBasePb.VoidProto.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.apphosting.base.protos.api.ApiBasePb.VoidProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.apphosting.base.protos.api.ApiBasePb.VoidProto) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.appengine.repackaged.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:java.apphosting.base.VoidProto)
}
// @@protoc_insertion_point(class_scope:java.apphosting.base.VoidProto)
private static final com.google.apphosting.base.protos.api.ApiBasePb.VoidProto DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.apphosting.base.protos.api.ApiBasePb.VoidProto();
}
public static com.google.apphosting.base.protos.api.ApiBasePb.VoidProto getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.appengine.repackaged.com.google.protobuf.Parser
PARSER = new com.google.appengine.repackaged.com.google.protobuf.AbstractParser() {
@java.lang.Override
public VoidProto parsePartialFrom(
com.google.appengine.repackaged.com.google.protobuf.CodedInputStream input,
com.google.appengine.repackaged.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.appengine.repackaged.com.google.protobuf.InvalidProtocolBufferException {
return new VoidProto(input, extensionRegistry);
}
};
public static com.google.appengine.repackaged.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.appengine.repackaged.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.apphosting.base.protos.api.ApiBasePb.VoidProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_base_StringProto_descriptor;
private static final
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_base_StringProto_fieldAccessorTable;
private static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_base_Integer32Proto_descriptor;
private static final
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_base_Integer32Proto_fieldAccessorTable;
private static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_base_Integer64Proto_descriptor;
private static final
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_base_Integer64Proto_fieldAccessorTable;
private static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_base_BoolProto_descriptor;
private static final
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_base_BoolProto_fieldAccessorTable;
private static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_base_DoubleProto_descriptor;
private static final
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_base_DoubleProto_fieldAccessorTable;
private static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_base_BytesProto_descriptor;
private static final
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_base_BytesProto_fieldAccessorTable;
private static final com.google.appengine.repackaged.com.google.protobuf.Descriptors.Descriptor
internal_static_java_apphosting_base_VoidProto_descriptor;
private static final
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_java_apphosting_base_VoidProto_fieldAccessorTable;
public static com.google.appengine.repackaged.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.appengine.repackaged.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\016api_base.proto\022\024java.apphosting.base\"\034" +
"\n\013StringProto\022\r\n\005value\030\001 \002(\t\"\037\n\016Integer3" +
"2Proto\022\r\n\005value\030\001 \002(\005\"\037\n\016Integer64Proto\022" +
"\r\n\005value\030\001 \002(\003\"\032\n\tBoolProto\022\r\n\005value\030\001 \002" +
"(\010\"\034\n\013DoubleProto\022\r\n\005value\030\001 \002(\001\"\037\n\nByte" +
"sProto\022\021\n\005value\030\001 \002(\014B\002\010\001\"\013\n\tVoidProtoB2" +
"\n%com.google.apphosting.base.protos.apiB" +
"\tApiBasePb"
};
descriptor = com.google.appengine.repackaged.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.appengine.repackaged.com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_java_apphosting_base_StringProto_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_java_apphosting_base_StringProto_fieldAccessorTable = new
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_base_StringProto_descriptor,
new java.lang.String[] { "Value", });
internal_static_java_apphosting_base_Integer32Proto_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_java_apphosting_base_Integer32Proto_fieldAccessorTable = new
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_base_Integer32Proto_descriptor,
new java.lang.String[] { "Value", });
internal_static_java_apphosting_base_Integer64Proto_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_java_apphosting_base_Integer64Proto_fieldAccessorTable = new
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_base_Integer64Proto_descriptor,
new java.lang.String[] { "Value", });
internal_static_java_apphosting_base_BoolProto_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_java_apphosting_base_BoolProto_fieldAccessorTable = new
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_base_BoolProto_descriptor,
new java.lang.String[] { "Value", });
internal_static_java_apphosting_base_DoubleProto_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_java_apphosting_base_DoubleProto_fieldAccessorTable = new
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_base_DoubleProto_descriptor,
new java.lang.String[] { "Value", });
internal_static_java_apphosting_base_BytesProto_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_java_apphosting_base_BytesProto_fieldAccessorTable = new
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_base_BytesProto_descriptor,
new java.lang.String[] { "Value", });
internal_static_java_apphosting_base_VoidProto_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_java_apphosting_base_VoidProto_fieldAccessorTable = new
com.google.appengine.repackaged.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_java_apphosting_base_VoidProto_descriptor,
new java.lang.String[] { });
}
// @@protoc_insertion_point(outer_class_scope)
}