Package com.buildless.service.v1
Interface ServiceEndpointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServiceEndpoint,ServiceEndpoint.Builder
public interface ServiceEndpointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsContext(String key) Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.Capabilities of this endpoint.Capabilities of this endpoint.Deprecated.intSpecifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.getContextOrDefault(String key, String defaultValue) Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.getContextOrThrow(String key) Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.intWeight to use when considering this endpoint; this value is merely a hint from the server.Cache protocol for this endpoint.intCache protocol for this endpoint.getType()Type of endpoint described by this payload.intType of endpoint described by this payload.booleangetUp()Whether this endpoint is up; this is only set if known by the responding service.getUri()URI for this endpoint.com.google.protobuf.ByteStringURI for this endpoint.booleanCapabilities of this endpoint.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
-
getUp
boolean getUp()Whether this endpoint is up; this is only set if known by the responding service.
bool up = 1 [json_name = "up"];- Returns:
- The up.
-
getUri
String getUri()URI for this endpoint.
string uri = 2 [json_name = "uri"];- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()URI for this endpoint.
string uri = 2 [json_name = "uri"];- Returns:
- The bytes for uri.
-
getProtocolValue
int getProtocolValue()Cache protocol for this endpoint.
.buildless.config.CacheProtocol protocol = 3 [json_name = "protocol"];- Returns:
- The enum numeric value on the wire for protocol.
-
getProtocol
CacheProtocol getProtocol()Cache protocol for this endpoint.
.buildless.config.CacheProtocol protocol = 3 [json_name = "protocol"];- Returns:
- The protocol.
-
hasCapabilities
boolean hasCapabilities()Capabilities of this endpoint.
.buildless.service.v1.ServiceCapabilities capabilities = 4 [json_name = "capabilities"];- Returns:
- Whether the capabilities field is set.
-
getCapabilities
ServiceCapabilities getCapabilities()Capabilities of this endpoint.
.buildless.service.v1.ServiceCapabilities capabilities = 4 [json_name = "capabilities"];- Returns:
- The capabilities.
-
getCapabilitiesOrBuilder
ServiceCapabilitiesOrBuilder getCapabilitiesOrBuilder()Capabilities of this endpoint.
.buildless.service.v1.ServiceCapabilities capabilities = 4 [json_name = "capabilities"]; -
getPriority
int getPriority()Weight to use when considering this endpoint; this value is merely a hint from the server.
uint32 priority = 5 [json_name = "priority"];- Returns:
- The priority.
-
getTypeValue
int getTypeValue()Type of endpoint described by this payload.
.buildless.service.v1.ServiceEndpoint.EndpointType type = 6 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
ServiceEndpoint.EndpointType getType()Type of endpoint described by this payload.
.buildless.service.v1.ServiceEndpoint.EndpointType type = 6 [json_name = "type"];- Returns:
- The type.
-
getContextCount
int getContextCount()Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.
map<string, string> context = 7 [json_name = "context"]; -
containsContext
Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.
map<string, string> context = 7 [json_name = "context"]; -
getContext
Deprecated.UsegetContextMap()instead. -
getContextMap
Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.
map<string, string> context = 7 [json_name = "context"]; -
getContextOrDefault
Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.
map<string, string> context = 7 [json_name = "context"]; -
getContextOrThrow
Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.
map<string, string> context = 7 [json_name = "context"];
-