// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: hetty.proto
package ddth.dasp.hetty.message.protobuf;
public final class HettyProtoBuf {
private HettyProtoBuf() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface CookieOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 1;
boolean hasName();
String getName();
// optional string value = 2;
boolean hasValue();
String getValue();
// optional string domain = 3;
boolean hasDomain();
String getDomain();
// optional int32 port = 4 [default = 0];
boolean hasPort();
int getPort();
// optional string path = 5;
boolean hasPath();
String getPath();
// optional int32 maxAge = 6 [default = -1];
boolean hasMaxAge();
int getMaxAge();
}
public static final class Cookie extends
com.google.protobuf.GeneratedMessage
implements CookieOrBuilder {
// Use Cookie.newBuilder() to construct.
private Cookie(Builder builder) {
super(builder);
}
private Cookie(boolean noInit) {}
private static final Cookie defaultInstance;
public static Cookie getDefaultInstance() {
return defaultInstance;
}
public Cookie getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Cookie_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Cookie_fieldAccessorTable;
}
private int bitField0_;
// required string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
name_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getValue() {
java.lang.Object ref = value_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
value_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string domain = 3;
public static final int DOMAIN_FIELD_NUMBER = 3;
private java.lang.Object domain_;
public boolean hasDomain() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public String getDomain() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
domain_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 port = 4 [default = 0];
public static final int PORT_FIELD_NUMBER = 4;
private int port_;
public boolean hasPort() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getPort() {
return port_;
}
// optional string path = 5;
public static final int PATH_FIELD_NUMBER = 5;
private java.lang.Object path_;
public boolean hasPath() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getPath() {
java.lang.Object ref = path_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
path_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 maxAge = 6 [default = -1];
public static final int MAXAGE_FIELD_NUMBER = 6;
private int maxAge_;
public boolean hasMaxAge() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public int getMaxAge() {
return maxAge_;
}
private void initFields() {
name_ = "";
value_ = "";
domain_ = "";
port_ = 0;
path_ = "";
maxAge_ = -1;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getDomainBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, port_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getPathBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, maxAge_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getDomainBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, port_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getPathBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, maxAge_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Cookie_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Cookie_fieldAccessorTable;
}
// Construct using ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
domain_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
port_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
maxAge_ = -1;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.getDescriptor();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie getDefaultInstanceForType() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.getDefaultInstance();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie build() {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie buildPartial() {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie result = new ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.domain_ = domain_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.port_ = port_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.path_ = path_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.maxAge_ = maxAge_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie) {
return mergeFrom((ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie other) {
if (other == ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
if (other.hasValue()) {
setValue(other.getValue());
}
if (other.hasDomain()) {
setDomain(other.getDomain());
}
if (other.hasPort()) {
setPort(other.getPort());
}
if (other.hasPath()) {
setPath(other.getPath());
}
if (other.hasMaxAge()) {
setMaxAge(other.getMaxAge());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
domain_ = input.readBytes();
break;
}
case 32: {
bitField0_ |= 0x00000008;
port_ = input.readInt32();
break;
}
case 42: {
bitField0_ |= 0x00000010;
path_ = input.readBytes();
break;
}
case 48: {
bitField0_ |= 0x00000020;
maxAge_ = input.readInt32();
break;
}
}
}
}
private int bitField0_;
// required string name = 1;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
}
// optional string value = 2;
private java.lang.Object value_ = "";
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
value_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setValue(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
void setValue(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
}
// optional string domain = 3;
private java.lang.Object domain_ = "";
public boolean hasDomain() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
domain_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDomain(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
domain_ = value;
onChanged();
return this;
}
public Builder clearDomain() {
bitField0_ = (bitField0_ & ~0x00000004);
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
void setDomain(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000004;
domain_ = value;
onChanged();
}
// optional int32 port = 4 [default = 0];
private int port_ ;
public boolean hasPort() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getPort() {
return port_;
}
public Builder setPort(int value) {
bitField0_ |= 0x00000008;
port_ = value;
onChanged();
return this;
}
public Builder clearPort() {
bitField0_ = (bitField0_ & ~0x00000008);
port_ = 0;
onChanged();
return this;
}
// optional string path = 5;
private java.lang.Object path_ = "";
public boolean hasPath() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
path_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setPath(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
path_ = value;
onChanged();
return this;
}
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000010);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
void setPath(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000010;
path_ = value;
onChanged();
}
// optional int32 maxAge = 6 [default = -1];
private int maxAge_ = -1;
public boolean hasMaxAge() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public int getMaxAge() {
return maxAge_;
}
public Builder setMaxAge(int value) {
bitField0_ |= 0x00000020;
maxAge_ = value;
onChanged();
return this;
}
public Builder clearMaxAge() {
bitField0_ = (bitField0_ & ~0x00000020);
maxAge_ = -1;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:Cookie)
}
static {
defaultInstance = new Cookie(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Cookie)
}
public interface NameValueOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string name = 1;
boolean hasName();
String getName();
// optional string value = 2;
boolean hasValue();
String getValue();
}
public static final class NameValue extends
com.google.protobuf.GeneratedMessage
implements NameValueOrBuilder {
// Use NameValue.newBuilder() to construct.
private NameValue(Builder builder) {
super(builder);
}
private NameValue(boolean noInit) {}
private static final NameValue defaultInstance;
public static NameValue getDefaultInstance() {
return defaultInstance;
}
public NameValue getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_NameValue_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_NameValue_fieldAccessorTable;
}
private int bitField0_;
// required string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
name_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getValue() {
java.lang.Object ref = value_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
value_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
name_ = "";
value_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_NameValue_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_NameValue_fieldAccessorTable;
}
// Construct using ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDescriptor();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getDefaultInstanceForType() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDefaultInstance();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue build() {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue buildPartial() {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue result = new ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue) {
return mergeFrom((ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue other) {
if (other == ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDefaultInstance()) return this;
if (other.hasName()) {
setName(other.getName());
}
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasName()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// required string name = 1;
private java.lang.Object name_ = "";
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
name_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
void setName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
}
// optional string value = 2;
private java.lang.Object value_ = "";
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
value_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setValue(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
void setValue(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
}
// @@protoc_insertion_point(builder_scope:NameValue)
}
static {
defaultInstance = new NameValue(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:NameValue)
}
public interface RequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string id = 1;
boolean hasId();
String getId();
// required string responseTopic = 2;
boolean hasResponseTopic();
String getResponseTopic();
// required int32 channelId = 3;
boolean hasChannelId();
int getChannelId();
// required int64 timestampNano = 4;
boolean hasTimestampNano();
long getTimestampNano();
// required string method = 5;
boolean hasMethod();
String getMethod();
// required string uri = 6;
boolean hasUri();
String getUri();
// required string domain = 7;
boolean hasDomain();
String getDomain();
// required int32 port = 8;
boolean hasPort();
int getPort();
// required string path = 9;
boolean hasPath();
String getPath();
// repeated .NameValue urlParams = 10;
java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue>
getUrlParamsList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getUrlParams(int index);
int getUrlParamsCount();
java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getUrlParamsOrBuilderList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getUrlParamsOrBuilder(
int index);
// repeated string pathParams = 11;
java.util.List<String> getPathParamsList();
int getPathParamsCount();
String getPathParams(int index);
// repeated .Cookie cookies = 12;
java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie>
getCookiesList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie getCookies(int index);
int getCookiesCount();
java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>
getCookiesOrBuilderList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder getCookiesOrBuilder(
int index);
// repeated .NameValue headers = 13;
java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue>
getHeadersList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getHeaders(int index);
int getHeadersCount();
java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getHeadersOrBuilderList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getHeadersOrBuilder(
int index);
// optional bytes content = 14;
boolean hasContent();
com.google.protobuf.ByteString getContent();
// optional bool isChunk = 15 [default = false];
boolean hasIsChunk();
boolean getIsChunk();
// optional int32 chunkSeq = 16 [default = 0];
boolean hasChunkSeq();
int getChunkSeq();
}
public static final class Request extends
com.google.protobuf.GeneratedMessage
implements RequestOrBuilder {
// Use Request.newBuilder() to construct.
private Request(Builder builder) {
super(builder);
}
private Request(boolean noInit) {}
private static final Request defaultInstance;
public static Request getDefaultInstance() {
return defaultInstance;
}
public Request getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Request_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Request_fieldAccessorTable;
}
private int bitField0_;
// required string id = 1;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.Object id_;
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getId() {
java.lang.Object ref = id_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
id_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string responseTopic = 2;
public static final int RESPONSETOPIC_FIELD_NUMBER = 2;
private java.lang.Object responseTopic_;
public boolean hasResponseTopic() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getResponseTopic() {
java.lang.Object ref = responseTopic_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
responseTopic_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getResponseTopicBytes() {
java.lang.Object ref = responseTopic_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
responseTopic_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required int32 channelId = 3;
public static final int CHANNELID_FIELD_NUMBER = 3;
private int channelId_;
public boolean hasChannelId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getChannelId() {
return channelId_;
}
// required int64 timestampNano = 4;
public static final int TIMESTAMPNANO_FIELD_NUMBER = 4;
private long timestampNano_;
public boolean hasTimestampNano() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public long getTimestampNano() {
return timestampNano_;
}
// required string method = 5;
public static final int METHOD_FIELD_NUMBER = 5;
private java.lang.Object method_;
public boolean hasMethod() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getMethod() {
java.lang.Object ref = method_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
method_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getMethodBytes() {
java.lang.Object ref = method_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
method_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string uri = 6;
public static final int URI_FIELD_NUMBER = 6;
private java.lang.Object uri_;
public boolean hasUri() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public String getUri() {
java.lang.Object ref = uri_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
uri_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getUriBytes() {
java.lang.Object ref = uri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
uri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required string domain = 7;
public static final int DOMAIN_FIELD_NUMBER = 7;
private java.lang.Object domain_;
public boolean hasDomain() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public String getDomain() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
domain_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required int32 port = 8;
public static final int PORT_FIELD_NUMBER = 8;
private int port_;
public boolean hasPort() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public int getPort() {
return port_;
}
// required string path = 9;
public static final int PATH_FIELD_NUMBER = 9;
private java.lang.Object path_;
public boolean hasPath() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public String getPath() {
java.lang.Object ref = path_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
path_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// repeated .NameValue urlParams = 10;
public static final int URLPARAMS_FIELD_NUMBER = 10;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> urlParams_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> getUrlParamsList() {
return urlParams_;
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getUrlParamsOrBuilderList() {
return urlParams_;
}
public int getUrlParamsCount() {
return urlParams_.size();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getUrlParams(int index) {
return urlParams_.get(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getUrlParamsOrBuilder(
int index) {
return urlParams_.get(index);
}
// repeated string pathParams = 11;
public static final int PATHPARAMS_FIELD_NUMBER = 11;
private com.google.protobuf.LazyStringList pathParams_;
public java.util.List<String>
getPathParamsList() {
return pathParams_;
}
public int getPathParamsCount() {
return pathParams_.size();
}
public String getPathParams(int index) {
return pathParams_.get(index);
}
// repeated .Cookie cookies = 12;
public static final int COOKIES_FIELD_NUMBER = 12;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> cookies_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> getCookiesList() {
return cookies_;
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>
getCookiesOrBuilderList() {
return cookies_;
}
public int getCookiesCount() {
return cookies_.size();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie getCookies(int index) {
return cookies_.get(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder getCookiesOrBuilder(
int index) {
return cookies_.get(index);
}
// repeated .NameValue headers = 13;
public static final int HEADERS_FIELD_NUMBER = 13;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> headers_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> getHeadersList() {
return headers_;
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getHeadersOrBuilderList() {
return headers_;
}
public int getHeadersCount() {
return headers_.size();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getHeaders(int index) {
return headers_.get(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getHeadersOrBuilder(
int index) {
return headers_.get(index);
}
// optional bytes content = 14;
public static final int CONTENT_FIELD_NUMBER = 14;
private com.google.protobuf.ByteString content_;
public boolean hasContent() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
public com.google.protobuf.ByteString getContent() {
return content_;
}
// optional bool isChunk = 15 [default = false];
public static final int ISCHUNK_FIELD_NUMBER = 15;
private boolean isChunk_;
public boolean hasIsChunk() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
public boolean getIsChunk() {
return isChunk_;
}
// optional int32 chunkSeq = 16 [default = 0];
public static final int CHUNKSEQ_FIELD_NUMBER = 16;
private int chunkSeq_;
public boolean hasChunkSeq() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
public int getChunkSeq() {
return chunkSeq_;
}
private void initFields() {
id_ = "";
responseTopic_ = "";
channelId_ = 0;
timestampNano_ = 0L;
method_ = "";
uri_ = "";
domain_ = "";
port_ = 0;
path_ = "";
urlParams_ = java.util.Collections.emptyList();
pathParams_ = com.google.protobuf.LazyStringArrayList.EMPTY;
cookies_ = java.util.Collections.emptyList();
headers_ = java.util.Collections.emptyList();
content_ = com.google.protobuf.ByteString.EMPTY;
isChunk_ = false;
chunkSeq_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasResponseTopic()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasChannelId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasTimestampNano()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasMethod()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasUri()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasDomain()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPort()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasPath()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getUrlParamsCount(); i++) {
if (!getUrlParams(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getCookiesCount(); i++) {
if (!getCookies(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getHeadersCount(); i++) {
if (!getHeaders(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getIdBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getResponseTopicBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, channelId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt64(4, timestampNano_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getMethodBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getUriBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(7, getDomainBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeInt32(8, port_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBytes(9, getPathBytes());
}
for (int i = 0; i < urlParams_.size(); i++) {
output.writeMessage(10, urlParams_.get(i));
}
for (int i = 0; i < pathParams_.size(); i++) {
output.writeBytes(11, pathParams_.getByteString(i));
}
for (int i = 0; i < cookies_.size(); i++) {
output.writeMessage(12, cookies_.get(i));
}
for (int i = 0; i < headers_.size(); i++) {
output.writeMessage(13, headers_.get(i));
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBytes(14, content_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBool(15, isChunk_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeInt32(16, chunkSeq_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getIdBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getResponseTopicBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, channelId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, timestampNano_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getMethodBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getUriBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, getDomainBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, port_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(9, getPathBytes());
}
for (int i = 0; i < urlParams_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, urlParams_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < pathParams_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(pathParams_.getByteString(i));
}
size += dataSize;
size += 1 * getPathParamsList().size();
}
for (int i = 0; i < cookies_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, cookies_.get(i));
}
for (int i = 0; i < headers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, headers_.get(i));
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, content_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, isChunk_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(16, chunkSeq_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements ddth.dasp.hetty.message.protobuf.HettyProtoBuf.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Request_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Request_fieldAccessorTable;
}
// Construct using ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getUrlParamsFieldBuilder();
getCookiesFieldBuilder();
getHeadersFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
id_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
responseTopic_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
channelId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
timestampNano_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
method_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
uri_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
domain_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
port_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
path_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
if (urlParamsBuilder_ == null) {
urlParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
urlParamsBuilder_.clear();
}
pathParams_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000400);
if (cookiesBuilder_ == null) {
cookies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
} else {
cookiesBuilder_.clear();
}
if (headersBuilder_ == null) {
headers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
} else {
headersBuilder_.clear();
}
content_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00002000);
isChunk_ = false;
bitField0_ = (bitField0_ & ~0x00004000);
chunkSeq_ = 0;
bitField0_ = (bitField0_ & ~0x00008000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request.getDescriptor();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request getDefaultInstanceForType() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request.getDefaultInstance();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request build() {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request buildPartial() {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request result = new ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.id_ = id_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.responseTopic_ = responseTopic_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.channelId_ = channelId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.timestampNano_ = timestampNano_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.method_ = method_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.uri_ = uri_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.domain_ = domain_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.port_ = port_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.path_ = path_;
if (urlParamsBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
urlParams_ = java.util.Collections.unmodifiableList(urlParams_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.urlParams_ = urlParams_;
} else {
result.urlParams_ = urlParamsBuilder_.build();
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
pathParams_ = new com.google.protobuf.UnmodifiableLazyStringList(
pathParams_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.pathParams_ = pathParams_;
if (cookiesBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800)) {
cookies_ = java.util.Collections.unmodifiableList(cookies_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.cookies_ = cookies_;
} else {
result.cookies_ = cookiesBuilder_.build();
}
if (headersBuilder_ == null) {
if (((bitField0_ & 0x00001000) == 0x00001000)) {
headers_ = java.util.Collections.unmodifiableList(headers_);
bitField0_ = (bitField0_ & ~0x00001000);
}
result.headers_ = headers_;
} else {
result.headers_ = headersBuilder_.build();
}
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00000200;
}
result.content_ = content_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00000400;
}
result.isChunk_ = isChunk_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00000800;
}
result.chunkSeq_ = chunkSeq_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request) {
return mergeFrom((ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request other) {
if (other == ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasResponseTopic()) {
setResponseTopic(other.getResponseTopic());
}
if (other.hasChannelId()) {
setChannelId(other.getChannelId());
}
if (other.hasTimestampNano()) {
setTimestampNano(other.getTimestampNano());
}
if (other.hasMethod()) {
setMethod(other.getMethod());
}
if (other.hasUri()) {
setUri(other.getUri());
}
if (other.hasDomain()) {
setDomain(other.getDomain());
}
if (other.hasPort()) {
setPort(other.getPort());
}
if (other.hasPath()) {
setPath(other.getPath());
}
if (urlParamsBuilder_ == null) {
if (!other.urlParams_.isEmpty()) {
if (urlParams_.isEmpty()) {
urlParams_ = other.urlParams_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureUrlParamsIsMutable();
urlParams_.addAll(other.urlParams_);
}
onChanged();
}
} else {
if (!other.urlParams_.isEmpty()) {
if (urlParamsBuilder_.isEmpty()) {
urlParamsBuilder_.dispose();
urlParamsBuilder_ = null;
urlParams_ = other.urlParams_;
bitField0_ = (bitField0_ & ~0x00000200);
urlParamsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getUrlParamsFieldBuilder() : null;
} else {
urlParamsBuilder_.addAllMessages(other.urlParams_);
}
}
}
if (!other.pathParams_.isEmpty()) {
if (pathParams_.isEmpty()) {
pathParams_ = other.pathParams_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensurePathParamsIsMutable();
pathParams_.addAll(other.pathParams_);
}
onChanged();
}
if (cookiesBuilder_ == null) {
if (!other.cookies_.isEmpty()) {
if (cookies_.isEmpty()) {
cookies_ = other.cookies_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureCookiesIsMutable();
cookies_.addAll(other.cookies_);
}
onChanged();
}
} else {
if (!other.cookies_.isEmpty()) {
if (cookiesBuilder_.isEmpty()) {
cookiesBuilder_.dispose();
cookiesBuilder_ = null;
cookies_ = other.cookies_;
bitField0_ = (bitField0_ & ~0x00000800);
cookiesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCookiesFieldBuilder() : null;
} else {
cookiesBuilder_.addAllMessages(other.cookies_);
}
}
}
if (headersBuilder_ == null) {
if (!other.headers_.isEmpty()) {
if (headers_.isEmpty()) {
headers_ = other.headers_;
bitField0_ = (bitField0_ & ~0x00001000);
} else {
ensureHeadersIsMutable();
headers_.addAll(other.headers_);
}
onChanged();
}
} else {
if (!other.headers_.isEmpty()) {
if (headersBuilder_.isEmpty()) {
headersBuilder_.dispose();
headersBuilder_ = null;
headers_ = other.headers_;
bitField0_ = (bitField0_ & ~0x00001000);
headersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getHeadersFieldBuilder() : null;
} else {
headersBuilder_.addAllMessages(other.headers_);
}
}
}
if (other.hasContent()) {
setContent(other.getContent());
}
if (other.hasIsChunk()) {
setIsChunk(other.getIsChunk());
}
if (other.hasChunkSeq()) {
setChunkSeq(other.getChunkSeq());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasId()) {
return false;
}
if (!hasResponseTopic()) {
return false;
}
if (!hasChannelId()) {
return false;
}
if (!hasTimestampNano()) {
return false;
}
if (!hasMethod()) {
return false;
}
if (!hasUri()) {
return false;
}
if (!hasDomain()) {
return false;
}
if (!hasPort()) {
return false;
}
if (!hasPath()) {
return false;
}
for (int i = 0; i < getUrlParamsCount(); i++) {
if (!getUrlParams(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getCookiesCount(); i++) {
if (!getCookies(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getHeadersCount(); i++) {
if (!getHeaders(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
id_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
responseTopic_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
channelId_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
timestampNano_ = input.readInt64();
break;
}
case 42: {
bitField0_ |= 0x00000010;
method_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
uri_ = input.readBytes();
break;
}
case 58: {
bitField0_ |= 0x00000040;
domain_ = input.readBytes();
break;
}
case 64: {
bitField0_ |= 0x00000080;
port_ = input.readInt32();
break;
}
case 74: {
bitField0_ |= 0x00000100;
path_ = input.readBytes();
break;
}
case 82: {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder subBuilder = ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addUrlParams(subBuilder.buildPartial());
break;
}
case 90: {
ensurePathParamsIsMutable();
pathParams_.add(input.readBytes());
break;
}
case 98: {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder subBuilder = ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addCookies(subBuilder.buildPartial());
break;
}
case 106: {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder subBuilder = ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addHeaders(subBuilder.buildPartial());
break;
}
case 114: {
bitField0_ |= 0x00002000;
content_ = input.readBytes();
break;
}
case 120: {
bitField0_ |= 0x00004000;
isChunk_ = input.readBool();
break;
}
case 128: {
bitField0_ |= 0x00008000;
chunkSeq_ = input.readInt32();
break;
}
}
}
}
private int bitField0_;
// required string id = 1;
private java.lang.Object id_ = "";
public boolean hasId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
id_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setId(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
void setId(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
}
// required string responseTopic = 2;
private java.lang.Object responseTopic_ = "";
public boolean hasResponseTopic() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getResponseTopic() {
java.lang.Object ref = responseTopic_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
responseTopic_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setResponseTopic(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
responseTopic_ = value;
onChanged();
return this;
}
public Builder clearResponseTopic() {
bitField0_ = (bitField0_ & ~0x00000002);
responseTopic_ = getDefaultInstance().getResponseTopic();
onChanged();
return this;
}
void setResponseTopic(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
responseTopic_ = value;
onChanged();
}
// required int32 channelId = 3;
private int channelId_ ;
public boolean hasChannelId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getChannelId() {
return channelId_;
}
public Builder setChannelId(int value) {
bitField0_ |= 0x00000004;
channelId_ = value;
onChanged();
return this;
}
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000004);
channelId_ = 0;
onChanged();
return this;
}
// required int64 timestampNano = 4;
private long timestampNano_ ;
public boolean hasTimestampNano() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public long getTimestampNano() {
return timestampNano_;
}
public Builder setTimestampNano(long value) {
bitField0_ |= 0x00000008;
timestampNano_ = value;
onChanged();
return this;
}
public Builder clearTimestampNano() {
bitField0_ = (bitField0_ & ~0x00000008);
timestampNano_ = 0L;
onChanged();
return this;
}
// required string method = 5;
private java.lang.Object method_ = "";
public boolean hasMethod() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getMethod() {
java.lang.Object ref = method_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
method_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setMethod(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
method_ = value;
onChanged();
return this;
}
public Builder clearMethod() {
bitField0_ = (bitField0_ & ~0x00000010);
method_ = getDefaultInstance().getMethod();
onChanged();
return this;
}
void setMethod(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000010;
method_ = value;
onChanged();
}
// required string uri = 6;
private java.lang.Object uri_ = "";
public boolean hasUri() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public String getUri() {
java.lang.Object ref = uri_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
uri_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setUri(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
uri_ = value;
onChanged();
return this;
}
public Builder clearUri() {
bitField0_ = (bitField0_ & ~0x00000020);
uri_ = getDefaultInstance().getUri();
onChanged();
return this;
}
void setUri(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000020;
uri_ = value;
onChanged();
}
// required string domain = 7;
private java.lang.Object domain_ = "";
public boolean hasDomain() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
domain_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDomain(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
domain_ = value;
onChanged();
return this;
}
public Builder clearDomain() {
bitField0_ = (bitField0_ & ~0x00000040);
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
void setDomain(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000040;
domain_ = value;
onChanged();
}
// required int32 port = 8;
private int port_ ;
public boolean hasPort() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public int getPort() {
return port_;
}
public Builder setPort(int value) {
bitField0_ |= 0x00000080;
port_ = value;
onChanged();
return this;
}
public Builder clearPort() {
bitField0_ = (bitField0_ & ~0x00000080);
port_ = 0;
onChanged();
return this;
}
// required string path = 9;
private java.lang.Object path_ = "";
public boolean hasPath() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
path_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setPath(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
path_ = value;
onChanged();
return this;
}
public Builder clearPath() {
bitField0_ = (bitField0_ & ~0x00000100);
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
void setPath(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000100;
path_ = value;
onChanged();
}
// repeated .NameValue urlParams = 10;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> urlParams_ =
java.util.Collections.emptyList();
private void ensureUrlParamsIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
urlParams_ = new java.util.ArrayList<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue>(urlParams_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder> urlParamsBuilder_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> getUrlParamsList() {
if (urlParamsBuilder_ == null) {
return java.util.Collections.unmodifiableList(urlParams_);
} else {
return urlParamsBuilder_.getMessageList();
}
}
public int getUrlParamsCount() {
if (urlParamsBuilder_ == null) {
return urlParams_.size();
} else {
return urlParamsBuilder_.getCount();
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getUrlParams(int index) {
if (urlParamsBuilder_ == null) {
return urlParams_.get(index);
} else {
return urlParamsBuilder_.getMessage(index);
}
}
public Builder setUrlParams(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (urlParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUrlParamsIsMutable();
urlParams_.set(index, value);
onChanged();
} else {
urlParamsBuilder_.setMessage(index, value);
}
return this;
}
public Builder setUrlParams(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (urlParamsBuilder_ == null) {
ensureUrlParamsIsMutable();
urlParams_.set(index, builderForValue.build());
onChanged();
} else {
urlParamsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addUrlParams(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (urlParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUrlParamsIsMutable();
urlParams_.add(value);
onChanged();
} else {
urlParamsBuilder_.addMessage(value);
}
return this;
}
public Builder addUrlParams(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (urlParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUrlParamsIsMutable();
urlParams_.add(index, value);
onChanged();
} else {
urlParamsBuilder_.addMessage(index, value);
}
return this;
}
public Builder addUrlParams(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (urlParamsBuilder_ == null) {
ensureUrlParamsIsMutable();
urlParams_.add(builderForValue.build());
onChanged();
} else {
urlParamsBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addUrlParams(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (urlParamsBuilder_ == null) {
ensureUrlParamsIsMutable();
urlParams_.add(index, builderForValue.build());
onChanged();
} else {
urlParamsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllUrlParams(
java.lang.Iterable<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> values) {
if (urlParamsBuilder_ == null) {
ensureUrlParamsIsMutable();
super.addAll(values, urlParams_);
onChanged();
} else {
urlParamsBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearUrlParams() {
if (urlParamsBuilder_ == null) {
urlParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
urlParamsBuilder_.clear();
}
return this;
}
public Builder removeUrlParams(int index) {
if (urlParamsBuilder_ == null) {
ensureUrlParamsIsMutable();
urlParams_.remove(index);
onChanged();
} else {
urlParamsBuilder_.remove(index);
}
return this;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder getUrlParamsBuilder(
int index) {
return getUrlParamsFieldBuilder().getBuilder(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getUrlParamsOrBuilder(
int index) {
if (urlParamsBuilder_ == null) {
return urlParams_.get(index); } else {
return urlParamsBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getUrlParamsOrBuilderList() {
if (urlParamsBuilder_ != null) {
return urlParamsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(urlParams_);
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder addUrlParamsBuilder() {
return getUrlParamsFieldBuilder().addBuilder(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDefaultInstance());
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder addUrlParamsBuilder(
int index) {
return getUrlParamsFieldBuilder().addBuilder(
index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDefaultInstance());
}
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder>
getUrlParamsBuilderList() {
return getUrlParamsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getUrlParamsFieldBuilder() {
if (urlParamsBuilder_ == null) {
urlParamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>(
urlParams_,
((bitField0_ & 0x00000200) == 0x00000200),
getParentForChildren(),
isClean());
urlParams_ = null;
}
return urlParamsBuilder_;
}
// repeated string pathParams = 11;
private com.google.protobuf.LazyStringList pathParams_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePathParamsIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
pathParams_ = new com.google.protobuf.LazyStringArrayList(pathParams_);
bitField0_ |= 0x00000400;
}
}
public java.util.List<String>
getPathParamsList() {
return java.util.Collections.unmodifiableList(pathParams_);
}
public int getPathParamsCount() {
return pathParams_.size();
}
public String getPathParams(int index) {
return pathParams_.get(index);
}
public Builder setPathParams(
int index, String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePathParamsIsMutable();
pathParams_.set(index, value);
onChanged();
return this;
}
public Builder addPathParams(String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePathParamsIsMutable();
pathParams_.add(value);
onChanged();
return this;
}
public Builder addAllPathParams(
java.lang.Iterable<String> values) {
ensurePathParamsIsMutable();
super.addAll(values, pathParams_);
onChanged();
return this;
}
public Builder clearPathParams() {
pathParams_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
void addPathParams(com.google.protobuf.ByteString value) {
ensurePathParamsIsMutable();
pathParams_.add(value);
onChanged();
}
// repeated .Cookie cookies = 12;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> cookies_ =
java.util.Collections.emptyList();
private void ensureCookiesIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
cookies_ = new java.util.ArrayList<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie>(cookies_);
bitField0_ |= 0x00000800;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder> cookiesBuilder_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> getCookiesList() {
if (cookiesBuilder_ == null) {
return java.util.Collections.unmodifiableList(cookies_);
} else {
return cookiesBuilder_.getMessageList();
}
}
public int getCookiesCount() {
if (cookiesBuilder_ == null) {
return cookies_.size();
} else {
return cookiesBuilder_.getCount();
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie getCookies(int index) {
if (cookiesBuilder_ == null) {
return cookies_.get(index);
} else {
return cookiesBuilder_.getMessage(index);
}
}
public Builder setCookies(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie value) {
if (cookiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookiesIsMutable();
cookies_.set(index, value);
onChanged();
} else {
cookiesBuilder_.setMessage(index, value);
}
return this;
}
public Builder setCookies(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder builderForValue) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
cookies_.set(index, builderForValue.build());
onChanged();
} else {
cookiesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addCookies(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie value) {
if (cookiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookiesIsMutable();
cookies_.add(value);
onChanged();
} else {
cookiesBuilder_.addMessage(value);
}
return this;
}
public Builder addCookies(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie value) {
if (cookiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookiesIsMutable();
cookies_.add(index, value);
onChanged();
} else {
cookiesBuilder_.addMessage(index, value);
}
return this;
}
public Builder addCookies(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder builderForValue) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
cookies_.add(builderForValue.build());
onChanged();
} else {
cookiesBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addCookies(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder builderForValue) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
cookies_.add(index, builderForValue.build());
onChanged();
} else {
cookiesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllCookies(
java.lang.Iterable<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> values) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
super.addAll(values, cookies_);
onChanged();
} else {
cookiesBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearCookies() {
if (cookiesBuilder_ == null) {
cookies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
} else {
cookiesBuilder_.clear();
}
return this;
}
public Builder removeCookies(int index) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
cookies_.remove(index);
onChanged();
} else {
cookiesBuilder_.remove(index);
}
return this;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder getCookiesBuilder(
int index) {
return getCookiesFieldBuilder().getBuilder(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder getCookiesOrBuilder(
int index) {
if (cookiesBuilder_ == null) {
return cookies_.get(index); } else {
return cookiesBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>
getCookiesOrBuilderList() {
if (cookiesBuilder_ != null) {
return cookiesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(cookies_);
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder addCookiesBuilder() {
return getCookiesFieldBuilder().addBuilder(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.getDefaultInstance());
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder addCookiesBuilder(
int index) {
return getCookiesFieldBuilder().addBuilder(
index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.getDefaultInstance());
}
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder>
getCookiesBuilderList() {
return getCookiesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>
getCookiesFieldBuilder() {
if (cookiesBuilder_ == null) {
cookiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>(
cookies_,
((bitField0_ & 0x00000800) == 0x00000800),
getParentForChildren(),
isClean());
cookies_ = null;
}
return cookiesBuilder_;
}
// repeated .NameValue headers = 13;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> headers_ =
java.util.Collections.emptyList();
private void ensureHeadersIsMutable() {
if (!((bitField0_ & 0x00001000) == 0x00001000)) {
headers_ = new java.util.ArrayList<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue>(headers_);
bitField0_ |= 0x00001000;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder> headersBuilder_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> getHeadersList() {
if (headersBuilder_ == null) {
return java.util.Collections.unmodifiableList(headers_);
} else {
return headersBuilder_.getMessageList();
}
}
public int getHeadersCount() {
if (headersBuilder_ == null) {
return headers_.size();
} else {
return headersBuilder_.getCount();
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getHeaders(int index) {
if (headersBuilder_ == null) {
return headers_.get(index);
} else {
return headersBuilder_.getMessage(index);
}
}
public Builder setHeaders(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.set(index, value);
onChanged();
} else {
headersBuilder_.setMessage(index, value);
}
return this;
}
public Builder setHeaders(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.set(index, builderForValue.build());
onChanged();
} else {
headersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addHeaders(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.add(value);
onChanged();
} else {
headersBuilder_.addMessage(value);
}
return this;
}
public Builder addHeaders(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.add(index, value);
onChanged();
} else {
headersBuilder_.addMessage(index, value);
}
return this;
}
public Builder addHeaders(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(builderForValue.build());
onChanged();
} else {
headersBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addHeaders(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(index, builderForValue.build());
onChanged();
} else {
headersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllHeaders(
java.lang.Iterable<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> values) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
super.addAll(values, headers_);
onChanged();
} else {
headersBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearHeaders() {
if (headersBuilder_ == null) {
headers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
} else {
headersBuilder_.clear();
}
return this;
}
public Builder removeHeaders(int index) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.remove(index);
onChanged();
} else {
headersBuilder_.remove(index);
}
return this;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder getHeadersBuilder(
int index) {
return getHeadersFieldBuilder().getBuilder(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getHeadersOrBuilder(
int index) {
if (headersBuilder_ == null) {
return headers_.get(index); } else {
return headersBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getHeadersOrBuilderList() {
if (headersBuilder_ != null) {
return headersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(headers_);
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder addHeadersBuilder() {
return getHeadersFieldBuilder().addBuilder(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDefaultInstance());
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder addHeadersBuilder(
int index) {
return getHeadersFieldBuilder().addBuilder(
index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDefaultInstance());
}
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder>
getHeadersBuilderList() {
return getHeadersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getHeadersFieldBuilder() {
if (headersBuilder_ == null) {
headersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>(
headers_,
((bitField0_ & 0x00001000) == 0x00001000),
getParentForChildren(),
isClean());
headers_ = null;
}
return headersBuilder_;
}
// optional bytes content = 14;
private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasContent() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
public com.google.protobuf.ByteString getContent() {
return content_;
}
public Builder setContent(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
content_ = value;
onChanged();
return this;
}
public Builder clearContent() {
bitField0_ = (bitField0_ & ~0x00002000);
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
// optional bool isChunk = 15 [default = false];
private boolean isChunk_ ;
public boolean hasIsChunk() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
public boolean getIsChunk() {
return isChunk_;
}
public Builder setIsChunk(boolean value) {
bitField0_ |= 0x00004000;
isChunk_ = value;
onChanged();
return this;
}
public Builder clearIsChunk() {
bitField0_ = (bitField0_ & ~0x00004000);
isChunk_ = false;
onChanged();
return this;
}
// optional int32 chunkSeq = 16 [default = 0];
private int chunkSeq_ ;
public boolean hasChunkSeq() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
public int getChunkSeq() {
return chunkSeq_;
}
public Builder setChunkSeq(int value) {
bitField0_ |= 0x00008000;
chunkSeq_ = value;
onChanged();
return this;
}
public Builder clearChunkSeq() {
bitField0_ = (bitField0_ & ~0x00008000);
chunkSeq_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:Request)
}
static {
defaultInstance = new Request(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Request)
}
public interface ResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required string requestId = 1;
boolean hasRequestId();
String getRequestId();
// required int64 requestTimestampNano = 2;
boolean hasRequestTimestampNano();
long getRequestTimestampNano();
// required int32 channelId = 3;
boolean hasChannelId();
int getChannelId();
// optional int32 status = 4 [default = 200];
boolean hasStatus();
int getStatus();
// repeated .Cookie cookies = 5;
java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie>
getCookiesList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie getCookies(int index);
int getCookiesCount();
java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>
getCookiesOrBuilderList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder getCookiesOrBuilder(
int index);
// repeated .NameValue headers = 6;
java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue>
getHeadersList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getHeaders(int index);
int getHeadersCount();
java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getHeadersOrBuilderList();
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getHeadersOrBuilder(
int index);
// optional bytes content = 7;
boolean hasContent();
com.google.protobuf.ByteString getContent();
// optional bool isChunk = 8 [default = false];
boolean hasIsChunk();
boolean getIsChunk();
// optional int32 chunkSeq = 9 [default = 0];
boolean hasChunkSeq();
int getChunkSeq();
}
public static final class Response extends
com.google.protobuf.GeneratedMessage
implements ResponseOrBuilder {
// Use Response.newBuilder() to construct.
private Response(Builder builder) {
super(builder);
}
private Response(boolean noInit) {}
private static final Response defaultInstance;
public static Response getDefaultInstance() {
return defaultInstance;
}
public Response getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Response_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Response_fieldAccessorTable;
}
private int bitField0_;
// required string requestId = 1;
public static final int REQUESTID_FIELD_NUMBER = 1;
private java.lang.Object requestId_;
public boolean hasRequestId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getRequestId() {
java.lang.Object ref = requestId_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
requestId_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getRequestIdBytes() {
java.lang.Object ref = requestId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// required int64 requestTimestampNano = 2;
public static final int REQUESTTIMESTAMPNANO_FIELD_NUMBER = 2;
private long requestTimestampNano_;
public boolean hasRequestTimestampNano() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public long getRequestTimestampNano() {
return requestTimestampNano_;
}
// required int32 channelId = 3;
public static final int CHANNELID_FIELD_NUMBER = 3;
private int channelId_;
public boolean hasChannelId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getChannelId() {
return channelId_;
}
// optional int32 status = 4 [default = 200];
public static final int STATUS_FIELD_NUMBER = 4;
private int status_;
public boolean hasStatus() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getStatus() {
return status_;
}
// repeated .Cookie cookies = 5;
public static final int COOKIES_FIELD_NUMBER = 5;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> cookies_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> getCookiesList() {
return cookies_;
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>
getCookiesOrBuilderList() {
return cookies_;
}
public int getCookiesCount() {
return cookies_.size();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie getCookies(int index) {
return cookies_.get(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder getCookiesOrBuilder(
int index) {
return cookies_.get(index);
}
// repeated .NameValue headers = 6;
public static final int HEADERS_FIELD_NUMBER = 6;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> headers_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> getHeadersList() {
return headers_;
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getHeadersOrBuilderList() {
return headers_;
}
public int getHeadersCount() {
return headers_.size();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getHeaders(int index) {
return headers_.get(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getHeadersOrBuilder(
int index) {
return headers_.get(index);
}
// optional bytes content = 7;
public static final int CONTENT_FIELD_NUMBER = 7;
private com.google.protobuf.ByteString content_;
public boolean hasContent() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public com.google.protobuf.ByteString getContent() {
return content_;
}
// optional bool isChunk = 8 [default = false];
public static final int ISCHUNK_FIELD_NUMBER = 8;
private boolean isChunk_;
public boolean hasIsChunk() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public boolean getIsChunk() {
return isChunk_;
}
// optional int32 chunkSeq = 9 [default = 0];
public static final int CHUNKSEQ_FIELD_NUMBER = 9;
private int chunkSeq_;
public boolean hasChunkSeq() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public int getChunkSeq() {
return chunkSeq_;
}
private void initFields() {
requestId_ = "";
requestTimestampNano_ = 0L;
channelId_ = 0;
status_ = 200;
cookies_ = java.util.Collections.emptyList();
headers_ = java.util.Collections.emptyList();
content_ = com.google.protobuf.ByteString.EMPTY;
isChunk_ = false;
chunkSeq_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasRequestId()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasRequestTimestampNano()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasChannelId()) {
memoizedIsInitialized = 0;
return false;
}
for (int i = 0; i < getCookiesCount(); i++) {
if (!getCookies(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
for (int i = 0; i < getHeadersCount(); i++) {
if (!getHeaders(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getRequestIdBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt64(2, requestTimestampNano_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, channelId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, status_);
}
for (int i = 0; i < cookies_.size(); i++) {
output.writeMessage(5, cookies_.get(i));
}
for (int i = 0; i < headers_.size(); i++) {
output.writeMessage(6, headers_.get(i));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(7, content_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(8, isChunk_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt32(9, chunkSeq_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getRequestIdBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, requestTimestampNano_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, channelId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, status_);
}
for (int i = 0; i < cookies_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, cookies_.get(i));
}
for (int i = 0; i < headers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, headers_.get(i));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, content_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, isChunk_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, chunkSeq_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements ddth.dasp.hetty.message.protobuf.HettyProtoBuf.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Response_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.internal_static_Response_fieldAccessorTable;
}
// Construct using ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getCookiesFieldBuilder();
getHeadersFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
requestId_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
requestTimestampNano_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
channelId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
status_ = 200;
bitField0_ = (bitField0_ & ~0x00000008);
if (cookiesBuilder_ == null) {
cookies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
cookiesBuilder_.clear();
}
if (headersBuilder_ == null) {
headers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
headersBuilder_.clear();
}
content_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
isChunk_ = false;
bitField0_ = (bitField0_ & ~0x00000080);
chunkSeq_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response.getDescriptor();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response getDefaultInstanceForType() {
return ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response.getDefaultInstance();
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response build() {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response buildPartial() {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response result = new ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.requestId_ = requestId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.requestTimestampNano_ = requestTimestampNano_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.channelId_ = channelId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.status_ = status_;
if (cookiesBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
cookies_ = java.util.Collections.unmodifiableList(cookies_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.cookies_ = cookies_;
} else {
result.cookies_ = cookiesBuilder_.build();
}
if (headersBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
headers_ = java.util.Collections.unmodifiableList(headers_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.headers_ = headers_;
} else {
result.headers_ = headersBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000010;
}
result.content_ = content_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000020;
}
result.isChunk_ = isChunk_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000040;
}
result.chunkSeq_ = chunkSeq_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response) {
return mergeFrom((ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response other) {
if (other == ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response.getDefaultInstance()) return this;
if (other.hasRequestId()) {
setRequestId(other.getRequestId());
}
if (other.hasRequestTimestampNano()) {
setRequestTimestampNano(other.getRequestTimestampNano());
}
if (other.hasChannelId()) {
setChannelId(other.getChannelId());
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (cookiesBuilder_ == null) {
if (!other.cookies_.isEmpty()) {
if (cookies_.isEmpty()) {
cookies_ = other.cookies_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureCookiesIsMutable();
cookies_.addAll(other.cookies_);
}
onChanged();
}
} else {
if (!other.cookies_.isEmpty()) {
if (cookiesBuilder_.isEmpty()) {
cookiesBuilder_.dispose();
cookiesBuilder_ = null;
cookies_ = other.cookies_;
bitField0_ = (bitField0_ & ~0x00000010);
cookiesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCookiesFieldBuilder() : null;
} else {
cookiesBuilder_.addAllMessages(other.cookies_);
}
}
}
if (headersBuilder_ == null) {
if (!other.headers_.isEmpty()) {
if (headers_.isEmpty()) {
headers_ = other.headers_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureHeadersIsMutable();
headers_.addAll(other.headers_);
}
onChanged();
}
} else {
if (!other.headers_.isEmpty()) {
if (headersBuilder_.isEmpty()) {
headersBuilder_.dispose();
headersBuilder_ = null;
headers_ = other.headers_;
bitField0_ = (bitField0_ & ~0x00000020);
headersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getHeadersFieldBuilder() : null;
} else {
headersBuilder_.addAllMessages(other.headers_);
}
}
}
if (other.hasContent()) {
setContent(other.getContent());
}
if (other.hasIsChunk()) {
setIsChunk(other.getIsChunk());
}
if (other.hasChunkSeq()) {
setChunkSeq(other.getChunkSeq());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasRequestId()) {
return false;
}
if (!hasRequestTimestampNano()) {
return false;
}
if (!hasChannelId()) {
return false;
}
for (int i = 0; i < getCookiesCount(); i++) {
if (!getCookies(i).isInitialized()) {
return false;
}
}
for (int i = 0; i < getHeadersCount(); i++) {
if (!getHeaders(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
requestId_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
requestTimestampNano_ = input.readInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
channelId_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
status_ = input.readInt32();
break;
}
case 42: {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder subBuilder = ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addCookies(subBuilder.buildPartial());
break;
}
case 50: {
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder subBuilder = ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addHeaders(subBuilder.buildPartial());
break;
}
case 58: {
bitField0_ |= 0x00000040;
content_ = input.readBytes();
break;
}
case 64: {
bitField0_ |= 0x00000080;
isChunk_ = input.readBool();
break;
}
case 72: {
bitField0_ |= 0x00000100;
chunkSeq_ = input.readInt32();
break;
}
}
}
}
private int bitField0_;
// required string requestId = 1;
private java.lang.Object requestId_ = "";
public boolean hasRequestId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getRequestId() {
java.lang.Object ref = requestId_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
requestId_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setRequestId(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
requestId_ = value;
onChanged();
return this;
}
public Builder clearRequestId() {
bitField0_ = (bitField0_ & ~0x00000001);
requestId_ = getDefaultInstance().getRequestId();
onChanged();
return this;
}
void setRequestId(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
requestId_ = value;
onChanged();
}
// required int64 requestTimestampNano = 2;
private long requestTimestampNano_ ;
public boolean hasRequestTimestampNano() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public long getRequestTimestampNano() {
return requestTimestampNano_;
}
public Builder setRequestTimestampNano(long value) {
bitField0_ |= 0x00000002;
requestTimestampNano_ = value;
onChanged();
return this;
}
public Builder clearRequestTimestampNano() {
bitField0_ = (bitField0_ & ~0x00000002);
requestTimestampNano_ = 0L;
onChanged();
return this;
}
// required int32 channelId = 3;
private int channelId_ ;
public boolean hasChannelId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getChannelId() {
return channelId_;
}
public Builder setChannelId(int value) {
bitField0_ |= 0x00000004;
channelId_ = value;
onChanged();
return this;
}
public Builder clearChannelId() {
bitField0_ = (bitField0_ & ~0x00000004);
channelId_ = 0;
onChanged();
return this;
}
// optional int32 status = 4 [default = 200];
private int status_ = 200;
public boolean hasStatus() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getStatus() {
return status_;
}
public Builder setStatus(int value) {
bitField0_ |= 0x00000008;
status_ = value;
onChanged();
return this;
}
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000008);
status_ = 200;
onChanged();
return this;
}
// repeated .Cookie cookies = 5;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> cookies_ =
java.util.Collections.emptyList();
private void ensureCookiesIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
cookies_ = new java.util.ArrayList<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie>(cookies_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder> cookiesBuilder_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> getCookiesList() {
if (cookiesBuilder_ == null) {
return java.util.Collections.unmodifiableList(cookies_);
} else {
return cookiesBuilder_.getMessageList();
}
}
public int getCookiesCount() {
if (cookiesBuilder_ == null) {
return cookies_.size();
} else {
return cookiesBuilder_.getCount();
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie getCookies(int index) {
if (cookiesBuilder_ == null) {
return cookies_.get(index);
} else {
return cookiesBuilder_.getMessage(index);
}
}
public Builder setCookies(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie value) {
if (cookiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookiesIsMutable();
cookies_.set(index, value);
onChanged();
} else {
cookiesBuilder_.setMessage(index, value);
}
return this;
}
public Builder setCookies(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder builderForValue) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
cookies_.set(index, builderForValue.build());
onChanged();
} else {
cookiesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addCookies(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie value) {
if (cookiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookiesIsMutable();
cookies_.add(value);
onChanged();
} else {
cookiesBuilder_.addMessage(value);
}
return this;
}
public Builder addCookies(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie value) {
if (cookiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCookiesIsMutable();
cookies_.add(index, value);
onChanged();
} else {
cookiesBuilder_.addMessage(index, value);
}
return this;
}
public Builder addCookies(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder builderForValue) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
cookies_.add(builderForValue.build());
onChanged();
} else {
cookiesBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addCookies(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder builderForValue) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
cookies_.add(index, builderForValue.build());
onChanged();
} else {
cookiesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllCookies(
java.lang.Iterable<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie> values) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
super.addAll(values, cookies_);
onChanged();
} else {
cookiesBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearCookies() {
if (cookiesBuilder_ == null) {
cookies_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
cookiesBuilder_.clear();
}
return this;
}
public Builder removeCookies(int index) {
if (cookiesBuilder_ == null) {
ensureCookiesIsMutable();
cookies_.remove(index);
onChanged();
} else {
cookiesBuilder_.remove(index);
}
return this;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder getCookiesBuilder(
int index) {
return getCookiesFieldBuilder().getBuilder(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder getCookiesOrBuilder(
int index) {
if (cookiesBuilder_ == null) {
return cookies_.get(index); } else {
return cookiesBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>
getCookiesOrBuilderList() {
if (cookiesBuilder_ != null) {
return cookiesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(cookies_);
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder addCookiesBuilder() {
return getCookiesFieldBuilder().addBuilder(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.getDefaultInstance());
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder addCookiesBuilder(
int index) {
return getCookiesFieldBuilder().addBuilder(
index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.getDefaultInstance());
}
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder>
getCookiesBuilderList() {
return getCookiesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>
getCookiesFieldBuilder() {
if (cookiesBuilder_ == null) {
cookiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.CookieOrBuilder>(
cookies_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
cookies_ = null;
}
return cookiesBuilder_;
}
// repeated .NameValue headers = 6;
private java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> headers_ =
java.util.Collections.emptyList();
private void ensureHeadersIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
headers_ = new java.util.ArrayList<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue>(headers_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder> headersBuilder_;
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> getHeadersList() {
if (headersBuilder_ == null) {
return java.util.Collections.unmodifiableList(headers_);
} else {
return headersBuilder_.getMessageList();
}
}
public int getHeadersCount() {
if (headersBuilder_ == null) {
return headers_.size();
} else {
return headersBuilder_.getCount();
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue getHeaders(int index) {
if (headersBuilder_ == null) {
return headers_.get(index);
} else {
return headersBuilder_.getMessage(index);
}
}
public Builder setHeaders(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.set(index, value);
onChanged();
} else {
headersBuilder_.setMessage(index, value);
}
return this;
}
public Builder setHeaders(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.set(index, builderForValue.build());
onChanged();
} else {
headersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addHeaders(ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.add(value);
onChanged();
} else {
headersBuilder_.addMessage(value);
}
return this;
}
public Builder addHeaders(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue value) {
if (headersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHeadersIsMutable();
headers_.add(index, value);
onChanged();
} else {
headersBuilder_.addMessage(index, value);
}
return this;
}
public Builder addHeaders(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(builderForValue.build());
onChanged();
} else {
headersBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addHeaders(
int index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder builderForValue) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.add(index, builderForValue.build());
onChanged();
} else {
headersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllHeaders(
java.lang.Iterable<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue> values) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
super.addAll(values, headers_);
onChanged();
} else {
headersBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearHeaders() {
if (headersBuilder_ == null) {
headers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
headersBuilder_.clear();
}
return this;
}
public Builder removeHeaders(int index) {
if (headersBuilder_ == null) {
ensureHeadersIsMutable();
headers_.remove(index);
onChanged();
} else {
headersBuilder_.remove(index);
}
return this;
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder getHeadersBuilder(
int index) {
return getHeadersFieldBuilder().getBuilder(index);
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder getHeadersOrBuilder(
int index) {
if (headersBuilder_ == null) {
return headers_.get(index); } else {
return headersBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getHeadersOrBuilderList() {
if (headersBuilder_ != null) {
return headersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(headers_);
}
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder addHeadersBuilder() {
return getHeadersFieldBuilder().addBuilder(
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDefaultInstance());
}
public ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder addHeadersBuilder(
int index) {
return getHeadersFieldBuilder().addBuilder(
index, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.getDefaultInstance());
}
public java.util.List<ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder>
getHeadersBuilderList() {
return getHeadersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>
getHeadersFieldBuilder() {
if (headersBuilder_ == null) {
headersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder, ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValueOrBuilder>(
headers_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
headers_ = null;
}
return headersBuilder_;
}
// optional bytes content = 7;
private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasContent() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public com.google.protobuf.ByteString getContent() {
return content_;
}
public Builder setContent(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
content_ = value;
onChanged();
return this;
}
public Builder clearContent() {
bitField0_ = (bitField0_ & ~0x00000040);
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
// optional bool isChunk = 8 [default = false];
private boolean isChunk_ ;
public boolean hasIsChunk() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public boolean getIsChunk() {
return isChunk_;
}
public Builder setIsChunk(boolean value) {
bitField0_ |= 0x00000080;
isChunk_ = value;
onChanged();
return this;
}
public Builder clearIsChunk() {
bitField0_ = (bitField0_ & ~0x00000080);
isChunk_ = false;
onChanged();
return this;
}
// optional int32 chunkSeq = 9 [default = 0];
private int chunkSeq_ ;
public boolean hasChunkSeq() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public int getChunkSeq() {
return chunkSeq_;
}
public Builder setChunkSeq(int value) {
bitField0_ |= 0x00000100;
chunkSeq_ = value;
onChanged();
return this;
}
public Builder clearChunkSeq() {
bitField0_ = (bitField0_ & ~0x00000100);
chunkSeq_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:Response)
}
static {
defaultInstance = new Response(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:Response)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_Cookie_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Cookie_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_NameValue_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_NameValue_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_Request_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Request_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_Response_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_Response_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\013hetty.proto\"h\n\006Cookie\022\014\n\004name\030\001 \002(\t\022\r\n" +
"\005value\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\022\017\n\004port\030\004 \001" +
"(\005:\0010\022\014\n\004path\030\005 \001(\t\022\022\n\006maxAge\030\006 \001(\005:\002-1\"" +
"(\n\tNameValue\022\014\n\004name\030\001 \002(\t\022\r\n\005value\030\002 \001(" +
"\t\"\307\002\n\007Request\022\n\n\002id\030\001 \002(\t\022\025\n\rresponseTop" +
"ic\030\002 \002(\t\022\021\n\tchannelId\030\003 \002(\005\022\025\n\rtimestamp" +
"Nano\030\004 \002(\003\022\016\n\006method\030\005 \002(\t\022\013\n\003uri\030\006 \002(\t\022" +
"\016\n\006domain\030\007 \002(\t\022\014\n\004port\030\010 \002(\005\022\014\n\004path\030\t " +
"\002(\t\022\035\n\turlParams\030\n \003(\0132\n.NameValue\022\022\n\npa" +
"thParams\030\013 \003(\t\022\030\n\007cookies\030\014 \003(\0132\007.Cookie",
"\022\033\n\007headers\030\r \003(\0132\n.NameValue\022\017\n\007content" +
"\030\016 \001(\014\022\026\n\007isChunk\030\017 \001(\010:\005false\022\023\n\010chunkS" +
"eq\030\020 \001(\005:\0010\"\330\001\n\010Response\022\021\n\trequestId\030\001 " +
"\002(\t\022\034\n\024requestTimestampNano\030\002 \002(\003\022\021\n\tcha" +
"nnelId\030\003 \002(\005\022\023\n\006status\030\004 \001(\005:\003200\022\030\n\007coo" +
"kies\030\005 \003(\0132\007.Cookie\022\033\n\007headers\030\006 \003(\0132\n.N" +
"ameValue\022\017\n\007content\030\007 \001(\014\022\026\n\007isChunk\030\010 \001" +
"(\010:\005false\022\023\n\010chunkSeq\030\t \001(\005:\0010B3\n ddth.d" +
"asp.hetty.message.protobufB\rHettyProtoBu" +
"fH\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_Cookie_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Cookie_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Cookie_descriptor,
new java.lang.String[] { "Name", "Value", "Domain", "Port", "Path", "MaxAge", },
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.class,
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Cookie.Builder.class);
internal_static_NameValue_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_NameValue_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_NameValue_descriptor,
new java.lang.String[] { "Name", "Value", },
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.class,
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.NameValue.Builder.class);
internal_static_Request_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_Request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Request_descriptor,
new java.lang.String[] { "Id", "ResponseTopic", "ChannelId", "TimestampNano", "Method", "Uri", "Domain", "Port", "Path", "UrlParams", "PathParams", "Cookies", "Headers", "Content", "IsChunk", "ChunkSeq", },
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request.class,
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Request.Builder.class);
internal_static_Response_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_Response_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_Response_descriptor,
new java.lang.String[] { "RequestId", "RequestTimestampNano", "ChannelId", "Status", "Cookies", "Headers", "Content", "IsChunk", "ChunkSeq", },
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response.class,
ddth.dasp.hetty.message.protobuf.HettyProtoBuf.Response.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}