Class ListCompanionAgentsResponse (4.105.0)

public final class ListCompanionAgentsResponse extends GeneratedMessage implements ListCompanionAgentsResponseOrBuilder

Response message for ListCompanionAgents.

Protobuf type google.cloud.dialogflow.v2.ListCompanionAgentsResponse

Static Fields

COMPANION_AGENTS_FIELD_NUMBER

public static final int COMPANION_AGENTS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListCompanionAgentsResponse getDefaultInstance()
Returns
Type Description
ListCompanionAgentsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListCompanionAgentsResponse.Builder newBuilder()
Returns
Type Description
ListCompanionAgentsResponse.Builder

newBuilder(ListCompanionAgentsResponse prototype)

public static ListCompanionAgentsResponse.Builder newBuilder(ListCompanionAgentsResponse prototype)
Parameter
Name Description
prototype ListCompanionAgentsResponse
Returns
Type Description
ListCompanionAgentsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListCompanionAgentsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCompanionAgentsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListCompanionAgentsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListCompanionAgentsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListCompanionAgentsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListCompanionAgentsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListCompanionAgentsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCompanionAgentsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListCompanionAgentsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCompanionAgentsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListCompanionAgentsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListCompanionAgentsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCompanionAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListCompanionAgentsResponse> parser()
Returns
Type Description
Parser<ListCompanionAgentsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCompanionAgents(int index)

public CompanionAgent getCompanionAgents(int index)

The list of companion agents.

repeated .google.cloud.dialogflow.v2.CompanionAgent companion_agents = 1;

Parameter
Name Description
index int
Returns
Type Description
CompanionAgent

getCompanionAgentsCount()

public int getCompanionAgentsCount()

The list of companion agents.

repeated .google.cloud.dialogflow.v2.CompanionAgent companion_agents = 1;

Returns
Type Description
int

getCompanionAgentsList()

public List<CompanionAgent> getCompanionAgentsList()

The list of companion agents.

repeated .google.cloud.dialogflow.v2.CompanionAgent companion_agents = 1;

Returns
Type Description
List<CompanionAgent>

getCompanionAgentsOrBuilder(int index)

public CompanionAgentOrBuilder getCompanionAgentsOrBuilder(int index)

The list of companion agents.

repeated .google.cloud.dialogflow.v2.CompanionAgent companion_agents = 1;

Parameter
Name Description
index int
Returns
Type Description
CompanionAgentOrBuilder

getCompanionAgentsOrBuilderList()

public List<? extends CompanionAgentOrBuilder> getCompanionAgentsOrBuilderList()

The list of companion agents.

repeated .google.cloud.dialogflow.v2.CompanionAgent companion_agents = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.CompanionAgentOrBuilder>

getDefaultInstanceForType()

public ListCompanionAgentsResponse getDefaultInstanceForType()
Returns
Type Description
ListCompanionAgentsResponse

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.

getParserForType()

public Parser<ListCompanionAgentsResponse> getParserForType()
Returns
Type Description
Parser<ListCompanionAgentsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListCompanionAgentsResponse.Builder newBuilderForType()
Returns
Type Description
ListCompanionAgentsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ListCompanionAgentsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListCompanionAgentsResponse.Builder
Overrides

toBuilder()

public ListCompanionAgentsResponse.Builder toBuilder()
Returns
Type Description
ListCompanionAgentsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException