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 Summary
Modifier and TypeMethodDescriptionaddAllAvailableVersions(Iterable<String> values) All versions available in Apicurio Registry.addAvailableVersions(String value) All versions available in Apicurio Registry.addAvailableVersionsBytes(com.google.protobuf.ByteString value) All versions available in Apicurio Registry.build()clear()Apicurio Registry artifact ID.All versions available in Apicurio Registry.Module name.JSON Schema definition as string.Current schema version (e.g., "1.2.3").Timestamp when schema was last updated in Apicurio Registry.booleancontainsMetadata(String key) Additional metadata (author, description, etc.).Apicurio Registry artifact ID.com.google.protobuf.ByteStringApicurio Registry artifact ID.getAvailableVersions(int index) All versions available in Apicurio Registry.com.google.protobuf.ByteStringgetAvailableVersionsBytes(int index) All versions available in Apicurio Registry.intAll versions available in Apicurio Registry.com.google.protobuf.ProtocolStringListAll versions available in Apicurio Registry.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intAdditional metadata (author, description, etc.).Additional metadata (author, description, etc.).getMetadataOrDefault(String key, String defaultValue) Additional metadata (author, description, etc.).getMetadataOrThrow(String key) Additional metadata (author, description, etc.).Module name.com.google.protobuf.ByteStringModule name.Deprecated.JSON Schema definition as string.com.google.protobuf.ByteStringJSON Schema definition as string.Current schema version (e.g., "1.2.3").com.google.protobuf.ByteStringCurrent schema version (e.g., "1.2.3").com.google.protobuf.TimestampTimestamp when schema was last updated in Apicurio Registry.com.google.protobuf.Timestamp.BuilderTimestamp when schema was last updated in Apicurio Registry.com.google.protobuf.TimestampOrBuilderTimestamp when schema was last updated in Apicurio Registry.booleanTimestamp when schema was last updated in Apicurio Registry.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(GetModuleSchemaResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdatedAt(com.google.protobuf.Timestamp value) Timestamp when schema was last updated in Apicurio Registry.putAllMetadata(Map<String, String> values) Additional metadata (author, description, etc.).putMetadata(String key, String value) Additional metadata (author, description, etc.).removeMetadata(String key) Additional metadata (author, description, etc.).setArtifactId(String value) Apicurio Registry artifact ID.setArtifactIdBytes(com.google.protobuf.ByteString value) Apicurio Registry artifact ID.setAvailableVersions(int index, String value) All versions available in Apicurio Registry.setModuleName(String value) Module name.setModuleNameBytes(com.google.protobuf.ByteString value) Module name.setSchemaJson(String value) JSON Schema definition as string.setSchemaJsonBytes(com.google.protobuf.ByteString value) JSON Schema definition as string.setSchemaVersion(String value) Current schema version (e.g., "1.2.3").setSchemaVersionBytes(com.google.protobuf.ByteString value) Current schema version (e.g., "1.2.3").setUpdatedAt(com.google.protobuf.Timestamp value) Timestamp when schema was last updated in Apicurio Registry.setUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when schema was last updated in Apicurio Registry.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<GetModuleSchemaResponse.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<GetModuleSchemaResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetModuleSchemaResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetModuleSchemaResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetModuleSchemaResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetModuleSchemaResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetModuleSchemaResponse.Builder>- Throws:
IOException
-
getModuleName
Module name.
string module_name = 1 [json_name = "moduleName"];- Specified by:
getModuleNamein interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The moduleName.
-
getModuleNameBytes
public com.google.protobuf.ByteString getModuleNameBytes()Module name.
string module_name = 1 [json_name = "moduleName"];- Specified by:
getModuleNameBytesin interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The bytes for moduleName.
-
setModuleName
Module name.
string module_name = 1 [json_name = "moduleName"];- Parameters:
value- The moduleName to set.- Returns:
- This builder for chaining.
-
clearModuleName
Module name.
string module_name = 1 [json_name = "moduleName"];- Returns:
- This builder for chaining.
-
setModuleNameBytes
Module name.
string module_name = 1 [json_name = "moduleName"];- Parameters:
value- The bytes for moduleName to set.- Returns:
- This builder for chaining.
-
getSchemaJson
JSON Schema definition as string.
string schema_json = 2 [json_name = "schemaJson"];- Specified by:
getSchemaJsonin interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The schemaJson.
-
getSchemaJsonBytes
public com.google.protobuf.ByteString getSchemaJsonBytes()JSON Schema definition as string.
string schema_json = 2 [json_name = "schemaJson"];- Specified by:
getSchemaJsonBytesin interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The bytes for schemaJson.
-
setSchemaJson
JSON Schema definition as string.
string schema_json = 2 [json_name = "schemaJson"];- Parameters:
value- The schemaJson to set.- Returns:
- This builder for chaining.
-
clearSchemaJson
JSON Schema definition as string.
string schema_json = 2 [json_name = "schemaJson"];- Returns:
- This builder for chaining.
-
setSchemaJsonBytes
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
Current schema version (e.g., "1.2.3").
string schema_version = 3 [json_name = "schemaVersion"];- Specified by:
getSchemaVersionin interfaceGetModuleSchemaResponseOrBuilder- 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:
getSchemaVersionBytesin interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The bytes for schemaVersion.
-
setSchemaVersion
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
Current schema version (e.g., "1.2.3").
string schema_version = 3 [json_name = "schemaVersion"];- Returns:
- This builder for chaining.
-
setSchemaVersionBytes
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
Apicurio Registry artifact ID.
string artifact_id = 4 [json_name = "artifactId"];- Specified by:
getArtifactIdin interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The artifactId.
-
getArtifactIdBytes
public com.google.protobuf.ByteString getArtifactIdBytes()Apicurio Registry artifact ID.
string artifact_id = 4 [json_name = "artifactId"];- Specified by:
getArtifactIdBytesin interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The bytes for artifactId.
-
setArtifactId
Apicurio Registry artifact ID.
string artifact_id = 4 [json_name = "artifactId"];- Parameters:
value- The artifactId to set.- Returns:
- This builder for chaining.
-
clearArtifactId
Apicurio Registry artifact ID.
string artifact_id = 4 [json_name = "artifactId"];- Returns:
- This builder for chaining.
-
setArtifactIdBytes
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:GetModuleSchemaResponseOrBuilderAdditional metadata (author, description, etc.).
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceGetModuleSchemaResponseOrBuilder
-
containsMetadata
Additional metadata (author, description, etc.).
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceGetModuleSchemaResponseOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceGetModuleSchemaResponseOrBuilder
-
getMetadataMap
Additional metadata (author, description, etc.).
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceGetModuleSchemaResponseOrBuilder
-
getMetadataOrDefault
Additional metadata (author, description, etc.).
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceGetModuleSchemaResponseOrBuilder
-
getMetadataOrThrow
Additional metadata (author, description, etc.).
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceGetModuleSchemaResponseOrBuilder
-
clearMetadata
-
removeMetadata
Additional metadata (author, description, etc.).
map<string, string> metadata = 5 [json_name = "metadata"]; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
Additional metadata (author, description, etc.).
map<string, string> metadata = 5 [json_name = "metadata"]; -
putAllMetadata
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:
hasUpdatedAtin interfaceGetModuleSchemaResponseOrBuilder- 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:
getUpdatedAtin interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The updatedAt.
-
setUpdatedAt
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
Timestamp when schema was last updated in Apicurio Registry.
.google.protobuf.Timestamp updated_at = 6 [json_name = "updatedAt"]; -
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:
getUpdatedAtOrBuilderin interfaceGetModuleSchemaResponseOrBuilder
-
getAvailableVersionsList
public com.google.protobuf.ProtocolStringList getAvailableVersionsList()All versions available in Apicurio Registry.
repeated string available_versions = 7 [json_name = "availableVersions"];- Specified by:
getAvailableVersionsListin interfaceGetModuleSchemaResponseOrBuilder- 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:
getAvailableVersionsCountin interfaceGetModuleSchemaResponseOrBuilder- Returns:
- The count of availableVersions.
-
getAvailableVersions
All versions available in Apicurio Registry.
repeated string available_versions = 7 [json_name = "availableVersions"];- Specified by:
getAvailableVersionsin interfaceGetModuleSchemaResponseOrBuilder- 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:
getAvailableVersionsBytesin interfaceGetModuleSchemaResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the availableVersions at the given index.
-
setAvailableVersions
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
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
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
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.
-