- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class CreateDataStoreRequest.Builder extends GeneratedMessageV3.Builder<CreateDataStoreRequest.Builder> implements CreateDataStoreRequestOrBuilder
Request for DataStoreService.CreateDataStore method.
Protobuf type google.cloud.discoveryengine.v1beta.CreateDataStoreRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateDataStoreRequest.BuilderImplements
CreateDataStoreRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDataStoreRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
build()
public CreateDataStoreRequest build()
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest |
buildPartial()
public CreateDataStoreRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest |
clear()
public CreateDataStoreRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
clearCreateAdvancedSiteSearch()
public CreateDataStoreRequest.Builder clearCreateAdvancedSiteSearch()
A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
bool create_advanced_site_search = 4;
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder | This builder for chaining. |
clearDataStore()
public CreateDataStoreRequest.Builder clearDataStore()
Required. The DataStore to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
clearDataStoreId()
public CreateDataStoreRequest.Builder clearDataStoreId()
Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name.
This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateDataStoreRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDataStoreRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
clearParent()
public CreateDataStoreRequest.Builder clearParent()
Required. The parent resource name, such as
projects/{project}/locations/{location}/collections/{collection}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder | This builder for chaining. |
clone()
public CreateDataStoreRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
getCreateAdvancedSiteSearch()
public boolean getCreateAdvancedSiteSearch()
A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
bool create_advanced_site_search = 4;
Returns | |
---|---|
Type | Description |
boolean | The createAdvancedSiteSearch. |
getDataStore()
public DataStore getDataStore()
Required. The DataStore to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DataStore | The dataStore. |
getDataStoreBuilder()
public DataStore.Builder getDataStoreBuilder()
Required. The DataStore to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DataStore.Builder |
getDataStoreId()
public String getDataStoreId()
Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name.
This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The dataStoreId. |
getDataStoreIdBytes()
public ByteString getDataStoreIdBytes()
Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name.
This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for dataStoreId. |
getDataStoreOrBuilder()
public DataStoreOrBuilder getDataStoreOrBuilder()
Required. The DataStore to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DataStoreOrBuilder |
getDefaultInstanceForType()
public CreateDataStoreRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The parent resource name, such as
projects/{project}/locations/{location}/collections/{collection}
.
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 name, such as
projects/{project}/locations/{location}/collections/{collection}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
hasDataStore()
public boolean hasDataStore()
Required. The DataStore to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the dataStore field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDataStore(DataStore value)
public CreateDataStoreRequest.Builder mergeDataStore(DataStore value)
Required. The DataStore to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | DataStore |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
mergeFrom(CreateDataStoreRequest other)
public CreateDataStoreRequest.Builder mergeFrom(CreateDataStoreRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateDataStoreRequest |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDataStoreRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateDataStoreRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataStoreRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
setCreateAdvancedSiteSearch(boolean value)
public CreateDataStoreRequest.Builder setCreateAdvancedSiteSearch(boolean value)
A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
bool create_advanced_site_search = 4;
Parameter | |
---|---|
Name | Description |
value | boolean The createAdvancedSiteSearch to set. |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder | This builder for chaining. |
setDataStore(DataStore value)
public CreateDataStoreRequest.Builder setDataStore(DataStore value)
Required. The DataStore to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | DataStore |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
setDataStore(DataStore.Builder builderForValue)
public CreateDataStoreRequest.Builder setDataStore(DataStore.Builder builderForValue)
Required. The DataStore to create.
.google.cloud.discoveryengine.v1beta.DataStore data_store = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | DataStore.Builder |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
setDataStoreId(String value)
public CreateDataStoreRequest.Builder setDataStoreId(String value)
Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name.
This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The dataStoreId to set. |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder | This builder for chaining. |
setDataStoreIdBytes(ByteString value)
public CreateDataStoreRequest.Builder setDataStoreIdBytes(ByteString value)
Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name.
This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
string data_store_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for dataStoreId to set. |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDataStoreRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
setParent(String value)
public CreateDataStoreRequest.Builder setParent(String value)
Required. The parent resource name, such as
projects/{project}/locations/{location}/collections/{collection}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateDataStoreRequest.Builder setParentBytes(ByteString value)
Required. The parent resource name, such as
projects/{project}/locations/{location}/collections/{collection}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDataStoreRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataStoreRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateDataStoreRequest.Builder |