public static final class SearchAgentsResponse.Builder extends GeneratedMessageV3.Builder<SearchAgentsResponse.Builder> implements SearchAgentsResponseOrBuilder
The response message for
Agents.SearchAgents.
Protobuf type google.cloud.dialogflow.v2.SearchAgentsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAgents(Agent value)
public SearchAgentsResponse.Builder addAgents(Agent value)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameter |
Name |
Description |
value |
Agent
|
addAgents(Agent.Builder builderForValue)
public SearchAgentsResponse.Builder addAgents(Agent.Builder builderForValue)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
addAgents(int index, Agent value)
public SearchAgentsResponse.Builder addAgents(int index, Agent value)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Agent
|
addAgents(int index, Agent.Builder builderForValue)
public SearchAgentsResponse.Builder addAgents(int index, Agent.Builder builderForValue)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
addAgentsBuilder()
public Agent.Builder addAgentsBuilder()
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
addAgentsBuilder(int index)
public Agent.Builder addAgentsBuilder(int index)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameter |
Name |
Description |
index |
int
|
addAllAgents(Iterable<? extends Agent> values)
public SearchAgentsResponse.Builder addAllAgents(Iterable<? extends Agent> values)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2.Agent>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchAgentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchAgentsResponse build()
buildPartial()
public SearchAgentsResponse buildPartial()
clear()
public SearchAgentsResponse.Builder clear()
Overrides
clearAgents()
public SearchAgentsResponse.Builder clearAgents()
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
clearField(Descriptors.FieldDescriptor field)
public SearchAgentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public SearchAgentsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchAgentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchAgentsResponse.Builder clone()
Overrides
getAgents(int index)
public Agent getAgents(int index)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Agent |
|
getAgentsBuilder(int index)
public Agent.Builder getAgentsBuilder(int index)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameter |
Name |
Description |
index |
int
|
getAgentsBuilderList()
public List<Agent.Builder> getAgentsBuilderList()
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
getAgentsCount()
public int getAgentsCount()
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Returns |
Type |
Description |
int |
|
getAgentsList()
public List<Agent> getAgentsList()
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
getAgentsOrBuilder(int index)
public AgentOrBuilder getAgentsOrBuilder(int index)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameter |
Name |
Description |
index |
int
|
getAgentsOrBuilderList()
public List<? extends AgentOrBuilder> getAgentsOrBuilderList()
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.AgentOrBuilder> |
|
getDefaultInstanceForType()
public SearchAgentsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchAgentsResponse other)
public SearchAgentsResponse.Builder mergeFrom(SearchAgentsResponse other)
public SearchAgentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchAgentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchAgentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAgents(int index)
public SearchAgentsResponse.Builder removeAgents(int index)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameter |
Name |
Description |
index |
int
|
setAgents(int index, Agent value)
public SearchAgentsResponse.Builder setAgents(int index, Agent value)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Agent
|
setAgents(int index, Agent.Builder builderForValue)
public SearchAgentsResponse.Builder setAgents(int index, Agent.Builder builderForValue)
The list of agents. There will be a maximum number of items returned based
on the page_size field in the request.
repeated .google.cloud.dialogflow.v2.Agent agents = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public SearchAgentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public SearchAgentsResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public SearchAgentsResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchAgentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchAgentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides