Class ConnectorRegistration

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.connector.intake.v1.ConnectorRegistration
All Implemented Interfaces:
ConnectorRegistrationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ConnectorRegistration extends com.google.protobuf.GeneratedMessage implements ConnectorRegistrationOrBuilder
 Complete connector registration information.
 
Protobuf type ai.pipestream.connector.intake.v1.ConnectorRegistration
See Also:
  • Field Details

    • CONNECTOR_ID_FIELD_NUMBER

      public static final int CONNECTOR_ID_FIELD_NUMBER
      See Also:
    • CONNECTOR_NAME_FIELD_NUMBER

      public static final int CONNECTOR_NAME_FIELD_NUMBER
      See Also:
    • CONNECTOR_TYPE_FIELD_NUMBER

      public static final int CONNECTOR_TYPE_FIELD_NUMBER
      See Also:
    • ACCOUNT_ID_FIELD_NUMBER

      public static final int ACCOUNT_ID_FIELD_NUMBER
      See Also:
    • API_KEY_FIELD_NUMBER

      public static final int API_KEY_FIELD_NUMBER
      See Also:
    • S3_BUCKET_FIELD_NUMBER

      public static final int S3_BUCKET_FIELD_NUMBER
      See Also:
    • S3_BASE_PATH_FIELD_NUMBER

      public static final int S3_BASE_PATH_FIELD_NUMBER
      See Also:
    • DEFAULT_METADATA_FIELD_NUMBER

      public static final int DEFAULT_METADATA_FIELD_NUMBER
      See Also:
    • MAX_FILE_SIZE_FIELD_NUMBER

      public static final int MAX_FILE_SIZE_FIELD_NUMBER
      See Also:
    • RATE_LIMIT_PER_MINUTE_FIELD_NUMBER

      public static final int RATE_LIMIT_PER_MINUTE_FIELD_NUMBER
      See Also:
    • ACTIVE_FIELD_NUMBER

      public static final int ACTIVE_FIELD_NUMBER
      See Also:
    • CREATED_FIELD_NUMBER

      public static final int CREATED_FIELD_NUMBER
      See Also:
    • UPDATED_FIELD_NUMBER

      public static final int UPDATED_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getConnectorId

      public String getConnectorId()
       Unique connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Specified by:
      getConnectorId in interface ConnectorRegistrationOrBuilder
      Returns:
      The connectorId.
    • getConnectorIdBytes

      public com.google.protobuf.ByteString getConnectorIdBytes()
       Unique connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Specified by:
      getConnectorIdBytes in interface ConnectorRegistrationOrBuilder
      Returns:
      The bytes for connectorId.
    • getConnectorName

      public String getConnectorName()
       Human-readable connector name.
       
      string connector_name = 2 [json_name = "connectorName"];
      Specified by:
      getConnectorName in interface ConnectorRegistrationOrBuilder
      Returns:
      The connectorName.
    • getConnectorNameBytes

      public com.google.protobuf.ByteString getConnectorNameBytes()
       Human-readable connector name.
       
      string connector_name = 2 [json_name = "connectorName"];
      Specified by:
      getConnectorNameBytes in interface ConnectorRegistrationOrBuilder
      Returns:
      The bytes for connectorName.
    • getConnectorType

      public String getConnectorType()
       Connector type (e.g., "filesystem", "confluence").
       
      string connector_type = 3 [json_name = "connectorType"];
      Specified by:
      getConnectorType in interface ConnectorRegistrationOrBuilder
      Returns:
      The connectorType.
    • getConnectorTypeBytes

      public com.google.protobuf.ByteString getConnectorTypeBytes()
       Connector type (e.g., "filesystem", "confluence").
       
      string connector_type = 3 [json_name = "connectorType"];
      Specified by:
      getConnectorTypeBytes in interface ConnectorRegistrationOrBuilder
      Returns:
      The bytes for connectorType.
    • getAccountId

      public String getAccountId()
       Account that owns this connector.
       
      string account_id = 4 [json_name = "accountId"];
      Specified by:
      getAccountId in interface ConnectorRegistrationOrBuilder
      Returns:
      The accountId.
    • getAccountIdBytes

      public com.google.protobuf.ByteString getAccountIdBytes()
       Account that owns this connector.
       
      string account_id = 4 [json_name = "accountId"];
      Specified by:
      getAccountIdBytes in interface ConnectorRegistrationOrBuilder
      Returns:
      The bytes for accountId.
    • getApiKey

      public String getApiKey()
       Generated API key for authentication.
       
      string api_key = 5 [json_name = "apiKey"];
      Specified by:
      getApiKey in interface ConnectorRegistrationOrBuilder
      Returns:
      The apiKey.
    • getApiKeyBytes

      public com.google.protobuf.ByteString getApiKeyBytes()
       Generated API key for authentication.
       
      string api_key = 5 [json_name = "apiKey"];
      Specified by:
      getApiKeyBytes in interface ConnectorRegistrationOrBuilder
      Returns:
      The bytes for apiKey.
    • getS3Bucket

      public String getS3Bucket()
       S3 bucket for document storage.
       
      string s3_bucket = 6 [json_name = "s3Bucket"];
      Specified by:
      getS3Bucket in interface ConnectorRegistrationOrBuilder
      Returns:
      The s3Bucket.
    • getS3BucketBytes

      public com.google.protobuf.ByteString getS3BucketBytes()
       S3 bucket for document storage.
       
      string s3_bucket = 6 [json_name = "s3Bucket"];
      Specified by:
      getS3BucketBytes in interface ConnectorRegistrationOrBuilder
      Returns:
      The bytes for s3Bucket.
    • getS3BasePath

      public String getS3BasePath()
       Base path prefix in S3 (e.g., "connectors/filesystem-prod/").
       
      string s3_base_path = 7 [json_name = "s3BasePath"];
      Specified by:
      getS3BasePath in interface ConnectorRegistrationOrBuilder
      Returns:
      The s3BasePath.
    • getS3BasePathBytes

      public com.google.protobuf.ByteString getS3BasePathBytes()
       Base path prefix in S3 (e.g., "connectors/filesystem-prod/").
       
      string s3_base_path = 7 [json_name = "s3BasePath"];
      Specified by:
      getS3BasePathBytes in interface ConnectorRegistrationOrBuilder
      Returns:
      The bytes for s3BasePath.
    • getDefaultMetadataCount

      public int getDefaultMetadataCount()
      Description copied from interface: ConnectorRegistrationOrBuilder
       Default metadata applied to all documents from this connector.
       
      map<string, string> default_metadata = 8 [json_name = "defaultMetadata"];
      Specified by:
      getDefaultMetadataCount in interface ConnectorRegistrationOrBuilder
    • containsDefaultMetadata

      public boolean containsDefaultMetadata(String key)
       Default metadata applied to all documents from this connector.
       
      map<string, string> default_metadata = 8 [json_name = "defaultMetadata"];
      Specified by:
      containsDefaultMetadata in interface ConnectorRegistrationOrBuilder
    • getDefaultMetadata

      @Deprecated public Map<String,String> getDefaultMetadata()
      Deprecated.
      Specified by:
      getDefaultMetadata in interface ConnectorRegistrationOrBuilder
    • getDefaultMetadataMap

      public Map<String,String> getDefaultMetadataMap()
       Default metadata applied to all documents from this connector.
       
      map<string, string> default_metadata = 8 [json_name = "defaultMetadata"];
      Specified by:
      getDefaultMetadataMap in interface ConnectorRegistrationOrBuilder
    • getDefaultMetadataOrDefault

      public String getDefaultMetadataOrDefault(String key, String defaultValue)
       Default metadata applied to all documents from this connector.
       
      map<string, string> default_metadata = 8 [json_name = "defaultMetadata"];
      Specified by:
      getDefaultMetadataOrDefault in interface ConnectorRegistrationOrBuilder
    • getDefaultMetadataOrThrow

      public String getDefaultMetadataOrThrow(String key)
       Default metadata applied to all documents from this connector.
       
      map<string, string> default_metadata = 8 [json_name = "defaultMetadata"];
      Specified by:
      getDefaultMetadataOrThrow in interface ConnectorRegistrationOrBuilder
    • getMaxFileSize

      public long getMaxFileSize()
       Maximum file size allowed in bytes.
       
      int64 max_file_size = 9 [json_name = "maxFileSize"];
      Specified by:
      getMaxFileSize in interface ConnectorRegistrationOrBuilder
      Returns:
      The maxFileSize.
    • getRateLimitPerMinute

      public long getRateLimitPerMinute()
       Rate limit for uploads per minute.
       
      int64 rate_limit_per_minute = 10 [json_name = "rateLimitPerMinute"];
      Specified by:
      getRateLimitPerMinute in interface ConnectorRegistrationOrBuilder
      Returns:
      The rateLimitPerMinute.
    • getActive

      public boolean getActive()
       Whether this connector is active.
       
      bool active = 11 [json_name = "active"];
      Specified by:
      getActive in interface ConnectorRegistrationOrBuilder
      Returns:
      The active.
    • hasCreated

      public boolean hasCreated()
       Timestamp when connector was created.
       
      .google.protobuf.Timestamp created = 12 [json_name = "created"];
      Specified by:
      hasCreated in interface ConnectorRegistrationOrBuilder
      Returns:
      Whether the created field is set.
    • getCreated

      public com.google.protobuf.Timestamp getCreated()
       Timestamp when connector was created.
       
      .google.protobuf.Timestamp created = 12 [json_name = "created"];
      Specified by:
      getCreated in interface ConnectorRegistrationOrBuilder
      Returns:
      The created.
    • getCreatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder()
       Timestamp when connector was created.
       
      .google.protobuf.Timestamp created = 12 [json_name = "created"];
      Specified by:
      getCreatedOrBuilder in interface ConnectorRegistrationOrBuilder
    • hasUpdated

      public boolean hasUpdated()
       Timestamp when connector was last updated.
       
      .google.protobuf.Timestamp updated = 13 [json_name = "updated"];
      Specified by:
      hasUpdated in interface ConnectorRegistrationOrBuilder
      Returns:
      Whether the updated field is set.
    • getUpdated

      public com.google.protobuf.Timestamp getUpdated()
       Timestamp when connector was last updated.
       
      .google.protobuf.Timestamp updated = 13 [json_name = "updated"];
      Specified by:
      getUpdated in interface ConnectorRegistrationOrBuilder
      Returns:
      The updated.
    • getUpdatedOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder()
       Timestamp when connector was last updated.
       
      .google.protobuf.Timestamp updated = 13 [json_name = "updated"];
      Specified by:
      getUpdatedOrBuilder in interface ConnectorRegistrationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ConnectorRegistration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConnectorRegistration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConnectorRegistration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConnectorRegistration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConnectorRegistration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConnectorRegistration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConnectorRegistration parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConnectorRegistration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ConnectorRegistration parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ConnectorRegistration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConnectorRegistration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConnectorRegistration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ConnectorRegistration.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ConnectorRegistration.Builder newBuilder()
    • newBuilder

      public static ConnectorRegistration.Builder newBuilder(ConnectorRegistration prototype)
    • toBuilder

      public ConnectorRegistration.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ConnectorRegistration.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ConnectorRegistration getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ConnectorRegistration> parser()
    • getParserForType

      public com.google.protobuf.Parser<ConnectorRegistration> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ConnectorRegistration getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder