All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.servicemanagement.model.JavaSettings.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241106-2.0.0
Show newest version






JavaSettings (Service Management API v1-rev20241202-2.0.0)












com.google.api.services.servicemanagement.model

Class JavaSettings

    • Constructor Detail

      • JavaSettings

        public JavaSettings()
    • Method Detail

      • getLibraryPackage

        public 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
        Returns:
        value or null for none
      • setLibraryPackage

        public JavaSettings setLibraryPackage(String libraryPackage)
        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
        Parameters:
        libraryPackage - libraryPackage or null for none
      • getServiceClassNames

        public Map<String,String> 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
        Returns:
        value or null for none
      • setServiceClassNames

        public JavaSettings setServiceClassNames(Map<String,String> serviceClassNames)
        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
        Parameters:
        serviceClassNames - serviceClassNames or null for none
      • set

        public JavaSettings set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public JavaSettings clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy