Package com.google.api
Class CommonLanguageSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<CommonLanguageSettings,CommonLanguageSettings.Builder>
com.google.api.CommonLanguageSettings
- All Implemented Interfaces:
CommonLanguageSettingsOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
public final class CommonLanguageSettings
extends com.google.protobuf.GeneratedMessageLite<CommonLanguageSettings,CommonLanguageSettings.Builder>
implements CommonLanguageSettingsOrBuilder
Required information for every language.Protobuf type
google.api.CommonLanguageSettings-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequired information for every language.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static CommonLanguageSettingsgetDestinations(int index) The destination where API teams want this client library to be published.intThe destination where API teams want this client library to be published.The destination where API teams want this client library to be published.intgetDestinationsValue(int index) The destination where API teams want this client library to be published.The destination where API teams want this client library to be published.Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated.com.google.protobuf.ByteStringDeprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated.Configuration for which RPCs should be generated in the GAPIC client.booleanConfiguration for which RPCs should be generated in the GAPIC client.newBuilder(CommonLanguageSettings prototype) static CommonLanguageSettingsparseDelimitedFrom(InputStream input) static CommonLanguageSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettingsparseFrom(byte[] data) static CommonLanguageSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettingsparseFrom(com.google.protobuf.ByteString data) static CommonLanguageSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettingsparseFrom(com.google.protobuf.CodedInputStream input) static CommonLanguageSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettingsparseFrom(InputStream input) static CommonLanguageSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettingsparseFrom(ByteBuffer data) static CommonLanguageSettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CommonLanguageSettings>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
REFERENCE_DOCS_URI_FIELD_NUMBER
public static final int REFERENCE_DOCS_URI_FIELD_NUMBER- See Also:
-
DESTINATIONS_FIELD_NUMBER
public static final int DESTINATIONS_FIELD_NUMBER- See Also:
-
SELECTIVE_GAPIC_GENERATION_FIELD_NUMBER
public static final int SELECTIVE_GAPIC_GENERATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getReferenceDocsUri
Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [json_name = "referenceDocsUri", deprecated = true];- Specified by:
getReferenceDocsUriin interfaceCommonLanguageSettingsOrBuilder- Returns:
- The referenceDocsUri.
-
getReferenceDocsUriBytes
Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [json_name = "referenceDocsUri", deprecated = true];- Specified by:
getReferenceDocsUriBytesin interfaceCommonLanguageSettingsOrBuilder- Returns:
- The bytes for referenceDocsUri.
-
getDestinationsList
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];- Specified by:
getDestinationsListin interfaceCommonLanguageSettingsOrBuilder- Returns:
- A list containing the destinations.
-
getDestinationsCount
public int getDestinationsCount()The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];- Specified by:
getDestinationsCountin interfaceCommonLanguageSettingsOrBuilder- Returns:
- The count of destinations.
-
getDestinations
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];- Specified by:
getDestinationsin interfaceCommonLanguageSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destinations at the given index.
-
getDestinationsValueList
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];- Specified by:
getDestinationsValueListin interfaceCommonLanguageSettingsOrBuilder- Returns:
- A list containing the enum numeric values on the wire for destinations.
-
getDestinationsValue
public int getDestinationsValue(int index) The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];- Specified by:
getDestinationsValuein interfaceCommonLanguageSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of destinations at the given index.
-
hasSelectiveGapicGeneration
public boolean hasSelectiveGapicGeneration()Configuration for which RPCs should be generated in the GAPIC client.
.google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];- Specified by:
hasSelectiveGapicGenerationin interfaceCommonLanguageSettingsOrBuilder- Returns:
- Whether the selectiveGapicGeneration field is set.
-
getSelectiveGapicGeneration
Configuration for which RPCs should be generated in the GAPIC client.
.google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];- Specified by:
getSelectiveGapicGenerationin interfaceCommonLanguageSettingsOrBuilder- Returns:
- The selectiveGapicGeneration.
-
parseFrom
public static CommonLanguageSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonLanguageSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonLanguageSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonLanguageSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonLanguageSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CommonLanguageSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CommonLanguageSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CommonLanguageSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CommonLanguageSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CommonLanguageSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<CommonLanguageSettings,CommonLanguageSettings.Builder>
-
getDefaultInstance
-
parser
-