Interface SelectiveGapicGenerationOrBuilder (2.52.0)

public interface SelectiveGapicGenerationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGenerateOmittedAsInternal()

public abstract 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;

Returns
Type Description
boolean

The generateOmittedAsInternal.

getMethods(int index)

public abstract String getMethods(int index)

An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.

repeated string methods = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The methods at the given index.

getMethodsBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the methods at the given index.

getMethodsCount()

public abstract int getMethodsCount()

An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.

repeated string methods = 1;

Returns
Type Description
int

The count of methods.

getMethodsList()

public abstract List<String> getMethodsList()

An allowlist of the fully qualified names of RPCs that should be included on public client surfaces.

repeated string methods = 1;

Returns
Type Description
List<String>

A list containing the methods.