Package io.axoniq.axonserver.grpc.query
Class QueryUpdate.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<QueryUpdate.Builder>
-
- io.axoniq.axonserver.grpc.query.QueryUpdate.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QueryUpdateOrBuilder,Cloneable
- Enclosing class:
- QueryUpdate
public static final class QueryUpdate.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryUpdate.Builder> implements QueryUpdateOrBuilder
A message containing an Update of a Query Subscription Response
Protobuf typeio.axoniq.axonserver.grpc.query.QueryUpdate
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description QueryUpdatebuild()QueryUpdatebuildPartial()QueryUpdate.Builderclear()QueryUpdate.BuilderclearClientId()The identifier of the Client instance providing the UpdateQueryUpdate.BuilderclearComponentName()The Component Name of the Client providing the UpdateQueryUpdate.BuilderclearErrorCode()An Error Code identifying the type of error, if anyQueryUpdate.BuilderclearErrorMessage()A detailed description of the error, if anyQueryUpdate.BuilderclearMessageIdentifier()The unique identifier of this UpdateQueryUpdate.BuilderclearMetaData()QueryUpdate.BuilderclearPayload()The object representing the UpdatebooleancontainsMetaData(String key)Meta Data providing contextual information of the UpdateStringgetClientId()The identifier of the Client instance providing the Updatecom.google.protobuf.ByteStringgetClientIdBytes()The identifier of the Client instance providing the UpdateStringgetComponentName()The Component Name of the Client providing the Updatecom.google.protobuf.ByteStringgetComponentNameBytes()The Component Name of the Client providing the UpdateQueryUpdategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetErrorCode()An Error Code identifying the type of error, if anycom.google.protobuf.ByteStringgetErrorCodeBytes()An Error Code identifying the type of error, if anyErrorMessagegetErrorMessage()A detailed description of the error, if anyErrorMessage.BuildergetErrorMessageBuilder()A detailed description of the error, if anyErrorMessageOrBuildergetErrorMessageOrBuilder()A detailed description of the error, if anyStringgetMessageIdentifier()The unique identifier of this Updatecom.google.protobuf.ByteStringgetMessageIdentifierBytes()The unique identifier of this UpdateMap<String,MetaDataValue>getMetaData()Deprecated.intgetMetaDataCount()Meta Data providing contextual information of the UpdateMap<String,MetaDataValue>getMetaDataMap()Meta Data providing contextual information of the UpdateMetaDataValuegetMetaDataOrDefault(String key, MetaDataValue defaultValue)Meta Data providing contextual information of the UpdateMetaDataValuegetMetaDataOrThrow(String key)Meta Data providing contextual information of the UpdateMap<String,MetaDataValue>getMutableMetaData()Deprecated.SerializedObjectgetPayload()The object representing the UpdateSerializedObject.BuildergetPayloadBuilder()The object representing the UpdateSerializedObjectOrBuildergetPayloadOrBuilder()The object representing the UpdatebooleanhasErrorMessage()A detailed description of the error, if anybooleanhasPayload()The object representing the Updateprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()QueryUpdate.BuildermergeErrorMessage(ErrorMessage value)A detailed description of the error, if anyQueryUpdate.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)QueryUpdate.BuildermergeFrom(com.google.protobuf.Message other)QueryUpdate.BuildermergeFrom(QueryUpdate other)QueryUpdate.BuildermergePayload(SerializedObject value)The object representing the UpdateQueryUpdate.BuilderputAllMetaData(Map<String,MetaDataValue> values)Meta Data providing contextual information of the UpdateQueryUpdate.BuilderputMetaData(String key, MetaDataValue value)Meta Data providing contextual information of the UpdateMetaDataValue.BuilderputMetaDataBuilderIfAbsent(String key)Meta Data providing contextual information of the UpdateQueryUpdate.BuilderremoveMetaData(String key)Meta Data providing contextual information of the UpdateQueryUpdate.BuildersetClientId(String value)The identifier of the Client instance providing the UpdateQueryUpdate.BuildersetClientIdBytes(com.google.protobuf.ByteString value)The identifier of the Client instance providing the UpdateQueryUpdate.BuildersetComponentName(String value)The Component Name of the Client providing the UpdateQueryUpdate.BuildersetComponentNameBytes(com.google.protobuf.ByteString value)The Component Name of the Client providing the UpdateQueryUpdate.BuildersetErrorCode(String value)An Error Code identifying the type of error, if anyQueryUpdate.BuildersetErrorCodeBytes(com.google.protobuf.ByteString value)An Error Code identifying the type of error, if anyQueryUpdate.BuildersetErrorMessage(ErrorMessage value)A detailed description of the error, if anyQueryUpdate.BuildersetErrorMessage(ErrorMessage.Builder builderForValue)A detailed description of the error, if anyQueryUpdate.BuildersetMessageIdentifier(String value)The unique identifier of this UpdateQueryUpdate.BuildersetMessageIdentifierBytes(com.google.protobuf.ByteString value)The unique identifier of this UpdateQueryUpdate.BuildersetPayload(SerializedObject value)The object representing the UpdateQueryUpdate.BuildersetPayload(SerializedObject.Builder builderForValue)The object representing the Update-
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<QueryUpdate.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<QueryUpdate.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QueryUpdate.Builder>
-
clear
public QueryUpdate.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<QueryUpdate.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<QueryUpdate.Builder>
-
getDefaultInstanceForType
public QueryUpdate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public QueryUpdate build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QueryUpdate buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public QueryUpdate.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryUpdate.Builder>
-
mergeFrom
public QueryUpdate.Builder mergeFrom(QueryUpdate other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QueryUpdate.Builder>
-
mergeFrom
public QueryUpdate.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<QueryUpdate.Builder>- Throws:
IOException
-
getMessageIdentifier
public String getMessageIdentifier()
The unique identifier of this Update
string message_identifier = 2;- Specified by:
getMessageIdentifierin interfaceQueryUpdateOrBuilder- Returns:
- The messageIdentifier.
-
getMessageIdentifierBytes
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of this Update
string message_identifier = 2;- Specified by:
getMessageIdentifierBytesin interfaceQueryUpdateOrBuilder- Returns:
- The bytes for messageIdentifier.
-
setMessageIdentifier
public QueryUpdate.Builder setMessageIdentifier(String value)
The unique identifier of this Update
string message_identifier = 2;- Parameters:
value- The messageIdentifier to set.- Returns:
- This builder for chaining.
-
clearMessageIdentifier
public QueryUpdate.Builder clearMessageIdentifier()
The unique identifier of this Update
string message_identifier = 2;- Returns:
- This builder for chaining.
-
setMessageIdentifierBytes
public QueryUpdate.Builder setMessageIdentifierBytes(com.google.protobuf.ByteString value)
The unique identifier of this Update
string message_identifier = 2;- Parameters:
value- The bytes for messageIdentifier to set.- Returns:
- This builder for chaining.
-
hasPayload
public boolean hasPayload()
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;- Specified by:
hasPayloadin interfaceQueryUpdateOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public SerializedObject getPayload()
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;- Specified by:
getPayloadin interfaceQueryUpdateOrBuilder- Returns:
- The payload.
-
setPayload
public QueryUpdate.Builder setPayload(SerializedObject value)
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;
-
setPayload
public QueryUpdate.Builder setPayload(SerializedObject.Builder builderForValue)
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;
-
mergePayload
public QueryUpdate.Builder mergePayload(SerializedObject value)
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;
-
clearPayload
public QueryUpdate.Builder clearPayload()
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;
-
getPayloadBuilder
public SerializedObject.Builder getPayloadBuilder()
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;
-
getPayloadOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
The object representing the Update
.io.axoniq.axonserver.grpc.SerializedObject payload = 3;- Specified by:
getPayloadOrBuilderin interfaceQueryUpdateOrBuilder
-
getMetaDataCount
public int getMetaDataCount()
Description copied from interface:QueryUpdateOrBuilderMeta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
getMetaDataCountin interfaceQueryUpdateOrBuilder
-
containsMetaData
public boolean containsMetaData(String key)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
containsMetaDatain interfaceQueryUpdateOrBuilder
-
getMetaData
@Deprecated public Map<String,MetaDataValue> getMetaData()
Deprecated.UsegetMetaDataMap()instead.- Specified by:
getMetaDatain interfaceQueryUpdateOrBuilder
-
getMetaDataMap
public Map<String,MetaDataValue> getMetaDataMap()
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
getMetaDataMapin interfaceQueryUpdateOrBuilder
-
getMetaDataOrDefault
public MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
getMetaDataOrDefaultin interfaceQueryUpdateOrBuilder
-
getMetaDataOrThrow
public MetaDataValue getMetaDataOrThrow(String key)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;- Specified by:
getMetaDataOrThrowin interfaceQueryUpdateOrBuilder
-
clearMetaData
public QueryUpdate.Builder clearMetaData()
-
removeMetaData
public QueryUpdate.Builder removeMetaData(String key)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;
-
getMutableMetaData
@Deprecated public Map<String,MetaDataValue> getMutableMetaData()
Deprecated.Use alternate mutation accessors instead.
-
putMetaData
public QueryUpdate.Builder putMetaData(String key, MetaDataValue value)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;
-
putAllMetaData
public QueryUpdate.Builder putAllMetaData(Map<String,MetaDataValue> values)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;
-
putMetaDataBuilderIfAbsent
public MetaDataValue.Builder putMetaDataBuilderIfAbsent(String key)
Meta Data providing contextual information of the Update
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 4;
-
getClientId
public String getClientId()
The identifier of the Client instance providing the Update
string client_id = 5;- Specified by:
getClientIdin interfaceQueryUpdateOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
The identifier of the Client instance providing the Update
string client_id = 5;- Specified by:
getClientIdBytesin interfaceQueryUpdateOrBuilder- Returns:
- The bytes for clientId.
-
setClientId
public QueryUpdate.Builder setClientId(String value)
The identifier of the Client instance providing the Update
string client_id = 5;- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
public QueryUpdate.Builder clearClientId()
The identifier of the Client instance providing the Update
string client_id = 5;- Returns:
- This builder for chaining.
-
setClientIdBytes
public QueryUpdate.Builder setClientIdBytes(com.google.protobuf.ByteString value)
The identifier of the Client instance providing the Update
string client_id = 5;- Parameters:
value- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
getComponentName
public String getComponentName()
The Component Name of the Client providing the Update
string component_name = 6;- Specified by:
getComponentNamein interfaceQueryUpdateOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()
The Component Name of the Client providing the Update
string component_name = 6;- Specified by:
getComponentNameBytesin interfaceQueryUpdateOrBuilder- Returns:
- The bytes for componentName.
-
setComponentName
public QueryUpdate.Builder setComponentName(String value)
The Component Name of the Client providing the Update
string component_name = 6;- Parameters:
value- The componentName to set.- Returns:
- This builder for chaining.
-
clearComponentName
public QueryUpdate.Builder clearComponentName()
The Component Name of the Client providing the Update
string component_name = 6;- Returns:
- This builder for chaining.
-
setComponentNameBytes
public QueryUpdate.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
The Component Name of the Client providing the Update
string component_name = 6;- Parameters:
value- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
getErrorCode
public String getErrorCode()
An Error Code identifying the type of error, if any
string error_code = 7;- Specified by:
getErrorCodein interfaceQueryUpdateOrBuilder- Returns:
- The errorCode.
-
getErrorCodeBytes
public com.google.protobuf.ByteString getErrorCodeBytes()
An Error Code identifying the type of error, if any
string error_code = 7;- Specified by:
getErrorCodeBytesin interfaceQueryUpdateOrBuilder- Returns:
- The bytes for errorCode.
-
setErrorCode
public QueryUpdate.Builder setErrorCode(String value)
An Error Code identifying the type of error, if any
string error_code = 7;- Parameters:
value- The errorCode to set.- Returns:
- This builder for chaining.
-
clearErrorCode
public QueryUpdate.Builder clearErrorCode()
An Error Code identifying the type of error, if any
string error_code = 7;- Returns:
- This builder for chaining.
-
setErrorCodeBytes
public QueryUpdate.Builder setErrorCodeBytes(com.google.protobuf.ByteString value)
An Error Code identifying the type of error, if any
string error_code = 7;- Parameters:
value- The bytes for errorCode to set.- Returns:
- This builder for chaining.
-
hasErrorMessage
public boolean hasErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;- Specified by:
hasErrorMessagein interfaceQueryUpdateOrBuilder- Returns:
- Whether the errorMessage field is set.
-
getErrorMessage
public ErrorMessage getErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;- Specified by:
getErrorMessagein interfaceQueryUpdateOrBuilder- Returns:
- The errorMessage.
-
setErrorMessage
public QueryUpdate.Builder setErrorMessage(ErrorMessage value)
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;
-
setErrorMessage
public QueryUpdate.Builder setErrorMessage(ErrorMessage.Builder builderForValue)
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;
-
mergeErrorMessage
public QueryUpdate.Builder mergeErrorMessage(ErrorMessage value)
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;
-
clearErrorMessage
public QueryUpdate.Builder clearErrorMessage()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;
-
getErrorMessageBuilder
public ErrorMessage.Builder getErrorMessageBuilder()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;
-
getErrorMessageOrBuilder
public ErrorMessageOrBuilder getErrorMessageOrBuilder()
A detailed description of the error, if any
.io.axoniq.axonserver.grpc.ErrorMessage error_message = 8;- Specified by:
getErrorMessageOrBuilderin interfaceQueryUpdateOrBuilder
-
-