public static final class StreamAssistRequest.AgentsSpec.Builder extends GeneratedMessage.Builder<StreamAssistRequest.AgentsSpec.Builder> implements StreamAssistRequest.AgentsSpecOrBuilder
Specification of agents that are used to serve the request.
Protobuf type google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAgentSpecs(StreamAssistRequest.AgentsSpec.AgentSpec value)
public StreamAssistRequest.AgentsSpec.Builder addAgentSpecs(StreamAssistRequest.AgentsSpec.AgentSpec value)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addAgentSpecs(StreamAssistRequest.AgentsSpec.AgentSpec.Builder builderForValue)
public StreamAssistRequest.AgentsSpec.Builder addAgentSpecs(StreamAssistRequest.AgentsSpec.AgentSpec.Builder builderForValue)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addAgentSpecs(int index, StreamAssistRequest.AgentsSpec.AgentSpec value)
public StreamAssistRequest.AgentsSpec.Builder addAgentSpecs(int index, StreamAssistRequest.AgentsSpec.AgentSpec value)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addAgentSpecs(int index, StreamAssistRequest.AgentsSpec.AgentSpec.Builder builderForValue)
public StreamAssistRequest.AgentsSpec.Builder addAgentSpecs(int index, StreamAssistRequest.AgentsSpec.AgentSpec.Builder builderForValue)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addAgentSpecsBuilder()
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder addAgentSpecsBuilder()
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
addAgentSpecsBuilder(int index)
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder addAgentSpecsBuilder(int index)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
addAllAgentSpecs(Iterable<? extends StreamAssistRequest.AgentsSpec.AgentSpec> values)
public StreamAssistRequest.AgentsSpec.Builder addAllAgentSpecs(Iterable<? extends StreamAssistRequest.AgentsSpec.AgentSpec> values)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec>
|
build()
public StreamAssistRequest.AgentsSpec build()
buildPartial()
public StreamAssistRequest.AgentsSpec buildPartial()
clear()
public StreamAssistRequest.AgentsSpec.Builder clear()
Overrides
clearAgentSpecs()
public StreamAssistRequest.AgentsSpec.Builder clearAgentSpecs()
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getAgentSpecs(int index)
public StreamAssistRequest.AgentsSpec.AgentSpec getAgentSpecs(int index)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getAgentSpecsBuilder(int index)
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder getAgentSpecsBuilder(int index)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getAgentSpecsBuilderList()
public List<StreamAssistRequest.AgentsSpec.AgentSpec.Builder> getAgentSpecsBuilderList()
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getAgentSpecsCount()
public int getAgentSpecsCount()
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getAgentSpecsList()
public List<StreamAssistRequest.AgentsSpec.AgentSpec> getAgentSpecsList()
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
getAgentSpecsOrBuilder(int index)
public StreamAssistRequest.AgentsSpec.AgentSpecOrBuilder getAgentSpecsOrBuilder(int index)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getAgentSpecsOrBuilderList()
public List<? extends StreamAssistRequest.AgentsSpec.AgentSpecOrBuilder> getAgentSpecsOrBuilderList()
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpecOrBuilder> |
|
getDefaultInstanceForType()
public StreamAssistRequest.AgentsSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StreamAssistRequest.AgentsSpec other)
public StreamAssistRequest.AgentsSpec.Builder mergeFrom(StreamAssistRequest.AgentsSpec other)
public StreamAssistRequest.AgentsSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamAssistRequest.AgentsSpec.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeAgentSpecs(int index)
public StreamAssistRequest.AgentsSpec.Builder removeAgentSpecs(int index)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
setAgentSpecs(int index, StreamAssistRequest.AgentsSpec.AgentSpec value)
public StreamAssistRequest.AgentsSpec.Builder setAgentSpecs(int index, StreamAssistRequest.AgentsSpec.AgentSpec value)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];
setAgentSpecs(int index, StreamAssistRequest.AgentsSpec.AgentSpec.Builder builderForValue)
public StreamAssistRequest.AgentsSpec.Builder setAgentSpecs(int index, StreamAssistRequest.AgentsSpec.AgentSpec.Builder builderForValue)
Optional. Specification of agents that are used to serve the request.
repeated .google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec agent_specs = 1 [(.google.api.field_behavior) = OPTIONAL];