Package com.google.gapic.metadata
Interface GapicMetadata.ServiceAsClientOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GapicMetadata.ServiceAsClient,GapicMetadata.ServiceAsClient.Builder
- Enclosing class:
- GapicMetadata
public static interface GapicMetadata.ServiceAsClientOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsRpcs(String key) A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it.The name of the library client formatted as it appears in the source codecom.google.protobuf.ByteStringThe name of the library client formatted as it appears in the source codegetRpcs()Deprecated.intA mapping from each proto-defined RPC name to the the list of methods in library_client that implement it.A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it.getRpcsOrDefault(String key, GapicMetadata.MethodList defaultValue) A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it.getRpcsOrThrow(String key) A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it.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
-
getLibraryClient
String getLibraryClient()The name of the library client formatted as it appears in the source code
string library_client = 1;- Returns:
- The libraryClient.
-
getLibraryClientBytes
com.google.protobuf.ByteString getLibraryClientBytes()The name of the library client formatted as it appears in the source code
string library_client = 1;- Returns:
- The bytes for libraryClient.
-
getRpcsCount
int getRpcsCount()A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it. There can be more than one library_client method for each RPC. RPCs with no library_client methods need not be included. The key name is the name of the RPC as defined and formated in the proto file.
map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2; -
containsRpcs
A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it. There can be more than one library_client method for each RPC. RPCs with no library_client methods need not be included. The key name is the name of the RPC as defined and formated in the proto file.
map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2; -
getRpcs
Deprecated.UsegetRpcsMap()instead. -
getRpcsMap
Map<String,GapicMetadata.MethodList> getRpcsMap()A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it. There can be more than one library_client method for each RPC. RPCs with no library_client methods need not be included. The key name is the name of the RPC as defined and formated in the proto file.
map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2; -
getRpcsOrDefault
A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it. There can be more than one library_client method for each RPC. RPCs with no library_client methods need not be included. The key name is the name of the RPC as defined and formated in the proto file.
map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2; -
getRpcsOrThrow
A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it. There can be more than one library_client method for each RPC. RPCs with no library_client methods need not be included. The key name is the name of the RPC as defined and formated in the proto file.
map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;
-