Interface OwnershipContextOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OwnershipContext, OwnershipContext.Builder

@Generated public interface OwnershipContextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Account that owns this document.
    com.google.protobuf.ByteString
    Account that owns this document.
    Connector type that created this document (e.g., "s3", "file-crawler").
    com.google.protobuf.ByteString
    Connector type that created this document (e.g., "s3", "file-crawler").
    DataSource (account + connector type binding) that produced this document.
    com.google.protobuf.ByteString
    DataSource (account + connector type binding) that produced this document.
    boolean
    Connector type that created this document (e.g., "s3", "file-crawler").

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAccountId

      String getAccountId()
       Account that owns this document.
       
      string account_id = 1 [json_name = "accountId"];
      Returns:
      The accountId.
    • getAccountIdBytes

      com.google.protobuf.ByteString getAccountIdBytes()
       Account that owns this document.
       
      string account_id = 1 [json_name = "accountId"];
      Returns:
      The bytes for accountId.
    • getDatasourceId

      String getDatasourceId()
       DataSource (account + connector type binding) that produced this document.
       Deterministic: hash(account_id + connector_id)
       
      string datasource_id = 2 [json_name = "datasourceId"];
      Returns:
      The datasourceId.
    • getDatasourceIdBytes

      com.google.protobuf.ByteString getDatasourceIdBytes()
       DataSource (account + connector type binding) that produced this document.
       Deterministic: hash(account_id + connector_id)
       
      string datasource_id = 2 [json_name = "datasourceId"];
      Returns:
      The bytes for datasourceId.
    • hasConnectorId

      boolean hasConnectorId()
       Connector type that created this document (e.g., "s3", "file-crawler").
       Optional since it's derivable from datasource, but useful for filtering.
       
      optional string connector_id = 3 [json_name = "connectorId"];
      Returns:
      Whether the connectorId field is set.
    • getConnectorId

      String getConnectorId()
       Connector type that created this document (e.g., "s3", "file-crawler").
       Optional since it's derivable from datasource, but useful for filtering.
       
      optional string connector_id = 3 [json_name = "connectorId"];
      Returns:
      The connectorId.
    • getConnectorIdBytes

      com.google.protobuf.ByteString getConnectorIdBytes()
       Connector type that created this document (e.g., "s3", "file-crawler").
       Optional since it's derivable from datasource, but useful for filtering.
       
      optional string connector_id = 3 [json_name = "connectorId"];
      Returns:
      The bytes for connectorId.