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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsRpcs(String key)A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it.StringgetLibraryClient()The name of the library client formatted as it appears in the source codecom.google.protobuf.ByteStringgetLibraryClientBytes()The name of the library client formatted as it appears in the source codeMap<String,GapicMetadata.MethodList>getRpcs()Deprecated.intgetRpcsCount()A mapping from each proto-defined RPC name to the the list of methods in library_client that implement it.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.GapicMetadata.MethodListgetRpcsOrDefault(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.GapicMetadata.MethodListgetRpcsOrThrow(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.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
boolean containsRpcs(String key)
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 Map<String,GapicMetadata.MethodList> 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
GapicMetadata.MethodList 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. 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
GapicMetadata.MethodList getRpcsOrThrow(String key)
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;
-
-