public final class CommonLanguageSettings extends GeneratedMessageV3 implements CommonLanguageSettingsOrBuilder
Required information for every language.
Protobuf type google.api.CommonLanguageSettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CommonLanguageSettingsImplements
CommonLanguageSettingsOrBuilderStatic Fields
DESTINATIONS_FIELD_NUMBER
public static final int DESTINATIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REFERENCE_DOCS_URI_FIELD_NUMBER
public static final int REFERENCE_DOCS_URI_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CommonLanguageSettings getDefaultInstance()
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CommonLanguageSettings.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CommonLanguageSettings.Builder |
newBuilder(CommonLanguageSettings prototype)
public static CommonLanguageSettings.Builder newBuilder(CommonLanguageSettings prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CommonLanguageSettings |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings.Builder |
parseDelimitedFrom(InputStream input)
public static CommonLanguageSettings parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CommonLanguageSettings parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CommonLanguageSettings parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CommonLanguageSettings parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CommonLanguageSettings parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CommonLanguageSettings parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CommonLanguageSettings> parser()
Returns | |
---|---|
Type | Description |
Parser<CommonLanguageSettings> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CommonLanguageSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for destinations. |
getParserForType()
public Parser<CommonLanguageSettings> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CommonLanguageSettings> |
getReferenceDocsUri() (deprecated)
public String getReferenceDocsUri()
Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [deprecated = true];
Returns | |
---|---|
Type | Description |
String |
The referenceDocsUri. |
getReferenceDocsUriBytes() (deprecated)
public ByteString getReferenceDocsUriBytes()
Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for referenceDocsUri. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CommonLanguageSettings.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CommonLanguageSettings.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CommonLanguageSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CommonLanguageSettings.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CommonLanguageSettings.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CommonLanguageSettings.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |