Class ListConversationProfilesResponse.Builder (4.51.0)

public static final class ListConversationProfilesResponse.Builder extends GeneratedMessageV3.Builder<ListConversationProfilesResponse.Builder> implements ListConversationProfilesResponseOrBuilder

The response message for ConversationProfiles.ListConversationProfiles.

Protobuf type google.cloud.dialogflow.v2.ListConversationProfilesResponse

Static Methods

getDescriptor()

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

Methods

addAllConversationProfiles(Iterable<? extends ConversationProfile> values)

public ListConversationProfilesResponse.Builder addAllConversationProfiles(Iterable<? extends ConversationProfile> values)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.ConversationProfile>
Returns
Type Description
ListConversationProfilesResponse.Builder

addConversationProfiles(ConversationProfile value)

public ListConversationProfilesResponse.Builder addConversationProfiles(ConversationProfile value)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameter
Name Description
value ConversationProfile
Returns
Type Description
ListConversationProfilesResponse.Builder

addConversationProfiles(ConversationProfile.Builder builderForValue)

public ListConversationProfilesResponse.Builder addConversationProfiles(ConversationProfile.Builder builderForValue)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameter
Name Description
builderForValue ConversationProfile.Builder
Returns
Type Description
ListConversationProfilesResponse.Builder

addConversationProfiles(int index, ConversationProfile value)

public ListConversationProfilesResponse.Builder addConversationProfiles(int index, ConversationProfile value)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameters
Name Description
index int
value ConversationProfile
Returns
Type Description
ListConversationProfilesResponse.Builder

addConversationProfiles(int index, ConversationProfile.Builder builderForValue)

public ListConversationProfilesResponse.Builder addConversationProfiles(int index, ConversationProfile.Builder builderForValue)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameters
Name Description
index int
builderForValue ConversationProfile.Builder
Returns
Type Description
ListConversationProfilesResponse.Builder

addConversationProfilesBuilder()

public ConversationProfile.Builder addConversationProfilesBuilder()

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Returns
Type Description
ConversationProfile.Builder

addConversationProfilesBuilder(int index)

public ConversationProfile.Builder addConversationProfilesBuilder(int index)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationProfile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListConversationProfilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

build()

public ListConversationProfilesResponse build()
Returns
Type Description
ListConversationProfilesResponse

buildPartial()

public ListConversationProfilesResponse buildPartial()
Returns
Type Description
ListConversationProfilesResponse

clear()

public ListConversationProfilesResponse.Builder clear()
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

clearConversationProfiles()

public ListConversationProfilesResponse.Builder clearConversationProfiles()

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Returns
Type Description
ListConversationProfilesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListConversationProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

clearNextPageToken()

public ListConversationProfilesResponse.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;

Returns
Type Description
ListConversationProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListConversationProfilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

clone()

public ListConversationProfilesResponse.Builder clone()
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

getConversationProfiles(int index)

public ConversationProfile getConversationProfiles(int index)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationProfile

getConversationProfilesBuilder(int index)

public ConversationProfile.Builder getConversationProfilesBuilder(int index)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationProfile.Builder

getConversationProfilesBuilderList()

public List<ConversationProfile.Builder> getConversationProfilesBuilderList()

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Returns
Type Description
List<Builder>

getConversationProfilesCount()

public int getConversationProfilesCount()

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Returns
Type Description
int

getConversationProfilesList()

public List<ConversationProfile> getConversationProfilesList()

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Returns
Type Description
List<ConversationProfile>

getConversationProfilesOrBuilder(int index)

public ConversationProfileOrBuilder getConversationProfilesOrBuilder(int index)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationProfileOrBuilder

getConversationProfilesOrBuilderList()

public List<? extends ConversationProfileOrBuilder> getConversationProfilesOrBuilderList()

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

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

getDefaultInstanceForType()

public ListConversationProfilesResponse getDefaultInstanceForType()
Returns
Type Description
ListConversationProfilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListConversationProfilesResponse other)

public ListConversationProfilesResponse.Builder mergeFrom(ListConversationProfilesResponse other)
Parameter
Name Description
other ListConversationProfilesResponse
Returns
Type Description
ListConversationProfilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListConversationProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListConversationProfilesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationProfilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

removeConversationProfiles(int index)

public ListConversationProfilesResponse.Builder removeConversationProfiles(int index)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameter
Name Description
index int
Returns
Type Description
ListConversationProfilesResponse.Builder

setConversationProfiles(int index, ConversationProfile value)

public ListConversationProfilesResponse.Builder setConversationProfiles(int index, ConversationProfile value)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameters
Name Description
index int
value ConversationProfile
Returns
Type Description
ListConversationProfilesResponse.Builder

setConversationProfiles(int index, ConversationProfile.Builder builderForValue)

public ListConversationProfilesResponse.Builder setConversationProfiles(int index, ConversationProfile.Builder builderForValue)

The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.ConversationProfile conversation_profiles = 1;

Parameters
Name Description
index int
builderForValue ConversationProfile.Builder
Returns
Type Description
ListConversationProfilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListConversationProfilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

setNextPageToken(String value)

public ListConversationProfilesResponse.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.

Returns
Type Description
ListConversationProfilesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListConversationProfilesResponse.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.

Returns
Type Description
ListConversationProfilesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListConversationProfilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListConversationProfilesResponse.Builder
Overrides