Class UpdateDataStoreRequest.Builder (0.45.0)

public static final class UpdateDataStoreRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataStoreRequest.Builder> implements UpdateDataStoreRequestOrBuilder

Request message for DataStoreService.UpdateDataStore method.

Protobuf type google.cloud.discoveryengine.v1alpha.UpdateDataStoreRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDataStoreRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

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
Overrides

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.v1alpha.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDataStoreRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDataStoreRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDataStoreRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

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

clone()

public UpdateDataStoreRequest.Builder clone()
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

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.v1alpha.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.v1alpha.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.v1alpha.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
Overrides

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.v1alpha.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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.v1alpha.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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateDataStoreRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataStoreRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

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.v1alpha.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.v1alpha.DataStore data_store = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataStore.Builder
Returns
Type Description
UpdateDataStoreRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDataStoreRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateDataStoreRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataStoreRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDataStoreRequest.Builder
Overrides

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