Interface GapicMetadata.ServiceForTransportOrBuilder

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

public static interface GapicMetadata.ServiceForTransportOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getClientsCount

      int getClientsCount()
       Map of transport name to ServiceAsClient. The key name is the transport,
       lower-cased with no separators (e.g. "grpc", "rest").
       
      map<string, .google.gapic.metadata.GapicMetadata.ServiceAsClient> clients = 1;
    • containsClients

      boolean containsClients(String key)
       Map of transport name to ServiceAsClient. The key name is the transport,
       lower-cased with no separators (e.g. "grpc", "rest").
       
      map<string, .google.gapic.metadata.GapicMetadata.ServiceAsClient> clients = 1;
    • getClients

      Deprecated.
      Use getClientsMap() instead.
    • getClientsMap

       Map of transport name to ServiceAsClient. The key name is the transport,
       lower-cased with no separators (e.g. "grpc", "rest").
       
      map<string, .google.gapic.metadata.GapicMetadata.ServiceAsClient> clients = 1;
    • getClientsOrDefault

      GapicMetadata.ServiceAsClient getClientsOrDefault(String key, GapicMetadata.ServiceAsClient defaultValue)
       Map of transport name to ServiceAsClient. The key name is the transport,
       lower-cased with no separators (e.g. "grpc", "rest").
       
      map<string, .google.gapic.metadata.GapicMetadata.ServiceAsClient> clients = 1;
    • getClientsOrThrow

      GapicMetadata.ServiceAsClient getClientsOrThrow(String key)
       Map of transport name to ServiceAsClient. The key name is the transport,
       lower-cased with no separators (e.g. "grpc", "rest").
       
      map<string, .google.gapic.metadata.GapicMetadata.ServiceAsClient> clients = 1;
    • getApiVersion

      String getApiVersion()
       The API version for the interface definition found in the
       `google.api.api_version` annotation of this proto-defined service during
       code generation.
       This is the value populated by the client in the API version request
       parameter as per
       [AIP-4236](https://google.aip.dev/client-libraries/4236).
       
      string api_version = 2;
      Returns:
      The apiVersion.
    • getApiVersionBytes

      com.google.protobuf.ByteString getApiVersionBytes()
       The API version for the interface definition found in the
       `google.api.api_version` annotation of this proto-defined service during
       code generation.
       This is the value populated by the client in the API version request
       parameter as per
       [AIP-4236](https://google.aip.dev/client-libraries/4236).
       
      string api_version = 2;
      Returns:
      The bytes for apiVersion.