public static final class TestProtos.Header
extends com.google.protobuf.GeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
TestProtos.Header.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 |
NAME_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static TestProtos.Header |
getDefaultInstance() |
TestProtos.Header |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName() |
int |
getSerializedSize() |
String |
getValue() |
boolean |
hasName() |
boolean |
hasValue() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TestProtos.Header.Builder |
newBuilder() |
static TestProtos.Header.Builder |
newBuilder(TestProtos.Header prototype) |
TestProtos.Header.Builder |
newBuilderForType() |
static TestProtos.Header |
parseDelimitedFrom(InputStream input) |
static TestProtos.Header |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.Header |
parseFrom(byte[] data) |
static TestProtos.Header |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.Header |
parseFrom(com.google.protobuf.ByteString data) |
static TestProtos.Header |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.Header |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TestProtos.Header |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestProtos.Header |
parseFrom(InputStream input) |
static TestProtos.Header |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TestProtos.Header.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newGeneratedExtension, newRepeatedGeneratedExtensiontoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static TestProtos.Header getDefaultInstance()
public TestProtos.Header 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 hasName()
public String getName()
public boolean hasValue()
public String getValue()
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.Header parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestProtos.Header parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestProtos.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestProtos.Header parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestProtos.Header parseFrom(InputStream input) throws IOException
IOExceptionpublic static TestProtos.Header parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestProtos.Header parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TestProtos.Header parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestProtos.Header parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TestProtos.Header parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestProtos.Header.Builder newBuilder()
public TestProtos.Header.Builder newBuilderForType()
public static TestProtos.Header.Builder newBuilder(TestProtos.Header prototype)
public TestProtos.Header.Builder toBuilder()