Class Serverfeatures.SupportedMethods.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
- com.eventstore.dbclient.proto.serverfeatures.Serverfeatures.SupportedMethods.Builder
-
- All Implemented Interfaces:
Serverfeatures.SupportedMethodsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Serverfeatures.SupportedMethods
public static final class Serverfeatures.SupportedMethods.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder> implements Serverfeatures.SupportedMethodsOrBuilder
Protobuf typeevent_store.client.server_features.SupportedMethods
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Serverfeatures.SupportedMethods.Builder
addAllMethods(java.lang.Iterable<? extends Serverfeatures.SupportedMethod> values)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
addMethods(int index, Serverfeatures.SupportedMethod value)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
addMethods(int index, Serverfeatures.SupportedMethod.Builder builderForValue)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
addMethods(Serverfeatures.SupportedMethod value)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
addMethods(Serverfeatures.SupportedMethod.Builder builderForValue)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethod.Builder
addMethodsBuilder()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethod.Builder
addMethodsBuilder(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Serverfeatures.SupportedMethods
build()
Serverfeatures.SupportedMethods
buildPartial()
Serverfeatures.SupportedMethods.Builder
clear()
Serverfeatures.SupportedMethods.Builder
clearEventStoreServerVersion()
string event_store_server_version = 2;
Serverfeatures.SupportedMethods.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Serverfeatures.SupportedMethods.Builder
clearMethods()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Serverfeatures.SupportedMethods.Builder
clone()
Serverfeatures.SupportedMethods
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getEventStoreServerVersion()
string event_store_server_version = 2;
com.google.protobuf.ByteString
getEventStoreServerVersionBytes()
string event_store_server_version = 2;
Serverfeatures.SupportedMethod
getMethods(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethod.Builder
getMethodsBuilder(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
java.util.List<Serverfeatures.SupportedMethod.Builder>
getMethodsBuilderList()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
int
getMethodsCount()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
java.util.List<Serverfeatures.SupportedMethod>
getMethodsList()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethodOrBuilder
getMethodsOrBuilder(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
java.util.List<? extends Serverfeatures.SupportedMethodOrBuilder>
getMethodsOrBuilderList()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Serverfeatures.SupportedMethods.Builder
mergeFrom(Serverfeatures.SupportedMethods other)
Serverfeatures.SupportedMethods.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Serverfeatures.SupportedMethods.Builder
mergeFrom(com.google.protobuf.Message other)
Serverfeatures.SupportedMethods.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Serverfeatures.SupportedMethods.Builder
removeMethods(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
setEventStoreServerVersion(java.lang.String value)
string event_store_server_version = 2;
Serverfeatures.SupportedMethods.Builder
setEventStoreServerVersionBytes(com.google.protobuf.ByteString value)
string event_store_server_version = 2;
Serverfeatures.SupportedMethods.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Serverfeatures.SupportedMethods.Builder
setMethods(int index, Serverfeatures.SupportedMethod value)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
setMethods(int index, Serverfeatures.SupportedMethod.Builder builderForValue)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
Serverfeatures.SupportedMethods.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Serverfeatures.SupportedMethods.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
clear
public Serverfeatures.SupportedMethods.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<Serverfeatures.SupportedMethods.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<Serverfeatures.SupportedMethods.Builder>
-
getDefaultInstanceForType
public Serverfeatures.SupportedMethods getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Serverfeatures.SupportedMethods build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Serverfeatures.SupportedMethods buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Serverfeatures.SupportedMethods.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
setField
public Serverfeatures.SupportedMethods.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
clearField
public Serverfeatures.SupportedMethods.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
clearOneof
public Serverfeatures.SupportedMethods.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
setRepeatedField
public Serverfeatures.SupportedMethods.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
addRepeatedField
public Serverfeatures.SupportedMethods.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethods.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Serverfeatures.SupportedMethods.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethods.Builder mergeFrom(Serverfeatures.SupportedMethods other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethods.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<Serverfeatures.SupportedMethods.Builder>
- Throws:
java.io.IOException
-
getMethodsList
public java.util.List<Serverfeatures.SupportedMethod> getMethodsList()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
- Specified by:
getMethodsList
in interfaceServerfeatures.SupportedMethodsOrBuilder
-
getMethodsCount
public int getMethodsCount()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
- Specified by:
getMethodsCount
in interfaceServerfeatures.SupportedMethodsOrBuilder
-
getMethods
public Serverfeatures.SupportedMethod getMethods(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
- Specified by:
getMethods
in interfaceServerfeatures.SupportedMethodsOrBuilder
-
setMethods
public Serverfeatures.SupportedMethods.Builder setMethods(int index, Serverfeatures.SupportedMethod value)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
setMethods
public Serverfeatures.SupportedMethods.Builder setMethods(int index, Serverfeatures.SupportedMethod.Builder builderForValue)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
addMethods
public Serverfeatures.SupportedMethods.Builder addMethods(Serverfeatures.SupportedMethod value)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
addMethods
public Serverfeatures.SupportedMethods.Builder addMethods(int index, Serverfeatures.SupportedMethod value)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
addMethods
public Serverfeatures.SupportedMethods.Builder addMethods(Serverfeatures.SupportedMethod.Builder builderForValue)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
addMethods
public Serverfeatures.SupportedMethods.Builder addMethods(int index, Serverfeatures.SupportedMethod.Builder builderForValue)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
addAllMethods
public Serverfeatures.SupportedMethods.Builder addAllMethods(java.lang.Iterable<? extends Serverfeatures.SupportedMethod> values)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
clearMethods
public Serverfeatures.SupportedMethods.Builder clearMethods()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
removeMethods
public Serverfeatures.SupportedMethods.Builder removeMethods(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
getMethodsBuilder
public Serverfeatures.SupportedMethod.Builder getMethodsBuilder(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
getMethodsOrBuilder
public Serverfeatures.SupportedMethodOrBuilder getMethodsOrBuilder(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
- Specified by:
getMethodsOrBuilder
in interfaceServerfeatures.SupportedMethodsOrBuilder
-
getMethodsOrBuilderList
public java.util.List<? extends Serverfeatures.SupportedMethodOrBuilder> getMethodsOrBuilderList()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
- Specified by:
getMethodsOrBuilderList
in interfaceServerfeatures.SupportedMethodsOrBuilder
-
addMethodsBuilder
public Serverfeatures.SupportedMethod.Builder addMethodsBuilder()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
addMethodsBuilder
public Serverfeatures.SupportedMethod.Builder addMethodsBuilder(int index)
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
getMethodsBuilderList
public java.util.List<Serverfeatures.SupportedMethod.Builder> getMethodsBuilderList()
repeated .event_store.client.server_features.SupportedMethod methods = 1;
-
getEventStoreServerVersion
public java.lang.String getEventStoreServerVersion()
string event_store_server_version = 2;
- Specified by:
getEventStoreServerVersion
in interfaceServerfeatures.SupportedMethodsOrBuilder
- Returns:
- The eventStoreServerVersion.
-
getEventStoreServerVersionBytes
public com.google.protobuf.ByteString getEventStoreServerVersionBytes()
string event_store_server_version = 2;
- Specified by:
getEventStoreServerVersionBytes
in interfaceServerfeatures.SupportedMethodsOrBuilder
- Returns:
- The bytes for eventStoreServerVersion.
-
setEventStoreServerVersion
public Serverfeatures.SupportedMethods.Builder setEventStoreServerVersion(java.lang.String value)
string event_store_server_version = 2;
- Parameters:
value
- The eventStoreServerVersion to set.- Returns:
- This builder for chaining.
-
clearEventStoreServerVersion
public Serverfeatures.SupportedMethods.Builder clearEventStoreServerVersion()
string event_store_server_version = 2;
- Returns:
- This builder for chaining.
-
setEventStoreServerVersionBytes
public Serverfeatures.SupportedMethods.Builder setEventStoreServerVersionBytes(com.google.protobuf.ByteString value)
string event_store_server_version = 2;
- Parameters:
value
- The bytes for eventStoreServerVersion to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Serverfeatures.SupportedMethods.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
mergeUnknownFields
public final Serverfeatures.SupportedMethods.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethods.Builder>
-
-