Class Serverfeatures.SupportedMethod.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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,Cloneable
- Enclosing class:
- Serverfeatures.SupportedMethod
public static final class Serverfeatures.SupportedMethod.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Serverfeatures.SupportedMethod.Builder>
implements Serverfeatures.SupportedMethodOrBuilder
Protobuf type
event_store.client.server_features.SupportedMethod-
Method Summary
Modifier and TypeMethodDescriptionaddAllFeatures(Iterable<String> values) repeated string features = 3;addFeatures(String value) repeated string features = 3;addFeaturesBytes(com.google.protobuf.ByteString value) repeated string features = 3;build()clear()repeated string features = 3;string method_name = 1;string service_name = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFeatures(int index) repeated string features = 3;com.google.protobuf.ByteStringgetFeaturesBytes(int index) repeated string features = 3;intrepeated string features = 3;com.google.protobuf.ProtocolStringListrepeated string features = 3;string method_name = 1;com.google.protobuf.ByteStringstring method_name = 1;string service_name = 2;com.google.protobuf.ByteStringstring service_name = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFeatures(int index, String value) repeated string features = 3;setMethodName(String value) string method_name = 1;setMethodNameBytes(com.google.protobuf.ByteString value) string method_name = 1;setServiceName(String value) string service_name = 2;setServiceNameBytes(com.google.protobuf.ByteString value) string service_name = 2;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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.Builder<Serverfeatures.SupportedMethod.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<Serverfeatures.SupportedMethod.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Serverfeatures.SupportedMethod.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethod.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<Serverfeatures.SupportedMethod.Builder>- Throws:
IOException
-
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
string method_name = 1;- Parameters:
value- The methodName to set.- Returns:
- This builder for chaining.
-
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
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
string service_name = 2;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
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
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
repeated string features = 3;- Parameters:
index- The index to set the value at.value- The features to set.- Returns:
- This builder for chaining.
-
addFeatures
repeated string features = 3;- Parameters:
value- The features to add.- Returns:
- This builder for chaining.
-
addAllFeatures
repeated string features = 3;- Parameters:
values- The features to add.- Returns:
- This builder for chaining.
-
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.
-