Class ListGenerativeQuestionConfigsResponse.Builder (2.54.0)

public static final class ListGenerativeQuestionConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListGenerativeQuestionConfigsResponse.Builder> implements ListGenerativeQuestionConfigsResponseOrBuilder

Response for ListQuestions method.

Protobuf type google.cloud.retail.v2.ListGenerativeQuestionConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllGenerativeQuestionConfigs(Iterable<? extends GenerativeQuestionConfig> values)

public ListGenerativeQuestionConfigsResponse.Builder addAllGenerativeQuestionConfigs(Iterable<? extends GenerativeQuestionConfig> values)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.retail.v2.GenerativeQuestionConfig>
Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

addGenerativeQuestionConfigs(GenerativeQuestionConfig value)

public ListGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(GenerativeQuestionConfig value)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameter
Name Description
value GenerativeQuestionConfig
Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

addGenerativeQuestionConfigs(GenerativeQuestionConfig.Builder builderForValue)

public ListGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(GenerativeQuestionConfig.Builder builderForValue)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameter
Name Description
builderForValue GenerativeQuestionConfig.Builder
Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

addGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

public ListGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameters
Name Description
index int
value GenerativeQuestionConfig
Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

addGenerativeQuestionConfigs(int index, GenerativeQuestionConfig.Builder builderForValue)

public ListGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(int index, GenerativeQuestionConfig.Builder builderForValue)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameters
Name Description
index int
builderForValue GenerativeQuestionConfig.Builder
Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

addGenerativeQuestionConfigsBuilder()

public GenerativeQuestionConfig.Builder addGenerativeQuestionConfigsBuilder()

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Returns
Type Description
GenerativeQuestionConfig.Builder

addGenerativeQuestionConfigsBuilder(int index)

public GenerativeQuestionConfig.Builder addGenerativeQuestionConfigsBuilder(int index)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGenerativeQuestionConfigsResponse build()
Returns
Type Description
ListGenerativeQuestionConfigsResponse

buildPartial()

public ListGenerativeQuestionConfigsResponse buildPartial()
Returns
Type Description
ListGenerativeQuestionConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGenerativeQuestionConfigs()

public ListGenerativeQuestionConfigsResponse.Builder clearGenerativeQuestionConfigs()

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListGenerativeQuestionConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListGenerativeQuestionConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGenerativeQuestionConfigs(int index)

public GenerativeQuestionConfig getGenerativeQuestionConfigs(int index)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfig

getGenerativeQuestionConfigsBuilder(int index)

public GenerativeQuestionConfig.Builder getGenerativeQuestionConfigsBuilder(int index)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfig.Builder

getGenerativeQuestionConfigsBuilderList()

public List<GenerativeQuestionConfig.Builder> getGenerativeQuestionConfigsBuilderList()

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Returns
Type Description
List<Builder>

getGenerativeQuestionConfigsCount()

public int getGenerativeQuestionConfigsCount()

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Returns
Type Description
int

getGenerativeQuestionConfigsList()

public List<GenerativeQuestionConfig> getGenerativeQuestionConfigsList()

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Returns
Type Description
List<GenerativeQuestionConfig>

getGenerativeQuestionConfigsOrBuilder(int index)

public GenerativeQuestionConfigOrBuilder getGenerativeQuestionConfigsOrBuilder(int index)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfigOrBuilder

getGenerativeQuestionConfigsOrBuilderList()

public List<? extends GenerativeQuestionConfigOrBuilder> getGenerativeQuestionConfigsOrBuilderList()

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.retail.v2.GenerativeQuestionConfigOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListGenerativeQuestionConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeGenerativeQuestionConfigs(int index)

public ListGenerativeQuestionConfigsResponse.Builder removeGenerativeQuestionConfigs(int index)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

public ListGenerativeQuestionConfigsResponse.Builder setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameters
Name Description
index int
value GenerativeQuestionConfig
Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig.Builder builderForValue)

public ListGenerativeQuestionConfigsResponse.Builder setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig.Builder builderForValue)

All the questions for a given catalog.

repeated .google.cloud.retail.v2.GenerativeQuestionConfig generative_question_configs = 1;

Parameters
Name Description
index int
builderForValue GenerativeQuestionConfig.Builder
Returns
Type Description
ListGenerativeQuestionConfigsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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