Class GetConnectorSchemaResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.platform.registration.v1.GetConnectorSchemaResponse
All Implemented Interfaces:
GetConnectorSchemaResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GetConnectorSchemaResponse extends com.google.protobuf.GeneratedMessage implements GetConnectorSchemaResponseOrBuilder
 Response containing connector configuration schema.

 Provides JSON Schema definition used to validate connector configuration
 along with version information and available versions.
 
Protobuf type ai.pipestream.platform.registration.v1.GetConnectorSchemaResponse
See Also:
  • Field Details

    • CONNECTOR_TYPE_FIELD_NUMBER

      public static final int CONNECTOR_TYPE_FIELD_NUMBER
      See Also:
    • SCHEMA_JSON_FIELD_NUMBER

      public static final int SCHEMA_JSON_FIELD_NUMBER
      See Also:
    • SCHEMA_VERSION_FIELD_NUMBER

      public static final int SCHEMA_VERSION_FIELD_NUMBER
      See Also:
    • ARTIFACT_ID_FIELD_NUMBER

      public static final int ARTIFACT_ID_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • UPDATED_AT_FIELD_NUMBER

      public static final int UPDATED_AT_FIELD_NUMBER
      See Also:
    • AVAILABLE_VERSIONS_FIELD_NUMBER

      public static final int AVAILABLE_VERSIONS_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
    • getConnectorType

      public String getConnectorType()
       Connector type.
       
      string connector_type = 1 [json_name = "connectorType"];
      Specified by:
      getConnectorType in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The connectorType.
    • getConnectorTypeBytes

      public com.google.protobuf.ByteString getConnectorTypeBytes()
       Connector type.
       
      string connector_type = 1 [json_name = "connectorType"];
      Specified by:
      getConnectorTypeBytes in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The bytes for connectorType.
    • getSchemaJson

      public String getSchemaJson()
       JSON Schema definition as string.
       
      string schema_json = 2 [json_name = "schemaJson"];
      Specified by:
      getSchemaJson in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The schemaJson.
    • getSchemaJsonBytes

      public com.google.protobuf.ByteString getSchemaJsonBytes()
       JSON Schema definition as string.
       
      string schema_json = 2 [json_name = "schemaJson"];
      Specified by:
      getSchemaJsonBytes in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The bytes for schemaJson.
    • getSchemaVersion

      public String getSchemaVersion()
       Current schema version (e.g., "1.2.3").
       
      string schema_version = 3 [json_name = "schemaVersion"];
      Specified by:
      getSchemaVersion in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The schemaVersion.
    • getSchemaVersionBytes

      public com.google.protobuf.ByteString getSchemaVersionBytes()
       Current schema version (e.g., "1.2.3").
       
      string schema_version = 3 [json_name = "schemaVersion"];
      Specified by:
      getSchemaVersionBytes in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The bytes for schemaVersion.
    • getArtifactId

      public String getArtifactId()
       Apicurio Registry artifact ID.
       
      string artifact_id = 4 [json_name = "artifactId"];
      Specified by:
      getArtifactId in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The artifactId.
    • getArtifactIdBytes

      public com.google.protobuf.ByteString getArtifactIdBytes()
       Apicurio Registry artifact ID.
       
      string artifact_id = 4 [json_name = "artifactId"];
      Specified by:
      getArtifactIdBytes in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The bytes for artifactId.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: GetConnectorSchemaResponseOrBuilder
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataCount in interface GetConnectorSchemaResponseOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      containsMetadata in interface GetConnectorSchemaResponseOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface GetConnectorSchemaResponseOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataMap in interface GetConnectorSchemaResponseOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataOrDefault in interface GetConnectorSchemaResponseOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataOrThrow in interface GetConnectorSchemaResponseOrBuilder
    • hasUpdatedAt

      public boolean hasUpdatedAt()
       Timestamp when schema was last updated in Apicurio Registry.
       
      .google.protobuf.Timestamp updated_at = 6 [json_name = "updatedAt"];
      Specified by:
      hasUpdatedAt in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      public com.google.protobuf.Timestamp getUpdatedAt()
       Timestamp when schema was last updated in Apicurio Registry.
       
      .google.protobuf.Timestamp updated_at = 6 [json_name = "updatedAt"];
      Specified by:
      getUpdatedAt in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The updatedAt.
    • getUpdatedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()
       Timestamp when schema was last updated in Apicurio Registry.
       
      .google.protobuf.Timestamp updated_at = 6 [json_name = "updatedAt"];
      Specified by:
      getUpdatedAtOrBuilder in interface GetConnectorSchemaResponseOrBuilder
    • getAvailableVersionsList

      public com.google.protobuf.ProtocolStringList getAvailableVersionsList()
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Specified by:
      getAvailableVersionsList in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      A list containing the availableVersions.
    • getAvailableVersionsCount

      public int getAvailableVersionsCount()
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Specified by:
      getAvailableVersionsCount in interface GetConnectorSchemaResponseOrBuilder
      Returns:
      The count of availableVersions.
    • getAvailableVersions

      public String getAvailableVersions(int index)
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Specified by:
      getAvailableVersions in interface GetConnectorSchemaResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The availableVersions at the given index.
    • getAvailableVersionsBytes

      public com.google.protobuf.ByteString getAvailableVersionsBytes(int index)
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Specified by:
      getAvailableVersionsBytes in interface GetConnectorSchemaResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the availableVersions at the given index.
    • 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 GetConnectorSchemaResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GetConnectorSchemaResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static GetConnectorSchemaResponse getDefaultInstance()
    • parser

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

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