Interface ServiceCapabilities.CapabilityInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ServiceCapabilities.CapabilityInfo, ServiceCapabilities.CapabilityInfo.Builder
Enclosing class:
ServiceCapabilities

public static interface ServiceCapabilities.CapabilityInfoOrBuilder 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.
     
    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.
    Specifies a custom capability key.
    com.google.protobuf.ByteString
    Specifies a custom capability key.
    Specifies a known capability key.
    int
    Specifies a known capability key.
    boolean
    Specifies a custom capability key.
    boolean
    Specifies a known capability key.

    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

    • hasKnown

      boolean hasKnown()
       Specifies a known capability key.
       
      .buildless.service.v1.ServiceCapabilities.Capability known = 1 [json_name = "known"];
      Returns:
      Whether the known field is set.
    • getKnownValue

      int getKnownValue()
       Specifies a known capability key.
       
      .buildless.service.v1.ServiceCapabilities.Capability known = 1 [json_name = "known"];
      Returns:
      The enum numeric value on the wire for known.
    • getKnown

       Specifies a known capability key.
       
      .buildless.service.v1.ServiceCapabilities.Capability known = 1 [json_name = "known"];
      Returns:
      The known.
    • hasKey

      boolean hasKey()
       Specifies a custom capability key.
       
      string key = 2 [json_name = "key"];
      Returns:
      Whether the key field is set.
    • getKey

      String getKey()
       Specifies a custom capability key.
       
      string key = 2 [json_name = "key"];
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       Specifies a custom capability key.
       
      string key = 2 [json_name = "key"];
      Returns:
      The bytes for key.
    • getContextCount

      int getContextCount()
       Specifies arbitrary configuration or context related to this capability; the use of this field is implementation-
       specific.
       
      map<string, string> context = 3 [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 = 3 [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 = 3 [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 = 3 [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 = 3 [json_name = "context"];
    • getCapabilityKeyCase