public static final class BatchCreateTargetSitesRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateTargetSitesRequest.Builder> implements BatchCreateTargetSitesRequestOrBuilder
Request message for
SiteSearchEngineService.BatchCreateTargetSites
method.
Protobuf type google.cloud.discoveryengine.v1.BatchCreateTargetSitesRequest
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 CreateTargetSiteRequest> values)
public BatchCreateTargetSitesRequest.Builder addAllRequests(Iterable<? extends CreateTargetSiteRequest> values)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.discoveryengine.v1.CreateTargetSiteRequest>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateTargetSitesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRequests(CreateTargetSiteRequest value)
public BatchCreateTargetSitesRequest.Builder addRequests(CreateTargetSiteRequest value)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(CreateTargetSiteRequest.Builder builderForValue)
public BatchCreateTargetSitesRequest.Builder addRequests(CreateTargetSiteRequest.Builder builderForValue)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(int index, CreateTargetSiteRequest value)
public BatchCreateTargetSitesRequest.Builder addRequests(int index, CreateTargetSiteRequest value)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequests(int index, CreateTargetSiteRequest.Builder builderForValue)
public BatchCreateTargetSitesRequest.Builder addRequests(int index, CreateTargetSiteRequest.Builder builderForValue)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder()
public CreateTargetSiteRequest.Builder addRequestsBuilder()
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
addRequestsBuilder(int index)
public CreateTargetSiteRequest.Builder addRequestsBuilder(int index)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
build()
public BatchCreateTargetSitesRequest build()
buildPartial()
public BatchCreateTargetSitesRequest buildPartial()
clear()
public BatchCreateTargetSitesRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateTargetSitesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateTargetSitesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BatchCreateTargetSitesRequest.Builder clearParent()
Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
The parent field in the CreateBookRequest messages must either be empty or
match this field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearRequests()
public BatchCreateTargetSitesRequest.Builder clearRequests()
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public BatchCreateTargetSitesRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchCreateTargetSitesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
The parent field in the CreateBookRequest messages must either be empty or
match this field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
The parent field in the CreateBookRequest messages must either be empty or
match this field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getRequests(int index)
public CreateTargetSiteRequest getRequests(int index)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getRequestsBuilder(int index)
public CreateTargetSiteRequest.Builder getRequestsBuilder(int index)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getRequestsBuilderList()
public List<CreateTargetSiteRequest.Builder> getRequestsBuilderList()
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsCount()
public int getRequestsCount()
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
getRequestsList()
public List<CreateTargetSiteRequest> getRequestsList()
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilder(int index)
public CreateTargetSiteRequestOrBuilder getRequestsOrBuilder(int index)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getRequestsOrBuilderList()
public List<? extends CreateTargetSiteRequestOrBuilder> getRequestsOrBuilderList()
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.CreateTargetSiteRequestOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchCreateTargetSitesRequest other)
public BatchCreateTargetSitesRequest.Builder mergeFrom(BatchCreateTargetSitesRequest other)
public BatchCreateTargetSitesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateTargetSitesRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateTargetSitesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRequests(int index)
public BatchCreateTargetSitesRequest.Builder removeRequests(int index)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateTargetSitesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public BatchCreateTargetSitesRequest.Builder setParent(String value)
Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
The parent field in the CreateBookRequest messages must either be empty or
match this field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public BatchCreateTargetSitesRequest.Builder setParentBytes(ByteString value)
Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
.
The parent field in the CreateBookRequest messages must either be empty or
match this field.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateTargetSitesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequests(int index, CreateTargetSiteRequest value)
public BatchCreateTargetSitesRequest.Builder setRequests(int index, CreateTargetSiteRequest value)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setRequests(int index, CreateTargetSiteRequest.Builder builderForValue)
public BatchCreateTargetSitesRequest.Builder setRequests(int index, CreateTargetSiteRequest.Builder builderForValue)
Required. The request message specifying the resources to create.
A maximum of 20 TargetSites can be created in a batch.
repeated .google.cloud.discoveryengine.v1.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateTargetSitesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides