public static final class UpdateDataConnectorRequest.Builder extends GeneratedMessage.Builder<UpdateDataConnectorRequest.Builder> implements UpdateDataConnectorRequestOrBuilderRequest message for DataConnectorService.UpdateDataConnector method.
Protobuf type google.cloud.discoveryengine.v1.UpdateDataConnectorRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateDataConnectorRequest.BuilderImplements
UpdateDataConnectorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateDataConnectorRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest |
|
buildPartial()
public UpdateDataConnectorRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest |
|
clear()
public UpdateDataConnectorRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
clearDataConnector()
public UpdateDataConnectorRequest.Builder clearDataConnector()Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
clearUpdateMask()
public UpdateDataConnectorRequest.Builder clearUpdateMask()Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors support
destination_configs.If an unsupported or unknown field path is provided, the request will return an
INVALID_ARGUMENTerror.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
getDataConnector()
public DataConnector getDataConnector()Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataConnector |
The dataConnector. |
getDataConnectorBuilder()
public DataConnector.Builder getDataConnectorBuilder()Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataConnector.Builder |
|
getDataConnectorOrBuilder()
public DataConnectorOrBuilder getDataConnectorOrBuilder()Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataConnectorOrBuilder |
|
getDefaultInstanceForType()
public UpdateDataConnectorRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors support
destination_configs.If an unsupported or unknown field path is provided, the request will return an
INVALID_ARGUMENTerror.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors support
destination_configs.If an unsupported or unknown field path is provided, the request will return an
INVALID_ARGUMENTerror.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors support
destination_configs.If an unsupported or unknown field path is provided, the request will return an
INVALID_ARGUMENTerror.
.google.protobuf.FieldMask update_mask = 2;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasDataConnector()
public boolean hasDataConnector()Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataConnector field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors support
destination_configs.If an unsupported or unknown field path is provided, the request will return an
INVALID_ARGUMENTerror.
.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 |
|
mergeDataConnector(DataConnector value)
public UpdateDataConnectorRequest.Builder mergeDataConnector(DataConnector value)Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataConnector |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
mergeFrom(UpdateDataConnectorRequest other)
public UpdateDataConnectorRequest.Builder mergeFrom(UpdateDataConnectorRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateDataConnectorRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDataConnectorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateDataConnectorRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateDataConnectorRequest.Builder mergeUpdateMask(FieldMask value)Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors support
destination_configs.If an unsupported or unknown field path is provided, the request will return an
INVALID_ARGUMENTerror.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
setDataConnector(DataConnector value)
public UpdateDataConnectorRequest.Builder setDataConnector(DataConnector value)Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataConnector |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
setDataConnector(DataConnector.Builder builderForValue)
public UpdateDataConnectorRequest.Builder setDataConnector(DataConnector.Builder builderForValue)Required. The DataConnector to update.
If the caller does not have permission to update the
DataConnector, regardless
of whether or not it exists, a PERMISSION_DENIED error is returned.
If the DataConnector does
not exist, a NOT_FOUND error is returned.
.google.cloud.discoveryengine.v1.DataConnector data_connector = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataConnector.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateDataConnectorRequest.Builder setUpdateMask(FieldMask value)Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors support
destination_configs.If an unsupported or unknown field path is provided, the request will return an
INVALID_ARGUMENTerror.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDataConnectorRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Indicates which fields in the provided DataConnector to update.
Supported field paths include:
refresh_intervalparamsauto_run_disabledaction_configaction_config.action_paramsaction_config.service_namedestination_configsblocking_reasonssync_modeincremental_sync_disabledincremental_refresh_intervaldata_protection_policyNote: Support for these fields may vary depending on the connector type. For example, not all connectors support
destination_configs.If an unsupported or unknown field path is provided, the request will return an
INVALID_ARGUMENTerror.
.google.protobuf.FieldMask update_mask = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataConnectorRequest.Builder |
|