public static final class BatchUpdateGenerativeQuestionConfigsRequest.Builder extends GeneratedMessage.Builder<BatchUpdateGenerativeQuestionConfigsRequest.Builder> implements BatchUpdateGenerativeQuestionConfigsRequestOrBuilderRequest for BatchUpdateGenerativeQuestionConfig method.
Protobuf type google.cloud.retail.v2beta.BatchUpdateGenerativeQuestionConfigsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchUpdateGenerativeQuestionConfigsRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRequests(Iterable<? extends UpdateGenerativeQuestionConfigRequest> values)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addAllRequests(Iterable<? extends UpdateGenerativeQuestionConfigRequest> values)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest> |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
addRequests(UpdateGenerativeQuestionConfigRequest value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRequests(UpdateGenerativeQuestionConfigRequest value)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
UpdateGenerativeQuestionConfigRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
addRequests(UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRequests(UpdateGenerativeQuestionConfigRequest.Builder builderForValue)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UpdateGenerativeQuestionConfigRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
addRequests(int index, UpdateGenerativeQuestionConfigRequest value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRequests(int index, UpdateGenerativeQuestionConfigRequest value)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UpdateGenerativeQuestionConfigRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
addRequests(int index, UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder addRequests(int index, UpdateGenerativeQuestionConfigRequest.Builder builderForValue)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpdateGenerativeQuestionConfigRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
addRequestsBuilder()
public UpdateGenerativeQuestionConfigRequest.Builder addRequestsBuilder()Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionConfigRequest.Builder |
|
addRequestsBuilder(int index)
public UpdateGenerativeQuestionConfigRequest.Builder addRequestsBuilder(int index)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionConfigRequest.Builder |
|
build()
public BatchUpdateGenerativeQuestionConfigsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest |
|
buildPartial()
public BatchUpdateGenerativeQuestionConfigsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest |
|
clear()
public BatchUpdateGenerativeQuestionConfigsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
This builder for chaining. |
clearRequests()
public BatchUpdateGenerativeQuestionConfigsRequest.Builder clearRequests()Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
getDefaultInstanceForType()
public BatchUpdateGenerativeQuestionConfigsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionConfigRequest |
|
getRequestsBuilder(int index)
public UpdateGenerativeQuestionConfigRequest.Builder getRequestsBuilder(int index)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionConfigRequest.Builder |
|
getRequestsBuilderList()
public List<UpdateGenerativeQuestionConfigRequest.Builder> getRequestsBuilderList()Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRequestsCount()
public int getRequestsCount()Required. The updates question configs.
repeated .google.cloud.retail.v2beta.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.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<UpdateGenerativeQuestionConfigRequest> |
|
getRequestsOrBuilder(int index)
public UpdateGenerativeQuestionConfigRequestOrBuilder getRequestsOrBuilder(int index)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateGenerativeQuestionConfigRequestOrBuilder |
|
getRequestsOrBuilderList()
public List<? extends UpdateGenerativeQuestionConfigRequestOrBuilder> getRequestsOrBuilderList()Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchUpdateGenerativeQuestionConfigsRequest other)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder mergeFrom(BatchUpdateGenerativeQuestionConfigsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchUpdateGenerativeQuestionConfigsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
removeRequests(int index)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder removeRequests(int index)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
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 |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
This builder for chaining. |
setRequests(int index, UpdateGenerativeQuestionConfigRequest value)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder setRequests(int index, UpdateGenerativeQuestionConfigRequest value)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UpdateGenerativeQuestionConfigRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|
setRequests(int index, UpdateGenerativeQuestionConfigRequest.Builder builderForValue)
public BatchUpdateGenerativeQuestionConfigsRequest.Builder setRequests(int index, UpdateGenerativeQuestionConfigRequest.Builder builderForValue)Required. The updates question configs.
repeated .google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpdateGenerativeQuestionConfigRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateGenerativeQuestionConfigsRequest.Builder |
|