public static final class Command.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder> implements CommandOrBuilder
io.axoniq.axonserver.grpc.command.Command
Modifier and Type | Method and Description |
---|---|
Command.Builder |
addAllProcessingInstructions(Iterable<? extends ProcessingInstruction> values)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
addProcessingInstructions(int index,
ProcessingInstruction.Builder builderForValue)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
addProcessingInstructions(int index,
ProcessingInstruction value)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
addProcessingInstructions(ProcessingInstruction.Builder builderForValue)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
addProcessingInstructions(ProcessingInstruction value)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
ProcessingInstruction.Builder |
addProcessingInstructionsBuilder()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
ProcessingInstruction.Builder |
addProcessingInstructionsBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Command |
build() |
Command |
buildPartial() |
Command.Builder |
clear() |
Command.Builder |
clearClientId()
string client_id = 7; |
Command.Builder |
clearComponentName()
string component_name = 8; |
Command.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Command.Builder |
clearMessageIdentifier()
A message id
|
Command.Builder |
clearMetaData() |
Command.Builder |
clearName()
string name = 2; |
Command.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Command.Builder |
clearPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
Command.Builder |
clearProcessingInstructions()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
clearTimestamp()
int64 timestamp = 3; |
Command.Builder |
clone() |
boolean |
containsMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
String |
getClientId()
string client_id = 7; |
com.google.protobuf.ByteString |
getClientIdBytes()
string client_id = 7; |
String |
getComponentName()
string component_name = 8; |
com.google.protobuf.ByteString |
getComponentNameBytes()
string component_name = 8; |
Command |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMessageIdentifier()
A message id
|
com.google.protobuf.ByteString |
getMessageIdentifierBytes()
A message id
|
Map<String,MetaDataValue> |
getMetaData()
Deprecated.
|
int |
getMetaDataCount()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
Map<String,MetaDataValue> |
getMetaDataMap()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
MetaDataValue |
getMetaDataOrThrow(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
Map<String,MetaDataValue> |
getMutableMetaData()
Deprecated.
|
String |
getName()
string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 2; |
SerializedObject |
getPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
SerializedObject.Builder |
getPayloadBuilder()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
SerializedObjectOrBuilder |
getPayloadOrBuilder()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
ProcessingInstruction |
getProcessingInstructions(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
ProcessingInstruction.Builder |
getProcessingInstructionsBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
List<ProcessingInstruction.Builder> |
getProcessingInstructionsBuilderList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
int |
getProcessingInstructionsCount()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
List<ProcessingInstruction> |
getProcessingInstructionsList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
ProcessingInstructionOrBuilder |
getProcessingInstructionsOrBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
List<? extends ProcessingInstructionOrBuilder> |
getProcessingInstructionsOrBuilderList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
long |
getTimestamp()
int64 timestamp = 3; |
boolean |
hasPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Command.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Command.Builder |
mergeFrom(Command other) |
Command.Builder |
mergeFrom(com.google.protobuf.Message other) |
Command.Builder |
mergePayload(SerializedObject value)
.io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
Command.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Command.Builder |
putAllMetaData(Map<String,MetaDataValue> values)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
Command.Builder |
putMetaData(String key,
MetaDataValue value)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
Command.Builder |
removeMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5; |
Command.Builder |
removeProcessingInstructions(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
setClientId(String value)
string client_id = 7; |
Command.Builder |
setClientIdBytes(com.google.protobuf.ByteString value)
string client_id = 7; |
Command.Builder |
setComponentName(String value)
string component_name = 8; |
Command.Builder |
setComponentNameBytes(com.google.protobuf.ByteString value)
string component_name = 8; |
Command.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Command.Builder |
setMessageIdentifier(String value)
A message id
|
Command.Builder |
setMessageIdentifierBytes(com.google.protobuf.ByteString value)
A message id
|
Command.Builder |
setName(String value)
string name = 2; |
Command.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 2; |
Command.Builder |
setPayload(SerializedObject.Builder builderForValue)
.io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
Command.Builder |
setPayload(SerializedObject value)
.io.axoniq.axonserver.grpc.SerializedObject payload = 4; |
Command.Builder |
setProcessingInstructions(int index,
ProcessingInstruction.Builder builderForValue)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
setProcessingInstructions(int index,
ProcessingInstruction value)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6; |
Command.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Command.Builder |
setTimestamp(long value)
int64 timestamp = 3; |
Command.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Command build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Command buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Command.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Command.Builder>
public Command.Builder mergeFrom(Command other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public Command.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Command.Builder>
IOException
public String getMessageIdentifier()
A message id
string message_identifier = 1;
getMessageIdentifier
in interface CommandOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
A message id
string message_identifier = 1;
getMessageIdentifierBytes
in interface CommandOrBuilder
public Command.Builder setMessageIdentifier(String value)
A message id
string message_identifier = 1;
public Command.Builder clearMessageIdentifier()
A message id
string message_identifier = 1;
public Command.Builder setMessageIdentifierBytes(com.google.protobuf.ByteString value)
A message id
string message_identifier = 1;
public String getName()
string name = 2;
getName
in interface CommandOrBuilder
public com.google.protobuf.ByteString getNameBytes()
string name = 2;
getNameBytes
in interface CommandOrBuilder
public Command.Builder setName(String value)
string name = 2;
public Command.Builder clearName()
string name = 2;
public Command.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 2;
public long getTimestamp()
int64 timestamp = 3;
getTimestamp
in interface CommandOrBuilder
public Command.Builder setTimestamp(long value)
int64 timestamp = 3;
public Command.Builder clearTimestamp()
int64 timestamp = 3;
public boolean hasPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
hasPayload
in interface CommandOrBuilder
public SerializedObject getPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
getPayload
in interface CommandOrBuilder
public Command.Builder setPayload(SerializedObject value)
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
public Command.Builder setPayload(SerializedObject.Builder builderForValue)
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
public Command.Builder mergePayload(SerializedObject value)
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
public Command.Builder clearPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
public SerializedObject.Builder getPayloadBuilder()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
public SerializedObjectOrBuilder getPayloadOrBuilder()
.io.axoniq.axonserver.grpc.SerializedObject payload = 4;
getPayloadOrBuilder
in interface CommandOrBuilder
public int getMetaDataCount()
CommandOrBuilder
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataCount
in interface CommandOrBuilder
public boolean containsMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
containsMetaData
in interface CommandOrBuilder
@Deprecated public Map<String,MetaDataValue> getMetaData()
getMetaDataMap()
instead.getMetaData
in interface CommandOrBuilder
public Map<String,MetaDataValue> getMetaDataMap()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataMap
in interface CommandOrBuilder
public MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataOrDefault
in interface CommandOrBuilder
public MetaDataValue getMetaDataOrThrow(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
getMetaDataOrThrow
in interface CommandOrBuilder
public Command.Builder clearMetaData()
public Command.Builder removeMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
@Deprecated public Map<String,MetaDataValue> getMutableMetaData()
public Command.Builder putMetaData(String key, MetaDataValue value)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
public Command.Builder putAllMetaData(Map<String,MetaDataValue> values)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 5;
public List<ProcessingInstruction> getProcessingInstructionsList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsList
in interface CommandOrBuilder
public int getProcessingInstructionsCount()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsCount
in interface CommandOrBuilder
public ProcessingInstruction getProcessingInstructions(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructions
in interface CommandOrBuilder
public Command.Builder setProcessingInstructions(int index, ProcessingInstruction value)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public Command.Builder setProcessingInstructions(int index, ProcessingInstruction.Builder builderForValue)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public Command.Builder addProcessingInstructions(ProcessingInstruction value)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public Command.Builder addProcessingInstructions(int index, ProcessingInstruction value)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public Command.Builder addProcessingInstructions(ProcessingInstruction.Builder builderForValue)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public Command.Builder addProcessingInstructions(int index, ProcessingInstruction.Builder builderForValue)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public Command.Builder addAllProcessingInstructions(Iterable<? extends ProcessingInstruction> values)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public Command.Builder clearProcessingInstructions()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public Command.Builder removeProcessingInstructions(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public ProcessingInstruction.Builder getProcessingInstructionsBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public ProcessingInstructionOrBuilder getProcessingInstructionsOrBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsOrBuilder
in interface CommandOrBuilder
public List<? extends ProcessingInstructionOrBuilder> getProcessingInstructionsOrBuilderList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
getProcessingInstructionsOrBuilderList
in interface CommandOrBuilder
public ProcessingInstruction.Builder addProcessingInstructionsBuilder()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public ProcessingInstruction.Builder addProcessingInstructionsBuilder(int index)
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public List<ProcessingInstruction.Builder> getProcessingInstructionsBuilderList()
repeated .io.axoniq.axonserver.grpc.ProcessingInstruction processing_instructions = 6;
public String getClientId()
string client_id = 7;
getClientId
in interface CommandOrBuilder
public com.google.protobuf.ByteString getClientIdBytes()
string client_id = 7;
getClientIdBytes
in interface CommandOrBuilder
public Command.Builder setClientId(String value)
string client_id = 7;
public Command.Builder clearClientId()
string client_id = 7;
public Command.Builder setClientIdBytes(com.google.protobuf.ByteString value)
string client_id = 7;
public String getComponentName()
string component_name = 8;
getComponentName
in interface CommandOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
string component_name = 8;
getComponentNameBytes
in interface CommandOrBuilder
public Command.Builder setComponentName(String value)
string component_name = 8;
public Command.Builder clearComponentName()
string component_name = 8;
public Command.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
string component_name = 8;
public final Command.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
public final Command.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Command.Builder>
Copyright © 2010–2019. All rights reserved.