Package com.google.api
Interface SelectiveGapicGenerationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
SelectiveGapicGeneration
,SelectiveGapicGeneration.Builder
public interface SelectiveGapicGenerationOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users.getMethods
(int index) An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.com.google.protobuf.ByteString
getMethodsBytes
(int index) An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.int
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getMethodsList
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1 [json_name = "methods"];
- Returns:
- A list containing the methods.
-
getMethodsCount
int getMethodsCount()An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1 [json_name = "methods"];
- Returns:
- The count of methods.
-
getMethods
An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1 [json_name = "methods"];
- Parameters:
index
- The index of the element to return.- Returns:
- The methods at the given index.
-
getMethodsBytes
com.google.protobuf.ByteString getMethodsBytes(int index) An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.
repeated string methods = 1 [json_name = "methods"];
- Parameters:
index
- The index of the element to return.- Returns:
- The methods at the given index.
-
getGenerateOmittedAsInternal
boolean getGenerateOmittedAsInternal()Setting this to true indicates to the client generators that methods that would be excluded from the generation should instead be generated in a way that indicates these methods should not be consumed by end users. How this is expressed is up to individual language implementations to decide. Some examples may be: added annotations, obfuscated identifiers, or other language idiomatic patterns.
bool generate_omitted_as_internal = 2 [json_name = "generateOmittedAsInternal"];
- Returns:
- The generateOmittedAsInternal.
-