Class RegisterConnectorRequest

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

@Generated public final class RegisterConnectorRequest extends com.google.protobuf.GeneratedMessage implements RegisterConnectorRequestOrBuilder
 Request to register a new connector.
 
Protobuf type ai.pipestream.connector.intake.v1.RegisterConnectorRequest
See Also:
  • Field Details

    • 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:
    • 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:
  • 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
    • getConnectorName

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

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

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

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

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

      public com.google.protobuf.ByteString getAccountIdBytes()
       Account that will own this connector.
       
      string account_id = 3 [json_name = "accountId"];
      Specified by:
      getAccountIdBytes in interface RegisterConnectorRequestOrBuilder
      Returns:
      The bytes for accountId.
    • getS3Bucket

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

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

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

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

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

      public boolean containsDefaultMetadata(String key)
       Default metadata to apply to all documents.
       
      map<string, string> default_metadata = 6 [json_name = "defaultMetadata"];
      Specified by:
      containsDefaultMetadata in interface RegisterConnectorRequestOrBuilder
    • getDefaultMetadata

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

      public Map<String,String> getDefaultMetadataMap()
       Default metadata to apply to all documents.
       
      map<string, string> default_metadata = 6 [json_name = "defaultMetadata"];
      Specified by:
      getDefaultMetadataMap in interface RegisterConnectorRequestOrBuilder
    • getDefaultMetadataOrDefault

      public String getDefaultMetadataOrDefault(String key, String defaultValue)
       Default metadata to apply to all documents.
       
      map<string, string> default_metadata = 6 [json_name = "defaultMetadata"];
      Specified by:
      getDefaultMetadataOrDefault in interface RegisterConnectorRequestOrBuilder
    • getDefaultMetadataOrThrow

      public String getDefaultMetadataOrThrow(String key)
       Default metadata to apply to all documents.
       
      map<string, string> default_metadata = 6 [json_name = "defaultMetadata"];
      Specified by:
      getDefaultMetadataOrThrow in interface RegisterConnectorRequestOrBuilder
    • getMaxFileSize

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

      public long getRateLimitPerMinute()
       Rate limit for uploads per minute.
       
      int64 rate_limit_per_minute = 8 [json_name = "rateLimitPerMinute"];
      Specified by:
      getRateLimitPerMinute in interface RegisterConnectorRequestOrBuilder
      Returns:
      The rateLimitPerMinute.
    • 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 RegisterConnectorRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static RegisterConnectorRequest.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static RegisterConnectorRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RegisterConnectorRequest> 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 RegisterConnectorRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder