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
Modifier and TypeClassDescriptionstatic final class
Required 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static CommonLanguageSettings
getDestinations
(int index) The destination where API teams want this client library to be published.int
The destination where API teams want this client library to be published.The destination where API teams want this client library to be published.int
getDestinationsValue
(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.ByteString
Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated.Configuration for which RPCs should be generated in the GAPIC client.boolean
Configuration for which RPCs should be generated in the GAPIC client.newBuilder
(CommonLanguageSettings prototype) static CommonLanguageSettings
parseDelimitedFrom
(InputStream input) static CommonLanguageSettings
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettings
parseFrom
(byte[] data) static CommonLanguageSettings
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettings
parseFrom
(com.google.protobuf.ByteString data) static CommonLanguageSettings
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettings
parseFrom
(com.google.protobuf.CodedInputStream input) static CommonLanguageSettings
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettings
parseFrom
(InputStream input) static CommonLanguageSettings
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CommonLanguageSettings
parseFrom
(ByteBuffer data) static CommonLanguageSettings
parseFrom
(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, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getReferenceDocsUri
in 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:
getReferenceDocsUriBytes
in 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:
getDestinationsList
in 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:
getDestinationsCount
in 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:
getDestinations
in 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:
getDestinationsValueList
in 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:
getDestinationsValue
in 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:
hasSelectiveGapicGeneration
in 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:
getSelectiveGapicGeneration
in 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:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<CommonLanguageSettings,
CommonLanguageSettings.Builder>
-
getDefaultInstance
-
parser
-