Class CommonLanguageSettings (2.15.0)

public final class CommonLanguageSettings extends GeneratedMessageV3 implements CommonLanguageSettingsOrBuilder

Required information for every language.

Protobuf type google.api.CommonLanguageSettings

Static Fields

DESTINATIONS_FIELD_NUMBER

public static final int DESTINATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

REFERENCE_DOCS_URI_FIELD_NUMBER

public static final int REFERENCE_DOCS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CommonLanguageSettings getDefaultInstance()
Returns
TypeDescription
CommonLanguageSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CommonLanguageSettings.Builder newBuilder()
Returns
TypeDescription
CommonLanguageSettings.Builder

newBuilder(CommonLanguageSettings prototype)

public static CommonLanguageSettings.Builder newBuilder(CommonLanguageSettings prototype)
Parameter
NameDescription
prototypeCommonLanguageSettings
Returns
TypeDescription
CommonLanguageSettings.Builder

parseDelimitedFrom(InputStream input)

public static CommonLanguageSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonLanguageSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CommonLanguageSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CommonLanguageSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CommonLanguageSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CommonLanguageSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CommonLanguageSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonLanguageSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CommonLanguageSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonLanguageSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CommonLanguageSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CommonLanguageSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonLanguageSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CommonLanguageSettings> parser()
Returns
TypeDescription
Parser<CommonLanguageSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CommonLanguageSettings getDefaultInstanceForType()
Returns
TypeDescription
CommonLanguageSettings

getDestinations(int index)

public ClientLibraryDestination getDestinations(int index)

The destination where API teams want this client library to be published.

repeated .google.api.ClientLibraryDestination destinations = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
ClientLibraryDestination

The destinations at the given index.

getDestinationsCount()

public int getDestinationsCount()

The destination where API teams want this client library to be published.

repeated .google.api.ClientLibraryDestination destinations = 2;

Returns
TypeDescription
int

The count of destinations.

getDestinationsList()

public List<ClientLibraryDestination> getDestinationsList()

The destination where API teams want this client library to be published.

repeated .google.api.ClientLibraryDestination destinations = 2;

Returns
TypeDescription
List<ClientLibraryDestination>

A list containing the destinations.

getDestinationsValue(int index)

public int getDestinationsValue(int index)

The destination where API teams want this client library to be published.

repeated .google.api.ClientLibraryDestination destinations = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of destinations at the given index.

getDestinationsValueList()

public List<Integer> getDestinationsValueList()

The destination where API teams want this client library to be published.

repeated .google.api.ClientLibraryDestination destinations = 2;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for destinations.

getParserForType()

public Parser<CommonLanguageSettings> getParserForType()
Returns
TypeDescription
Parser<CommonLanguageSettings>
Overrides

getReferenceDocsUri() (deprecated)

public String getReferenceDocsUri()

Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=106

Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest

string reference_docs_uri = 1 [deprecated = true];

Returns
TypeDescription
String

The referenceDocsUri.

getReferenceDocsUriBytes() (deprecated)

public ByteString getReferenceDocsUriBytes()

Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=106

Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest

string reference_docs_uri = 1 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for referenceDocsUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CommonLanguageSettings.Builder newBuilderForType()
Returns
TypeDescription
CommonLanguageSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CommonLanguageSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CommonLanguageSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CommonLanguageSettings.Builder toBuilder()
Returns
TypeDescription
CommonLanguageSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException