JavaSettings class final
Settings for Java client libraries.
- Inheritance
-
- Object
- ProtoMessage
- JavaSettings
Constructors
-
JavaSettings({String libraryPackage = '', Map<
String, String> serviceClassNames = const {}, CommonLanguageSettings? common}) - JavaSettings.fromJson(Object? j)
-
factory
Properties
- common → CommonLanguageSettings?
-
Some settings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- libraryPackage → 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.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceClassNames
→ Map<
String, String> -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String