Enum DataConnector.SyncMode (0.99.0)

public enum DataConnector.SyncMode extends Enum<DataConnector.SyncMode> implements ProtocolMessageEnum

Defines the data synchronization mode supported by the data connector.

Protobuf enum google.cloud.discoveryengine.v1.DataConnector.SyncMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
PERIODIC

The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.

PERIODIC = 0;

PERIODIC_VALUE

The connector will sync data periodically based on the refresh_interval. Use it with auto_run_disabled to pause the periodic sync, or indicate a one-time sync.

PERIODIC = 0;

STREAMING

The data will be synced in real time.

STREAMING = 1;

STREAMING_VALUE

The data will be synced in real time.

STREAMING = 1;

UNRECOGNIZED
UNSPECIFIED

Connector that doesn't ingest data will have this value

UNSPECIFIED = 2;

UNSPECIFIED_VALUE

Connector that doesn't ingest data will have this value

UNSPECIFIED = 2;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()