Class RegisterRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.platform.registration.v1.RegisterRequest
- All Implemented Interfaces:
RegisterRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RegisterRequest
extends com.google.protobuf.GeneratedMessage
implements RegisterRequestOrBuilder
Request to register a service or module with the platform. Provides the minimal information needed for registration. For modules, the platform-registration-service will callback to GetServiceRegistration to fetch module metadata (schema, capabilities, etc.).Protobuf type
ai.pipestream.platform.registration.v1.RegisterRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest to register a service or module with the platform.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Customer-defined metadata tags for custom use.booleangetCapabilities(int index) Service capabilities (e.g., "document-storage", "search").com.google.protobuf.ByteStringgetCapabilitiesBytes(int index) Service capabilities (e.g., "document-storage", "search").intService capabilities (e.g., "document-storage", "search").com.google.protobuf.ProtocolStringListService capabilities (e.g., "document-storage", "search").Connection information for reaching this service.Connection information for reaching this service.static RegisterRequeststatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intCustomer-defined metadata tags for custom use.Customer-defined metadata tags for custom use.getMetadataOrDefault(String key, String defaultValue) Customer-defined metadata tags for custom use.getMetadataOrThrow(String key) Customer-defined metadata tags for custom use.getName()Service or module name (e.g., "mapping-service", "tika-parser").com.google.protobuf.ByteStringService or module name (e.g., "mapping-service", "tika-parser").com.google.protobuf.Parser<RegisterRequest> intgetTags(int index) Tags for discovery and filtering (e.g., "production", "us-east-1").com.google.protobuf.ByteStringgetTagsBytes(int index) Tags for discovery and filtering (e.g., "production", "us-east-1").intTags for discovery and filtering (e.g., "production", "us-east-1").com.google.protobuf.ProtocolStringListTags for discovery and filtering (e.g., "production", "us-east-1").getType()Type of service being registered.intType of service being registered.Service version (e.g., "1.2.3").com.google.protobuf.ByteStringService version (e.g., "1.2.3").booleanConnection information for reaching this service.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic RegisterRequest.Builderstatic RegisterRequest.BuildernewBuilder(RegisterRequest prototype) protected RegisterRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RegisterRequestparseDelimitedFrom(InputStream input) static RegisterRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterRequestparseFrom(byte[] data) static RegisterRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterRequestparseFrom(com.google.protobuf.ByteString data) static RegisterRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterRequestparseFrom(com.google.protobuf.CodedInputStream input) static RegisterRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterRequestparseFrom(InputStream input) static RegisterRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RegisterRequestparseFrom(ByteBuffer data) static RegisterRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RegisterRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
CONNECTIVITY_FIELD_NUMBER
public static final int CONNECTIVITY_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
CAPABILITIES_FIELD_NUMBER
public static final int CAPABILITIES_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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Service or module name (e.g., "mapping-service", "tika-parser").
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceRegisterRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Service or module name (e.g., "mapping-service", "tika-parser").
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceRegisterRequestOrBuilder- Returns:
- The bytes for name.
-
getTypeValue
public int getTypeValue()Type of service being registered.
.ai.pipestream.platform.registration.v1.ServiceType type = 2 [json_name = "type"];- Specified by:
getTypeValuein interfaceRegisterRequestOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Type of service being registered.
.ai.pipestream.platform.registration.v1.ServiceType type = 2 [json_name = "type"];- Specified by:
getTypein interfaceRegisterRequestOrBuilder- Returns:
- The type.
-
hasConnectivity
public boolean hasConnectivity()Connection information for reaching this service.
.ai.pipestream.platform.registration.v1.Connectivity connectivity = 3 [json_name = "connectivity"];- Specified by:
hasConnectivityin interfaceRegisterRequestOrBuilder- Returns:
- Whether the connectivity field is set.
-
getConnectivity
Connection information for reaching this service.
.ai.pipestream.platform.registration.v1.Connectivity connectivity = 3 [json_name = "connectivity"];- Specified by:
getConnectivityin interfaceRegisterRequestOrBuilder- Returns:
- The connectivity.
-
getConnectivityOrBuilder
Connection information for reaching this service.
.ai.pipestream.platform.registration.v1.Connectivity connectivity = 3 [json_name = "connectivity"];- Specified by:
getConnectivityOrBuilderin interfaceRegisterRequestOrBuilder
-
getVersion
Service version (e.g., "1.2.3").
string version = 4 [json_name = "version"];- Specified by:
getVersionin interfaceRegisterRequestOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Service version (e.g., "1.2.3").
string version = 4 [json_name = "version"];- Specified by:
getVersionBytesin interfaceRegisterRequestOrBuilder- Returns:
- The bytes for version.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:RegisterRequestOrBuilderCustomer-defined metadata tags for custom use.
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceRegisterRequestOrBuilder
-
containsMetadata
Customer-defined metadata tags for custom use.
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceRegisterRequestOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceRegisterRequestOrBuilder
-
getMetadataMap
Customer-defined metadata tags for custom use.
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceRegisterRequestOrBuilder
-
getMetadataOrDefault
Customer-defined metadata tags for custom use.
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceRegisterRequestOrBuilder
-
getMetadataOrThrow
Customer-defined metadata tags for custom use.
map<string, string> metadata = 5 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceRegisterRequestOrBuilder
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()Tags for discovery and filtering (e.g., "production", "us-east-1").
repeated string tags = 6 [json_name = "tags"];- Specified by:
getTagsListin interfaceRegisterRequestOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()Tags for discovery and filtering (e.g., "production", "us-east-1").
repeated string tags = 6 [json_name = "tags"];- Specified by:
getTagsCountin interfaceRegisterRequestOrBuilder- Returns:
- The count of tags.
-
getTags
Tags for discovery and filtering (e.g., "production", "us-east-1").
repeated string tags = 6 [json_name = "tags"];- Specified by:
getTagsin interfaceRegisterRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) Tags for discovery and filtering (e.g., "production", "us-east-1").
repeated string tags = 6 [json_name = "tags"];- Specified by:
getTagsBytesin interfaceRegisterRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getCapabilitiesList
public com.google.protobuf.ProtocolStringList getCapabilitiesList()Service capabilities (e.g., "document-storage", "search").
repeated string capabilities = 7 [json_name = "capabilities"];- Specified by:
getCapabilitiesListin interfaceRegisterRequestOrBuilder- Returns:
- A list containing the capabilities.
-
getCapabilitiesCount
public int getCapabilitiesCount()Service capabilities (e.g., "document-storage", "search").
repeated string capabilities = 7 [json_name = "capabilities"];- Specified by:
getCapabilitiesCountin interfaceRegisterRequestOrBuilder- Returns:
- The count of capabilities.
-
getCapabilities
Service capabilities (e.g., "document-storage", "search").
repeated string capabilities = 7 [json_name = "capabilities"];- Specified by:
getCapabilitiesin interfaceRegisterRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The capabilities at the given index.
-
getCapabilitiesBytes
public com.google.protobuf.ByteString getCapabilitiesBytes(int index) Service capabilities (e.g., "document-storage", "search").
repeated string capabilities = 7 [json_name = "capabilities"];- Specified by:
getCapabilitiesBytesin interfaceRegisterRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the capabilities at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RegisterRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RegisterRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RegisterRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RegisterRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RegisterRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RegisterRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RegisterRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-