Class BatchUpdateGenerativeQuestionConfigsResponse.Builder (2.60.0)

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

Aggregated response for UpdateGenerativeQuestionConfig method.

Protobuf type google.cloud.retail.v2.BatchUpdateGenerativeQuestionConfigsResponse

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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

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

addGenerativeQuestionConfigs(GenerativeQuestionConfig value)

public BatchUpdateGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(GenerativeQuestionConfig value)

Optional. The updates question configs.

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

Parameter
Name Description
value GenerativeQuestionConfig

addGenerativeQuestionConfigs(GenerativeQuestionConfig.Builder builderForValue)

public BatchUpdateGenerativeQuestionConfigsResponse.Builder addGenerativeQuestionConfigs(GenerativeQuestionConfig.Builder builderForValue)

Optional. The updates question configs.

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

Parameter
Name Description
builderForValue GenerativeQuestionConfig.Builder

addGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

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

Optional. The updates question configs.

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

Parameters
Name Description
index int
value GenerativeQuestionConfig

addGenerativeQuestionConfigs(int index, GenerativeQuestionConfig.Builder builderForValue)

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

Optional. The updates question configs.

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

Parameters
Name Description
index int
builderForValue GenerativeQuestionConfig.Builder

addGenerativeQuestionConfigsBuilder()

public GenerativeQuestionConfig.Builder addGenerativeQuestionConfigsBuilder()

Optional. The updates question configs.

repeated .google.cloud.retail.v2.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.v2.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
Overrides

build()

public BatchUpdateGenerativeQuestionConfigsResponse build()

buildPartial()

public BatchUpdateGenerativeQuestionConfigsResponse buildPartial()

clear()

public BatchUpdateGenerativeQuestionConfigsResponse.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearGenerativeQuestionConfigs()

public BatchUpdateGenerativeQuestionConfigsResponse.Builder clearGenerativeQuestionConfigs()

Optional. The updates question configs.

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BatchUpdateGenerativeQuestionConfigsResponse.Builder clone()
Overrides

getDefaultInstanceForType()

public BatchUpdateGenerativeQuestionConfigsResponse getDefaultInstanceForType()

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

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(BatchUpdateGenerativeQuestionConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeGenerativeQuestionConfigs(int index)

public BatchUpdateGenerativeQuestionConfigsResponse.Builder removeGenerativeQuestionConfigs(int index)

Optional. The updates question configs.

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

Parameter
Name Description
index int

setField(Descriptors.FieldDescriptor field, Object value)

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

setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig value)

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

Optional. The updates question configs.

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

Parameters
Name Description
index int
value GenerativeQuestionConfig

setGenerativeQuestionConfigs(int index, GenerativeQuestionConfig.Builder builderForValue)

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

Optional. The updates question configs.

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

Parameters
Name Description
index int
builderForValue GenerativeQuestionConfig.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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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