Class BatchUpdateGenerativeQuestionConfigsResponse.Builder (2.57.0)

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

Aggregated response for UpdateGenerativeQuestionConfig method.

Protobuf type google.cloud.retail.v2alpha.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.v2alpha.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

addGenerativeQuestionConfigs(GenerativeQuestionConfig value)

public BatchUpdateGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(GenerativeQuestionConfig value)

Optional. The updates question configs.

repeated .google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
GenerativeQuestionConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearGenerativeQuestionConfigs()

public BatchUpdateGenerativeQuestionConfigsResponse.Builder clearGenerativeQuestionConfigs()

Optional. The updates question configs.

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

Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeGenerativeQuestionConfigs(int index)

public BatchUpdateGenerativeQuestionConfigsResponse.Builder removeGenerativeQuestionConfigs(int index)

Optional. The updates question configs.

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

Parameter
Name Description
index int
Returns
Type Description
BatchUpdateGenerativeQuestionConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

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

Optional. The updates question configs.

repeated .google.cloud.retail.v2alpha.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.v2alpha.GenerativeQuestionConfig generative_question_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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