Class Serverfeatures.SupportedMethod.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
- com.eventstore.dbclient.proto.serverfeatures.Serverfeatures.SupportedMethod.Builder
-
- All Implemented Interfaces:
Serverfeatures.SupportedMethodOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Serverfeatures.SupportedMethod
public static final class Serverfeatures.SupportedMethod.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder> implements Serverfeatures.SupportedMethodOrBuilder
Protobuf typeevent_store.client.server_features.SupportedMethod
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Serverfeatures.SupportedMethod.BuilderaddAllFeatures(java.lang.Iterable<java.lang.String> values)repeated string features = 3;Serverfeatures.SupportedMethod.BuilderaddFeatures(java.lang.String value)repeated string features = 3;Serverfeatures.SupportedMethod.BuilderaddFeaturesBytes(com.google.protobuf.ByteString value)repeated string features = 3;Serverfeatures.SupportedMethod.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Serverfeatures.SupportedMethodbuild()Serverfeatures.SupportedMethodbuildPartial()Serverfeatures.SupportedMethod.Builderclear()Serverfeatures.SupportedMethod.BuilderclearFeatures()repeated string features = 3;Serverfeatures.SupportedMethod.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Serverfeatures.SupportedMethod.BuilderclearMethodName()string method_name = 1;Serverfeatures.SupportedMethod.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Serverfeatures.SupportedMethod.BuilderclearServiceName()string service_name = 2;Serverfeatures.SupportedMethod.Builderclone()Serverfeatures.SupportedMethodgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetFeatures(int index)repeated string features = 3;com.google.protobuf.ByteStringgetFeaturesBytes(int index)repeated string features = 3;intgetFeaturesCount()repeated string features = 3;com.google.protobuf.ProtocolStringListgetFeaturesList()repeated string features = 3;java.lang.StringgetMethodName()string method_name = 1;com.google.protobuf.ByteStringgetMethodNameBytes()string method_name = 1;java.lang.StringgetServiceName()string service_name = 2;com.google.protobuf.ByteStringgetServiceNameBytes()string service_name = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Serverfeatures.SupportedMethod.BuildermergeFrom(Serverfeatures.SupportedMethod other)Serverfeatures.SupportedMethod.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Serverfeatures.SupportedMethod.BuildermergeFrom(com.google.protobuf.Message other)Serverfeatures.SupportedMethod.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Serverfeatures.SupportedMethod.BuildersetFeatures(int index, java.lang.String value)repeated string features = 3;Serverfeatures.SupportedMethod.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Serverfeatures.SupportedMethod.BuildersetMethodName(java.lang.String value)string method_name = 1;Serverfeatures.SupportedMethod.BuildersetMethodNameBytes(com.google.protobuf.ByteString value)string method_name = 1;Serverfeatures.SupportedMethod.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Serverfeatures.SupportedMethod.BuildersetServiceName(java.lang.String value)string service_name = 2;Serverfeatures.SupportedMethod.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)string service_name = 2;Serverfeatures.SupportedMethod.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
clear
public Serverfeatures.SupportedMethod.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.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.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
getDefaultInstanceForType
public Serverfeatures.SupportedMethod getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Serverfeatures.SupportedMethod build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Serverfeatures.SupportedMethod buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Serverfeatures.SupportedMethod.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
setField
public Serverfeatures.SupportedMethod.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
clearField
public Serverfeatures.SupportedMethod.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
clearOneof
public Serverfeatures.SupportedMethod.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
setRepeatedField
public Serverfeatures.SupportedMethod.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
addRepeatedField
public Serverfeatures.SupportedMethod.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethod.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Serverfeatures.SupportedMethod.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethod.Builder mergeFrom(Serverfeatures.SupportedMethod other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethod.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Serverfeatures.SupportedMethod.Builder>- Throws:
java.io.IOException
-
getMethodName
public java.lang.String getMethodName()
string method_name = 1;- Specified by:
getMethodNamein interfaceServerfeatures.SupportedMethodOrBuilder- Returns:
- The methodName.
-
getMethodNameBytes
public com.google.protobuf.ByteString getMethodNameBytes()
string method_name = 1;- Specified by:
getMethodNameBytesin interfaceServerfeatures.SupportedMethodOrBuilder- Returns:
- The bytes for methodName.
-
setMethodName
public Serverfeatures.SupportedMethod.Builder setMethodName(java.lang.String value)
string method_name = 1;- Parameters:
value- The methodName to set.- Returns:
- This builder for chaining.
-
clearMethodName
public Serverfeatures.SupportedMethod.Builder clearMethodName()
string method_name = 1;- Returns:
- This builder for chaining.
-
setMethodNameBytes
public Serverfeatures.SupportedMethod.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
string method_name = 1;- Parameters:
value- The bytes for methodName to set.- Returns:
- This builder for chaining.
-
getServiceName
public java.lang.String getServiceName()
string service_name = 2;- Specified by:
getServiceNamein interfaceServerfeatures.SupportedMethodOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
string service_name = 2;- Specified by:
getServiceNameBytesin interfaceServerfeatures.SupportedMethodOrBuilder- Returns:
- The bytes for serviceName.
-
setServiceName
public Serverfeatures.SupportedMethod.Builder setServiceName(java.lang.String value)
string service_name = 2;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
public Serverfeatures.SupportedMethod.Builder clearServiceName()
string service_name = 2;- Returns:
- This builder for chaining.
-
setServiceNameBytes
public Serverfeatures.SupportedMethod.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
string service_name = 2;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
getFeaturesList
public com.google.protobuf.ProtocolStringList getFeaturesList()
repeated string features = 3;- Specified by:
getFeaturesListin interfaceServerfeatures.SupportedMethodOrBuilder- Returns:
- A list containing the features.
-
getFeaturesCount
public int getFeaturesCount()
repeated string features = 3;- Specified by:
getFeaturesCountin interfaceServerfeatures.SupportedMethodOrBuilder- Returns:
- The count of features.
-
getFeatures
public java.lang.String getFeatures(int index)
repeated string features = 3;- Specified by:
getFeaturesin interfaceServerfeatures.SupportedMethodOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The features at the given index.
-
getFeaturesBytes
public com.google.protobuf.ByteString getFeaturesBytes(int index)
repeated string features = 3;- Specified by:
getFeaturesBytesin interfaceServerfeatures.SupportedMethodOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the features at the given index.
-
setFeatures
public Serverfeatures.SupportedMethod.Builder setFeatures(int index, java.lang.String value)
repeated string features = 3;- Parameters:
index- The index to set the value at.value- The features to set.- Returns:
- This builder for chaining.
-
addFeatures
public Serverfeatures.SupportedMethod.Builder addFeatures(java.lang.String value)
repeated string features = 3;- Parameters:
value- The features to add.- Returns:
- This builder for chaining.
-
addAllFeatures
public Serverfeatures.SupportedMethod.Builder addAllFeatures(java.lang.Iterable<java.lang.String> values)
repeated string features = 3;- Parameters:
values- The features to add.- Returns:
- This builder for chaining.
-
clearFeatures
public Serverfeatures.SupportedMethod.Builder clearFeatures()
repeated string features = 3;- Returns:
- This builder for chaining.
-
addFeaturesBytes
public Serverfeatures.SupportedMethod.Builder addFeaturesBytes(com.google.protobuf.ByteString value)
repeated string features = 3;- Parameters:
value- The bytes of the features to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Serverfeatures.SupportedMethod.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
mergeUnknownFields
public final Serverfeatures.SupportedMethod.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
-