Interface RegisterServiceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RegisterServiceRequest,RegisterServiceRequest.Builder
@Generated
public interface RegisterServiceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Additional metadata for service configuration.getCapabilities(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").Service capabilities (e.g., "document-storage", "search").getHost()Host where service is running.com.google.protobuf.ByteStringHost where service is running.Deprecated.intAdditional metadata for service configuration.Additional metadata for service configuration.getMetadataOrDefault(String key, String defaultValue) Additional metadata for service configuration.getMetadataOrThrow(String key) Additional metadata for service configuration.intgetPort()gRPC port where service accepts connections.Logical service name (e.g., "mapping-service").com.google.protobuf.ByteStringLogical service name (e.g., "mapping-service").getTags(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").Tags for discovery and filtering (e.g., "production", "us-east-1").Service version (e.g., "1.2.3").com.google.protobuf.ByteStringService version (e.g., "1.2.3").Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getServiceName
String getServiceName()Logical service name (e.g., "mapping-service").
string service_name = 1;- Returns:
- The serviceName.
-
getServiceNameBytes
com.google.protobuf.ByteString getServiceNameBytes()Logical service name (e.g., "mapping-service").
string service_name = 1;- Returns:
- The bytes for serviceName.
-
getHost
String getHost()Host where service is running.
string host = 2;- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()Host where service is running.
string host = 2;- Returns:
- The bytes for host.
-
getPort
int getPort()gRPC port where service accepts connections.
int32 port = 3;- Returns:
- The port.
-
getVersion
String getVersion()Service version (e.g., "1.2.3").
string version = 4;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Service version (e.g., "1.2.3").
string version = 4;- Returns:
- The bytes for version.
-
getMetadataCount
int getMetadataCount()Additional metadata for service configuration.
map<string, string> metadata = 5; -
containsMetadata
Additional metadata for service configuration.
map<string, string> metadata = 5; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Additional metadata for service configuration.
map<string, string> metadata = 5; -
getMetadataOrDefault
Additional metadata for service configuration.
map<string, string> metadata = 5; -
getMetadataOrThrow
Additional metadata for service configuration.
map<string, string> metadata = 5; -
getTagsList
Tags for discovery and filtering (e.g., "production", "us-east-1").
repeated string tags = 6;- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()Tags for discovery and filtering (e.g., "production", "us-east-1").
repeated string tags = 6;- Returns:
- The count of tags.
-
getTags
Tags for discovery and filtering (e.g., "production", "us-east-1").
repeated string tags = 6;- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index) Tags for discovery and filtering (e.g., "production", "us-east-1").
repeated string tags = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getCapabilitiesList
Service capabilities (e.g., "document-storage", "search").
repeated string capabilities = 7;- Returns:
- A list containing the capabilities.
-
getCapabilitiesCount
int getCapabilitiesCount()Service capabilities (e.g., "document-storage", "search").
repeated string capabilities = 7;- Returns:
- The count of capabilities.
-
getCapabilities
Service capabilities (e.g., "document-storage", "search").
repeated string capabilities = 7;- Parameters:
index- The index of the element to return.- Returns:
- The capabilities at the given index.
-
getCapabilitiesBytes
com.google.protobuf.ByteString getCapabilitiesBytes(int index) Service capabilities (e.g., "document-storage", "search").
repeated string capabilities = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the capabilities at the given index.
-