com.google.api.JavaSettingsOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-common-protos Show documentation
Show all versions of proto-google-common-protos Show documentation
PROTO library for proto-google-common-protos
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/client.proto
// Protobuf Java Version: 3.25.5
package com.google.api;
public interface JavaSettingsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.api.JavaSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The package name to use in Java. Clobbers the java_package option
* set in the protobuf. This should be used **only** by APIs
* who have already set the language_settings.java.package_name" field
* in gapic.yaml. API teams should use the protobuf java_package option
* where possible.
*
* Example of a YAML configuration::
*
* publishing:
* java_settings:
* library_package: com.google.cloud.pubsub.v1
*
*
* string library_package = 1;
*
* @return The libraryPackage.
*/
java.lang.String getLibraryPackage();
/**
*
*
*
* The package name to use in Java. Clobbers the java_package option
* set in the protobuf. This should be used **only** by APIs
* who have already set the language_settings.java.package_name" field
* in gapic.yaml. API teams should use the protobuf java_package option
* where possible.
*
* Example of a YAML configuration::
*
* publishing:
* java_settings:
* library_package: com.google.cloud.pubsub.v1
*
*
* string library_package = 1;
*
* @return The bytes for libraryPackage.
*/
com.google.protobuf.ByteString getLibraryPackageBytes();
/**
*
*
*
* Configure the Java class name to use instead of the service's for its
* corresponding generated GAPIC client. Keys are fully-qualified
* service names as they appear in the protobuf (including the full
* the language_settings.java.interface_names" field in gapic.yaml. API
* teams should otherwise use the service name as it appears in the
* protobuf.
*
* Example of a YAML configuration::
*
* publishing:
* java_settings:
* service_class_names:
* - google.pubsub.v1.Publisher: TopicAdmin
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
*
*
* map<string, string> service_class_names = 2;
*/
int getServiceClassNamesCount();
/**
*
*
*
* Configure the Java class name to use instead of the service's for its
* corresponding generated GAPIC client. Keys are fully-qualified
* service names as they appear in the protobuf (including the full
* the language_settings.java.interface_names" field in gapic.yaml. API
* teams should otherwise use the service name as it appears in the
* protobuf.
*
* Example of a YAML configuration::
*
* publishing:
* java_settings:
* service_class_names:
* - google.pubsub.v1.Publisher: TopicAdmin
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
*
*
* map<string, string> service_class_names = 2;
*/
boolean containsServiceClassNames(java.lang.String key);
/** Use {@link #getServiceClassNamesMap()} instead. */
@java.lang.Deprecated
java.util.Map getServiceClassNames();
/**
*
*
*
* Configure the Java class name to use instead of the service's for its
* corresponding generated GAPIC client. Keys are fully-qualified
* service names as they appear in the protobuf (including the full
* the language_settings.java.interface_names" field in gapic.yaml. API
* teams should otherwise use the service name as it appears in the
* protobuf.
*
* Example of a YAML configuration::
*
* publishing:
* java_settings:
* service_class_names:
* - google.pubsub.v1.Publisher: TopicAdmin
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
*
*
* map<string, string> service_class_names = 2;
*/
java.util.Map getServiceClassNamesMap();
/**
*
*
*
* Configure the Java class name to use instead of the service's for its
* corresponding generated GAPIC client. Keys are fully-qualified
* service names as they appear in the protobuf (including the full
* the language_settings.java.interface_names" field in gapic.yaml. API
* teams should otherwise use the service name as it appears in the
* protobuf.
*
* Example of a YAML configuration::
*
* publishing:
* java_settings:
* service_class_names:
* - google.pubsub.v1.Publisher: TopicAdmin
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
*
*
* map<string, string> service_class_names = 2;
*/
/* nullable */
java.lang.String getServiceClassNamesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Configure the Java class name to use instead of the service's for its
* corresponding generated GAPIC client. Keys are fully-qualified
* service names as they appear in the protobuf (including the full
* the language_settings.java.interface_names" field in gapic.yaml. API
* teams should otherwise use the service name as it appears in the
* protobuf.
*
* Example of a YAML configuration::
*
* publishing:
* java_settings:
* service_class_names:
* - google.pubsub.v1.Publisher: TopicAdmin
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
*
*
* map<string, string> service_class_names = 2;
*/
java.lang.String getServiceClassNamesOrThrow(java.lang.String key);
/**
*
*
*
* Some settings.
*
*
* .google.api.CommonLanguageSettings common = 3;
*
* @return Whether the common field is set.
*/
boolean hasCommon();
/**
*
*
*
* Some settings.
*
*
* .google.api.CommonLanguageSettings common = 3;
*
* @return The common.
*/
com.google.api.CommonLanguageSettings getCommon();
/**
*
*
*
* Some settings.
*
*
* .google.api.CommonLanguageSettings common = 3;
*/
com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder();
}