public static final class BatchUpdateGenerativeQuestionConfigsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateGenerativeQuestionConfigsRequest.Builder> implements BatchUpdateGenerativeQuestionConfigsRequestOrBuilder
Request for BatchUpdateGenerativeQuestionConfig method.
Protobuf type google.cloud.retail.v2.BatchUpdateGenerativeQuestionConfigsRequest
Inherited Members
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()
Methods
addAllRequests(Iterable<? extends UpdateGenerativeQuestionConfigRequest> values)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addAllRequests(Iterable<? extends UpdateGenerativeQuestionConfigRequest> values)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRequests(UpdateGenerativeQuestionConfigRequest value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRequests(UpdateGenerativeQuestionConfigRequest value)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRequests(UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(int index, UpdateGenerativeQuestionConfigRequest value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRequests(int index, UpdateGenerativeQuestionConfigRequest value)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(int index, UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRequests(int index, UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder()
public UpdateGenerativeQuestionConfigRequest.Builder addRequestsBuilder()
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder(int index)
public UpdateGenerativeQuestionConfigRequest.Builder addRequestsBuilder(int index)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
build()
public BatchUpdateGenerativeQuestionConfigsRequest build()
buildPartial()
public BatchUpdateGenerativeQuestionConfigsRequest buildPartial()
clear()
public BatchUpdateGenerativeQuestionConfigsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BatchUpdateGenerativeQuestionConfigsRequest.Builder clearParent()
Optional. Resource name of the parent catalog.
Format: projects/{project}/locations/{location}/catalogs/{catalog}
string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
clearRequests()
public BatchUpdateGenerativeQuestionConfigsRequest.Builder clearRequests()
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public BatchUpdateGenerativeQuestionConfigsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchUpdateGenerativeQuestionConfigsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Optional. Resource name of the parent catalog.
Format: projects/{project}/locations/{location}/catalogs/{catalog}
string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Optional. Resource name of the parent catalog.
Format: projects/{project}/locations/{location}/catalogs/{catalog}
string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getRequests(int index)
public UpdateGenerativeQuestionConfigRequest getRequests(int index)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsBuilder(int index)
public UpdateGenerativeQuestionConfigRequest.Builder getRequestsBuilder(int index)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsBuilderList()
public List<UpdateGenerativeQuestionConfigRequest.Builder> getRequestsBuilderList()
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsCount()
public int getRequestsCount()
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getRequestsList()
public List<UpdateGenerativeQuestionConfigRequest> getRequestsList()
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilder(int index)
public UpdateGenerativeQuestionConfigRequestOrBuilder getRequestsOrBuilder(int index)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsOrBuilderList()
public List<? extends UpdateGenerativeQuestionConfigRequestOrBuilder> getRequestsOrBuilderList()
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchUpdateGenerativeQuestionConfigsRequest other)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder mergeFrom(BatchUpdateGenerativeQuestionConfigsRequest other)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateGenerativeQuestionConfigsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRequests(int index)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder removeRequests(int index)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder setParent(String value)
Optional. Resource name of the parent catalog.
Format: projects/{project}/locations/{location}/catalogs/{catalog}
string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder setParentBytes(ByteString value)
Optional. Resource name of the parent catalog.
Format: projects/{project}/locations/{location}/catalogs/{catalog}
string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequests(int index, UpdateGenerativeQuestionConfigRequest value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder setRequests(int index, UpdateGenerativeQuestionConfigRequest value)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setRequests(int index, UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder setRequests(int index, UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
Required. The updates question configs.
repeated .google.cloud.retail.v2.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateGenerativeQuestionConfigsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides