public static final class CommonProtos.Header
extends com.google.protobuf.GeneratedMessage
Modifier and Type | Class and Description |
---|---|
static class |
CommonProtos.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 CommonProtos.Header |
getDefaultInstance() |
CommonProtos.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 CommonProtos.Header.Builder |
newBuilder() |
static CommonProtos.Header.Builder |
newBuilder(CommonProtos.Header prototype) |
CommonProtos.Header.Builder |
newBuilderForType() |
static CommonProtos.Header |
parseDelimitedFrom(InputStream input) |
static CommonProtos.Header |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonProtos.Header |
parseFrom(byte[] data) |
static CommonProtos.Header |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonProtos.Header |
parseFrom(com.google.protobuf.ByteString data) |
static CommonProtos.Header |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonProtos.Header |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CommonProtos.Header |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CommonProtos.Header |
parseFrom(InputStream input) |
static CommonProtos.Header |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommonProtos.Header.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 NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static CommonProtos.Header getDefaultInstance()
public CommonProtos.Header 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 boolean hasName()
public String getName()
public boolean hasValue()
public String getValue()
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 CommonProtos.Header parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommonProtos.Header parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommonProtos.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommonProtos.Header parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CommonProtos.Header parseFrom(InputStream input) throws IOException
IOException
public static CommonProtos.Header parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CommonProtos.Header parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CommonProtos.Header parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CommonProtos.Header parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static CommonProtos.Header parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CommonProtos.Header.Builder newBuilder()
public CommonProtos.Header.Builder newBuilderForType()
public static CommonProtos.Header.Builder newBuilder(CommonProtos.Header prototype)
public CommonProtos.Header.Builder toBuilder()