public static final class Protos.Template extends com.google.protobuf.GeneratedMessage implements Protos.TemplateOrBuilder
Template| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Template.Builder
Protobuf type
Template |
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 |
BODY_FIELD_NUMBER |
static int |
CONTENT_TYPE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.Template> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
optional string body = 2; |
com.google.protobuf.ByteString |
getBodyBytes()
optional string body = 2; |
String |
getContentType()
optional string content_type = 3; |
com.google.protobuf.ByteString |
getContentTypeBytes()
optional string content_type = 3; |
static Protos.Template |
getDefaultInstance() |
Protos.Template |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
com.google.protobuf.Parser<Protos.Template> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBody()
optional string body = 2; |
boolean |
hasContentType()
optional string content_type = 3; |
boolean |
hasName()
required string name = 1; |
boolean |
isInitialized() |
static Protos.Template.Builder |
newBuilder() |
static Protos.Template.Builder |
newBuilder(Protos.Template prototype) |
Protos.Template.Builder |
newBuilderForType() |
static Protos.Template |
parseDelimitedFrom(InputStream input) |
static Protos.Template |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Template |
parseFrom(byte[] data) |
static Protos.Template |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Template |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Template |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Template |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Template |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Template |
parseFrom(InputStream input) |
static Protos.Template |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Template.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.Template> PARSER
public static final int NAME_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
public static Protos.Template getDefaultInstance()
public Protos.Template 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.Template> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasName()
required string name = 1;hasName in interface Protos.TemplateOrBuilderpublic String getName()
required string name = 1;getName in interface Protos.TemplateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;getNameBytes in interface Protos.TemplateOrBuilderpublic boolean hasBody()
optional string body = 2;hasBody in interface Protos.TemplateOrBuilderpublic String getBody()
optional string body = 2;getBody in interface Protos.TemplateOrBuilderpublic com.google.protobuf.ByteString getBodyBytes()
optional string body = 2;getBodyBytes in interface Protos.TemplateOrBuilderpublic boolean hasContentType()
optional string content_type = 3;hasContentType in interface Protos.TemplateOrBuilderpublic String getContentType()
optional string content_type = 3;getContentType in interface Protos.TemplateOrBuilderpublic com.google.protobuf.ByteString getContentTypeBytes()
optional string content_type = 3;getContentTypeBytes in interface Protos.TemplateOrBuilderpublic 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.Template parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Template parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Template parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Template parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Template parseFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.Template parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.Template parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.Template parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.Template parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Protos.Template parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.Template.Builder newBuilder()
public Protos.Template.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.Template.Builder newBuilder(Protos.Template prototype)
public Protos.Template.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2015. All rights reserved.