public static final class GoSettings.Builder extends GeneratedMessageV3.Builder<GoSettings.Builder> implements GoSettingsOrBuilder
Settings for Go client libraries.
Protobuf type google.api.GoSettings
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GoSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GoSettings build()
buildPartial()
public GoSettings buildPartial()
clear()
public GoSettings.Builder clear()
Overrides
clearCommon()
public GoSettings.Builder clearCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
clearField(Descriptors.FieldDescriptor field)
public GoSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GoSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRenamedServices()
public GoSettings.Builder clearRenamedServices()
clone()
public GoSettings.Builder clone()
Overrides
containsRenamedServices(String key)
public boolean containsRenamedServices(String key)
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client
and call options.
publishing:
go_settings:
renamed_services:
Publisher: TopicAdmin
map<string, string> renamed_services = 2;
Parameter |
Name |
Description |
key |
String
|
getCommon()
public CommonLanguageSettings getCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
getCommonBuilder()
public CommonLanguageSettings.Builder getCommonBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
getCommonOrBuilder()
public CommonLanguageSettingsOrBuilder getCommonOrBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
getDefaultInstanceForType()
public GoSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableRenamedServices() (deprecated)
public Map<String,String> getMutableRenamedServices()
Use alternate mutation accessors instead.
getRenamedServices() (deprecated)
public Map<String,String> getRenamedServices()
getRenamedServicesCount()
public int getRenamedServicesCount()
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client
and call options.
publishing:
go_settings:
renamed_services:
Publisher: TopicAdmin
map<string, string> renamed_services = 2;
Returns |
Type |
Description |
int |
|
getRenamedServicesMap()
public Map<String,String> getRenamedServicesMap()
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client
and call options.
publishing:
go_settings:
renamed_services:
Publisher: TopicAdmin
map<string, string> renamed_services = 2;
getRenamedServicesOrDefault(String key, String defaultValue)
public String getRenamedServicesOrDefault(String key, String defaultValue)
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client
and call options.
publishing:
go_settings:
renamed_services:
Publisher: TopicAdmin
map<string, string> renamed_services = 2;
Returns |
Type |
Description |
String |
|
getRenamedServicesOrThrow(String key)
public String getRenamedServicesOrThrow(String key)
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client
and call options.
publishing:
go_settings:
renamed_services:
Publisher: TopicAdmin
map<string, string> renamed_services = 2;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
hasCommon()
public boolean hasCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns |
Type |
Description |
boolean |
Whether the common field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeCommon(CommonLanguageSettings value)
public GoSettings.Builder mergeCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
mergeFrom(GoSettings other)
public GoSettings.Builder mergeFrom(GoSettings other)
public GoSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GoSettings.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GoSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllRenamedServices(Map<String,String> values)
public GoSettings.Builder putAllRenamedServices(Map<String,String> values)
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client
and call options.
publishing:
go_settings:
renamed_services:
Publisher: TopicAdmin
map<string, string> renamed_services = 2;
putRenamedServices(String key, String value)
public GoSettings.Builder putRenamedServices(String key, String value)
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client
and call options.
publishing:
go_settings:
renamed_services:
Publisher: TopicAdmin
map<string, string> renamed_services = 2;
removeRenamedServices(String key)
public GoSettings.Builder removeRenamedServices(String key)
Map of service names to renamed services. Keys are the package relative
service names and values are the name to be used for the service client
and call options.
publishing:
go_settings:
renamed_services:
Publisher: TopicAdmin
map<string, string> renamed_services = 2;
Parameter |
Name |
Description |
key |
String
|
setCommon(CommonLanguageSettings value)
public GoSettings.Builder setCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
setCommon(CommonLanguageSettings.Builder builderForValue)
public GoSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)
Some settings.
.google.api.CommonLanguageSettings common = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public GoSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GoSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GoSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides