Package org.apache.bookkeeper.proto
Class DataFormats.BookieServiceInfoFormat.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
org.apache.bookkeeper.proto.DataFormats.BookieServiceInfoFormat.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,DataFormats.BookieServiceInfoFormatOrBuilder
- Enclosing class:
- DataFormats.BookieServiceInfoFormat
public static final class DataFormats.BookieServiceInfoFormat.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
implements DataFormats.BookieServiceInfoFormatOrBuilder
* information about services exposed by a Bookie.Protobuf type
BookieServiceInfoFormat-
Method Summary
Modifier and TypeMethodDescriptionaddAllEndpoints(Iterable<? extends DataFormats.BookieServiceInfoFormat.Endpoint> values) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;addEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint value) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;addEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;addEndpoints(DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;addEndpointsBuilder(int index) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;build()clear()repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;booleancontainsProperties(String key) map<string, string> properties = 7;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEndpoints(int index) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;getEndpointsBuilder(int index) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;intrepeated .BookieServiceInfoFormat.Endpoint endpoints = 6;repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;getEndpointsOrBuilder(int index) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;Deprecated.Deprecated.intmap<string, string> properties = 7;map<string, string> properties = 7;getPropertiesOrDefault(String key, String defaultValue) map<string, string> properties = 7;map<string, string> properties = 7;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllProperties(Map<String, String> values) map<string, string> properties = 7;putProperties(String key, String value) map<string, string> properties = 7;removeEndpoints(int index) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;removeProperties(String key) map<string, string> properties = 7;setEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint value) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;setEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
mergeFrom
public DataFormats.BookieServiceInfoFormat.Builder mergeFrom(DataFormats.BookieServiceInfoFormat other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
mergeFrom
public DataFormats.BookieServiceInfoFormat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>- Throws:
IOException
-
getEndpointsList
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;- Specified by:
getEndpointsListin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getEndpointsCount
public int getEndpointsCount()repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;- Specified by:
getEndpointsCountin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getEndpoints
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;- Specified by:
getEndpointsin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
setEndpoints
public DataFormats.BookieServiceInfoFormat.Builder setEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint value) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
setEndpoints
public DataFormats.BookieServiceInfoFormat.Builder setEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
addEndpoints
public DataFormats.BookieServiceInfoFormat.Builder addEndpoints(DataFormats.BookieServiceInfoFormat.Endpoint value) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
addEndpoints
public DataFormats.BookieServiceInfoFormat.Builder addEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint value) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
addEndpoints
public DataFormats.BookieServiceInfoFormat.Builder addEndpoints(DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
addEndpoints
public DataFormats.BookieServiceInfoFormat.Builder addEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
addAllEndpoints
public DataFormats.BookieServiceInfoFormat.Builder addAllEndpoints(Iterable<? extends DataFormats.BookieServiceInfoFormat.Endpoint> values) repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
clearEndpoints
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
removeEndpoints
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
getEndpointsBuilder
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
getEndpointsOrBuilder
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;- Specified by:
getEndpointsOrBuilderin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getEndpointsOrBuilderList
public List<? extends DataFormats.BookieServiceInfoFormat.EndpointOrBuilder> getEndpointsOrBuilderList()repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;- Specified by:
getEndpointsOrBuilderListin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
addEndpointsBuilder
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
addEndpointsBuilder
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
getEndpointsBuilderList
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6; -
getPropertiesCount
public int getPropertiesCount()Description copied from interface:DataFormats.BookieServiceInfoFormatOrBuildermap<string, string> properties = 7;- Specified by:
getPropertiesCountin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
containsProperties
map<string, string> properties = 7;- Specified by:
containsPropertiesin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getPropertiesMap
map<string, string> properties = 7;- Specified by:
getPropertiesMapin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getPropertiesOrDefault
map<string, string> properties = 7;- Specified by:
getPropertiesOrDefaultin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getPropertiesOrThrow
map<string, string> properties = 7;- Specified by:
getPropertiesOrThrowin interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
clearProperties
-
removeProperties
map<string, string> properties = 7; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
map<string, string> properties = 7; -
putAllProperties
map<string, string> properties = 7;
-