public static final class TestProtos.TestStruct
extends com.google.protobuf.GeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
TestProtos.TestStruct.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 |
VALUE1_FIELD_NUMBER |
static int |
VALUE2_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static TestProtos.TestStruct |
getDefaultInstance() |
TestProtos.TestStruct |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getSerializedSize() |
int |
getValue1() |
TestProtos.TestStruct |
getValue2() |
boolean |
hasValue1() |
boolean |
hasValue2() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TestProtos.TestStruct.Builder |
newBuilder() |
static TestProtos.TestStruct.Builder |
newBuilder(TestProtos.TestStruct prototype) |
TestProtos.TestStruct.Builder |
newBuilderForType() |
static TestProtos.TestStruct |
parseDelimitedFrom(InputStream input) |
static TestProtos.TestStruct |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.TestStruct |
parseFrom(byte[] data) |
static TestProtos.TestStruct |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.TestStruct |
parseFrom(com.google.protobuf.ByteString data) |
static TestProtos.TestStruct |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.TestStruct |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TestProtos.TestStruct |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.TestStruct |
parseFrom(InputStream input) |
static TestProtos.TestStruct |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestProtos.TestStruct.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension, newRepeatedGeneratedExtensiontoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int VALUE1_FIELD_NUMBER
public static final int VALUE2_FIELD_NUMBER
public static TestProtos.TestStruct getDefaultInstance()
public TestProtos.TestStruct getDefaultInstanceForType()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasValue1()
public int getValue1()
public boolean hasValue2()
public TestProtos.TestStruct getValue2()
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static TestProtos.TestStruct parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestProtos.TestStruct parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestProtos.TestStruct parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestProtos.TestStruct parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestProtos.TestStruct parseFrom(InputStream input) throws IOException
IOExceptionpublic static TestProtos.TestStruct parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestProtos.TestStruct parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TestProtos.TestStruct parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestProtos.TestStruct parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TestProtos.TestStruct parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestProtos.TestStruct.Builder newBuilder()
public TestProtos.TestStruct.Builder newBuilderForType()
public static TestProtos.TestStruct.Builder newBuilder(TestProtos.TestStruct prototype)
public TestProtos.TestStruct.Builder toBuilder()