Skip to main content
S3NS
Documentation Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
/
  • Node.js
  • Documentation
  • Reference
Overview Guides Reference
S3NS
  • Documentation
    • Overview
    • Guides
    • Reference
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Overview
  • Library reference docs
  • access-approval
  • access-context-manager
  • accounts
  • addressvalidation
  • admanager
  • admin
  • advisorynotifications
  • aiplatform
  • alloydb
  • api-gateway
  • apigee-connect
  • apigee-registry
  • apikeys
  • appconnections
  • appconnectors
  • appengine-admin
  • appgateways
  • apphub
  • area120-tables
  • areainsights
  • artifact-registry
  • asset
  • assured-workloads
  • automl
  • backupdr
  • bare-metal-solution
  • batch
  • bigquery
  • bigquery-analyticshub
  • bigquery-connection
  • bigquery-data-exchange
  • bigquery-data-transfer
  • bigquery-datapolicies
  • bigquery-migration
  • bigquery-reservation
  • bigquery-storage
  • bigtable
  • billing
  • billing-budgets
  • binary-authorization
  • certificate-manager
  • channel
  • chat
  • clientconnectorservices
  • clientgateways
  • cloudbuild
  • cloudcontrolspartner
  • cloudprofiler
  • cloudquotas
  • code-suggester
  • common
  • common
  • compute
  • confidentialcomputing
  • config
  • connect-datastore
  • connect-firestore
  • contact-center-insights
  • container
  • containeranalysis
  • contentwarehouse
  • conversions
  • css
  • data
  • data-fusion
  • data-qna
  • datacatalog
  • dataflow
  • dataform
  • datalabeling
  • dataplex
  • dataproc
  • dataproc-metastore
  • datasources
  • datastore
  • datastream
  • debug-agent
  • deploy
  • developerconnect
  • dialogflow
  • dialogflow-cx
  • discoveryengine
  • dlp
  • dms
  • dns
  • documentai
  • domains
  • edgecontainer
  • edgenetwork
  • error-reporting
  • essential-contacts
  • eventarc
  • eventarc-publishing
  • filestore
  • financialservices
  • firestore
  • fleetengine
  • fleetengine-delivery
  • functions
  • game-servers
  • gaxios
  • gce-images
  • gcp-metadata
  • gcs-resumable-upload
  • gdchardwaremanagement
  • generativelanguage
  • gke-backup
  • gke-connect-gateway
  • gke-hub
  • gkemulticloud
  • google-cloud-kvstore
  • google-proto-files
  • googleapis-common
  • grafeas
  • gsuiteaddons
    • Quickstart
    • Overview
    • GSuiteAddOnsClient
    • Classes
      • protos.google.cloud.gsuiteaddons.v1
        • AddOns
        • Authorization
        • CreateDeploymentRequest
        • DeleteDeploymentRequest
        • Deployment
        • GSuiteAddOns
        • GetAuthorizationRequest
        • GetDeploymentRequest
        • GetInstallStatusRequest
        • InstallDeploymentRequest
        • InstallStatus
        • ListDeploymentsRequest
        • ListDeploymentsResponse
        • ReplaceDeploymentRequest
        • UninstallDeploymentRequest
      • protos.google.api
        • ClientLibrarySettings
        • CommonLanguageSettings
        • CppSettings
        • CustomHttpPattern
        • DotnetSettings
        • GoSettings
        • Http
        • HttpRule
        • JavaSettings
        • LongRunning
        • MethodSettings
        • NodeSettings
        • PhpSettings
        • Publishing
        • PythonSettings
        • ResourceDescriptor
        • ResourceReference
        • RubySettings
      • protos.google.apps.script.type
        • AddOnWidgetSet
        • CommonAddOnManifest
        • HomepageExtensionPoint
        • HttpOptions
        • LayoutProperties
        • MenuItemExtensionPoint
        • UniversalActionExtensionPoint
      • protos.google.apps.script.type.calendar
        • CalendarAddOnManifest
        • CalendarExtensionPoint
        • ConferenceSolution
      • protos.google.apps.script.type.docs
        • DocsAddOnManifest
        • DocsExtensionPoint
      • protos.google.apps.script.type.drive
        • DriveAddOnManifest
        • DriveExtensionPoint
      • protos.google.apps.script.type.gmail
        • ComposeTrigger
        • ContextualTrigger
        • GmailAddOnManifest
        • UnconditionalTrigger
        • UniversalAction
      • protos.google.apps.script.type.sheets
        • SheetsAddOnManifest
        • SheetsExtensionPoint
      • protos.google.apps.script.type.slides
        • SlidesAddOnManifest
        • SlidesExtensionPoint
      • protos.google.protobuf
        • Annotation
        • BoolValue
        • BytesValue
        • Declaration
        • DescriptorProto
        • DoubleValue
        • Duration
        • EditionDefault
        • Empty
        • EnumDescriptorProto
        • EnumOptions
        • EnumReservedRange
        • EnumValueDescriptorProto
        • EnumValueOptions
        • ExtensionRange
        • ExtensionRangeOptions
        • FeatureSet
        • FeatureSetDefaults
        • FeatureSetEditionDefault
        • FieldDescriptorProto
        • FieldOptions
        • FileDescriptorProto
        • FileDescriptorSet
        • FileOptions
        • FloatValue
        • GeneratedCodeInfo
        • Int32Value
        • Int64Value
        • ListValue
        • Location
        • MessageOptions
        • MethodDescriptorProto
        • MethodOptions
        • NamePart
        • OneofDescriptorProto
        • OneofOptions
        • ReservedRange
        • ServiceDescriptorProto
        • ServiceOptions
        • SourceCodeInfo
        • StringValue
        • Struct
        • UInt32Value
        • UInt64Value
        • UninterpretedOption
        • Value
    • Interfaces
      • protos.google.cloud.gsuiteaddons.v1
        • IAddOns
        • IAuthorization
        • ICreateDeploymentRequest
        • IDeleteDeploymentRequest
        • IDeployment
        • IGetAuthorizationRequest
        • IGetDeploymentRequest
        • IGetInstallStatusRequest
        • IInstallDeploymentRequest
        • IInstallStatus
        • IListDeploymentsRequest
        • IListDeploymentsResponse
        • IReplaceDeploymentRequest
        • IUninstallDeploymentRequest
      • protos.google.api
        • IClientLibrarySettings
        • ICommonLanguageSettings
        • ICppSettings
        • ICustomHttpPattern
        • IDotnetSettings
        • IGoSettings
        • IHttp
        • IHttpRule
        • IJavaSettings
        • ILongRunning
        • IMethodSettings
        • INodeSettings
        • IPhpSettings
        • IPublishing
        • IPythonSettings
        • IResourceDescriptor
        • IResourceReference
        • IRubySettings
      • protos.google.apps.script.type
        • IAddOnWidgetSet
        • ICommonAddOnManifest
        • IHomepageExtensionPoint
        • IHttpOptions
        • ILayoutProperties
        • IMenuItemExtensionPoint
        • IUniversalActionExtensionPoint
      • protos.google.apps.script.type.calendar
        • ICalendarAddOnManifest
        • ICalendarExtensionPoint
        • IConferenceSolution
      • protos.google.apps.script.type.docs
        • IDocsAddOnManifest
        • IDocsExtensionPoint
      • protos.google.apps.script.type.drive
        • IDriveAddOnManifest
        • IDriveExtensionPoint
      • protos.google.apps.script.type.gmail
        • IComposeTrigger
        • IContextualTrigger
        • IGmailAddOnManifest
        • IUnconditionalTrigger
        • IUniversalAction
      • protos.google.apps.script.type.sheets
        • ISheetsAddOnManifest
        • ISheetsExtensionPoint
      • protos.google.apps.script.type.slides
        • ISlidesAddOnManifest
        • ISlidesExtensionPoint
      • protos.google.protobuf
        • IAnnotation
        • IBoolValue
        • IBytesValue
        • IDeclaration
        • IDescriptorProto
        • IDoubleValue
        • IDuration
        • IEditionDefault
        • IEmpty
        • IEnumDescriptorProto
        • IEnumOptions
        • IEnumReservedRange
        • IEnumValueDescriptorProto
        • IEnumValueOptions
        • IExtensionRange
        • IExtensionRangeOptions
        • IFeatureSet
        • IFeatureSetDefaults
        • IFeatureSetEditionDefault
        • IFieldDescriptorProto
        • IFieldOptions
        • IFileDescriptorProto
        • IFileDescriptorSet
        • IFileOptions
        • IFloatValue
        • IGeneratedCodeInfo
        • IInt32Value
        • IInt64Value
        • IListValue
        • ILocation
        • IMessageOptions
        • IMethodDescriptorProto
        • IMethodOptions
        • INamePart
        • IOneofDescriptorProto
        • IOneofOptions
        • IReservedRange
        • IServiceDescriptorProto
        • IServiceOptions
        • ISourceCodeInfo
        • IStringValue
        • IStruct
        • IUInt32Value
        • IUInt64Value
        • IUninterpretedOption
        • IValue
    • Enums
      • protos.google.api
        • ClientLibraryDestination
        • ClientLibraryOrganization
        • FieldBehavior
        • History
        • LaunchStage
        • Style
      • protos.google.apps.script.type
        • HttpAuthorizationHeader
        • WidgetType
      • protos.google.apps.script.type.calendar
        • EventAccess
      • protos.google.apps.script.type.gmail
        • DraftAccess
      • protos.google.protobuf
        • CType
        • Edition
        • EnumType
        • FieldPresence
        • IdempotencyLevel
        • JSType
        • JsonFormat
        • Label
        • MessageEncoding
        • NullValue
        • OptimizeMode
        • OptionRetention
        • OptionTargetType
        • RepeatedFieldEncoding
        • Semantic
        • Type
        • Utf8Validation
        • VerificationState
  • gtoken
  • iam
  • iam-credentials
  • iap
  • ids
  • inventories
  • iot
  • kms
  • kms-inventory
  • language
  • lfp
  • life-sciences
  • lineage
  • livestream
  • local-auth
  • logging
  • logging-bunyan
  • logging-winston
  • managed-identities
  • managedkafka
  • maps-platform-datasets
  • marketing-platform-admin
  • media-translation
  • meet
  • memcache
  • memorystore
  • migrationcenter
  • monitoring
  • monitoring-dashboards
  • netapp
  • network-connectivity
  • network-management
  • network-security
  • networkservices
  • notebooks
  • notifications
  • optimization
  • oracledatabase
  • orchestration-airflow
  • org-policy
  • os-config
  • os-login
  • paginator
  • parallelstore
  • parametermanager
  • phishing-protection
  • places
  • policy-troubleshooter
  • policy-troubleshooter-iam
  • policysimulator
  • precise-date
  • private-catalog
  • privilegedaccessmanager
  • procurement
  • products
  • profiler
  • projectify
  • promisify
  • promotions
  • proto3-json-serializer
  • publicca
  • pubsub
  • quota
  • rapidmigrationassessment
  • rcloadenv
  • recaptcha-enterprise
  • recommender
  • redis
  • redis-cluster
  • reports
  • resource-manager
  • retail
  • reviews
  • routeoptimization
  • routing
  • run
  • scheduler
  • secret-manager
  • securesourcemanager
  • security-center
  • security-private-ca
  • securitycentermanagement
  • service-control
  • service-directory
  • service-management
  • service-usage
  • servicehealth
  • shell
  • solar
  • spanner
  • speech
  • sql
  • storage
  • storage-control
  • storage-transfer
  • storageinsights
  • streetview-publish
  • support
  • talent
  • tasks
  • telcoautomation
  • text-to-speech
  • tpu
  • trace-agent
  • translate
  • vertexai
  • video-intelligence
  • video-stitcher
  • video-transcoder
  • vision
  • vmmigration
  • vmwareengine
  • vpc-access
  • web-risk
  • web-security-scanner
  • workflows
  • workstations
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
Some or all of the information on this page might not apply to Trusted Cloud by S3NS. See Differences from Google Cloud for more details.
  • Home
  • Node.js
  • Documentation
  • Reference

Enum protos.google.protobuf.FieldOptions.OptionRetention (2.1.0)

  • 2.1.0 (latest)
  • 0.1.2

OptionRetention enum.

Fields

Name Description
RETENTION_RUNTIME
RETENTION_SOURCE
RETENTION_UNKNOWN

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-10 UTC.

  • Terms
  • Privacy
  • Manage cookies