public static final class StreamAssistRequest.AgentsSpec extends GeneratedMessage implements StreamAssistRequest.AgentsSpecOrBuilderSpecification of agents that are used to serve the request.
Protobuf type google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > StreamAssistRequest.AgentsSpecImplements
StreamAssistRequest.AgentsSpecOrBuilderStatic Fields
AGENT_SPECS_FIELD_NUMBER
public static final int AGENT_SPECS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static StreamAssistRequest.AgentsSpec getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static StreamAssistRequest.AgentsSpec.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.Builder |
|
newBuilder(StreamAssistRequest.AgentsSpec prototype)
public static StreamAssistRequest.AgentsSpec.Builder newBuilder(StreamAssistRequest.AgentsSpec prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
StreamAssistRequest.AgentsSpec |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.Builder |
|
parseDelimitedFrom(InputStream input)
public static StreamAssistRequest.AgentsSpec parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamAssistRequest.AgentsSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static StreamAssistRequest.AgentsSpec parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamAssistRequest.AgentsSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static StreamAssistRequest.AgentsSpec parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamAssistRequest.AgentsSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static StreamAssistRequest.AgentsSpec parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamAssistRequest.AgentsSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static StreamAssistRequest.AgentsSpec parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamAssistRequest.AgentsSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static StreamAssistRequest.AgentsSpec parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamAssistRequest.AgentsSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<StreamAssistRequest.AgentsSpec> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AgentsSpec> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec |
|
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];
| Returns | |
|---|---|
| Type | Description |
List<AgentSpec> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpecOrBuilder |
|
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()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec |
|
getParserForType()
public Parser<StreamAssistRequest.AgentsSpec> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AgentsSpec> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public StreamAssistRequest.AgentsSpec.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected StreamAssistRequest.AgentsSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.Builder |
|
toBuilder()
public StreamAssistRequest.AgentsSpec.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|