Class ListConversationProfilesResponse.Builder (4.3.1)

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

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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.ConversationProfile>
Returns
TypeDescription
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
NameDescription
valueConversationProfile
Returns
TypeDescription
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
NameDescription
builderForValueConversationProfile.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueConversationProfile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversationProfile.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConversationProfile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListConversationProfilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListConversationProfilesResponse.Builder
Overrides

build()

public ListConversationProfilesResponse build()
Returns
TypeDescription
ListConversationProfilesResponse

buildPartial()

public ListConversationProfilesResponse buildPartial()
Returns
TypeDescription
ListConversationProfilesResponse

clear()

public ListConversationProfilesResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListConversationProfilesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListConversationProfilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListConversationProfilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListConversationProfilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListConversationProfilesResponse.Builder
Overrides

clone()

public ListConversationProfilesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.ConversationProfileOrBuilder>

getDefaultInstanceForType()

public ListConversationProfilesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConversationProfilesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListConversationProfilesResponse other)

public ListConversationProfilesResponse.Builder mergeFrom(ListConversationProfilesResponse other)
Parameter
NameDescription
otherListConversationProfilesResponse
Returns
TypeDescription
ListConversationProfilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListConversationProfilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConversationProfilesResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListConversationProfilesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListConversationProfilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationProfilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueConversationProfile
Returns
TypeDescription
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
NameDescription
indexint
builderForValueConversationProfile.Builder
Returns
TypeDescription
ListConversationProfilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListConversationProfilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListConversationProfilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationProfilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListConversationProfilesResponse.Builder
Overrides