Class Connector.Builder

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

public static final class Connector.Builder extends com.google.protobuf.GeneratedMessage.Builder<Connector.Builder> implements ConnectorOrBuilder
 Connector type definition (template/registry).

 Connectors are pre-seeded types that define what kind of data source integration
 is being used (e.g., "s3", "file-crawler", "confluence"). They are reusable across
 accounts - each account creates a DataSource binding to use a connector type.
 
Protobuf type ai.pipestream.connector.intake.v1.Connector
  • Method Details

    • getDescriptor

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

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

      public Connector.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<Connector.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<Connector.Builder>
    • getDefaultInstanceForType

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

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

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

      public Connector.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<Connector.Builder>
    • mergeFrom

      public Connector.Builder mergeFrom(Connector other)
    • isInitialized

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

      public Connector.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<Connector.Builder>
      Throws:
      IOException
    • getConnectorId

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

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

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

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

      public Connector.Builder setConnectorIdBytes(com.google.protobuf.ByteString value)
       Unique connector type identifier.
       Deterministic: hash(connector_type)
       
      string connector_id = 1 [json_name = "connectorId"];
      Parameters:
      value - The bytes for connectorId to set.
      Returns:
      This builder for chaining.
    • getConnectorType

      public String getConnectorType()
       Connector type name (e.g., "s3", "file-crawler", "confluence").
       
      string connector_type = 2 [json_name = "connectorType"];
      Specified by:
      getConnectorType in interface ConnectorOrBuilder
      Returns:
      The connectorType.
    • getConnectorTypeBytes

      public com.google.protobuf.ByteString getConnectorTypeBytes()
       Connector type name (e.g., "s3", "file-crawler", "confluence").
       
      string connector_type = 2 [json_name = "connectorType"];
      Specified by:
      getConnectorTypeBytes in interface ConnectorOrBuilder
      Returns:
      The bytes for connectorType.
    • setConnectorType

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

      public Connector.Builder clearConnectorType()
       Connector type name (e.g., "s3", "file-crawler", "confluence").
       
      string connector_type = 2 [json_name = "connectorType"];
      Returns:
      This builder for chaining.
    • setConnectorTypeBytes

      public Connector.Builder setConnectorTypeBytes(com.google.protobuf.ByteString value)
       Connector type name (e.g., "s3", "file-crawler", "confluence").
       
      string connector_type = 2 [json_name = "connectorType"];
      Parameters:
      value - The bytes for connectorType to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Human-readable display name.
       
      string name = 3 [json_name = "name"];
      Specified by:
      getName in interface ConnectorOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Human-readable display name.
       
      string name = 3 [json_name = "name"];
      Specified by:
      getNameBytes in interface ConnectorOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Connector.Builder setName(String value)
       Human-readable display name.
       
      string name = 3 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Connector.Builder clearName()
       Human-readable display name.
       
      string name = 3 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Connector.Builder setNameBytes(com.google.protobuf.ByteString value)
       Human-readable display name.
       
      string name = 3 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Description of the connector type.
       
      string description = 4 [json_name = "description"];
      Specified by:
      getDescription in interface ConnectorOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of the connector type.
       
      string description = 4 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface ConnectorOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Connector.Builder setDescription(String value)
       Description of the connector type.
       
      string description = 4 [json_name = "description"];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Connector.Builder clearDescription()
       Description of the connector type.
       
      string description = 4 [json_name = "description"];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Connector.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description of the connector type.
       
      string description = 4 [json_name = "description"];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getManagementTypeValue

      public int getManagementTypeValue()
       Whether this is managed or unmanaged.
       
      .ai.pipestream.connector.intake.v1.ManagementType management_type = 5 [json_name = "managementType"];
      Specified by:
      getManagementTypeValue in interface ConnectorOrBuilder
      Returns:
      The enum numeric value on the wire for managementType.
    • setManagementTypeValue

      public Connector.Builder setManagementTypeValue(int value)
       Whether this is managed or unmanaged.
       
      .ai.pipestream.connector.intake.v1.ManagementType management_type = 5 [json_name = "managementType"];
      Parameters:
      value - The enum numeric value on the wire for managementType to set.
      Returns:
      This builder for chaining.
    • getManagementType

      public ManagementType getManagementType()
       Whether this is managed or unmanaged.
       
      .ai.pipestream.connector.intake.v1.ManagementType management_type = 5 [json_name = "managementType"];
      Specified by:
      getManagementType in interface ConnectorOrBuilder
      Returns:
      The managementType.
    • setManagementType

      public Connector.Builder setManagementType(ManagementType value)
       Whether this is managed or unmanaged.
       
      .ai.pipestream.connector.intake.v1.ManagementType management_type = 5 [json_name = "managementType"];
      Parameters:
      value - The managementType to set.
      Returns:
      This builder for chaining.
    • clearManagementType

      public Connector.Builder clearManagementType()
       Whether this is managed or unmanaged.
       
      .ai.pipestream.connector.intake.v1.ManagementType management_type = 5 [json_name = "managementType"];
      Returns:
      This builder for chaining.
    • hasCreatedAt

      public boolean hasCreatedAt()
       Timestamp when connector type was created.
       
      .google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];
      Specified by:
      hasCreatedAt in interface ConnectorOrBuilder
      Returns:
      Whether the createdAt field is set.
    • getCreatedAt

      public com.google.protobuf.Timestamp getCreatedAt()
       Timestamp when connector type was created.
       
      .google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];
      Specified by:
      getCreatedAt in interface ConnectorOrBuilder
      Returns:
      The createdAt.
    • setCreatedAt

      public Connector.Builder setCreatedAt(com.google.protobuf.Timestamp value)
       Timestamp when connector type was created.
       
      .google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];
    • setCreatedAt

      public Connector.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when connector type was created.
       
      .google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];
    • mergeCreatedAt

      public Connector.Builder mergeCreatedAt(com.google.protobuf.Timestamp value)
       Timestamp when connector type was created.
       
      .google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];
    • clearCreatedAt

      public Connector.Builder clearCreatedAt()
       Timestamp when connector type was created.
       
      .google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];
    • getCreatedAtBuilder

      public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()
       Timestamp when connector type was created.
       
      .google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];
    • getCreatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
       Timestamp when connector type was created.
       
      .google.protobuf.Timestamp created_at = 6 [json_name = "createdAt"];
      Specified by:
      getCreatedAtOrBuilder in interface ConnectorOrBuilder
    • hasUpdatedAt

      public boolean hasUpdatedAt()
       Timestamp when connector type was last updated.
       
      .google.protobuf.Timestamp updated_at = 7 [json_name = "updatedAt"];
      Specified by:
      hasUpdatedAt in interface ConnectorOrBuilder
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      public com.google.protobuf.Timestamp getUpdatedAt()
       Timestamp when connector type was last updated.
       
      .google.protobuf.Timestamp updated_at = 7 [json_name = "updatedAt"];
      Specified by:
      getUpdatedAt in interface ConnectorOrBuilder
      Returns:
      The updatedAt.
    • setUpdatedAt

      public Connector.Builder setUpdatedAt(com.google.protobuf.Timestamp value)
       Timestamp when connector type was last updated.
       
      .google.protobuf.Timestamp updated_at = 7 [json_name = "updatedAt"];
    • setUpdatedAt

      public Connector.Builder setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when connector type was last updated.
       
      .google.protobuf.Timestamp updated_at = 7 [json_name = "updatedAt"];
    • mergeUpdatedAt

      public Connector.Builder mergeUpdatedAt(com.google.protobuf.Timestamp value)
       Timestamp when connector type was last updated.
       
      .google.protobuf.Timestamp updated_at = 7 [json_name = "updatedAt"];
    • clearUpdatedAt

      public Connector.Builder clearUpdatedAt()
       Timestamp when connector type was last updated.
       
      .google.protobuf.Timestamp updated_at = 7 [json_name = "updatedAt"];
    • getUpdatedAtBuilder

      public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder()
       Timestamp when connector type was last updated.
       
      .google.protobuf.Timestamp updated_at = 7 [json_name = "updatedAt"];
    • getUpdatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()
       Timestamp when connector type was last updated.
       
      .google.protobuf.Timestamp updated_at = 7 [json_name = "updatedAt"];
      Specified by:
      getUpdatedAtOrBuilder in interface ConnectorOrBuilder