@Override public List<String> getAuthScopes(GapicProductConfig gapicProductConfig) { return getAuthScopes(gapicProductConfig.getProtoParser(), getInterfaces()); }
@Override public String getServiceAddress() { String hostFromProtoFile = getProductConfig().getProtoParser().getServiceAddress(getInterface()); if (!Strings.isNullOrEmpty(hostFromProtoFile)) { return hostFromProtoFile; } return getModel().getServiceConfig().getName(); } }
public GapicProductConfig withPackageName(String packageName) { return new AutoValue_GapicProductConfig( getInterfaceConfigMap(), packageName, getDomainLayerLocation(), getReleaseLevel(), getResourceNameMessageConfigs(), getCopyrightLines(), getLicenseLines(), getResourceNameConfigs(), getProtoParser(), getTransportProtocol(), getDefaultResourceNameFieldConfigMap(), getConfigSchemaVersion(), enableStringFormattingFunctionsOverride()); }