Class ClientIdentification.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<ClientIdentification.Builder>
-
- io.axoniq.axonserver.grpc.control.ClientIdentification.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ClientIdentificationOrBuilder,Cloneable
- Enclosing class:
- ClientIdentification
public static final class ClientIdentification.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientIdentification.Builder> implements ClientIdentificationOrBuilder
Message containing details about the Client Application
Protobuf typeio.axoniq.axonserver.grpc.control.ClientIdentification
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClientIdentificationbuild()ClientIdentificationbuildPartial()ClientIdentification.Builderclear()ClientIdentification.BuilderclearClientId()A unique identifier for this client instance.ClientIdentification.BuilderclearComponentName()The name of the component.ClientIdentification.BuilderclearTags()ClientIdentification.BuilderclearVersion()Axon framework version used by the client application instancebooleancontainsTags(String key)Any tags associated with the client, which may provide hints and preferences for setting up connectionsStringgetClientId()A unique identifier for this client instance.com.google.protobuf.ByteStringgetClientIdBytes()A unique identifier for this client instance.StringgetComponentName()The name of the component.com.google.protobuf.ByteStringgetComponentNameBytes()The name of the component.ClientIdentificationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,String>getMutableTags()Deprecated.Map<String,String>getTags()Deprecated.intgetTagsCount()Any tags associated with the client, which may provide hints and preferences for setting up connectionsMap<String,String>getTagsMap()Any tags associated with the client, which may provide hints and preferences for setting up connectionsStringgetTagsOrDefault(String key, String defaultValue)Any tags associated with the client, which may provide hints and preferences for setting up connectionsStringgetTagsOrThrow(String key)Any tags associated with the client, which may provide hints and preferences for setting up connectionsStringgetVersion()Axon framework version used by the client application instancecom.google.protobuf.ByteStringgetVersionBytes()Axon framework version used by the client application instanceprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()ClientIdentification.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ClientIdentification.BuildermergeFrom(com.google.protobuf.Message other)ClientIdentification.BuildermergeFrom(ClientIdentification other)ClientIdentification.BuilderputAllTags(Map<String,String> values)Any tags associated with the client, which may provide hints and preferences for setting up connectionsClientIdentification.BuilderputTags(String key, String value)Any tags associated with the client, which may provide hints and preferences for setting up connectionsClientIdentification.BuilderremoveTags(String key)Any tags associated with the client, which may provide hints and preferences for setting up connectionsClientIdentification.BuildersetClientId(String value)A unique identifier for this client instance.ClientIdentification.BuildersetClientIdBytes(com.google.protobuf.ByteString value)A unique identifier for this client instance.ClientIdentification.BuildersetComponentName(String value)The name of the component.ClientIdentification.BuildersetComponentNameBytes(com.google.protobuf.ByteString value)The name of the component.ClientIdentification.BuildersetVersion(String value)Axon framework version used by the client application instanceClientIdentification.BuildersetVersionBytes(com.google.protobuf.ByteString value)Axon framework version used by the client application instance-
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, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ClientIdentification.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ClientIdentification.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ClientIdentification.Builder>
-
clear
public ClientIdentification.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<ClientIdentification.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<ClientIdentification.Builder>
-
getDefaultInstanceForType
public ClientIdentification getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClientIdentification build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClientIdentification buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ClientIdentification.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ClientIdentification.Builder>
-
mergeFrom
public ClientIdentification.Builder mergeFrom(ClientIdentification other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ClientIdentification.Builder>
-
mergeFrom
public ClientIdentification.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<ClientIdentification.Builder>- Throws:
IOException
-
getClientId
public String getClientId()
A unique identifier for this client instance. Is used to distinguish different instances of the same component
string client_id = 1;- Specified by:
getClientIdin interfaceClientIdentificationOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
A unique identifier for this client instance. Is used to distinguish different instances of the same component
string client_id = 1;- Specified by:
getClientIdBytesin interfaceClientIdentificationOrBuilder- Returns:
- The bytes for clientId.
-
setClientId
public ClientIdentification.Builder setClientId(String value)
A unique identifier for this client instance. Is used to distinguish different instances of the same component
string client_id = 1;- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
public ClientIdentification.Builder clearClientId()
A unique identifier for this client instance. Is used to distinguish different instances of the same component
string client_id = 1;- Returns:
- This builder for chaining.
-
setClientIdBytes
public ClientIdentification.Builder setClientIdBytes(com.google.protobuf.ByteString value)
A unique identifier for this client instance. Is used to distinguish different instances of the same component
string client_id = 1;- Parameters:
value- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
getComponentName
public String getComponentName()
The name of the component. Several instances of the same component should share this name
string component_name = 2;- Specified by:
getComponentNamein interfaceClientIdentificationOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()
The name of the component. Several instances of the same component should share this name
string component_name = 2;- Specified by:
getComponentNameBytesin interfaceClientIdentificationOrBuilder- Returns:
- The bytes for componentName.
-
setComponentName
public ClientIdentification.Builder setComponentName(String value)
The name of the component. Several instances of the same component should share this name
string component_name = 2;- Parameters:
value- The componentName to set.- Returns:
- This builder for chaining.
-
clearComponentName
public ClientIdentification.Builder clearComponentName()
The name of the component. Several instances of the same component should share this name
string component_name = 2;- Returns:
- This builder for chaining.
-
setComponentNameBytes
public ClientIdentification.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
The name of the component. Several instances of the same component should share this name
string component_name = 2;- Parameters:
value- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
getTagsCount
public int getTagsCount()
Description copied from interface:ClientIdentificationOrBuilderAny tags associated with the client, which may provide hints and preferences for setting up connections
map<string, string> tags = 3;- Specified by:
getTagsCountin interfaceClientIdentificationOrBuilder
-
containsTags
public boolean containsTags(String key)
Any tags associated with the client, which may provide hints and preferences for setting up connections
map<string, string> tags = 3;- Specified by:
containsTagsin interfaceClientIdentificationOrBuilder
-
getTags
@Deprecated public Map<String,String> getTags()
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceClientIdentificationOrBuilder
-
getTagsMap
public Map<String,String> getTagsMap()
Any tags associated with the client, which may provide hints and preferences for setting up connections
map<string, string> tags = 3;- Specified by:
getTagsMapin interfaceClientIdentificationOrBuilder
-
getTagsOrDefault
public String getTagsOrDefault(String key, String defaultValue)
Any tags associated with the client, which may provide hints and preferences for setting up connections
map<string, string> tags = 3;- Specified by:
getTagsOrDefaultin interfaceClientIdentificationOrBuilder
-
getTagsOrThrow
public String getTagsOrThrow(String key)
Any tags associated with the client, which may provide hints and preferences for setting up connections
map<string, string> tags = 3;- Specified by:
getTagsOrThrowin interfaceClientIdentificationOrBuilder
-
clearTags
public ClientIdentification.Builder clearTags()
-
removeTags
public ClientIdentification.Builder removeTags(String key)
Any tags associated with the client, which may provide hints and preferences for setting up connections
map<string, string> tags = 3;
-
getMutableTags
@Deprecated public Map<String,String> getMutableTags()
Deprecated.Use alternate mutation accessors instead.
-
putTags
public ClientIdentification.Builder putTags(String key, String value)
Any tags associated with the client, which may provide hints and preferences for setting up connections
map<string, string> tags = 3;
-
putAllTags
public ClientIdentification.Builder putAllTags(Map<String,String> values)
Any tags associated with the client, which may provide hints and preferences for setting up connections
map<string, string> tags = 3;
-
getVersion
public String getVersion()
Axon framework version used by the client application instance
string version = 4;- Specified by:
getVersionin interfaceClientIdentificationOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
Axon framework version used by the client application instance
string version = 4;- Specified by:
getVersionBytesin interfaceClientIdentificationOrBuilder- Returns:
- The bytes for version.
-
setVersion
public ClientIdentification.Builder setVersion(String value)
Axon framework version used by the client application instance
string version = 4;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public ClientIdentification.Builder clearVersion()
Axon framework version used by the client application instance
string version = 4;- Returns:
- This builder for chaining.
-
setVersionBytes
public ClientIdentification.Builder setVersionBytes(com.google.protobuf.ByteString value)
Axon framework version used by the client application instance
string version = 4;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
-