Class ConnectorRegistration.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ConnectorRegistration.Builder>
com.google.protobuf.GeneratedMessage.Builder<ConnectorRegistration.Builder>
ai.pipestream.connector.intake.v1.ConnectorRegistration.Builder
All Implemented Interfaces:
ConnectorRegistrationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConnectorRegistration

public static final class ConnectorRegistration.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConnectorRegistration.Builder> implements ConnectorRegistrationOrBuilder
 Complete connector registration information.
 
Protobuf type ai.pipestream.connector.intake.v1.ConnectorRegistration
  • 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.Builder<ConnectorRegistration.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ConnectorRegistration.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ConnectorRegistration.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ConnectorRegistration.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ConnectorRegistration.Builder>
    • getDefaultInstanceForType

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

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

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

      public ConnectorRegistration.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectorRegistration.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ConnectorRegistration.Builder>
    • mergeFrom

      public ConnectorRegistration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectorRegistration.Builder>
      Throws:
      IOException
    • 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.
    • setConnectorId

      public ConnectorRegistration.Builder setConnectorId(String value)
       Unique connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Parameters:
      value - The connectorId to set.
      Returns:
      This builder for chaining.
    • clearConnectorId

      public ConnectorRegistration.Builder clearConnectorId()
       Unique connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Returns:
      This builder for chaining.
    • setConnectorIdBytes

      public ConnectorRegistration.Builder setConnectorIdBytes(com.google.protobuf.ByteString value)
       Unique connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Parameters:
      value - The bytes for connectorId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setConnectorName

      public ConnectorRegistration.Builder setConnectorName(String value)
       Human-readable connector name.
       
      string connector_name = 2 [json_name = "connectorName"];
      Parameters:
      value - The connectorName to set.
      Returns:
      This builder for chaining.
    • clearConnectorName

      public ConnectorRegistration.Builder clearConnectorName()
       Human-readable connector name.
       
      string connector_name = 2 [json_name = "connectorName"];
      Returns:
      This builder for chaining.
    • setConnectorNameBytes

      public ConnectorRegistration.Builder setConnectorNameBytes(com.google.protobuf.ByteString value)
       Human-readable connector name.
       
      string connector_name = 2 [json_name = "connectorName"];
      Parameters:
      value - The bytes for connectorName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setConnectorType

      public ConnectorRegistration.Builder setConnectorType(String value)
       Connector type (e.g., "filesystem", "confluence").
       
      string connector_type = 3 [json_name = "connectorType"];
      Parameters:
      value - The connectorType to set.
      Returns:
      This builder for chaining.
    • clearConnectorType

      public ConnectorRegistration.Builder clearConnectorType()
       Connector type (e.g., "filesystem", "confluence").
       
      string connector_type = 3 [json_name = "connectorType"];
      Returns:
      This builder for chaining.
    • setConnectorTypeBytes

      public ConnectorRegistration.Builder setConnectorTypeBytes(com.google.protobuf.ByteString value)
       Connector type (e.g., "filesystem", "confluence").
       
      string connector_type = 3 [json_name = "connectorType"];
      Parameters:
      value - The bytes for connectorType to set.
      Returns:
      This builder for chaining.
    • 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.
    • setAccountId

      public ConnectorRegistration.Builder setAccountId(String value)
       Account that owns this connector.
       
      string account_id = 4 [json_name = "accountId"];
      Parameters:
      value - The accountId to set.
      Returns:
      This builder for chaining.
    • clearAccountId

      public ConnectorRegistration.Builder clearAccountId()
       Account that owns this connector.
       
      string account_id = 4 [json_name = "accountId"];
      Returns:
      This builder for chaining.
    • setAccountIdBytes

      public ConnectorRegistration.Builder setAccountIdBytes(com.google.protobuf.ByteString value)
       Account that owns this connector.
       
      string account_id = 4 [json_name = "accountId"];
      Parameters:
      value - The bytes for accountId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setApiKey

      public ConnectorRegistration.Builder setApiKey(String value)
       Generated API key for authentication.
       
      string api_key = 5 [json_name = "apiKey"];
      Parameters:
      value - The apiKey to set.
      Returns:
      This builder for chaining.
    • clearApiKey

      public ConnectorRegistration.Builder clearApiKey()
       Generated API key for authentication.
       
      string api_key = 5 [json_name = "apiKey"];
      Returns:
      This builder for chaining.
    • setApiKeyBytes

      public ConnectorRegistration.Builder setApiKeyBytes(com.google.protobuf.ByteString value)
       Generated API key for authentication.
       
      string api_key = 5 [json_name = "apiKey"];
      Parameters:
      value - The bytes for apiKey to set.
      Returns:
      This builder for chaining.
    • 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.
    • setS3Bucket

      public ConnectorRegistration.Builder setS3Bucket(String value)
       S3 bucket for document storage.
       
      string s3_bucket = 6 [json_name = "s3Bucket"];
      Parameters:
      value - The s3Bucket to set.
      Returns:
      This builder for chaining.
    • clearS3Bucket

      public ConnectorRegistration.Builder clearS3Bucket()
       S3 bucket for document storage.
       
      string s3_bucket = 6 [json_name = "s3Bucket"];
      Returns:
      This builder for chaining.
    • setS3BucketBytes

      public ConnectorRegistration.Builder setS3BucketBytes(com.google.protobuf.ByteString value)
       S3 bucket for document storage.
       
      string s3_bucket = 6 [json_name = "s3Bucket"];
      Parameters:
      value - The bytes for s3Bucket to set.
      Returns:
      This builder for chaining.
    • 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.
    • setS3BasePath

      public ConnectorRegistration.Builder setS3BasePath(String value)
       Base path prefix in S3 (e.g., "connectors/filesystem-prod/").
       
      string s3_base_path = 7 [json_name = "s3BasePath"];
      Parameters:
      value - The s3BasePath to set.
      Returns:
      This builder for chaining.
    • clearS3BasePath

      public ConnectorRegistration.Builder clearS3BasePath()
       Base path prefix in S3 (e.g., "connectors/filesystem-prod/").
       
      string s3_base_path = 7 [json_name = "s3BasePath"];
      Returns:
      This builder for chaining.
    • setS3BasePathBytes

      public ConnectorRegistration.Builder setS3BasePathBytes(com.google.protobuf.ByteString value)
       Base path prefix in S3 (e.g., "connectors/filesystem-prod/").
       
      string s3_base_path = 7 [json_name = "s3BasePath"];
      Parameters:
      value - The bytes for s3BasePath to set.
      Returns:
      This builder for chaining.
    • 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
    • clearDefaultMetadata

      public ConnectorRegistration.Builder clearDefaultMetadata()
    • removeDefaultMetadata

      public ConnectorRegistration.Builder removeDefaultMetadata(String key)
       Default metadata applied to all documents from this connector.
       
      map<string, string> default_metadata = 8 [json_name = "defaultMetadata"];
    • getMutableDefaultMetadata

      @Deprecated public Map<String,String> getMutableDefaultMetadata()
      Deprecated.
      Use alternate mutation accessors instead.
    • putDefaultMetadata

      public ConnectorRegistration.Builder putDefaultMetadata(String key, String value)
       Default metadata applied to all documents from this connector.
       
      map<string, string> default_metadata = 8 [json_name = "defaultMetadata"];
    • putAllDefaultMetadata

      public ConnectorRegistration.Builder putAllDefaultMetadata(Map<String,String> values)
       Default metadata applied to all documents from this connector.
       
      map<string, string> default_metadata = 8 [json_name = "defaultMetadata"];
    • 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.
    • setMaxFileSize

      public ConnectorRegistration.Builder setMaxFileSize(long value)
       Maximum file size allowed in bytes.
       
      int64 max_file_size = 9 [json_name = "maxFileSize"];
      Parameters:
      value - The maxFileSize to set.
      Returns:
      This builder for chaining.
    • clearMaxFileSize

      public ConnectorRegistration.Builder clearMaxFileSize()
       Maximum file size allowed in bytes.
       
      int64 max_file_size = 9 [json_name = "maxFileSize"];
      Returns:
      This builder for chaining.
    • 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.
    • setRateLimitPerMinute

      public ConnectorRegistration.Builder setRateLimitPerMinute(long value)
       Rate limit for uploads per minute.
       
      int64 rate_limit_per_minute = 10 [json_name = "rateLimitPerMinute"];
      Parameters:
      value - The rateLimitPerMinute to set.
      Returns:
      This builder for chaining.
    • clearRateLimitPerMinute

      public ConnectorRegistration.Builder clearRateLimitPerMinute()
       Rate limit for uploads per minute.
       
      int64 rate_limit_per_minute = 10 [json_name = "rateLimitPerMinute"];
      Returns:
      This builder for chaining.
    • getActive

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

      public ConnectorRegistration.Builder setActive(boolean value)
       Whether this connector is active.
       
      bool active = 11 [json_name = "active"];
      Parameters:
      value - The active to set.
      Returns:
      This builder for chaining.
    • clearActive

      public ConnectorRegistration.Builder clearActive()
       Whether this connector is active.
       
      bool active = 11 [json_name = "active"];
      Returns:
      This builder for chaining.
    • 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.
    • setCreated

      public ConnectorRegistration.Builder setCreated(com.google.protobuf.Timestamp value)
       Timestamp when connector was created.
       
      .google.protobuf.Timestamp created = 12 [json_name = "created"];
    • setCreated

      public ConnectorRegistration.Builder setCreated(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when connector was created.
       
      .google.protobuf.Timestamp created = 12 [json_name = "created"];
    • mergeCreated

      public ConnectorRegistration.Builder mergeCreated(com.google.protobuf.Timestamp value)
       Timestamp when connector was created.
       
      .google.protobuf.Timestamp created = 12 [json_name = "created"];
    • clearCreated

      public ConnectorRegistration.Builder clearCreated()
       Timestamp when connector was created.
       
      .google.protobuf.Timestamp created = 12 [json_name = "created"];
    • getCreatedBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedBuilder()
       Timestamp when connector was created.
       
      .google.protobuf.Timestamp created = 12 [json_name = "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.
    • setUpdated

      public ConnectorRegistration.Builder setUpdated(com.google.protobuf.Timestamp value)
       Timestamp when connector was last updated.
       
      .google.protobuf.Timestamp updated = 13 [json_name = "updated"];
    • setUpdated

      public ConnectorRegistration.Builder setUpdated(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when connector was last updated.
       
      .google.protobuf.Timestamp updated = 13 [json_name = "updated"];
    • mergeUpdated

      public ConnectorRegistration.Builder mergeUpdated(com.google.protobuf.Timestamp value)
       Timestamp when connector was last updated.
       
      .google.protobuf.Timestamp updated = 13 [json_name = "updated"];
    • clearUpdated

      public ConnectorRegistration.Builder clearUpdated()
       Timestamp when connector was last updated.
       
      .google.protobuf.Timestamp updated = 13 [json_name = "updated"];
    • getUpdatedBuilder

      public com.google.protobuf.Timestamp.Builder getUpdatedBuilder()
       Timestamp when connector was last updated.
       
      .google.protobuf.Timestamp updated = 13 [json_name = "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