Class BatchUpdateGenerativeQuestionConfigsResponse.Builder (2.85.0)

public static final class BatchUpdateGenerativeQuestionConfigsResponse.Builder extends GeneratedMessage.Builder<BatchUpdateGenerativeQuestionConfigsResponse.Builder> implements BatchUpdateGenerativeQuestionConfigsResponseOrBuilder

Aggregated response for UpdateGenerativeQuestionConfig method.

Protobuf type google.cloud.retail.v2beta.BatchUpdateGenerativeQuestionConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllGenerativeQuestionConfigs(Iterable<? extends GenerativeQuestionConfig> values)

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

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

addGenerativeQuestionConfigs(GenerativeQuestionConfig value)

public BatchUpdateGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(GenerativeQuestionConfig value)

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GenerativeQuestionConfig
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse.Builder

addGenerativeQuestionConfigs(GenerativeQuestionConfig.Builder builderForValue)

public BatchUpdateGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(GenerativeQuestionConfig.Builder builderForValue)

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

addGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

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

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

addGenerativeQuestionConfigs(int index, GenerativeQuestionConfig.Builder builderForValue)

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

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

addGenerativeQuestionConfigsBuilder()

public GenerativeQuestionConfig.Builder addGenerativeQuestionConfigsBuilder()

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenerativeQuestionConfig.Builder

addGenerativeQuestionConfigsBuilder(int index)

public GenerativeQuestionConfig.Builder addGenerativeQuestionConfigsBuilder(int index)

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfig.Builder

build()

public BatchUpdateGenerativeQuestionConfigsResponse build()
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse

buildPartial()

public BatchUpdateGenerativeQuestionConfigsResponse buildPartial()
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse

clear()

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

clearGenerativeQuestionConfigs()

public BatchUpdateGenerativeQuestionConfigsResponse.Builder clearGenerativeQuestionConfigs()

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse.Builder

getDefaultInstanceForType()

public BatchUpdateGenerativeQuestionConfigsResponse getDefaultInstanceForType()
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse

getDescriptorForType()

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

getGenerativeQuestionConfigs(int index)

public GenerativeQuestionConfig getGenerativeQuestionConfigs(int index)

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfig

getGenerativeQuestionConfigsBuilder(int index)

public GenerativeQuestionConfig.Builder getGenerativeQuestionConfigsBuilder(int index)

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfig.Builder

getGenerativeQuestionConfigsBuilderList()

public List<GenerativeQuestionConfig.Builder> getGenerativeQuestionConfigsBuilderList()

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getGenerativeQuestionConfigsCount()

public int getGenerativeQuestionConfigsCount()

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getGenerativeQuestionConfigsList()

public List<GenerativeQuestionConfig> getGenerativeQuestionConfigsList()

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<GenerativeQuestionConfig>

getGenerativeQuestionConfigsOrBuilder(int index)

public GenerativeQuestionConfigOrBuilder getGenerativeQuestionConfigsOrBuilder(int index)

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfigOrBuilder

getGenerativeQuestionConfigsOrBuilderList()

public List<? extends GenerativeQuestionConfigOrBuilder> getGenerativeQuestionConfigsOrBuilderList()

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchUpdateGenerativeQuestionConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeGenerativeQuestionConfigs(int index)

public BatchUpdateGenerativeQuestionConfigsResponse.Builder removeGenerativeQuestionConfigs(int index)

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse.Builder

setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

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

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig.Builder builderForValue)

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

Optional. The updates question configs.

repeated .google.cloud.retail.v2beta.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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