Class GetModuleSchemaResponse

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

@Generated public final class GetModuleSchemaResponse extends com.google.protobuf.GeneratedMessage implements GetModuleSchemaResponseOrBuilder
 Response containing module configuration schema.

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

    • MODULE_NAME_FIELD_NUMBER

      public static final int MODULE_NAME_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
    • getModuleName

      public String getModuleName()
       Module name.
       
      string module_name = 1 [json_name = "moduleName"];
      Specified by:
      getModuleName in interface GetModuleSchemaResponseOrBuilder
      Returns:
      The moduleName.
    • getModuleNameBytes

      public com.google.protobuf.ByteString getModuleNameBytes()
       Module name.
       
      string module_name = 1 [json_name = "moduleName"];
      Specified by:
      getModuleNameBytes in interface GetModuleSchemaResponseOrBuilder
      Returns:
      The bytes for moduleName.
    • getSchemaJson

      public String getSchemaJson()
       JSON Schema definition as string.
       
      string schema_json = 2 [json_name = "schemaJson"];
      Specified by:
      getSchemaJson in interface GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      Returns:
      The bytes for artifactId.
    • getMetadataCount

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

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

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

      public Map<String,String> getMetadataMap()
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataMap in interface GetModuleSchemaResponseOrBuilder
    • 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 GetModuleSchemaResponseOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
      Specified by:
      getMetadataOrThrow in interface GetModuleSchemaResponseOrBuilder
    • 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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
    • 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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponseOrBuilder
      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 GetModuleSchemaResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GetModuleSchemaResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static GetModuleSchemaResponse getDefaultInstance()
    • parser

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

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