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
REFERENCE_DOCS_URI_FIELD_NUMBER
public static final int REFERENCE_DOCS_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CommonLanguageSettings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CommonLanguageSettings.Builder newBuilder()
Returns
newBuilder(CommonLanguageSettings prototype)
public static CommonLanguageSettings.Builder newBuilder(CommonLanguageSettings prototype)
Parameter
Returns
public static CommonLanguageSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CommonLanguageSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CommonLanguageSettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CommonLanguageSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CommonLanguageSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CommonLanguageSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CommonLanguageSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CommonLanguageSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CommonLanguageSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CommonLanguageSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CommonLanguageSettings> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CommonLanguageSettings getDefaultInstanceForType()
Returns
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
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
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
Overrides
getReferenceDocsUri() (deprecated)
public String getReferenceDocsUri()
Returns
Type | Description |
String | The referenceDocsUri.
|
getReferenceDocsUriBytes() (deprecated)
public ByteString getReferenceDocsUriBytes()
Returns
Type | Description |
ByteString | The bytes for referenceDocsUri.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CommonLanguageSettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CommonLanguageSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CommonLanguageSettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions