public final class BatchCreateTargetSitesRequest extends GeneratedMessageV3 implements BatchCreateTargetSitesRequestOrBuilder
Request message for
SiteSearchEngineService.BatchCreateTargetSites
method.
Protobuf type google.cloud.discoveryengine.v1alpha.BatchCreateTargetSitesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REQUESTS_FIELD_NUMBER
public static final int REQUESTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BatchCreateTargetSitesRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchCreateTargetSitesRequest.Builder newBuilder()
newBuilder(BatchCreateTargetSitesRequest prototype)
public static BatchCreateTargetSitesRequest.Builder newBuilder(BatchCreateTargetSitesRequest prototype)
public static BatchCreateTargetSitesRequest parseDelimitedFrom(InputStream input)
public static BatchCreateTargetSitesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchCreateTargetSitesRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTargetSitesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchCreateTargetSitesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTargetSitesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTargetSitesRequest parseFrom(CodedInputStream input)
public static BatchCreateTargetSitesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTargetSitesRequest parseFrom(InputStream input)
public static BatchCreateTargetSitesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchCreateTargetSitesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateTargetSitesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchCreateTargetSitesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BatchCreateTargetSitesRequest getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<BatchCreateTargetSitesRequest> getParserForType()
Overrides
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.v1alpha.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.CreateTargetSiteRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.CreateTargetSiteRequestOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchCreateTargetSitesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchCreateTargetSitesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BatchCreateTargetSitesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides