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 Type
    Method
    Description
    boolean
    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.
    int
    Specifies 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.
    Specifies arbitrary configuration or context related to this capability; the use of this field is implementation- specific.
    int
    Weight to use when considering this endpoint; this value is merely a hint from the server.
    Cache protocol for this endpoint.
    int
    Cache protocol for this endpoint.
    Type of endpoint described by this payload.
    int
    Type of endpoint described by this payload.
    boolean
    Whether this endpoint is up; this is only set if known by the responding service.
    URI for this endpoint.
    com.google.protobuf.ByteString
    URI for this endpoint.
    boolean
    Capabilities of this endpoint.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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

      boolean containsContext(String key)
       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 Map<String,String> getContext()
      Deprecated.
      Use getContextMap() instead.
    • getContextMap

      Map<String,String> 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

      String getContextOrDefault(String key, String defaultValue)
       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

      String getContextOrThrow(String key)
       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"];