Class GetModuleSchemaResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetModuleSchemaResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetModuleSchemaResponse.Builder>
ai.pipestream.platform.registration.v1.GetModuleSchemaResponse.Builder
All Implemented Interfaces:
GetModuleSchemaResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetModuleSchemaResponse

public static final class GetModuleSchemaResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetModuleSchemaResponse.Builder> 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
  • 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<GetModuleSchemaResponse.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetModuleSchemaResponse.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<GetModuleSchemaResponse.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<GetModuleSchemaResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GetModuleSchemaResponse.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<GetModuleSchemaResponse.Builder>
      Throws:
      IOException
    • 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.
    • setModuleName

      public GetModuleSchemaResponse.Builder setModuleName(String value)
       Module name.
       
      string module_name = 1 [json_name = "moduleName"];
      Parameters:
      value - The moduleName to set.
      Returns:
      This builder for chaining.
    • clearModuleName

      public GetModuleSchemaResponse.Builder clearModuleName()
       Module name.
       
      string module_name = 1 [json_name = "moduleName"];
      Returns:
      This builder for chaining.
    • setModuleNameBytes

      public GetModuleSchemaResponse.Builder setModuleNameBytes(com.google.protobuf.ByteString value)
       Module name.
       
      string module_name = 1 [json_name = "moduleName"];
      Parameters:
      value - The bytes for moduleName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSchemaJson

      public GetModuleSchemaResponse.Builder setSchemaJson(String value)
       JSON Schema definition as string.
       
      string schema_json = 2 [json_name = "schemaJson"];
      Parameters:
      value - The schemaJson to set.
      Returns:
      This builder for chaining.
    • clearSchemaJson

      public GetModuleSchemaResponse.Builder clearSchemaJson()
       JSON Schema definition as string.
       
      string schema_json = 2 [json_name = "schemaJson"];
      Returns:
      This builder for chaining.
    • setSchemaJsonBytes

      public GetModuleSchemaResponse.Builder setSchemaJsonBytes(com.google.protobuf.ByteString value)
       JSON Schema definition as string.
       
      string schema_json = 2 [json_name = "schemaJson"];
      Parameters:
      value - The bytes for schemaJson to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSchemaVersion

      public GetModuleSchemaResponse.Builder setSchemaVersion(String value)
       Current schema version (e.g., "1.2.3").
       
      string schema_version = 3 [json_name = "schemaVersion"];
      Parameters:
      value - The schemaVersion to set.
      Returns:
      This builder for chaining.
    • clearSchemaVersion

      public GetModuleSchemaResponse.Builder clearSchemaVersion()
       Current schema version (e.g., "1.2.3").
       
      string schema_version = 3 [json_name = "schemaVersion"];
      Returns:
      This builder for chaining.
    • setSchemaVersionBytes

      public GetModuleSchemaResponse.Builder setSchemaVersionBytes(com.google.protobuf.ByteString value)
       Current schema version (e.g., "1.2.3").
       
      string schema_version = 3 [json_name = "schemaVersion"];
      Parameters:
      value - The bytes for schemaVersion to set.
      Returns:
      This builder for chaining.
    • 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.
    • setArtifactId

      public GetModuleSchemaResponse.Builder setArtifactId(String value)
       Apicurio Registry artifact ID.
       
      string artifact_id = 4 [json_name = "artifactId"];
      Parameters:
      value - The artifactId to set.
      Returns:
      This builder for chaining.
    • clearArtifactId

      public GetModuleSchemaResponse.Builder clearArtifactId()
       Apicurio Registry artifact ID.
       
      string artifact_id = 4 [json_name = "artifactId"];
      Returns:
      This builder for chaining.
    • setArtifactIdBytes

      public GetModuleSchemaResponse.Builder setArtifactIdBytes(com.google.protobuf.ByteString value)
       Apicurio Registry artifact ID.
       
      string artifact_id = 4 [json_name = "artifactId"];
      Parameters:
      value - The bytes for artifactId to set.
      Returns:
      This builder for chaining.
    • 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
    • clearMetadata

      public GetModuleSchemaResponse.Builder clearMetadata()
    • removeMetadata

      public GetModuleSchemaResponse.Builder removeMetadata(String key)
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
    • getMutableMetadata

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

      public GetModuleSchemaResponse.Builder putMetadata(String key, String value)
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
    • putAllMetadata

      public GetModuleSchemaResponse.Builder putAllMetadata(Map<String,String> values)
       Additional metadata (author, description, etc.).
       
      map<string, string> metadata = 5 [json_name = "metadata"];
    • 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.
    • setUpdatedAt

      public GetModuleSchemaResponse.Builder setUpdatedAt(com.google.protobuf.Timestamp value)
       Timestamp when schema was last updated in Apicurio Registry.
       
      .google.protobuf.Timestamp updated_at = 6 [json_name = "updatedAt"];
    • setUpdatedAt

      public GetModuleSchemaResponse.Builder setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when schema was last updated in Apicurio Registry.
       
      .google.protobuf.Timestamp updated_at = 6 [json_name = "updatedAt"];
    • mergeUpdatedAt

      public GetModuleSchemaResponse.Builder mergeUpdatedAt(com.google.protobuf.Timestamp value)
       Timestamp when schema was last updated in Apicurio Registry.
       
      .google.protobuf.Timestamp updated_at = 6 [json_name = "updatedAt"];
    • clearUpdatedAt

      public GetModuleSchemaResponse.Builder clearUpdatedAt()
       Timestamp when schema was last updated in Apicurio Registry.
       
      .google.protobuf.Timestamp updated_at = 6 [json_name = "updatedAt"];
    • getUpdatedAtBuilder

      public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder()
       Timestamp when schema was last updated in Apicurio Registry.
       
      .google.protobuf.Timestamp updated_at = 6 [json_name = "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.
    • setAvailableVersions

      public GetModuleSchemaResponse.Builder setAvailableVersions(int index, String value)
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Parameters:
      index - The index to set the value at.
      value - The availableVersions to set.
      Returns:
      This builder for chaining.
    • addAvailableVersions

      public GetModuleSchemaResponse.Builder addAvailableVersions(String value)
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Parameters:
      value - The availableVersions to add.
      Returns:
      This builder for chaining.
    • addAllAvailableVersions

      public GetModuleSchemaResponse.Builder addAllAvailableVersions(Iterable<String> values)
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Parameters:
      values - The availableVersions to add.
      Returns:
      This builder for chaining.
    • clearAvailableVersions

      public GetModuleSchemaResponse.Builder clearAvailableVersions()
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Returns:
      This builder for chaining.
    • addAvailableVersionsBytes

      public GetModuleSchemaResponse.Builder addAvailableVersionsBytes(com.google.protobuf.ByteString value)
       All versions available in Apicurio Registry.
       
      repeated string available_versions = 7 [json_name = "availableVersions"];
      Parameters:
      value - The bytes of the availableVersions to add.
      Returns:
      This builder for chaining.