Package itk
Class InstructionOuterClass.CallAgent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstructionOuterClass.CallAgent.Builder>
itk.InstructionOuterClass.CallAgent.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InstructionOuterClass.CallAgentOrBuilder,Cloneable
- Enclosing class:
- InstructionOuterClass.CallAgent
public static final class InstructionOuterClass.CallAgent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstructionOuterClass.CallAgent.Builder>
implements InstructionOuterClass.CallAgentOrBuilder
gets the agent card from a remote agent, calls it and returns the responseProtobuf type
itk.CallAgent-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()where to get the agent card frominstruction for the called agent.itk.PushNotificationBehavior push_notification = 6;.itk.ResubscribeBehavior resubscribe = 7;.itk.SendMessageBehavior send_message = 5;whether to use streamingwhich transport use to get agent card and later callwhere to get the agent card fromcom.google.protobuf.ByteStringwhere to get the agent card fromstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorinstruction for the called agentinstruction for the called agentinstruction for the called agent.itk.PushNotificationBehavior push_notification = 6;.itk.PushNotificationBehavior push_notification = 6;.itk.PushNotificationBehavior push_notification = 6;.itk.ResubscribeBehavior resubscribe = 7;.itk.ResubscribeBehavior resubscribe = 7;.itk.ResubscribeBehavior resubscribe = 7;.itk.SendMessageBehavior send_message = 5;.itk.SendMessageBehavior send_message = 5;.itk.SendMessageBehavior send_message = 5;booleanwhether to use streamingwhich transport use to get agent card and later callcom.google.protobuf.ByteStringwhich transport use to get agent card and later callbooleaninstruction for the called agentboolean.itk.PushNotificationBehavior push_notification = 6;boolean.itk.ResubscribeBehavior resubscribe = 7;boolean.itk.SendMessageBehavior send_message = 5;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) instruction for the called agent.itk.PushNotificationBehavior push_notification = 6;.itk.ResubscribeBehavior resubscribe = 7;.itk.SendMessageBehavior send_message = 5;setAgentCardUri(String value) where to get the agent card fromsetAgentCardUriBytes(com.google.protobuf.ByteString value) where to get the agent card frominstruction for the called agentsetInstruction(InstructionOuterClass.Instruction.Builder builderForValue) instruction for the called agent.itk.PushNotificationBehavior push_notification = 6;.itk.PushNotificationBehavior push_notification = 6;.itk.ResubscribeBehavior resubscribe = 7;setResubscribe(InstructionOuterClass.ResubscribeBehavior.Builder builderForValue) .itk.ResubscribeBehavior resubscribe = 7;.itk.SendMessageBehavior send_message = 5;setSendMessage(InstructionOuterClass.SendMessageBehavior.Builder builderForValue) .itk.SendMessageBehavior send_message = 5;setStreaming(boolean value) whether to use streamingsetTransport(String value) which transport use to get agent card and later callsetTransportBytes(com.google.protobuf.ByteString value) which transport use to get agent card and later callMethods 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<InstructionOuterClass.CallAgent.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<InstructionOuterClass.CallAgent.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<InstructionOuterClass.CallAgent.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<InstructionOuterClass.CallAgent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstructionOuterClass.CallAgent.Builder>
-
mergeFrom
public InstructionOuterClass.CallAgent.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<InstructionOuterClass.CallAgent.Builder>- Throws:
IOException
-
getBehaviorCase
- Specified by:
getBehaviorCasein interfaceInstructionOuterClass.CallAgentOrBuilder
-
clearBehavior
-
getTransport
which transport use to get agent card and later call
string transport = 1;- Specified by:
getTransportin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The transport.
-
getTransportBytes
public com.google.protobuf.ByteString getTransportBytes()which transport use to get agent card and later call
string transport = 1;- Specified by:
getTransportBytesin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The bytes for transport.
-
setTransport
which transport use to get agent card and later call
string transport = 1;- Parameters:
value- The transport to set.- Returns:
- This builder for chaining.
-
clearTransport
which transport use to get agent card and later call
string transport = 1;- Returns:
- This builder for chaining.
-
setTransportBytes
public InstructionOuterClass.CallAgent.Builder setTransportBytes(com.google.protobuf.ByteString value) which transport use to get agent card and later call
string transport = 1;- Parameters:
value- The bytes for transport to set.- Returns:
- This builder for chaining.
-
getAgentCardUri
where to get the agent card from
string agent_card_uri = 2;- Specified by:
getAgentCardUriin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The agentCardUri.
-
getAgentCardUriBytes
public com.google.protobuf.ByteString getAgentCardUriBytes()where to get the agent card from
string agent_card_uri = 2;- Specified by:
getAgentCardUriBytesin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The bytes for agentCardUri.
-
setAgentCardUri
where to get the agent card from
string agent_card_uri = 2;- Parameters:
value- The agentCardUri to set.- Returns:
- This builder for chaining.
-
clearAgentCardUri
where to get the agent card from
string agent_card_uri = 2;- Returns:
- This builder for chaining.
-
setAgentCardUriBytes
public InstructionOuterClass.CallAgent.Builder setAgentCardUriBytes(com.google.protobuf.ByteString value) where to get the agent card from
string agent_card_uri = 2;- Parameters:
value- The bytes for agentCardUri to set.- Returns:
- This builder for chaining.
-
hasInstruction
public boolean hasInstruction()instruction for the called agent
.itk.Instruction instruction = 3;- Specified by:
hasInstructionin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- Whether the instruction field is set.
-
getInstruction
instruction for the called agent
.itk.Instruction instruction = 3;- Specified by:
getInstructionin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The instruction.
-
setInstruction
public InstructionOuterClass.CallAgent.Builder setInstruction(InstructionOuterClass.Instruction value) instruction for the called agent
.itk.Instruction instruction = 3; -
setInstruction
public InstructionOuterClass.CallAgent.Builder setInstruction(InstructionOuterClass.Instruction.Builder builderForValue) instruction for the called agent
.itk.Instruction instruction = 3; -
mergeInstruction
public InstructionOuterClass.CallAgent.Builder mergeInstruction(InstructionOuterClass.Instruction value) instruction for the called agent
.itk.Instruction instruction = 3; -
clearInstruction
instruction for the called agent
.itk.Instruction instruction = 3; -
getInstructionBuilder
instruction for the called agent
.itk.Instruction instruction = 3; -
getInstructionOrBuilder
instruction for the called agent
.itk.Instruction instruction = 3;- Specified by:
getInstructionOrBuilderin interfaceInstructionOuterClass.CallAgentOrBuilder
-
getStreaming
public boolean getStreaming()whether to use streaming
bool streaming = 4;- Specified by:
getStreamingin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The streaming.
-
setStreaming
whether to use streaming
bool streaming = 4;- Parameters:
value- The streaming to set.- Returns:
- This builder for chaining.
-
clearStreaming
whether to use streaming
bool streaming = 4;- Returns:
- This builder for chaining.
-
hasSendMessage
public boolean hasSendMessage().itk.SendMessageBehavior send_message = 5;- Specified by:
hasSendMessagein interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- Whether the sendMessage field is set.
-
getSendMessage
.itk.SendMessageBehavior send_message = 5;- Specified by:
getSendMessagein interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The sendMessage.
-
setSendMessage
public InstructionOuterClass.CallAgent.Builder setSendMessage(InstructionOuterClass.SendMessageBehavior value) .itk.SendMessageBehavior send_message = 5; -
setSendMessage
public InstructionOuterClass.CallAgent.Builder setSendMessage(InstructionOuterClass.SendMessageBehavior.Builder builderForValue) .itk.SendMessageBehavior send_message = 5; -
mergeSendMessage
public InstructionOuterClass.CallAgent.Builder mergeSendMessage(InstructionOuterClass.SendMessageBehavior value) .itk.SendMessageBehavior send_message = 5; -
clearSendMessage
.itk.SendMessageBehavior send_message = 5; -
getSendMessageBuilder
.itk.SendMessageBehavior send_message = 5; -
getSendMessageOrBuilder
.itk.SendMessageBehavior send_message = 5;- Specified by:
getSendMessageOrBuilderin interfaceInstructionOuterClass.CallAgentOrBuilder
-
hasPushNotification
public boolean hasPushNotification().itk.PushNotificationBehavior push_notification = 6;- Specified by:
hasPushNotificationin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- Whether the pushNotification field is set.
-
getPushNotification
.itk.PushNotificationBehavior push_notification = 6;- Specified by:
getPushNotificationin interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The pushNotification.
-
setPushNotification
public InstructionOuterClass.CallAgent.Builder setPushNotification(InstructionOuterClass.PushNotificationBehavior value) .itk.PushNotificationBehavior push_notification = 6; -
setPushNotification
public InstructionOuterClass.CallAgent.Builder setPushNotification(InstructionOuterClass.PushNotificationBehavior.Builder builderForValue) .itk.PushNotificationBehavior push_notification = 6; -
mergePushNotification
public InstructionOuterClass.CallAgent.Builder mergePushNotification(InstructionOuterClass.PushNotificationBehavior value) .itk.PushNotificationBehavior push_notification = 6; -
clearPushNotification
.itk.PushNotificationBehavior push_notification = 6; -
getPushNotificationBuilder
.itk.PushNotificationBehavior push_notification = 6; -
getPushNotificationOrBuilder
.itk.PushNotificationBehavior push_notification = 6;- Specified by:
getPushNotificationOrBuilderin interfaceInstructionOuterClass.CallAgentOrBuilder
-
hasResubscribe
public boolean hasResubscribe().itk.ResubscribeBehavior resubscribe = 7;- Specified by:
hasResubscribein interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- Whether the resubscribe field is set.
-
getResubscribe
.itk.ResubscribeBehavior resubscribe = 7;- Specified by:
getResubscribein interfaceInstructionOuterClass.CallAgentOrBuilder- Returns:
- The resubscribe.
-
setResubscribe
public InstructionOuterClass.CallAgent.Builder setResubscribe(InstructionOuterClass.ResubscribeBehavior value) .itk.ResubscribeBehavior resubscribe = 7; -
setResubscribe
public InstructionOuterClass.CallAgent.Builder setResubscribe(InstructionOuterClass.ResubscribeBehavior.Builder builderForValue) .itk.ResubscribeBehavior resubscribe = 7; -
mergeResubscribe
public InstructionOuterClass.CallAgent.Builder mergeResubscribe(InstructionOuterClass.ResubscribeBehavior value) .itk.ResubscribeBehavior resubscribe = 7; -
clearResubscribe
.itk.ResubscribeBehavior resubscribe = 7; -
getResubscribeBuilder
.itk.ResubscribeBehavior resubscribe = 7; -
getResubscribeOrBuilder
.itk.ResubscribeBehavior resubscribe = 7;- Specified by:
getResubscribeOrBuilderin interfaceInstructionOuterClass.CallAgentOrBuilder
-