Package com.google.api
Class GoSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<GoSettings,GoSettings.Builder>
com.google.api.GoSettings.Builder
- All Implemented Interfaces:
GoSettingsOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- GoSettings
public static final class GoSettings.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<GoSettings,GoSettings.Builder>
implements GoSettingsOrBuilder
Settings for Go client libraries.Protobuf type
google.api.GoSettings
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionSome settings.boolean
Map of service names to renamed services.Some settings.Deprecated.int
Map of service names to renamed services.Map of service names to renamed services.getRenamedServicesOrDefault
(String key, String defaultValue) Map of service names to renamed services.Map of service names to renamed services.boolean
Some settings.Some settings.putAllRenamedServices
(Map<String, String> values) Map of service names to renamed services.putRenamedServices
(String key, String value) Map of service names to renamed services.Map of service names to renamed services.setCommon
(CommonLanguageSettings value) Some settings.setCommon
(CommonLanguageSettings.Builder builderForValue) Some settings.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasCommon
public boolean hasCommon()Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
- Specified by:
hasCommon
in interfaceGoSettingsOrBuilder
- Returns:
- Whether the common field is set.
-
getCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
- Specified by:
getCommon
in interfaceGoSettingsOrBuilder
- Returns:
- The common.
-
setCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
-
setCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
-
mergeCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
-
clearCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
-
getRenamedServicesCount
public int getRenamedServicesCount()Description copied from interface:GoSettingsOrBuilder
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesCount
in interfaceGoSettingsOrBuilder
-
containsRenamedServices
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 [json_name = "renamedServices"];
- Specified by:
containsRenamedServices
in interfaceGoSettingsOrBuilder
-
clearRenamedServices
-
removeRenamedServices
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 [json_name = "renamedServices"];
-
getRenamedServices
Deprecated.UsegetRenamedServicesMap()
instead.- Specified by:
getRenamedServices
in interfaceGoSettingsOrBuilder
-
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesMap
in interfaceGoSettingsOrBuilder
-
getRenamedServicesOrDefault
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesOrDefault
in interfaceGoSettingsOrBuilder
-
getRenamedServicesOrThrow
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesOrThrow
in interfaceGoSettingsOrBuilder
-
putRenamedServices
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 [json_name = "renamedServices"];
-
putAllRenamedServices
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 [json_name = "renamedServices"];
-