Class Method
java.lang.Object
com.google.api.generator.gapic.model.Method
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Method.Builderbuilder()abstract StringbooleanIf a service's service_config.yaml file contains method_settings.auto_populated_fields for this method, and the method is a Unary-type, then this is truebooleanbooleanbooleanhasLro()booleanabstract HttpBindingsabstract TypeNodeabstract booleanabstract booleanbooleanisMixin()booleanbooleanisPaged()booleanisSupportedByTransport(Transport transport) Determines if method is both eligible and enabled for the Transport.abstract LongrunningOperationlro()abstract com.google.common.collect.ImmutableList<List<MethodArgument>>abstract Stringabstract Stringname()abstract booleanabstract TypeNodeabstract Stringabstract RoutingHeaderRulebooleanabstract Method.Streamstream()abstract Method.Builderstatic Method.StreamtoStream(boolean isClientStreaming, boolean isServerStreaming)
-
Constructor Details
-
Method
public Method()
-
-
Method Details
-
name
-
stream
-
inputType
-
outputType
-
isBatching
public abstract boolean isBatching() -
isPaged
public boolean isPaged() -
pageSizeFieldName
-
isDeprecated
public abstract boolean isDeprecated() -
lro
-
description
-
mixedInApiName
-
httpBindings
-
routingHeaderRule
-
methodSignatures
-
autoPopulatedFields
-
hasAutoPopulatedFields
public boolean hasAutoPopulatedFields()If a service's service_config.yaml file contains method_settings.auto_populated_fields for this method, and the method is a Unary-type, then this is true -
operationPollingMethod
public abstract boolean operationPollingMethod() -
hasLro
public boolean hasLro() -
hasDescription
public boolean hasDescription() -
hasHttpBindings
public boolean hasHttpBindings() -
hasRoutingHeaderParams
public boolean hasRoutingHeaderParams() -
shouldSetParamsExtractor
public boolean shouldSetParamsExtractor() -
isMixin
public boolean isMixin() -
isOperationPollingMethod
public boolean isOperationPollingMethod() -
isSupportedByTransport
Determines if method is 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 method should be generated for the transport
-
toBuilder
-
builder
-
toStream
-