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.Builder
addAllFeatures(java.lang.Iterable<java.lang.String> values)
repeated string features = 3;
Serverfeatures.SupportedMethod.Builder
addFeatures(java.lang.String value)
repeated string features = 3;
Serverfeatures.SupportedMethod.Builder
addFeaturesBytes(com.google.protobuf.ByteString value)
repeated string features = 3;
Serverfeatures.SupportedMethod.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Serverfeatures.SupportedMethod
build()
Serverfeatures.SupportedMethod
buildPartial()
Serverfeatures.SupportedMethod.Builder
clear()
Serverfeatures.SupportedMethod.Builder
clearFeatures()
repeated string features = 3;
Serverfeatures.SupportedMethod.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Serverfeatures.SupportedMethod.Builder
clearMethodName()
string method_name = 1;
Serverfeatures.SupportedMethod.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Serverfeatures.SupportedMethod.Builder
clearServiceName()
string service_name = 2;
Serverfeatures.SupportedMethod.Builder
clone()
Serverfeatures.SupportedMethod
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getFeatures(int index)
repeated string features = 3;
com.google.protobuf.ByteString
getFeaturesBytes(int index)
repeated string features = 3;
int
getFeaturesCount()
repeated string features = 3;
com.google.protobuf.ProtocolStringList
getFeaturesList()
repeated string features = 3;
java.lang.String
getMethodName()
string method_name = 1;
com.google.protobuf.ByteString
getMethodNameBytes()
string method_name = 1;
java.lang.String
getServiceName()
string service_name = 2;
com.google.protobuf.ByteString
getServiceNameBytes()
string service_name = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Serverfeatures.SupportedMethod.Builder
mergeFrom(Serverfeatures.SupportedMethod other)
Serverfeatures.SupportedMethod.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Serverfeatures.SupportedMethod.Builder
mergeFrom(com.google.protobuf.Message other)
Serverfeatures.SupportedMethod.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Serverfeatures.SupportedMethod.Builder
setFeatures(int index, java.lang.String value)
repeated string features = 3;
Serverfeatures.SupportedMethod.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Serverfeatures.SupportedMethod.Builder
setMethodName(java.lang.String value)
string method_name = 1;
Serverfeatures.SupportedMethod.Builder
setMethodNameBytes(com.google.protobuf.ByteString value)
string method_name = 1;
Serverfeatures.SupportedMethod.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Serverfeatures.SupportedMethod.Builder
setServiceName(java.lang.String value)
string service_name = 2;
Serverfeatures.SupportedMethod.Builder
setServiceNameBytes(com.google.protobuf.ByteString value)
string service_name = 2;
Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
clear
public Serverfeatures.SupportedMethod.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.SupportedMethod.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.SupportedMethod.Builder>
-
getDefaultInstanceForType
public Serverfeatures.SupportedMethod getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Serverfeatures.SupportedMethod build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Serverfeatures.SupportedMethod buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
setField
public Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
clearField
public Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
clearOneof
public Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
setRepeatedField
public Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
addRepeatedField
public Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
mergeFrom
public Serverfeatures.SupportedMethod.Builder mergeFrom(Serverfeatures.SupportedMethod other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.SupportedMethod.Builder>
- Throws:
java.io.IOException
-
getMethodName
public java.lang.String getMethodName()
string method_name = 1;
- Specified by:
getMethodName
in interfaceServerfeatures.SupportedMethodOrBuilder
- Returns:
- The methodName.
-
getMethodNameBytes
public com.google.protobuf.ByteString getMethodNameBytes()
string method_name = 1;
- Specified by:
getMethodNameBytes
in 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:
getServiceName
in interfaceServerfeatures.SupportedMethodOrBuilder
- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
string service_name = 2;
- Specified by:
getServiceNameBytes
in 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:
getFeaturesList
in interfaceServerfeatures.SupportedMethodOrBuilder
- Returns:
- A list containing the features.
-
getFeaturesCount
public int getFeaturesCount()
repeated string features = 3;
- Specified by:
getFeaturesCount
in interfaceServerfeatures.SupportedMethodOrBuilder
- Returns:
- The count of features.
-
getFeatures
public java.lang.String getFeatures(int index)
repeated string features = 3;
- Specified by:
getFeatures
in 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:
getFeaturesBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Serverfeatures.SupportedMethod.Builder>
-
mergeUnknownFields
public final Serverfeatures.SupportedMethod.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.SupportedMethod.Builder>
-
-