public static final class Protos.TestType extends com.google.protobuf.GeneratedMessage implements Protos.TestTypeOrBuilder
TestType| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.TestType.Builder
Protobuf type
TestType |
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.ExtendableMessageOrBuilder<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 |
GUID_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.TestType> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
static Protos.TestType |
getDefaultInstance() |
Protos.TestType |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGuid()
required string guid = 1; |
com.google.protobuf.ByteString |
getGuidBytes()
required string guid = 1; |
String |
getName()
optional string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 2; |
com.google.protobuf.Parser<Protos.TestType> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGuid()
required string guid = 1; |
boolean |
hasName()
optional string name = 2; |
boolean |
isInitialized() |
static Protos.TestType.Builder |
newBuilder() |
static Protos.TestType.Builder |
newBuilder(Protos.TestType prototype) |
Protos.TestType.Builder |
newBuilderForType() |
static Protos.TestType |
parseDelimitedFrom(InputStream input) |
static Protos.TestType |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TestType |
parseFrom(byte[] data) |
static Protos.TestType |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TestType |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.TestType |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TestType |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.TestType |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TestType |
parseFrom(InputStream input) |
static Protos.TestType |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TestType.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<Protos.TestType> PARSER
public static final int GUID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static Protos.TestType getDefaultInstance()
public Protos.TestType getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.Parser<Protos.TestType> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasGuid()
required string guid = 1;hasGuid in interface Protos.TestTypeOrBuilderpublic String getGuid()
required string guid = 1;getGuid in interface Protos.TestTypeOrBuilderpublic com.google.protobuf.ByteString getGuidBytes()
required string guid = 1;getGuidBytes in interface Protos.TestTypeOrBuilderpublic boolean hasName()
optional string name = 2;hasName in interface Protos.TestTypeOrBuilderpublic String getName()
optional string name = 2;getName in interface Protos.TestTypeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 2;getNameBytes in interface Protos.TestTypeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized 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 Protos.TestType parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TestType parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TestType parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TestType parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.TestType parseFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.TestType parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.TestType parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.TestType parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.TestType parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Protos.TestType parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.TestType.Builder newBuilder()
public Protos.TestType.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.TestType.Builder newBuilder(Protos.TestType prototype)
public Protos.TestType.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2015. All rights reserved.