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.GeneratedMessageV3.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
,java.lang.Cloneable
,DataFormats.BookieServiceInfoFormatOrBuilder
- Enclosing class:
- DataFormats.BookieServiceInfoFormat
public static final class DataFormats.BookieServiceInfoFormat.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder> implements DataFormats.BookieServiceInfoFormatOrBuilder
information about services exposed by a Bookie.
Protobuf typeBookieServiceInfoFormat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DataFormats.BookieServiceInfoFormat.Builder
addAllEndpoints(java.lang.Iterable<? extends DataFormats.BookieServiceInfoFormat.Endpoint> values)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Builder
addEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint value)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Builder
addEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Builder
addEndpoints(DataFormats.BookieServiceInfoFormat.Endpoint value)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Builder
addEndpoints(DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Endpoint.Builder
addEndpointsBuilder()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Endpoint.Builder
addEndpointsBuilder(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat
build()
DataFormats.BookieServiceInfoFormat
buildPartial()
DataFormats.BookieServiceInfoFormat.Builder
clear()
DataFormats.BookieServiceInfoFormat.Builder
clearEndpoints()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Builder
clearProperties()
boolean
containsProperties(java.lang.String key)
map<string, string> properties = 7;
DataFormats.BookieServiceInfoFormat
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
DataFormats.BookieServiceInfoFormat.Endpoint
getEndpoints(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Endpoint.Builder
getEndpointsBuilder(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
java.util.List<DataFormats.BookieServiceInfoFormat.Endpoint.Builder>
getEndpointsBuilderList()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
int
getEndpointsCount()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
java.util.List<DataFormats.BookieServiceInfoFormat.Endpoint>
getEndpointsList()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.EndpointOrBuilder
getEndpointsOrBuilder(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
java.util.List<? extends DataFormats.BookieServiceInfoFormat.EndpointOrBuilder>
getEndpointsOrBuilderList()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
java.util.Map<java.lang.String,java.lang.String>
getMutableProperties()
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getProperties()
Deprecated.int
getPropertiesCount()
map<string, string> properties = 7;
java.util.Map<java.lang.String,java.lang.String>
getPropertiesMap()
map<string, string> properties = 7;
java.lang.String
getPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> properties = 7;
java.lang.String
getPropertiesOrThrow(java.lang.String key)
map<string, string> properties = 7;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
DataFormats.BookieServiceInfoFormat.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataFormats.BookieServiceInfoFormat.Builder
mergeFrom(com.google.protobuf.Message other)
DataFormats.BookieServiceInfoFormat.Builder
mergeFrom(DataFormats.BookieServiceInfoFormat other)
DataFormats.BookieServiceInfoFormat.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataFormats.BookieServiceInfoFormat.Builder
putAllProperties(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> properties = 7;
DataFormats.BookieServiceInfoFormat.Builder
putProperties(java.lang.String key, java.lang.String value)
map<string, string> properties = 7;
DataFormats.BookieServiceInfoFormat.Builder
removeEndpoints(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Builder
removeProperties(java.lang.String key)
map<string, string> properties = 7;
DataFormats.BookieServiceInfoFormat.Builder
setEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint value)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Builder
setEndpoints(int index, DataFormats.BookieServiceInfoFormat.Endpoint.Builder builderForValue)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
DataFormats.BookieServiceInfoFormat.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
clear
public DataFormats.BookieServiceInfoFormat.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
getDefaultInstanceForType
public DataFormats.BookieServiceInfoFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataFormats.BookieServiceInfoFormat build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataFormats.BookieServiceInfoFormat buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DataFormats.BookieServiceInfoFormat.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
mergeFrom
public DataFormats.BookieServiceInfoFormat.Builder mergeFrom(DataFormats.BookieServiceInfoFormat other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
mergeFrom
public DataFormats.BookieServiceInfoFormat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataFormats.BookieServiceInfoFormat.Builder>
- Throws:
java.io.IOException
-
getEndpointsList
public java.util.List<DataFormats.BookieServiceInfoFormat.Endpoint> getEndpointsList()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
- Specified by:
getEndpointsList
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getEndpointsCount
public int getEndpointsCount()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
- Specified by:
getEndpointsCount
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getEndpoints
public DataFormats.BookieServiceInfoFormat.Endpoint getEndpoints(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
- Specified by:
getEndpoints
in 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(java.lang.Iterable<? extends DataFormats.BookieServiceInfoFormat.Endpoint> values)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
-
clearEndpoints
public DataFormats.BookieServiceInfoFormat.Builder clearEndpoints()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
-
removeEndpoints
public DataFormats.BookieServiceInfoFormat.Builder removeEndpoints(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
-
getEndpointsBuilder
public DataFormats.BookieServiceInfoFormat.Endpoint.Builder getEndpointsBuilder(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
-
getEndpointsOrBuilder
public DataFormats.BookieServiceInfoFormat.EndpointOrBuilder getEndpointsOrBuilder(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
- Specified by:
getEndpointsOrBuilder
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getEndpointsOrBuilderList
public java.util.List<? extends DataFormats.BookieServiceInfoFormat.EndpointOrBuilder> getEndpointsOrBuilderList()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
- Specified by:
getEndpointsOrBuilderList
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
addEndpointsBuilder
public DataFormats.BookieServiceInfoFormat.Endpoint.Builder addEndpointsBuilder()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
-
addEndpointsBuilder
public DataFormats.BookieServiceInfoFormat.Endpoint.Builder addEndpointsBuilder(int index)
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
-
getEndpointsBuilderList
public java.util.List<DataFormats.BookieServiceInfoFormat.Endpoint.Builder> getEndpointsBuilderList()
repeated .BookieServiceInfoFormat.Endpoint endpoints = 6;
-
getPropertiesCount
public int getPropertiesCount()
Description copied from interface:DataFormats.BookieServiceInfoFormatOrBuilder
map<string, string> properties = 7;
- Specified by:
getPropertiesCount
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
containsProperties
public boolean containsProperties(java.lang.String key)
map<string, string> properties = 7;
- Specified by:
containsProperties
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getProperties
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getProperties()
Deprecated.UsegetPropertiesMap()
instead.- Specified by:
getProperties
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getPropertiesMap
public java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
map<string, string> properties = 7;
- Specified by:
getPropertiesMap
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getPropertiesOrDefault
public java.lang.String getPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> properties = 7;
- Specified by:
getPropertiesOrDefault
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
getPropertiesOrThrow
public java.lang.String getPropertiesOrThrow(java.lang.String key)
map<string, string> properties = 7;
- Specified by:
getPropertiesOrThrow
in interfaceDataFormats.BookieServiceInfoFormatOrBuilder
-
clearProperties
public DataFormats.BookieServiceInfoFormat.Builder clearProperties()
-
removeProperties
public DataFormats.BookieServiceInfoFormat.Builder removeProperties(java.lang.String key)
map<string, string> properties = 7;
-
getMutableProperties
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableProperties()
Deprecated.Use alternate mutation accessors instead.
-
putProperties
public DataFormats.BookieServiceInfoFormat.Builder putProperties(java.lang.String key, java.lang.String value)
map<string, string> properties = 7;
-
putAllProperties
public DataFormats.BookieServiceInfoFormat.Builder putAllProperties(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> properties = 7;
-
setUnknownFields
public final DataFormats.BookieServiceInfoFormat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
mergeUnknownFields
public final DataFormats.BookieServiceInfoFormat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataFormats.BookieServiceInfoFormat.Builder>
-
-