Class Service
java.lang.Object
com.google.api.generator.gapic.model.Service
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Service.Builderbuilder()abstract Stringabstract StringbooleanhasAnyEnabledMethodsForTransport(Transport transport) Determines if a Service contains any methods that are both eligible and enabled for the Transport.booleanhasAnyEnabledMethodsForTransport(String transportName) Wrapper for hasAnyEnabledMethodsForTransport(Transport).booleanbooleanbooleanabstract booleanabstract com.google.common.collect.ImmutableList<Method>methods()abstract Stringname()abstract com.google.common.collect.ImmutableList<String>abstract Stringabstract Stringabstract Stringpakkage()abstract Stringabstract Service.Builder
-
Constructor Details
-
Service
public Service()
-
-
Method Details
-
name
-
defaultHost
-
oauthScopes
-
pakkage
-
protoPakkage
-
originalJavaPackage
-
overriddenName
-
isDeprecated
public abstract boolean isDeprecated() -
methods
-
description
-
hasDescription
public boolean hasDescription() -
hostServiceName
-
apiShortName
-
apiVersion
-
operationPollingMethod
-
operationServiceStubType
-
operationType
-
hasLroMethods
public boolean hasLroMethods() -
hasStandardLroMethods
public boolean hasStandardLroMethods() -
hasAnyEnabledMethodsForTransport
Wrapper for hasAnyEnabledMethodsForTransport(Transport). Some invocations are called with `gRPC` which can't match with the correct Transport (GRPC)- Parameters:
transportName- String transport value- Returns:
- boolean if service contains any enabled methods for a transport
-
hasAnyEnabledMethodsForTransport
Determines if a Service contains any methods that are both eligible and enabled for the Transport. GRPC+REST Transport is not supported as each transport's sub composers will invoke this method the specific transport (GRPC or REST)- Parameters:
transport- Expects either GRPC or REST Transport- Returns:
- boolean if service contains any enabled methods for a transport
-
toBuilder
-
builder
-