public static final class RiakDtPB.MapField.Builder extends com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.MapField.Builder> implements RiakDtPB.MapFieldOrBuilder
MapField
Field names in maps are composed of a binary identifier and a type. This is so that two clients can create fields with the same name but different types, and they converge independently.
Modifier and Type | Method and Description |
---|---|
RiakDtPB.MapField |
build() |
RiakDtPB.MapField |
buildPartial() |
RiakDtPB.MapField.Builder |
clear() |
RiakDtPB.MapField.Builder |
clearName()
required bytes name = 1; |
RiakDtPB.MapField.Builder |
clearType()
required .MapField.MapFieldType type = 2; |
RiakDtPB.MapField.Builder |
clone() |
RiakDtPB.MapField |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getName()
required bytes name = 1; |
RiakDtPB.MapField.MapFieldType |
getType()
required .MapField.MapFieldType type = 2; |
boolean |
hasName()
required bytes name = 1; |
boolean |
hasType()
required .MapField.MapFieldType type = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RiakDtPB.MapField.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RiakDtPB.MapField.Builder |
mergeFrom(com.google.protobuf.Message other) |
RiakDtPB.MapField.Builder |
mergeFrom(RiakDtPB.MapField other) |
RiakDtPB.MapField.Builder |
setName(com.google.protobuf.ByteString value)
required bytes name = 1; |
RiakDtPB.MapField.Builder |
setType(RiakDtPB.MapField.MapFieldType value)
required .MapField.MapFieldType type = 2; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.MapField.Builder>
public RiakDtPB.MapField.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.MapField.Builder>
public RiakDtPB.MapField.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.MapField.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.MapField.Builder>
public RiakDtPB.MapField getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RiakDtPB.MapField build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.MapField buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RiakDtPB.MapField.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.MapField.Builder>
public RiakDtPB.MapField.Builder mergeFrom(RiakDtPB.MapField other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RiakDtPB.MapField.Builder>
public RiakDtPB.MapField.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RiakDtPB.MapField.Builder>
IOException
public boolean hasName()
required bytes name = 1;
hasName
in interface RiakDtPB.MapFieldOrBuilder
public com.google.protobuf.ByteString getName()
required bytes name = 1;
getName
in interface RiakDtPB.MapFieldOrBuilder
public RiakDtPB.MapField.Builder setName(com.google.protobuf.ByteString value)
required bytes name = 1;
public RiakDtPB.MapField.Builder clearName()
required bytes name = 1;
public boolean hasType()
required .MapField.MapFieldType type = 2;
hasType
in interface RiakDtPB.MapFieldOrBuilder
public RiakDtPB.MapField.MapFieldType getType()
required .MapField.MapFieldType type = 2;
getType
in interface RiakDtPB.MapFieldOrBuilder
public RiakDtPB.MapField.Builder setType(RiakDtPB.MapField.MapFieldType value)
required .MapField.MapFieldType type = 2;
public RiakDtPB.MapField.Builder clearType()
required .MapField.MapFieldType type = 2;
Copyright © 2016. All rights reserved.