public static final class ListAgentsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder> implements ListAgentsResponseOrBuilder
The response message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents].Protobuf type
google.cloud.dialogflow.cx.v3.ListAgentsResponse| Modifier and Type | Method and Description |
|---|---|
ListAgentsResponse.Builder |
addAgents(Agent.Builder builderForValue)
The list of agents.
|
ListAgentsResponse.Builder |
addAgents(Agent value)
The list of agents.
|
ListAgentsResponse.Builder |
addAgents(int index,
Agent.Builder builderForValue)
The list of agents.
|
ListAgentsResponse.Builder |
addAgents(int index,
Agent value)
The list of agents.
|
Agent.Builder |
addAgentsBuilder()
The list of agents.
|
Agent.Builder |
addAgentsBuilder(int index)
The list of agents.
|
ListAgentsResponse.Builder |
addAllAgents(Iterable<? extends Agent> values)
The list of agents.
|
ListAgentsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListAgentsResponse |
build() |
ListAgentsResponse |
buildPartial() |
ListAgentsResponse.Builder |
clear() |
ListAgentsResponse.Builder |
clearAgents()
The list of agents.
|
ListAgentsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListAgentsResponse.Builder |
clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
ListAgentsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListAgentsResponse.Builder |
clone() |
Agent |
getAgents(int index)
The list of agents.
|
Agent.Builder |
getAgentsBuilder(int index)
The list of agents.
|
List<Agent.Builder> |
getAgentsBuilderList()
The list of agents.
|
int |
getAgentsCount()
The list of agents.
|
List<Agent> |
getAgentsList()
The list of agents.
|
AgentOrBuilder |
getAgentsOrBuilder(int index)
The list of agents.
|
List<? extends AgentOrBuilder> |
getAgentsOrBuilderList()
The list of agents.
|
ListAgentsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListAgentsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListAgentsResponse.Builder |
mergeFrom(ListAgentsResponse other) |
ListAgentsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListAgentsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListAgentsResponse.Builder |
removeAgents(int index)
The list of agents.
|
ListAgentsResponse.Builder |
setAgents(int index,
Agent.Builder builderForValue)
The list of agents.
|
ListAgentsResponse.Builder |
setAgents(int index,
Agent value)
The list of agents.
|
ListAgentsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListAgentsResponse.Builder |
setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
ListAgentsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
ListAgentsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListAgentsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListAgentsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListAgentsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListAgentsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder mergeFrom(ListAgentsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public ListAgentsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListAgentsResponse.Builder>IOExceptionpublic 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.cx.v3.Agent agents = 1;getAgentsList in interface ListAgentsResponseOrBuilderpublic 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.cx.v3.Agent agents = 1;getAgentsCount in interface ListAgentsResponseOrBuilderpublic 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.cx.v3.Agent agents = 1;getAgents in interface ListAgentsResponseOrBuilderpublic ListAgentsResponse.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.cx.v3.Agent agents = 1;public ListAgentsResponse.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.cx.v3.Agent agents = 1;public ListAgentsResponse.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.cx.v3.Agent agents = 1;public ListAgentsResponse.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.cx.v3.Agent agents = 1;public ListAgentsResponse.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.cx.v3.Agent agents = 1;public ListAgentsResponse.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.cx.v3.Agent agents = 1;public ListAgentsResponse.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.cx.v3.Agent agents = 1;public ListAgentsResponse.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.cx.v3.Agent agents = 1;public ListAgentsResponse.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.cx.v3.Agent agents = 1;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.cx.v3.Agent agents = 1;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.cx.v3.Agent agents = 1;getAgentsOrBuilder in interface ListAgentsResponseOrBuilderpublic 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.cx.v3.Agent agents = 1;getAgentsOrBuilderList in interface ListAgentsResponseOrBuilderpublic 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.cx.v3.Agent agents = 1;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.cx.v3.Agent agents = 1;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.cx.v3.Agent agents = 1;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;getNextPageToken in interface ListAgentsResponseOrBuilderpublic com.google.protobuf.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;getNextPageTokenBytes in interface ListAgentsResponseOrBuilderpublic ListAgentsResponse.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;value - The nextPageToken to set.public ListAgentsResponse.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;public ListAgentsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;value - The bytes for nextPageToken to set.public final ListAgentsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>public final ListAgentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListAgentsResponse.Builder>Copyright © 2025 Google LLC. All rights reserved.