public static final class Proto.Attribute.Builder extends com.google.protobuf.GeneratedMessage.Builder<Proto.Attribute.Builder> implements Proto.AttributeOrBuilder
Attribute| Modifier and Type | Method and Description |
|---|---|
Proto.Attribute |
build() |
Proto.Attribute |
buildPartial() |
Proto.Attribute.Builder |
clear() |
Proto.Attribute.Builder |
clearKey()
required string key = 1; |
Proto.Attribute.Builder |
clearValue()
optional string value = 2; |
Proto.Attribute.Builder |
clone() |
Proto.Attribute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
required string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes()
required string key = 1; |
String |
getValue()
optional string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 2; |
boolean |
hasKey()
required string key = 1; |
boolean |
hasValue()
optional string value = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Proto.Attribute.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Proto.Attribute.Builder |
mergeFrom(com.google.protobuf.Message other) |
Proto.Attribute.Builder |
mergeFrom(Proto.Attribute other) |
Proto.Attribute.Builder |
setKey(String value)
required string key = 1; |
Proto.Attribute.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1; |
Proto.Attribute.Builder |
setValue(String value)
optional string value = 2; |
Proto.Attribute.Builder |
setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Proto.Attribute.Builder>public Proto.Attribute.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Proto.Attribute.Builder>public Proto.Attribute.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<Proto.Attribute.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Proto.Attribute.Builder>public Proto.Attribute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Proto.Attribute build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Proto.Attribute buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Proto.Attribute.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Proto.Attribute.Builder>public Proto.Attribute.Builder mergeFrom(Proto.Attribute other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Proto.Attribute.Builder>public Proto.Attribute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Proto.Attribute.Builder>IOExceptionpublic boolean hasKey()
required string key = 1;hasKey in interface Proto.AttributeOrBuilderpublic String getKey()
required string key = 1;getKey in interface Proto.AttributeOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
required string key = 1;getKeyBytes in interface Proto.AttributeOrBuilderpublic Proto.Attribute.Builder setKey(String value)
required string key = 1;public Proto.Attribute.Builder clearKey()
required string key = 1;public Proto.Attribute.Builder setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1;public boolean hasValue()
optional string value = 2;hasValue in interface Proto.AttributeOrBuilderpublic String getValue()
optional string value = 2;getValue in interface Proto.AttributeOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
optional string value = 2;getValueBytes in interface Proto.AttributeOrBuilderpublic Proto.Attribute.Builder setValue(String value)
optional string value = 2;public Proto.Attribute.Builder clearValue()
optional string value = 2;public Proto.Attribute.Builder setValueBytes(com.google.protobuf.ByteString value)
optional string value = 2;Copyright © 2015. All rights reserved.