Send feedback
Class SelectiveGapicGeneration.Builder (2.50.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class SelectiveGapicGeneration . Builder extends GeneratedMessageV3 . Builder<SelectiveGapicGeneration . Builder > implements SelectiveGapicGenerationOrBuilder
This message is used to configure the generation of a subset of the RPCs in
a service for client libraries.
Protobuf type google.api.SelectiveGapicGeneration
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllMethods(Iterable<String> values)
public SelectiveGapicGeneration . Builder addAllMethods ( Iterable<String> values )
An allowlist of the fully qualified names of RPCs that should be included
on public client surfaces.
repeated string methods = 1;
addMethods(String value)
public SelectiveGapicGeneration . Builder addMethods ( String value )
An allowlist of the fully qualified names of RPCs that should be included
on public client surfaces.
repeated string methods = 1;
Parameter
Name
Description
value
String
The methods to add.
addMethodsBytes(ByteString value)
public SelectiveGapicGeneration . Builder addMethodsBytes ( ByteString value )
An allowlist of the fully qualified names of RPCs that should be included
on public client surfaces.
repeated string methods = 1;
Parameter
Name
Description
value
ByteString
The bytes of the methods to add.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SelectiveGapicGeneration . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SelectiveGapicGeneration build ()
buildPartial()
public SelectiveGapicGeneration buildPartial ()
clear()
public SelectiveGapicGeneration . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SelectiveGapicGeneration . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearMethods()
public SelectiveGapicGeneration . Builder clearMethods ()
An allowlist of the fully qualified names of RPCs that should be included
on public client surfaces.
repeated string methods = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public SelectiveGapicGeneration . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public SelectiveGapicGeneration . Builder clone ()
Overrides
getDefaultInstanceForType()
public SelectiveGapicGeneration getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getMethods(int index)
public 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 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 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 ProtocolStringList getMethodsList ()
An allowlist of the fully qualified names of RPCs that should be included
on public client surfaces.
repeated string methods = 1;
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SelectiveGapicGeneration other)
public SelectiveGapicGeneration . Builder mergeFrom ( SelectiveGapicGeneration other )
public SelectiveGapicGeneration . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SelectiveGapicGeneration . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SelectiveGapicGeneration . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SelectiveGapicGeneration . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setMethods(int index, String value)
public SelectiveGapicGeneration . Builder setMethods ( int index , String value )
An allowlist of the fully qualified names of RPCs that should be included
on public client surfaces.
repeated string methods = 1;
Parameters
Name
Description
index
int
The index to set the value at.
value
String
The methods to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SelectiveGapicGeneration . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SelectiveGapicGeneration . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]