public static final class StreamAssistRequest.AgentsSpec.AgentSpec.Builder extends GeneratedMessage.Builder<StreamAssistRequest.AgentsSpec.AgentSpec.Builder> implements StreamAssistRequest.AgentsSpec.AgentSpecOrBuilderSpecification of an agent.
Protobuf type
google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.AgentSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamAssistRequest.AgentsSpec.AgentSpec.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamAssistRequest.AgentsSpec.AgentSpec build()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec |
|
buildPartial()
public StreamAssistRequest.AgentsSpec.AgentSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec |
|
clear()
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec.Builder |
|
clearAgentId()
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder clearAgentId()Required. ID to identify the agent resource serving the request.
This field must conform to RFC-1034 with a length limit of 63 characters.
string agent_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec.Builder |
This builder for chaining. |
getAgentId()
public String getAgentId()Required. ID to identify the agent resource serving the request.
This field must conform to RFC-1034 with a length limit of 63 characters.
string agent_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The agentId. |
getAgentIdBytes()
public ByteString getAgentIdBytes()Required. ID to identify the agent resource serving the request.
This field must conform to RFC-1034 with a length limit of 63 characters.
string agent_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for agentId. |
getDefaultInstanceForType()
public StreamAssistRequest.AgentsSpec.AgentSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StreamAssistRequest.AgentsSpec.AgentSpec other)
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder mergeFrom(StreamAssistRequest.AgentsSpec.AgentSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamAssistRequest.AgentsSpec.AgentSpec |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec.Builder |
|
setAgentId(String value)
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder setAgentId(String value)Required. ID to identify the agent resource serving the request.
This field must conform to RFC-1034 with a length limit of 63 characters.
string agent_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agentId to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec.Builder |
This builder for chaining. |
setAgentIdBytes(ByteString value)
public StreamAssistRequest.AgentsSpec.AgentSpec.Builder setAgentIdBytes(ByteString value)Required. ID to identify the agent resource serving the request.
This field must conform to RFC-1034 with a length limit of 63 characters.
string agent_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agentId to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistRequest.AgentsSpec.AgentSpec.Builder |
This builder for chaining. |