Class DotnetSettings

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.api.DotnetSettings
All Implemented Interfaces:
DotnetSettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class DotnetSettings extends com.google.protobuf.GeneratedMessageV3 implements DotnetSettingsOrBuilder
 Settings for Dotnet client libraries.
 
Protobuf type google.api.DotnetSettings
See Also:
  • Field Details

    • COMMON_FIELD_NUMBER

      public static final int COMMON_FIELD_NUMBER
      See Also:
    • RENAMED_SERVICES_FIELD_NUMBER

      public static final int RENAMED_SERVICES_FIELD_NUMBER
      See Also:
    • RENAMED_RESOURCES_FIELD_NUMBER

      public static final int RENAMED_RESOURCES_FIELD_NUMBER
      See Also:
    • IGNORED_RESOURCES_FIELD_NUMBER

      public static final int IGNORED_RESOURCES_FIELD_NUMBER
      See Also:
    • FORCED_NAMESPACE_ALIASES_FIELD_NUMBER

      public static final int FORCED_NAMESPACE_ALIASES_FIELD_NUMBER
      See Also:
    • HANDWRITTEN_SIGNATURES_FIELD_NUMBER

      public static final int HANDWRITTEN_SIGNATURES_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasCommon

      public boolean hasCommon()
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1;
      Specified by:
      hasCommon in interface DotnetSettingsOrBuilder
      Returns:
      Whether the common field is set.
    • getCommon

      public CommonLanguageSettings getCommon()
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1;
      Specified by:
      getCommon in interface DotnetSettingsOrBuilder
      Returns:
      The common.
    • getCommonOrBuilder

      public CommonLanguageSettingsOrBuilder getCommonOrBuilder()
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1;
      Specified by:
      getCommonOrBuilder in interface DotnetSettingsOrBuilder
    • getRenamedServicesCount

      public int getRenamedServicesCount()
      Description copied from interface: DotnetSettingsOrBuilder
       Map from original service names to renamed versions.
       This is used when the default generated types
       would cause a naming conflict. (Neither name is
       fully-qualified.)
       Example: Subscriber to SubscriberServiceApi.
       
      map<string, string> renamed_services = 2;
      Specified by:
      getRenamedServicesCount in interface DotnetSettingsOrBuilder
    • containsRenamedServices

      public boolean containsRenamedServices(String key)
       Map from original service names to renamed versions.
       This is used when the default generated types
       would cause a naming conflict. (Neither name is
       fully-qualified.)
       Example: Subscriber to SubscriberServiceApi.
       
      map<string, string> renamed_services = 2;
      Specified by:
      containsRenamedServices in interface DotnetSettingsOrBuilder
    • getRenamedServices

      @Deprecated public Map<String,String> getRenamedServices()
      Deprecated.
      Specified by:
      getRenamedServices in interface DotnetSettingsOrBuilder
    • getRenamedServicesMap

      public Map<String,String> getRenamedServicesMap()
       Map from original service names to renamed versions.
       This is used when the default generated types
       would cause a naming conflict. (Neither name is
       fully-qualified.)
       Example: Subscriber to SubscriberServiceApi.
       
      map<string, string> renamed_services = 2;
      Specified by:
      getRenamedServicesMap in interface DotnetSettingsOrBuilder
    • getRenamedServicesOrDefault

      public String getRenamedServicesOrDefault(String key, String defaultValue)
       Map from original service names to renamed versions.
       This is used when the default generated types
       would cause a naming conflict. (Neither name is
       fully-qualified.)
       Example: Subscriber to SubscriberServiceApi.
       
      map<string, string> renamed_services = 2;
      Specified by:
      getRenamedServicesOrDefault in interface DotnetSettingsOrBuilder
    • getRenamedServicesOrThrow

      public String getRenamedServicesOrThrow(String key)
       Map from original service names to renamed versions.
       This is used when the default generated types
       would cause a naming conflict. (Neither name is
       fully-qualified.)
       Example: Subscriber to SubscriberServiceApi.
       
      map<string, string> renamed_services = 2;
      Specified by:
      getRenamedServicesOrThrow in interface DotnetSettingsOrBuilder
    • getRenamedResourcesCount

      public int getRenamedResourcesCount()
      Description copied from interface: DotnetSettingsOrBuilder
       Map from full resource types to the effective short name
       for the resource. This is used when otherwise resource
       named from different services would cause naming collisions.
       Example entry:
       "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
       
      map<string, string> renamed_resources = 3;
      Specified by:
      getRenamedResourcesCount in interface DotnetSettingsOrBuilder
    • containsRenamedResources

      public boolean containsRenamedResources(String key)
       Map from full resource types to the effective short name
       for the resource. This is used when otherwise resource
       named from different services would cause naming collisions.
       Example entry:
       "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
       
      map<string, string> renamed_resources = 3;
      Specified by:
      containsRenamedResources in interface DotnetSettingsOrBuilder
    • getRenamedResources

      @Deprecated public Map<String,String> getRenamedResources()
      Deprecated.
      Specified by:
      getRenamedResources in interface DotnetSettingsOrBuilder
    • getRenamedResourcesMap

      public Map<String,String> getRenamedResourcesMap()
       Map from full resource types to the effective short name
       for the resource. This is used when otherwise resource
       named from different services would cause naming collisions.
       Example entry:
       "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
       
      map<string, string> renamed_resources = 3;
      Specified by:
      getRenamedResourcesMap in interface DotnetSettingsOrBuilder
    • getRenamedResourcesOrDefault

      public String getRenamedResourcesOrDefault(String key, String defaultValue)
       Map from full resource types to the effective short name
       for the resource. This is used when otherwise resource
       named from different services would cause naming collisions.
       Example entry:
       "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
       
      map<string, string> renamed_resources = 3;
      Specified by:
      getRenamedResourcesOrDefault in interface DotnetSettingsOrBuilder
    • getRenamedResourcesOrThrow

      public String getRenamedResourcesOrThrow(String key)
       Map from full resource types to the effective short name
       for the resource. This is used when otherwise resource
       named from different services would cause naming collisions.
       Example entry:
       "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
       
      map<string, string> renamed_resources = 3;
      Specified by:
      getRenamedResourcesOrThrow in interface DotnetSettingsOrBuilder
    • getIgnoredResourcesList

      public com.google.protobuf.ProtocolStringList getIgnoredResourcesList()
       List of full resource types to ignore during generation.
       This is typically used for API-specific Location resources,
       which should be handled by the generator as if they were actually
       the common Location resources.
       Example entry: "documentai.googleapis.com/Location"
       
      repeated string ignored_resources = 4;
      Specified by:
      getIgnoredResourcesList in interface DotnetSettingsOrBuilder
      Returns:
      A list containing the ignoredResources.
    • getIgnoredResourcesCount

      public int getIgnoredResourcesCount()
       List of full resource types to ignore during generation.
       This is typically used for API-specific Location resources,
       which should be handled by the generator as if they were actually
       the common Location resources.
       Example entry: "documentai.googleapis.com/Location"
       
      repeated string ignored_resources = 4;
      Specified by:
      getIgnoredResourcesCount in interface DotnetSettingsOrBuilder
      Returns:
      The count of ignoredResources.
    • getIgnoredResources

      public String getIgnoredResources(int index)
       List of full resource types to ignore during generation.
       This is typically used for API-specific Location resources,
       which should be handled by the generator as if they were actually
       the common Location resources.
       Example entry: "documentai.googleapis.com/Location"
       
      repeated string ignored_resources = 4;
      Specified by:
      getIgnoredResources in interface DotnetSettingsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ignoredResources at the given index.
    • getIgnoredResourcesBytes

      public com.google.protobuf.ByteString getIgnoredResourcesBytes(int index)
       List of full resource types to ignore during generation.
       This is typically used for API-specific Location resources,
       which should be handled by the generator as if they were actually
       the common Location resources.
       Example entry: "documentai.googleapis.com/Location"
       
      repeated string ignored_resources = 4;
      Specified by:
      getIgnoredResourcesBytes in interface DotnetSettingsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ignoredResources at the given index.
    • getForcedNamespaceAliasesList

      public com.google.protobuf.ProtocolStringList getForcedNamespaceAliasesList()
       Namespaces which must be aliased in snippets due to
       a known (but non-generator-predictable) naming collision
       
      repeated string forced_namespace_aliases = 5;
      Specified by:
      getForcedNamespaceAliasesList in interface DotnetSettingsOrBuilder
      Returns:
      A list containing the forcedNamespaceAliases.
    • getForcedNamespaceAliasesCount

      public int getForcedNamespaceAliasesCount()
       Namespaces which must be aliased in snippets due to
       a known (but non-generator-predictable) naming collision
       
      repeated string forced_namespace_aliases = 5;
      Specified by:
      getForcedNamespaceAliasesCount in interface DotnetSettingsOrBuilder
      Returns:
      The count of forcedNamespaceAliases.
    • getForcedNamespaceAliases

      public String getForcedNamespaceAliases(int index)
       Namespaces which must be aliased in snippets due to
       a known (but non-generator-predictable) naming collision
       
      repeated string forced_namespace_aliases = 5;
      Specified by:
      getForcedNamespaceAliases in interface DotnetSettingsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The forcedNamespaceAliases at the given index.
    • getForcedNamespaceAliasesBytes

      public com.google.protobuf.ByteString getForcedNamespaceAliasesBytes(int index)
       Namespaces which must be aliased in snippets due to
       a known (but non-generator-predictable) naming collision
       
      repeated string forced_namespace_aliases = 5;
      Specified by:
      getForcedNamespaceAliasesBytes in interface DotnetSettingsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the forcedNamespaceAliases at the given index.
    • getHandwrittenSignaturesList

      public com.google.protobuf.ProtocolStringList getHandwrittenSignaturesList()
       Method signatures (in the form "service.method(signature)")
       which are provided separately, so shouldn't be generated.
       Snippets *calling* these methods are still generated, however.
       
      repeated string handwritten_signatures = 6;
      Specified by:
      getHandwrittenSignaturesList in interface DotnetSettingsOrBuilder
      Returns:
      A list containing the handwrittenSignatures.
    • getHandwrittenSignaturesCount

      public int getHandwrittenSignaturesCount()
       Method signatures (in the form "service.method(signature)")
       which are provided separately, so shouldn't be generated.
       Snippets *calling* these methods are still generated, however.
       
      repeated string handwritten_signatures = 6;
      Specified by:
      getHandwrittenSignaturesCount in interface DotnetSettingsOrBuilder
      Returns:
      The count of handwrittenSignatures.
    • getHandwrittenSignatures

      public String getHandwrittenSignatures(int index)
       Method signatures (in the form "service.method(signature)")
       which are provided separately, so shouldn't be generated.
       Snippets *calling* these methods are still generated, however.
       
      repeated string handwritten_signatures = 6;
      Specified by:
      getHandwrittenSignatures in interface DotnetSettingsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The handwrittenSignatures at the given index.
    • getHandwrittenSignaturesBytes

      public com.google.protobuf.ByteString getHandwrittenSignaturesBytes(int index)
       Method signatures (in the form "service.method(signature)")
       which are provided separately, so shouldn't be generated.
       Snippets *calling* these methods are still generated, however.
       
      repeated string handwritten_signatures = 6;
      Specified by:
      getHandwrittenSignaturesBytes in interface DotnetSettingsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the handwrittenSignatures at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DotnetSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DotnetSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DotnetSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DotnetSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DotnetSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DotnetSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DotnetSettings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DotnetSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DotnetSettings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DotnetSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DotnetSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DotnetSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DotnetSettings.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DotnetSettings.Builder newBuilder()
    • newBuilder

      public static DotnetSettings.Builder newBuilder(DotnetSettings prototype)
    • toBuilder

      public DotnetSettings.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DotnetSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DotnetSettings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DotnetSettings> parser()
    • getParserForType

      public com.google.protobuf.Parser<DotnetSettings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public DotnetSettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder