public static final class UpdateDataStoreRequest.Builder extends GeneratedMessage.Builder<UpdateDataStoreRequest.Builder> implements UpdateDataStoreRequestOrBuilderRequest message for DataStoreService.UpdateDataStore method.
Protobuf type google.cloud.discoveryengine.v1.UpdateDataStoreRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateDataStoreRequest.BuilderImplements
UpdateDataStoreRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateDataStoreRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest |
|
buildPartial()
public UpdateDataStoreRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest |
|
clear()
public UpdateDataStoreRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
clearDataStore()
public UpdateDataStoreRequest.Builder clearDataStore()Required. The DataStore to update.
If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataStore to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
clearUpdateMask()
public UpdateDataStoreRequest.Builder clearUpdateMask()Indicates which fields in the provided DataStore to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
getDataStore()
public DataStore getDataStore()Required. The DataStore to update.
If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataStore to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataStore |
The dataStore. |
getDataStoreBuilder()
public DataStore.Builder getDataStoreBuilder()Required. The DataStore to update.
If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataStore to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataStore.Builder |
|
getDataStoreOrBuilder()
public DataStoreOrBuilder getDataStoreOrBuilder()Required. The DataStore to update.
If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataStore to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataStoreOrBuilder |
|
getDefaultInstanceForType()
public UpdateDataStoreRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Indicates which fields in the provided DataStore to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Indicates which fields in the provided DataStore to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Indicates which fields in the provided DataStore to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasDataStore()
public boolean hasDataStore()Required. The DataStore to update.
If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataStore to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataStore field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Indicates which fields in the provided DataStore to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataStore(DataStore value)
public UpdateDataStoreRequest.Builder mergeDataStore(DataStore value)Required. The DataStore to update.
If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataStore to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStore |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
mergeFrom(UpdateDataStoreRequest other)
public UpdateDataStoreRequest.Builder mergeFrom(UpdateDataStoreRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateDataStoreRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDataStoreRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateDataStoreRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateDataStoreRequest.Builder mergeUpdateMask(FieldMask value)Indicates which fields in the provided DataStore to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
setDataStore(DataStore value)
public UpdateDataStoreRequest.Builder setDataStore(DataStore value)Required. The DataStore to update.
If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataStore to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataStore |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
setDataStore(DataStore.Builder builderForValue)
public UpdateDataStoreRequest.Builder setDataStore(DataStore.Builder builderForValue)Required. The DataStore to update.
If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataStore to update does not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataStore.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateDataStoreRequest.Builder setUpdateMask(FieldMask value)Indicates which fields in the provided DataStore to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDataStoreRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Indicates which fields in the provided DataStore to update.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataStoreRequest.Builder |
|