public static final class TestProtos.TestRequest
extends com.google.protobuf.GeneratedMessage
Modifier and Type | Class and Description |
---|---|
static class |
TestProtos.TestRequest.Builder |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEANVALUE_FIELD_NUMBER |
static int |
BYTESVALUE_FIELD_NUMBER |
static int |
DOUBLEVALUE_FIELD_NUMBER |
static int |
FLOATVALUE_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
INTARRAYVALUE_FIELD_NUMBER |
static int |
INTVALUE_FIELD_NUMBER |
static int |
LONGVALUE_FIELD_NUMBER |
static int |
STRINGVALUE_FIELD_NUMBER |
static int |
TESTENUMVALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue() |
com.google.protobuf.ByteString |
getBytesValue() |
static TestProtos.TestRequest |
getDefaultInstance() |
TestProtos.TestRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getDoubleValue() |
float |
getFloatValue() |
TestProtos.Header |
getHeaders(int index) |
int |
getHeadersCount() |
List<TestProtos.Header> |
getHeadersList() |
int |
getIntArrayValue(int index) |
int |
getIntArrayValueCount() |
List<Integer> |
getIntArrayValueList() |
int |
getIntValue() |
long |
getLongValue() |
int |
getSerializedSize() |
String |
getStringValue() |
TestProtos.TestEnum |
getTestEnumValue() |
boolean |
hasBooleanValue() |
boolean |
hasBytesValue() |
boolean |
hasDoubleValue() |
boolean |
hasFloatValue() |
boolean |
hasIntValue() |
boolean |
hasLongValue() |
boolean |
hasStringValue() |
boolean |
hasTestEnumValue() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TestProtos.TestRequest.Builder |
newBuilder() |
static TestProtos.TestRequest.Builder |
newBuilder(TestProtos.TestRequest prototype) |
TestProtos.TestRequest.Builder |
newBuilderForType() |
static TestProtos.TestRequest |
parseDelimitedFrom(InputStream input) |
static TestProtos.TestRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.TestRequest |
parseFrom(byte[] data) |
static TestProtos.TestRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.TestRequest |
parseFrom(com.google.protobuf.ByteString data) |
static TestProtos.TestRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.TestRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TestProtos.TestRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.TestRequest |
parseFrom(InputStream input) |
static TestProtos.TestRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestProtos.TestRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension, newRepeatedGeneratedExtension
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int HEADERS_FIELD_NUMBER
public static final int DOUBLEVALUE_FIELD_NUMBER
public static final int FLOATVALUE_FIELD_NUMBER
public static final int INTVALUE_FIELD_NUMBER
public static final int LONGVALUE_FIELD_NUMBER
public static final int BOOLEANVALUE_FIELD_NUMBER
public static final int STRINGVALUE_FIELD_NUMBER
public static final int BYTESVALUE_FIELD_NUMBER
public static final int TESTENUMVALUE_FIELD_NUMBER
public static final int INTARRAYVALUE_FIELD_NUMBER
public static TestProtos.TestRequest getDefaultInstance()
public TestProtos.TestRequest getDefaultInstanceForType()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public List<TestProtos.Header> getHeadersList()
public int getHeadersCount()
public TestProtos.Header getHeaders(int index)
public boolean hasDoubleValue()
public double getDoubleValue()
public boolean hasFloatValue()
public float getFloatValue()
public boolean hasIntValue()
public int getIntValue()
public boolean hasLongValue()
public long getLongValue()
public boolean hasBooleanValue()
public boolean getBooleanValue()
public boolean hasStringValue()
public String getStringValue()
public boolean hasBytesValue()
public com.google.protobuf.ByteString getBytesValue()
public boolean hasTestEnumValue()
public TestProtos.TestEnum getTestEnumValue()
public int getIntArrayValueCount()
public int getIntArrayValue(int index)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLite
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
public static TestProtos.TestRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestProtos.TestRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestProtos.TestRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestProtos.TestRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestProtos.TestRequest parseFrom(InputStream input) throws IOException
IOException
public static TestProtos.TestRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TestProtos.TestRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TestProtos.TestRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TestProtos.TestRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TestProtos.TestRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TestProtos.TestRequest.Builder newBuilder()
public TestProtos.TestRequest.Builder newBuilderForType()
public static TestProtos.TestRequest.Builder newBuilder(TestProtos.TestRequest prototype)
public TestProtos.TestRequest.Builder toBuilder()