Class DotnetSettings

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<DotnetSettings,DotnetSettings.Builder>
com.google.api.DotnetSettings
All Implemented Interfaces:
DotnetSettingsOrBuilder, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder

public final class DotnetSettings extends com.google.protobuf.GeneratedMessageLite<DotnetSettings,DotnetSettings.Builder> implements DotnetSettingsOrBuilder
 Settings for Dotnet client libraries.
 
Protobuf type google.api.DotnetSettings
  • 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

    • hasCommon

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

      public CommonLanguageSettings getCommon()
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
      Specified by:
      getCommon in interface DotnetSettingsOrBuilder
      Returns:
      The common.
    • 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 [json_name = "renamedServices"];
      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 [json_name = "renamedServices"];
      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 [json_name = "renamedServices"];
      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 [json_name = "renamedServices"];
      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 [json_name = "renamedServices"];
      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 [json_name = "renamedResources"];
      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 [json_name = "renamedResources"];
      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 [json_name = "renamedResources"];
      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 [json_name = "renamedResources"];
      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 [json_name = "renamedResources"];
      Specified by:
      getRenamedResourcesOrThrow in interface DotnetSettingsOrBuilder
    • getIgnoredResourcesList

      public List<String> 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 [json_name = "ignoredResources"];
      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 [json_name = "ignoredResources"];
      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 [json_name = "ignoredResources"];
      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 [json_name = "ignoredResources"];
      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 List<String> getForcedNamespaceAliasesList()
       Namespaces which must be aliased in snippets due to
       a known (but non-generator-predictable) naming collision
       
      repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
      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 [json_name = "forcedNamespaceAliases"];
      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 [json_name = "forcedNamespaceAliases"];
      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 [json_name = "forcedNamespaceAliases"];
      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 List<String> 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 [json_name = "handwrittenSignatures"];
      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 [json_name = "handwrittenSignatures"];
      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 [json_name = "handwrittenSignatures"];
      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 [json_name = "handwrittenSignatures"];
      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.
    • 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
    • newBuilder

      public static DotnetSettings.Builder newBuilder()
    • newBuilder

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

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<DotnetSettings,DotnetSettings.Builder>
    • getDefaultInstance

      public static DotnetSettings getDefaultInstance()
    • parser

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