Class UpdateDataStoreRequest.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDataStoreRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDataStoreRequest.Builder
Overrides

build()

public UpdateDataStoreRequest build()
Returns
TypeDescription
UpdateDataStoreRequest

buildPartial()

public UpdateDataStoreRequest buildPartial()
Returns
TypeDescription
UpdateDataStoreRequest

clear()

public UpdateDataStoreRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateDataStoreRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDataStoreRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDataStoreRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDataStoreRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateDataStoreRequest.Builder

clone()

public UpdateDataStoreRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataStoreOrBuilder

getDefaultInstanceForType()

public UpdateDataStoreRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataStoreRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDataStore
Returns
TypeDescription
UpdateDataStoreRequest.Builder

mergeFrom(UpdateDataStoreRequest other)

public UpdateDataStoreRequest.Builder mergeFrom(UpdateDataStoreRequest other)
Parameter
NameDescription
otherUpdateDataStoreRequest
Returns
TypeDescription
UpdateDataStoreRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDataStoreRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDataStoreRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDataStoreRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDataStoreRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataStoreRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueDataStore
Returns
TypeDescription
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
NameDescription
builderForValueDataStore.Builder
Returns
TypeDescription
UpdateDataStoreRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDataStoreRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDataStoreRequest.Builder
Overrides

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

public UpdateDataStoreRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDataStoreRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataStoreRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDataStoreRequest.Builder