Method: Google::Api::JavaSettings#library_package

Defined in:
proto_docs/google/api/client.rb

#library_package::String

Returns 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:

  • (::String)

    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



166
167
168
169
170
171
172
173
174
175
176
177
178
# File 'proto_docs/google/api/client.rb', line 166

class JavaSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceClassNamesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end