From c8aad5b7f755bb07555990d5a7696fb65c2f50ad Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Mon, 10 Jun 2024 14:55:39 -0400 Subject: [PATCH 1/2] chore: Update protoc version --- .cloudbuild/library_generation/library_generation.Dockerfile | 2 +- generation_config.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cloudbuild/library_generation/library_generation.Dockerfile b/.cloudbuild/library_generation/library_generation.Dockerfile index 9de0bc1c2c..28f6303a88 100644 --- a/.cloudbuild/library_generation/library_generation.Dockerfile +++ b/.cloudbuild/library_generation/library_generation.Dockerfile @@ -19,7 +19,7 @@ SHELL [ "/bin/bash", "-c" ] ARG SYNTHTOOL_COMMITTISH=e36d2f164ca698f0264fb6f79ddc4b0fa024a940 ARG OWLBOT_CLI_COMMITTISH=ac84fa5c423a0069bbce3d2d869c9730c8fdf550 -ARG PROTOC_VERSION=25.3 +ARG PROTOC_VERSION=27.1 ENV HOME=/home # install OS tools diff --git a/generation_config.yaml b/generation_config.yaml index 67515ff745..947a64181e 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.41.1-SNAPSHOT # {x-version-update:gapic-generator-java:current} -googleapis_commitish: 3b6f144d47b0a1d2115ab2445ec06e80cc324a44 +googleapis_commitish: 26b136f724bf60e12dc21b26e1c48fb8a78fbf0f # the libraries are ordered with respect to library name, which is # java-{library.library_name} or java-{library.api-shortname} when # library.library_name is not defined. @@ -7,7 +7,7 @@ libraries: - api_shortname: common-protos name_pretty: Common Protos product_documentation: https://github.com/googleapis/api-common-protos - api_description: Protobuf classes for Google's common protos. + api_description: Protobuf classes for Google's common protos.. release_level: stable client_documentation: https://cloud.google.com/java/docs/reference/proto-google-common-protos/latest/history distribution_name: com.google.api.grpc:proto-google-common-protos From 34a06ee0a1cd9a792e0b53d6ff36ffe94a24a1e4 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Mon, 10 Jun 2024 19:02:19 +0000 Subject: [PATCH 2/2] chore: generate libraries at Mon Jun 10 19:01:26 UTC 2024 --- java-common-protos/.repo-metadata.json | 2 +- .../src/main/java/com/google/api/Advice.java | 97 +- .../java/com/google/api/AdviceOrBuilder.java | 3 +- .../java/com/google/api/AnnotationsProto.java | 14 +- .../main/java/com/google/api/AuthProto.java | 38 +- .../java/com/google/api/AuthProvider.java | 687 ++-- .../com/google/api/AuthProviderOrBuilder.java | 135 +- .../java/com/google/api/AuthRequirement.java | 147 +- .../google/api/AuthRequirementOrBuilder.java | 15 +- .../java/com/google/api/Authentication.java | 157 +- .../google/api/AuthenticationOrBuilder.java | 3 +- .../com/google/api/AuthenticationRule.java | 113 +- .../api/AuthenticationRuleOrBuilder.java | 3 +- .../src/main/java/com/google/api/Backend.java | 97 +- .../java/com/google/api/BackendOrBuilder.java | 3 +- .../java/com/google/api/BackendProto.java | 26 +- .../main/java/com/google/api/BackendRule.java | 332 +- .../com/google/api/BackendRuleOrBuilder.java | 43 +- .../src/main/java/com/google/api/Billing.java | 286 +- .../java/com/google/api/BillingOrBuilder.java | 3 +- .../java/com/google/api/BillingProto.java | 22 +- .../main/java/com/google/api/ChangeType.java | 12 +- .../google/api/ClientLibraryDestination.java | 12 +- .../google/api/ClientLibraryOrganization.java | 12 +- .../com/google/api/ClientLibrarySettings.java | 147 +- .../api/ClientLibrarySettingsOrBuilder.java | 3 +- .../main/java/com/google/api/ClientProto.java | 142 +- .../google/api/CommonLanguageSettings.java | 97 +- .../api/CommonLanguageSettingsOrBuilder.java | 3 +- .../java/com/google/api/ConfigChange.java | 121 +- .../com/google/api/ConfigChangeOrBuilder.java | 3 +- .../com/google/api/ConfigChangeProto.java | 22 +- .../java/com/google/api/ConsumerProto.java | 22 +- .../src/main/java/com/google/api/Context.java | 149 +- .../java/com/google/api/ContextOrBuilder.java | 3 +- .../java/com/google/api/ContextProto.java | 22 +- .../main/java/com/google/api/ContextRule.java | 105 +- .../com/google/api/ContextRuleOrBuilder.java | 3 +- .../src/main/java/com/google/api/Control.java | 113 +- .../java/com/google/api/ControlOrBuilder.java | 3 +- .../java/com/google/api/ControlProto.java | 18 +- .../main/java/com/google/api/CppSettings.java | 97 +- .../com/google/api/CppSettingsOrBuilder.java | 3 +- .../com/google/api/CustomHttpPattern.java | 105 +- .../api/CustomHttpPatternOrBuilder.java | 3 +- .../java/com/google/api/Distribution.java | 941 ++--- .../com/google/api/DistributionOrBuilder.java | 5 +- .../com/google/api/DistributionProto.java | 42 +- .../java/com/google/api/Documentation.java | 293 +- .../google/api/DocumentationOrBuilder.java | 27 +- .../com/google/api/DocumentationProto.java | 26 +- .../com/google/api/DocumentationRule.java | 113 +- .../api/DocumentationRuleOrBuilder.java | 3 +- .../java/com/google/api/DotnetSettings.java | 108 +- .../google/api/DotnetSettingsOrBuilder.java | 3 +- .../main/java/com/google/api/Endpoint.java | 163 +- .../com/google/api/EndpointOrBuilder.java | 3 +- .../java/com/google/api/EndpointProto.java | 18 +- .../main/java/com/google/api/ErrorReason.java | 952 ++--- .../java/com/google/api/ErrorReasonProto.java | 14 +- .../java/com/google/api/FieldBehavior.java | 12 +- .../com/google/api/FieldBehaviorProto.java | 28 +- .../main/java/com/google/api/FieldInfo.java | 98 +- .../com/google/api/FieldInfoOrBuilder.java | 3 +- .../java/com/google/api/FieldInfoProto.java | 30 +- .../main/java/com/google/api/FieldPolicy.java | 113 +- .../com/google/api/FieldPolicyOrBuilder.java | 3 +- .../main/java/com/google/api/GoSettings.java | 97 +- .../com/google/api/GoSettingsOrBuilder.java | 3 +- .../src/main/java/com/google/api/Http.java | 97 +- .../main/java/com/google/api/HttpBody.java | 177 +- .../com/google/api/HttpBodyOrBuilder.java | 3 +- .../java/com/google/api/HttpBodyProto.java | 18 +- .../java/com/google/api/HttpOrBuilder.java | 3 +- .../main/java/com/google/api/HttpProto.java | 26 +- .../main/java/com/google/api/HttpRule.java | 515 ++- .../com/google/api/HttpRuleOrBuilder.java | 3 +- .../java/com/google/api/JavaSettings.java | 259 +- .../com/google/api/JavaSettingsOrBuilder.java | 65 +- .../main/java/com/google/api/JwtLocation.java | 109 +- .../com/google/api/JwtLocationOrBuilder.java | 3 +- .../java/com/google/api/LabelDescriptor.java | 114 +- .../google/api/LabelDescriptorOrBuilder.java | 3 +- .../main/java/com/google/api/LabelProto.java | 18 +- .../main/java/com/google/api/LaunchStage.java | 12 +- .../java/com/google/api/LaunchStageProto.java | 14 +- .../java/com/google/api/LogDescriptor.java | 145 +- .../google/api/LogDescriptorOrBuilder.java | 3 +- .../main/java/com/google/api/LogProto.java | 18 +- .../src/main/java/com/google/api/Logging.java | 294 +- .../java/com/google/api/LoggingOrBuilder.java | 3 +- .../java/com/google/api/LoggingProto.java | 22 +- .../java/com/google/api/MethodPolicy.java | 105 +- .../com/google/api/MethodPolicyOrBuilder.java | 3 +- .../java/com/google/api/MethodSettings.java | 612 ++- .../google/api/MethodSettingsOrBuilder.java | 109 +- .../src/main/java/com/google/api/Metric.java | 99 +- .../java/com/google/api/MetricDescriptor.java | 648 ++- .../google/api/MetricDescriptorOrBuilder.java | 111 +- .../java/com/google/api/MetricOrBuilder.java | 3 +- .../main/java/com/google/api/MetricProto.java | 30 +- .../main/java/com/google/api/MetricRule.java | 99 +- .../com/google/api/MetricRuleOrBuilder.java | 3 +- .../com/google/api/MonitoredResource.java | 115 +- .../api/MonitoredResourceDescriptor.java | 157 +- .../MonitoredResourceDescriptorOrBuilder.java | 11 +- .../google/api/MonitoredResourceMetadata.java | 171 +- .../MonitoredResourceMetadataOrBuilder.java | 21 +- .../api/MonitoredResourceOrBuilder.java | 3 +- .../google/api/MonitoredResourceProto.java | 34 +- .../main/java/com/google/api/Monitoring.java | 378 +- .../com/google/api/MonitoringOrBuilder.java | 3 +- .../java/com/google/api/MonitoringProto.java | 22 +- .../java/com/google/api/NodeSettings.java | 97 +- .../com/google/api/NodeSettingsOrBuilder.java | 3 +- .../com/google/api/OAuthRequirements.java | 125 +- .../api/OAuthRequirementsOrBuilder.java | 11 +- .../src/main/java/com/google/api/Page.java | 169 +- .../java/com/google/api/PageOrBuilder.java | 19 +- .../main/java/com/google/api/PhpSettings.java | 97 +- .../com/google/api/PhpSettingsOrBuilder.java | 3 +- .../main/java/com/google/api/PolicyProto.java | 22 +- .../com/google/api/ProjectProperties.java | 125 +- .../api/ProjectPropertiesOrBuilder.java | 3 +- .../main/java/com/google/api/Property.java | 114 +- .../com/google/api/PropertyOrBuilder.java | 3 +- .../main/java/com/google/api/Publishing.java | 164 +- .../com/google/api/PublishingOrBuilder.java | 3 +- .../java/com/google/api/PythonSettings.java | 97 +- .../google/api/PythonSettingsOrBuilder.java | 3 +- .../src/main/java/com/google/api/Quota.java | 237 +- .../main/java/com/google/api/QuotaLimit.java | 139 +- .../com/google/api/QuotaLimitOrBuilder.java | 3 +- .../java/com/google/api/QuotaOrBuilder.java | 3 +- .../main/java/com/google/api/QuotaProto.java | 34 +- .../com/google/api/ResourceDescriptor.java | 533 ++- .../api/ResourceDescriptorOrBuilder.java | 87 +- .../java/com/google/api/ResourceProto.java | 22 +- .../com/google/api/ResourceReference.java | 315 +- .../api/ResourceReferenceOrBuilder.java | 63 +- .../java/com/google/api/RoutingParameter.java | 483 ++- .../google/api/RoutingParameterOrBuilder.java | 111 +- .../java/com/google/api/RoutingProto.java | 22 +- .../main/java/com/google/api/RoutingRule.java | 857 ++-- .../com/google/api/RoutingRuleOrBuilder.java | 3 +- .../java/com/google/api/RubySettings.java | 97 +- .../com/google/api/RubySettingsOrBuilder.java | 3 +- .../src/main/java/com/google/api/Service.java | 545 ++- .../java/com/google/api/ServiceOrBuilder.java | 43 +- .../java/com/google/api/ServiceProto.java | 18 +- .../main/java/com/google/api/SourceInfo.java | 97 +- .../com/google/api/SourceInfoOrBuilder.java | 3 +- .../java/com/google/api/SourceInfoProto.java | 18 +- .../java/com/google/api/SystemParameter.java | 113 +- .../google/api/SystemParameterOrBuilder.java | 3 +- .../com/google/api/SystemParameterProto.java | 26 +- .../com/google/api/SystemParameterRule.java | 105 +- .../api/SystemParameterRuleOrBuilder.java | 3 +- .../java/com/google/api/SystemParameters.java | 741 ++-- .../google/api/SystemParametersOrBuilder.java | 143 +- .../src/main/java/com/google/api/Usage.java | 107 +- .../java/com/google/api/UsageOrBuilder.java | 3 +- .../main/java/com/google/api/UsageProto.java | 22 +- .../main/java/com/google/api/UsageRule.java | 129 +- .../com/google/api/UsageRuleOrBuilder.java | 3 +- .../main/java/com/google/api/Visibility.java | 121 +- .../com/google/api/VisibilityOrBuilder.java | 3 +- .../java/com/google/api/VisibilityProto.java | 22 +- .../java/com/google/api/VisibilityRule.java | 161 +- .../google/api/VisibilityRuleOrBuilder.java | 19 +- .../java/com/google/apps/card/v1/Action.java | 230 +- .../google/apps/card/v1/ActionOrBuilder.java | 3 +- .../com/google/apps/card/v1/BorderStyle.java | 106 +- .../apps/card/v1/BorderStyleOrBuilder.java | 3 +- .../java/com/google/apps/card/v1/Button.java | 221 +- .../com/google/apps/card/v1/ButtonList.java | 97 +- .../apps/card/v1/ButtonListOrBuilder.java | 3 +- .../google/apps/card/v1/ButtonOrBuilder.java | 27 +- .../java/com/google/apps/card/v1/Card.java | 1959 +++++---- .../google/apps/card/v1/CardOrBuilder.java | 233 +- .../com/google/apps/card/v1/CardProto.java | 150 +- .../java/com/google/apps/card/v1/Columns.java | 357 +- .../google/apps/card/v1/ColumnsOrBuilder.java | 3 +- .../google/apps/card/v1/DateTimePicker.java | 146 +- .../apps/card/v1/DateTimePickerOrBuilder.java | 9 +- .../google/apps/card/v1/DecoratedText.java | 305 +- .../apps/card/v1/DecoratedTextOrBuilder.java | 3 +- .../java/com/google/apps/card/v1/Divider.java | 89 +- .../google/apps/card/v1/DividerOrBuilder.java | 3 +- .../java/com/google/apps/card/v1/Grid.java | 355 +- .../google/apps/card/v1/GridOrBuilder.java | 3 +- .../java/com/google/apps/card/v1/Icon.java | 135 +- .../google/apps/card/v1/IconOrBuilder.java | 9 +- .../java/com/google/apps/card/v1/Image.java | 113 +- .../google/apps/card/v1/ImageComponent.java | 119 +- .../apps/card/v1/ImageComponentOrBuilder.java | 3 +- .../google/apps/card/v1/ImageCropStyle.java | 122 +- .../apps/card/v1/ImageCropStyleOrBuilder.java | 7 +- .../google/apps/card/v1/ImageOrBuilder.java | 3 +- .../com/google/apps/card/v1/MaterialIcon.java | 113 +- .../apps/card/v1/MaterialIconOrBuilder.java | 3 +- .../java/com/google/apps/card/v1/OnClick.java | 113 +- .../google/apps/card/v1/OnClickOrBuilder.java | 3 +- .../com/google/apps/card/v1/OpenLink.java | 115 +- .../apps/card/v1/OpenLinkOrBuilder.java | 3 +- .../google/apps/card/v1/SelectionInput.java | 389 +- .../apps/card/v1/SelectionInputOrBuilder.java | 3 +- .../com/google/apps/card/v1/Suggestions.java | 192 +- .../apps/card/v1/SuggestionsOrBuilder.java | 3 +- .../com/google/apps/card/v1/TextInput.java | 158 +- .../apps/card/v1/TextInputOrBuilder.java | 3 +- .../google/apps/card/v1/TextParagraph.java | 97 +- .../apps/card/v1/TextParagraphOrBuilder.java | 3 +- .../java/com/google/apps/card/v1/Widget.java | 3503 ++++++++--------- .../google/apps/card/v1/WidgetOrBuilder.java | 837 ++-- .../google/cloud/ExtendedOperationsProto.java | 14 +- .../cloud/OperationResponseMapping.java | 12 +- .../java/com/google/cloud/audit/AuditLog.java | 239 +- .../google/cloud/audit/AuditLogOrBuilder.java | 19 +- .../com/google/cloud/audit/AuditLogProto.java | 72 +- .../cloud/audit/AuthenticationInfo.java | 137 +- .../audit/AuthenticationInfoOrBuilder.java | 3 +- .../google/cloud/audit/AuthorizationInfo.java | 141 +- .../audit/AuthorizationInfoOrBuilder.java | 11 +- .../cloud/audit/OrgPolicyViolationInfo.java | 115 +- .../OrgPolicyViolationInfoOrBuilder.java | 3 +- .../cloud/audit/PolicyViolationInfo.java | 97 +- .../audit/PolicyViolationInfoOrBuilder.java | 3 +- .../google/cloud/audit/RequestMetadata.java | 183 +- .../cloud/audit/RequestMetadataOrBuilder.java | 19 +- .../google/cloud/audit/ResourceLocation.java | 249 +- .../audit/ResourceLocationOrBuilder.java | 51 +- .../audit/ServiceAccountDelegationInfo.java | 315 +- ...ServiceAccountDelegationInfoOrBuilder.java | 3 +- .../com/google/cloud/audit/ViolationInfo.java | 122 +- .../cloud/audit/ViolationInfoOrBuilder.java | 3 +- .../cloud/location/GetLocationRequest.java | 97 +- .../location/GetLocationRequestOrBuilder.java | 3 +- .../cloud/location/ListLocationsRequest.java | 113 +- .../ListLocationsRequestOrBuilder.java | 3 +- .../cloud/location/ListLocationsResponse.java | 105 +- .../ListLocationsResponseOrBuilder.java | 3 +- .../com/google/cloud/location/Location.java | 145 +- .../cloud/location/LocationOrBuilder.java | 13 +- .../google/cloud/location/LocationsProto.java | 40 +- .../java/com/google/geo/type/Viewport.java | 167 +- .../google/geo/type/ViewportOrBuilder.java | 3 +- .../com/google/geo/type/ViewportProto.java | 18 +- .../com/google/logging/type/HttpRequest.java | 153 +- .../logging/type/HttpRequestOrBuilder.java | 3 +- .../google/logging/type/HttpRequestProto.java | 18 +- .../com/google/logging/type/LogSeverity.java | 14 +- .../google/logging/type/LogSeverityProto.java | 14 +- .../longrunning/CancelOperationRequest.java | 97 +- .../CancelOperationRequestOrBuilder.java | 3 +- .../longrunning/DeleteOperationRequest.java | 97 +- .../DeleteOperationRequestOrBuilder.java | 3 +- .../longrunning/GetOperationRequest.java | 97 +- .../GetOperationRequestOrBuilder.java | 3 +- .../longrunning/ListOperationsRequest.java | 113 +- .../ListOperationsRequestOrBuilder.java | 3 +- .../longrunning/ListOperationsResponse.java | 105 +- .../ListOperationsResponseOrBuilder.java | 3 +- .../com/google/longrunning/Operation.java | 117 +- .../com/google/longrunning/OperationInfo.java | 133 +- .../longrunning/OperationInfoOrBuilder.java | 3 +- .../longrunning/OperationOrBuilder.java | 3 +- .../google/longrunning/OperationsProto.java | 60 +- .../longrunning/WaitOperationRequest.java | 105 +- .../WaitOperationRequestOrBuilder.java | 3 +- .../main/java/com/google/rpc/BadRequest.java | 510 +-- .../com/google/rpc/BadRequestOrBuilder.java | 3 +- .../src/main/java/com/google/rpc/Code.java | 48 +- .../main/java/com/google/rpc/CodeProto.java | 14 +- .../main/java/com/google/rpc/DebugInfo.java | 99 +- .../com/google/rpc/DebugInfoOrBuilder.java | 3 +- .../com/google/rpc/ErrorDetailsProto.java | 74 +- .../main/java/com/google/rpc/ErrorInfo.java | 159 +- .../com/google/rpc/ErrorInfoOrBuilder.java | 3 +- .../src/main/java/com/google/rpc/Help.java | 204 +- .../java/com/google/rpc/HelpOrBuilder.java | 3 +- .../java/com/google/rpc/LocalizedMessage.java | 105 +- .../google/rpc/LocalizedMessageOrBuilder.java | 3 +- .../com/google/rpc/PreconditionFailure.java | 212 +- .../rpc/PreconditionFailureOrBuilder.java | 3 +- .../java/com/google/rpc/QuotaFailure.java | 204 +- .../com/google/rpc/QuotaFailureOrBuilder.java | 3 +- .../main/java/com/google/rpc/RequestInfo.java | 105 +- .../com/google/rpc/RequestInfoOrBuilder.java | 3 +- .../java/com/google/rpc/ResourceInfo.java | 121 +- .../com/google/rpc/ResourceInfoOrBuilder.java | 3 +- .../main/java/com/google/rpc/RetryInfo.java | 97 +- .../com/google/rpc/RetryInfoOrBuilder.java | 3 +- .../src/main/java/com/google/rpc/Status.java | 105 +- .../java/com/google/rpc/StatusOrBuilder.java | 3 +- .../main/java/com/google/rpc/StatusProto.java | 18 +- .../google/rpc/context/AttributeContext.java | 1333 +++---- .../context/AttributeContextOrBuilder.java | 3 +- .../rpc/context/AttributeContextProto.java | 62 +- .../com/google/rpc/context/AuditContext.java | 111 +- .../rpc/context/AuditContextOrBuilder.java | 3 +- .../google/rpc/context/AuditContextProto.java | 18 +- .../com/google/shopping/type/Channel.java | 98 +- .../shopping/type/ChannelOrBuilder.java | 3 +- .../google/shopping/type/CustomAttribute.java | 105 +- .../type/CustomAttributeOrBuilder.java | 3 +- .../com/google/shopping/type/Destination.java | 98 +- .../shopping/type/DestinationOrBuilder.java | 3 +- .../java/com/google/shopping/type/Price.java | 93 +- .../google/shopping/type/PriceOrBuilder.java | 3 +- .../shopping/type/ReportingContext.java | 98 +- .../type/ReportingContextOrBuilder.java | 3 +- .../com/google/shopping/type/TypesProto.java | 38 +- .../java/com/google/shopping/type/Weight.java | 98 +- .../google/shopping/type/WeightOrBuilder.java | 3 +- .../java/com/google/type/CalendarPeriod.java | 12 +- .../com/google/type/CalendarPeriodProto.java | 14 +- .../src/main/java/com/google/type/Color.java | 481 ++- .../java/com/google/type/ColorOrBuilder.java | 9 +- .../main/java/com/google/type/ColorProto.java | 18 +- .../src/main/java/com/google/type/Date.java | 89 +- .../java/com/google/type/DateOrBuilder.java | 3 +- .../main/java/com/google/type/DateProto.java | 18 +- .../main/java/com/google/type/DateTime.java | 125 +- .../com/google/type/DateTimeOrBuilder.java | 3 +- .../java/com/google/type/DateTimeProto.java | 22 +- .../main/java/com/google/type/DayOfWeek.java | 12 +- .../java/com/google/type/DayOfWeekProto.java | 14 +- .../main/java/com/google/type/Decimal.java | 251 +- .../com/google/type/DecimalOrBuilder.java | 47 +- .../java/com/google/type/DecimalProto.java | 18 +- .../src/main/java/com/google/type/Expr.java | 169 +- .../java/com/google/type/ExprOrBuilder.java | 3 +- .../main/java/com/google/type/ExprProto.java | 18 +- .../main/java/com/google/type/Fraction.java | 89 +- .../com/google/type/FractionOrBuilder.java | 3 +- .../java/com/google/type/FractionProto.java | 18 +- .../main/java/com/google/type/Interval.java | 103 +- .../com/google/type/IntervalOrBuilder.java | 3 +- .../java/com/google/type/IntervalProto.java | 18 +- .../src/main/java/com/google/type/LatLng.java | 89 +- .../java/com/google/type/LatLngOrBuilder.java | 3 +- .../java/com/google/type/LatLngProto.java | 18 +- .../java/com/google/type/LocalizedText.java | 105 +- .../google/type/LocalizedTextOrBuilder.java | 3 +- .../com/google/type/LocalizedTextProto.java | 18 +- .../src/main/java/com/google/type/Money.java | 97 +- .../java/com/google/type/MoneyOrBuilder.java | 3 +- .../main/java/com/google/type/MoneyProto.java | 18 +- .../src/main/java/com/google/type/Month.java | 12 +- .../main/java/com/google/type/MonthProto.java | 14 +- .../java/com/google/type/PhoneNumber.java | 402 +- .../com/google/type/PhoneNumberOrBuilder.java | 39 +- .../com/google/type/PhoneNumberProto.java | 22 +- .../java/com/google/type/PostalAddress.java | 169 +- .../google/type/PostalAddressOrBuilder.java | 3 +- .../com/google/type/PostalAddressProto.java | 18 +- .../main/java/com/google/type/Quaternion.java | 129 +- .../com/google/type/QuaternionOrBuilder.java | 3 +- .../java/com/google/type/QuaternionProto.java | 18 +- .../main/java/com/google/type/TimeOfDay.java | 89 +- .../com/google/type/TimeOfDayOrBuilder.java | 3 +- .../java/com/google/type/TimeOfDayProto.java | 18 +- .../main/java/com/google/type/TimeZone.java | 105 +- .../com/google/type/TimeZoneOrBuilder.java | 3 +- 365 files changed, 16537 insertions(+), 22456 deletions(-) diff --git a/java-common-protos/.repo-metadata.json b/java-common-protos/.repo-metadata.json index d519c2765f..b2ddca0be0 100644 --- a/java-common-protos/.repo-metadata.json +++ b/java-common-protos/.repo-metadata.json @@ -2,7 +2,7 @@ "api_shortname": "common-protos", "name_pretty": "Common Protos", "product_documentation": "https://github.com/googleapis/api-common-protos", - "api_description": "Protobuf classes for Google's common protos.", + "api_description": "Protobuf classes for Google's common protos..", "client_documentation": "https://cloud.google.com/java/docs/reference/proto-google-common-protos/latest/history", "release_level": "stable", "transport": "grpc", diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java index f17bff8948..449837dfc8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Advice.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/config_change.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.api.Advice} */ -public final class Advice extends com.google.protobuf.GeneratedMessageV3 +public final class Advice extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Advice) AdviceOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Advice.class.getName()); + } // Use Advice.newBuilder() to construct. - private Advice(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Advice(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private Advice() { description_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Advice(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -128,8 +133,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } getUnknownFields().writeTo(output); } @@ -140,8 +145,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,38 +218,38 @@ public static com.google.api.Advice parseFrom( public static com.google.api.Advice parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Advice parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Advice parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Advice parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Advice parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Advice parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -267,7 +272,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -281,7 +286,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Advice} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Advice) com.google.api.AdviceOrBuilder { @@ -290,7 +295,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ConfigChangeProto.internal_static_google_api_Advice_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -300,7 +305,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Advice.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -348,39 +353,6 @@ private void buildPartial0(com.google.api.Advice result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Advice) { @@ -560,17 +532,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Advice) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java index b3dd5e4ac4..ceddd6f66f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AdviceOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/config_change.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface AdviceOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java index f57265d31e..e88a6c99b2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AnnotationsProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/annotations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class AnnotationsProto { private AnnotationsProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AnnotationsProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.api.AnnotationsProto.http); } @@ -71,6 +82,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DescriptorProtos.getDescriptor(), }); http.internalInit(descriptor.getExtensions().get(0)); + descriptor.resolveAllFeaturesImmutable(); com.google.api.HttpProto.getDescriptor(); com.google.protobuf.DescriptorProtos.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java index ace9e55c13..4917c781dd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class AuthProto { private AuthProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuthProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,27 +41,27 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Authentication_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Authentication_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_AuthenticationRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_AuthenticationRule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_JwtLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_JwtLocation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_AuthProvider_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_AuthProvider_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_OAuthRequirements_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_OAuthRequirements_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_AuthRequirement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_AuthRequirement_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -87,7 +98,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Authentication_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Authentication_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Authentication_descriptor, new java.lang.String[] { "Rules", "Providers", @@ -95,21 +106,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_AuthenticationRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_AuthenticationRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_AuthenticationRule_descriptor, new java.lang.String[] { "Selector", "Oauth", "AllowWithoutCredential", "Requirements", }); internal_static_google_api_JwtLocation_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_api_JwtLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_JwtLocation_descriptor, new java.lang.String[] { "Header", "Query", "Cookie", "ValuePrefix", "In", }); internal_static_google_api_AuthProvider_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_api_AuthProvider_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_AuthProvider_descriptor, new java.lang.String[] { "Id", "Issuer", "JwksUri", "Audiences", "AuthorizationUrl", "JwtLocations", @@ -117,7 +128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_OAuthRequirements_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_api_OAuthRequirements_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_OAuthRequirements_descriptor, new java.lang.String[] { "CanonicalScopes", @@ -125,11 +136,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_AuthRequirement_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_api_AuthRequirement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_AuthRequirement_descriptor, new java.lang.String[] { "ProviderId", "Audiences", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java index 73e2a86cc2..b73298c2a9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProvider.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,13 +31,23 @@ * * Protobuf type {@code google.api.AuthProvider} */ -public final class AuthProvider extends com.google.protobuf.GeneratedMessageV3 +public final class AuthProvider extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.AuthProvider) AuthProviderOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuthProvider.class.getName()); + } // Use AuthProvider.newBuilder() to construct. - private AuthProvider(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AuthProvider(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -49,18 +60,12 @@ private AuthProvider() { jwtLocations_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AuthProvider(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthProvider_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_AuthProvider_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -197,12 +202,12 @@ public com.google.protobuf.ByteString getIssuerBytes() { * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -231,12 +236,12 @@ public java.lang.String getJwksUri() { * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -270,19 +275,19 @@ public com.google.protobuf.ByteString getJwksUriBytes() { * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -309,19 +314,19 @@ public java.lang.String getAudiences() { * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -410,16 +415,16 @@ public com.google.protobuf.ByteString getAuthorizationUrlBytes() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -440,16 +445,16 @@ public java.util.List getJwtLocationsList() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -471,16 +476,16 @@ public java.util.List getJwtLocationsList() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -501,16 +506,16 @@ public int getJwtLocationsCount() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -531,16 +536,16 @@ public com.google.api.JwtLocation getJwtLocations(int index) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -564,20 +569,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, issuer_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(issuer_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, issuer_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jwksUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, jwksUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(jwksUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, jwksUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audiences_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, audiences_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(audiences_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, audiences_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationUrl_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, authorizationUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authorizationUrl_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, authorizationUrl_); } for (int i = 0; i < jwtLocations_.size(); i++) { output.writeMessage(6, jwtLocations_.get(i)); @@ -591,20 +596,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, issuer_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(issuer_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, issuer_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jwksUri_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jwksUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(jwksUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, jwksUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audiences_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, audiences_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(audiences_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, audiences_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationUrl_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, authorizationUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authorizationUrl_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, authorizationUrl_); } for (int i = 0; i < jwtLocations_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, jwtLocations_.get(i)); @@ -696,38 +701,38 @@ public static com.google.api.AuthProvider parseFrom( public static com.google.api.AuthProvider parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.AuthProvider parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.AuthProvider parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.AuthProvider parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.AuthProvider parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.AuthProvider parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -750,7 +755,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -765,7 +770,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.AuthProvider} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.AuthProvider) com.google.api.AuthProviderOrBuilder { @@ -774,7 +779,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_AuthProvider_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -784,7 +789,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.AuthProvider.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -868,39 +873,6 @@ private void buildPartial0(com.google.api.AuthProvider result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.AuthProvider) { @@ -957,7 +929,7 @@ public Builder mergeFrom(com.google.api.AuthProvider other) { jwtLocations_ = other.jwtLocations_; bitField0_ = (bitField0_ & ~0x00000020); jwtLocationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getJwtLocationsFieldBuilder() : null; } else { @@ -1313,12 +1285,12 @@ public Builder setIssuerBytes(com.google.protobuf.ByteString value) { * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -1346,12 +1318,12 @@ public java.lang.String getJwksUri() { * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -1379,12 +1351,12 @@ public com.google.protobuf.ByteString getJwksUriBytes() { * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -1411,12 +1383,12 @@ public Builder setJwksUri(java.lang.String value) { * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -1439,12 +1411,12 @@ public Builder clearJwksUri() { * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -1474,19 +1446,19 @@ public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -1512,19 +1484,19 @@ public java.lang.String getAudiences() { * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -1550,19 +1522,19 @@ public com.google.protobuf.ByteString getAudiencesBytes() { * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -1587,19 +1559,19 @@ public Builder setAudiences(java.lang.String value) { * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -1620,19 +1592,19 @@ public Builder clearAudiences() { * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -1772,7 +1744,7 @@ private void ensureJwtLocationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.JwtLocation, com.google.api.JwtLocation.Builder, com.google.api.JwtLocationOrBuilder> @@ -1790,16 +1762,16 @@ private void ensureJwtLocationsIsMutable() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -1823,16 +1795,16 @@ public java.util.List getJwtLocationsList() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -1856,16 +1828,16 @@ public int getJwtLocationsCount() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -1889,16 +1861,16 @@ public com.google.api.JwtLocation getJwtLocations(int index) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -1928,16 +1900,16 @@ public Builder setJwtLocations(int index, com.google.api.JwtLocation value) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -1964,16 +1936,16 @@ public Builder setJwtLocations(int index, com.google.api.JwtLocation.Builder bui * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2003,16 +1975,16 @@ public Builder addJwtLocations(com.google.api.JwtLocation value) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2042,16 +2014,16 @@ public Builder addJwtLocations(int index, com.google.api.JwtLocation value) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2078,16 +2050,16 @@ public Builder addJwtLocations(com.google.api.JwtLocation.Builder builderForValu * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2114,16 +2086,16 @@ public Builder addJwtLocations(int index, com.google.api.JwtLocation.Builder bui * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2151,16 +2123,16 @@ public Builder addAllJwtLocations( * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2187,16 +2159,16 @@ public Builder clearJwtLocations() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2223,16 +2195,16 @@ public Builder removeJwtLocations(int index) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2252,16 +2224,16 @@ public com.google.api.JwtLocation.Builder getJwtLocationsBuilder(int index) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2285,16 +2257,16 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2319,16 +2291,16 @@ public com.google.api.JwtLocationOrBuilder getJwtLocationsOrBuilder(int index) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2349,16 +2321,16 @@ public com.google.api.JwtLocation.Builder addJwtLocationsBuilder() { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2379,16 +2351,16 @@ public com.google.api.JwtLocation.Builder addJwtLocationsBuilder(int index) { * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -2397,14 +2369,14 @@ public java.util.List getJwtLocationsBuilder return getJwtLocationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.JwtLocation, com.google.api.JwtLocation.Builder, com.google.api.JwtLocationOrBuilder> getJwtLocationsFieldBuilder() { if (jwtLocationsBuilder_ == null) { jwtLocationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.JwtLocation, com.google.api.JwtLocation.Builder, com.google.api.JwtLocationOrBuilder>( @@ -2414,17 +2386,6 @@ public java.util.List getJwtLocationsBuilder return jwtLocationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.AuthProvider) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java index 801b06b8bd..f2b7e2d055 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthProviderOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface AuthProviderOrBuilder @@ -98,12 +99,12 @@ public interface AuthProviderOrBuilder * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -121,12 +122,12 @@ public interface AuthProviderOrBuilder * [OpenID * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). + * - can be retrieved from + * [OpenID + * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) + * of the issuer. + * - can be inferred from the email domain of the issuer (e.g. a Google + * service account). * * Example: https://www.googleapis.com/oauth2/v1/certs * @@ -145,19 +146,19 @@ public interface AuthProviderOrBuilder * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -173,19 +174,19 @@ public interface AuthProviderOrBuilder * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). * that are allowed to access. A JWT containing any of these audiences will * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" + * - "https://[service.name]/[google.protobuf.Api.name]" + * - "https://[service.name]/" * will be accepted. * For example, if no audiences are in the setting, LibraryService API will * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ + * - + * https://library-example.googleapis.com/google.example.library.v1.LibraryService + * - https://library-example.googleapis.com/ * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 4; @@ -233,16 +234,16 @@ public interface AuthProviderOrBuilder * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -260,16 +261,16 @@ public interface AuthProviderOrBuilder * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -287,16 +288,16 @@ public interface AuthProviderOrBuilder * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -314,16 +315,16 @@ public interface AuthProviderOrBuilder * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; @@ -341,16 +342,16 @@ public interface AuthProviderOrBuilder * cookies. The rule is that the first match wins. * * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter + * 1) Authorization: Bearer + * 2) x-goog-iap-jwt-assertion + * 3) access_token query parameter * * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token + * jwt_locations: + * - header: Authorization + * value_prefix: "Bearer " + * - header: x-goog-iap-jwt-assertion + * - query: access_token * * * repeated .google.api.JwtLocation jwt_locations = 6; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java index 4a501ca093..03e4a24e36 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirement.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,13 +31,23 @@ * * Protobuf type {@code google.api.AuthRequirement} */ -public final class AuthRequirement extends com.google.protobuf.GeneratedMessageV3 +public final class AuthRequirement extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.AuthRequirement) AuthRequirementOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuthRequirement.class.getName()); + } // Use AuthRequirement.newBuilder() to construct. - private AuthRequirement(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AuthRequirement(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,18 +56,12 @@ private AuthRequirement() { audiences_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AuthRequirement(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthRequirement_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_AuthRequirement_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -75,7 +80,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -102,7 +107,7 @@ public java.lang.String getProviderId() { * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -144,8 +149,8 @@ public com.google.protobuf.ByteString getProviderIdBytes() { * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; @@ -182,8 +187,8 @@ public java.lang.String getAudiences() { * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; @@ -217,11 +222,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(providerId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, providerId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(providerId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, providerId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audiences_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, audiences_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(audiences_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, audiences_); } getUnknownFields().writeTo(output); } @@ -232,11 +237,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(providerId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, providerId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(providerId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, providerId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audiences_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, audiences_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(audiences_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, audiences_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -311,38 +316,38 @@ public static com.google.api.AuthRequirement parseFrom( public static com.google.api.AuthRequirement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.AuthRequirement parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.AuthRequirement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.AuthRequirement parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.AuthRequirement parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.AuthRequirement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -365,7 +370,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -380,7 +385,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.AuthRequirement} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.AuthRequirement) com.google.api.AuthRequirementOrBuilder { @@ -389,7 +394,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_AuthRequirement_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -399,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.AuthRequirement.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -451,39 +456,6 @@ private void buildPartial0(com.google.api.AuthRequirement result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.AuthRequirement) { @@ -572,7 +544,7 @@ public Builder mergeFrom( * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -598,7 +570,7 @@ public java.lang.String getProviderId() { * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -624,7 +596,7 @@ public com.google.protobuf.ByteString getProviderIdBytes() { * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -649,7 +621,7 @@ public Builder setProviderId(java.lang.String value) { * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -670,7 +642,7 @@ public Builder clearProviderId() { * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -708,8 +680,8 @@ public Builder setProviderIdBytes(com.google.protobuf.ByteString value) { * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; @@ -745,8 +717,8 @@ public java.lang.String getAudiences() { * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; @@ -782,8 +754,8 @@ public com.google.protobuf.ByteString getAudiencesBytes() { * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; @@ -818,8 +790,8 @@ public Builder setAudiences(java.lang.String value) { * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; @@ -850,8 +822,8 @@ public Builder clearAudiences() { * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; @@ -870,17 +842,6 @@ public Builder setAudiencesBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.AuthRequirement) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java index f575cb6446..8ce4ac18ad 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthRequirementOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface AuthRequirementOrBuilder @@ -32,7 +33,7 @@ public interface AuthRequirementOrBuilder * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -48,7 +49,7 @@ public interface AuthRequirementOrBuilder * * Example: * - * provider_id: bookstore_auth + * provider_id: bookstore_auth * * * string provider_id = 1; @@ -75,8 +76,8 @@ public interface AuthRequirementOrBuilder * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; @@ -102,8 +103,8 @@ public interface AuthRequirementOrBuilder * * Example: * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com + * audiences: bookstore_android.apps.googleusercontent.com, + * bookstore_web.apps.googleusercontent.com * * * string audiences = 2; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java index 8fad3a0bb0..790590b1c6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Authentication.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,30 +29,40 @@ * * Example: * - * name: calendar.googleapis.com - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth - * - selector: google.calendar.Delegate - * oauth: - * canonical_scopes: https://www.googleapis.com/auth/calendar.read + * name: calendar.googleapis.com + * authentication: + * providers: + * - id: google_calendar_auth + * jwks_uri: https://www.googleapis.com/oauth2/v1/certs + * issuer: https://securetoken.google.com + * rules: + * - selector: "*" + * requirements: + * provider_id: google_calendar_auth + * - selector: google.calendar.Delegate + * oauth: + * canonical_scopes: https://www.googleapis.com/auth/calendar.read * * * Protobuf type {@code google.api.Authentication} */ -public final class Authentication extends com.google.protobuf.GeneratedMessageV3 +public final class Authentication extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Authentication) AuthenticationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Authentication.class.getName()); + } // Use Authentication.newBuilder() to construct. - private Authentication(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Authentication(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -60,18 +71,12 @@ private Authentication() { providers_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Authentication(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_Authentication_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_Authentication_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -342,38 +347,38 @@ public static com.google.api.Authentication parseFrom( public static com.google.api.Authentication parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Authentication parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Authentication parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Authentication parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Authentication parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Authentication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -396,7 +401,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -409,24 +414,24 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * name: calendar.googleapis.com - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth - * - selector: google.calendar.Delegate - * oauth: - * canonical_scopes: https://www.googleapis.com/auth/calendar.read + * name: calendar.googleapis.com + * authentication: + * providers: + * - id: google_calendar_auth + * jwks_uri: https://www.googleapis.com/oauth2/v1/certs + * issuer: https://securetoken.google.com + * rules: + * - selector: "*" + * requirements: + * provider_id: google_calendar_auth + * - selector: google.calendar.Delegate + * oauth: + * canonical_scopes: https://www.googleapis.com/auth/calendar.read * * * Protobuf type {@code google.api.Authentication} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Authentication) com.google.api.AuthenticationOrBuilder { @@ -435,7 +440,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_Authentication_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -445,7 +450,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Authentication.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -525,39 +530,6 @@ private void buildPartial0(com.google.api.Authentication result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Authentication) { @@ -589,7 +561,7 @@ public Builder mergeFrom(com.google.api.Authentication other) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { @@ -616,7 +588,7 @@ public Builder mergeFrom(com.google.api.Authentication other) { providers_ = other.providers_; bitField0_ = (bitField0_ & ~0x00000002); providersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getProvidersFieldBuilder() : null; } else { @@ -704,7 +676,7 @@ private void ensureRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthenticationRule, com.google.api.AuthenticationRule.Builder, com.google.api.AuthenticationRuleOrBuilder> @@ -1059,14 +1031,14 @@ public java.util.List getRulesBuilder return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthenticationRule, com.google.api.AuthenticationRule.Builder, com.google.api.AuthenticationRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthenticationRule, com.google.api.AuthenticationRule.Builder, com.google.api.AuthenticationRuleOrBuilder>( @@ -1086,7 +1058,7 @@ private void ensureProvidersIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthProvider, com.google.api.AuthProvider.Builder, com.google.api.AuthProviderOrBuilder> @@ -1405,14 +1377,14 @@ public java.util.List getProvidersBuilderLi return getProvidersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthProvider, com.google.api.AuthProvider.Builder, com.google.api.AuthProviderOrBuilder> getProvidersFieldBuilder() { if (providersBuilder_ == null) { providersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthProvider, com.google.api.AuthProvider.Builder, com.google.api.AuthProviderOrBuilder>( @@ -1422,17 +1394,6 @@ public java.util.List getProvidersBuilderLi return providersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Authentication) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java index d062302233..c3cdff8f10 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface AuthenticationOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java index 0e790747a8..552f6c1dd1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -36,13 +37,23 @@ * * Protobuf type {@code google.api.AuthenticationRule} */ -public final class AuthenticationRule extends com.google.protobuf.GeneratedMessageV3 +public final class AuthenticationRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.AuthenticationRule) AuthenticationRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuthenticationRule.class.getName()); + } // Use AuthenticationRule.newBuilder() to construct. - private AuthenticationRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AuthenticationRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -51,18 +62,12 @@ private AuthenticationRule() { requirements_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AuthenticationRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_AuthenticationRule_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_AuthenticationRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -278,8 +283,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getOauth()); @@ -299,8 +304,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOauth()); @@ -397,38 +402,38 @@ public static com.google.api.AuthenticationRule parseFrom( public static com.google.api.AuthenticationRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.AuthenticationRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.AuthenticationRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.AuthenticationRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.AuthenticationRule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.AuthenticationRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -451,7 +456,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -472,7 +477,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.AuthenticationRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.AuthenticationRule) com.google.api.AuthenticationRuleOrBuilder { @@ -481,7 +486,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto .internal_static_google_api_AuthenticationRule_fieldAccessorTable @@ -495,13 +500,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOauthFieldBuilder(); getRequirementsFieldBuilder(); } @@ -586,39 +591,6 @@ private void buildPartial0(com.google.api.AuthenticationRule result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.AuthenticationRule) { @@ -661,7 +633,7 @@ public Builder mergeFrom(com.google.api.AuthenticationRule other) { requirements_ = other.requirements_; bitField0_ = (bitField0_ & ~0x00000008); requirementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRequirementsFieldBuilder() : null; } else { @@ -866,7 +838,7 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { } private com.google.api.OAuthRequirements oauth_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.OAuthRequirements, com.google.api.OAuthRequirements.Builder, com.google.api.OAuthRequirementsOrBuilder> @@ -1029,14 +1001,14 @@ public com.google.api.OAuthRequirementsOrBuilder getOauthOrBuilder() { * * .google.api.OAuthRequirements oauth = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.OAuthRequirements, com.google.api.OAuthRequirements.Builder, com.google.api.OAuthRequirementsOrBuilder> getOauthFieldBuilder() { if (oauthBuilder_ == null) { oauthBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.OAuthRequirements, com.google.api.OAuthRequirements.Builder, com.google.api.OAuthRequirementsOrBuilder>( @@ -1112,7 +1084,7 @@ private void ensureRequirementsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthRequirement, com.google.api.AuthRequirement.Builder, com.google.api.AuthRequirementOrBuilder> @@ -1433,14 +1405,14 @@ public java.util.List getRequirementsBui return getRequirementsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthRequirement, com.google.api.AuthRequirement.Builder, com.google.api.AuthRequirementOrBuilder> getRequirementsFieldBuilder() { if (requirementsBuilder_ == null) { requirementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.AuthRequirement, com.google.api.AuthRequirement.Builder, com.google.api.AuthRequirementOrBuilder>( @@ -1450,17 +1422,6 @@ public java.util.List getRequirementsBui return requirementsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.AuthenticationRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java index 6eaba0a8cf..467f733389 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/AuthenticationRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface AuthenticationRuleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java index bfee32d91f..cd504de0d5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Backend.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/backend.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.Backend} */ -public final class Backend extends com.google.protobuf.GeneratedMessageV3 +public final class Backend extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Backend) BackendOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Backend.class.getName()); + } // Use Backend.newBuilder() to construct. - private Backend(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Backend(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,18 +53,12 @@ private Backend() { rules_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Backend(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_Backend_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.BackendProto.internal_static_google_api_Backend_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -241,38 +246,38 @@ public static com.google.api.Backend parseFrom( public static com.google.api.Backend parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Backend parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Backend parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Backend parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Backend parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Backend parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -295,7 +300,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -308,7 +313,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Backend} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Backend) com.google.api.BackendOrBuilder { @@ -317,7 +322,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.BackendProto.internal_static_google_api_Backend_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -327,7 +332,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Backend.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -391,39 +396,6 @@ private void buildPartial0(com.google.api.Backend result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Backend) { @@ -455,7 +427,7 @@ public Builder mergeFrom(com.google.api.Backend other) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { @@ -529,7 +501,7 @@ private void ensureRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.BackendRule, com.google.api.BackendRule.Builder, com.google.api.BackendRuleOrBuilder> @@ -881,14 +853,14 @@ public java.util.List getRulesBuilderList() return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.BackendRule, com.google.api.BackendRule.Builder, com.google.api.BackendRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.BackendRule, com.google.api.BackendRule.Builder, com.google.api.BackendRuleOrBuilder>( @@ -898,17 +870,6 @@ public java.util.List getRulesBuilderList() return rulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Backend) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java index 543c7074a8..475c1dbe07 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/backend.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface BackendOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java index 6ce6cc0365..91c5a96a83 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/backend.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class BackendProto { private BackendProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + BackendProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,15 +41,15 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Backend_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Backend_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_BackendRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_BackendRule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -75,14 +86,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Backend_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Backend_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Backend_descriptor, new java.lang.String[] { "Rules", }); internal_static_google_api_BackendRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_BackendRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_BackendRule_descriptor, new java.lang.String[] { "Selector", @@ -100,11 +111,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor = internal_static_google_api_BackendRule_descriptor.getNestedTypes().get(0); internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor, new java.lang.String[] { "Key", "Value", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java index ca377a1f62..42f4614fe2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/backend.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.BackendRule} */ -public final class BackendRule extends com.google.protobuf.GeneratedMessageV3 +public final class BackendRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.BackendRule) BackendRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + BackendRule.class.getName()); + } // Use BackendRule.newBuilder() to construct. - private BackendRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BackendRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,12 +56,6 @@ private BackendRule() { protocol_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BackendRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_descriptor; } @@ -68,7 +73,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -107,19 +112,19 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum { * * Given the following operation config: * - * Method path: /api/company/{cid}/user/{uid} - * Backend address: https://example.cloudfunctions.net/getUser + * Method path: /api/company/{cid}/user/{uid} + * Backend address: https://example.cloudfunctions.net/getUser * * Requests to the following request paths will call the backend at the * translated path: * - * Request path: /api/company/widgetworks/user/johndoe - * Translated: - * https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe + * Request path: /api/company/widgetworks/user/johndoe + * Translated: + * https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe * - * Request path: /api/company/widgetworks/user/johndoe?timezone=EST - * Translated: - * https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe + * Request path: /api/company/widgetworks/user/johndoe?timezone=EST + * Translated: + * https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe * * * CONSTANT_ADDRESS = 1; @@ -135,19 +140,19 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum { * * Given the following operation config: * - * Method path: /api/company/{cid}/user/{uid} - * Backend address: https://example.appspot.com + * Method path: /api/company/{cid}/user/{uid} + * Backend address: https://example.appspot.com * * Requests to the following request paths will call the backend at the * translated path: * - * Request path: /api/company/widgetworks/user/johndoe - * Translated: - * https://example.appspot.com/api/company/widgetworks/user/johndoe + * Request path: /api/company/widgetworks/user/johndoe + * Translated: + * https://example.appspot.com/api/company/widgetworks/user/johndoe * - * Request path: /api/company/widgetworks/user/johndoe?timezone=EST - * Translated: - * https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST + * Request path: /api/company/widgetworks/user/johndoe?timezone=EST + * Translated: + * https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST * * * APPEND_PATH_TO_ADDRESS = 2; @@ -156,6 +161,15 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PathTranslation.class.getName()); + } /** PATH_TRANSLATION_UNSPECIFIED = 0; */ public static final int PATH_TRANSLATION_UNSPECIFIED_VALUE = 0; /** @@ -172,19 +186,19 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum { * * Given the following operation config: * - * Method path: /api/company/{cid}/user/{uid} - * Backend address: https://example.cloudfunctions.net/getUser + * Method path: /api/company/{cid}/user/{uid} + * Backend address: https://example.cloudfunctions.net/getUser * * Requests to the following request paths will call the backend at the * translated path: * - * Request path: /api/company/widgetworks/user/johndoe - * Translated: - * https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe + * Request path: /api/company/widgetworks/user/johndoe + * Translated: + * https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe * - * Request path: /api/company/widgetworks/user/johndoe?timezone=EST - * Translated: - * https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe + * Request path: /api/company/widgetworks/user/johndoe?timezone=EST + * Translated: + * https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe * * * CONSTANT_ADDRESS = 1; @@ -200,19 +214,19 @@ public enum PathTranslation implements com.google.protobuf.ProtocolMessageEnum { * * Given the following operation config: * - * Method path: /api/company/{cid}/user/{uid} - * Backend address: https://example.appspot.com + * Method path: /api/company/{cid}/user/{uid} + * Backend address: https://example.appspot.com * * Requests to the following request paths will call the backend at the * translated path: * - * Request path: /api/company/widgetworks/user/johndoe - * Translated: - * https://example.appspot.com/api/company/widgetworks/user/johndoe + * Request path: /api/company/widgetworks/user/johndoe + * Translated: + * https://example.appspot.com/api/company/widgetworks/user/johndoe * - * Request path: /api/company/widgetworks/user/johndoe?timezone=EST - * Translated: - * https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST + * Request path: /api/company/widgetworks/user/johndoe?timezone=EST + * Translated: + * https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST * * * APPEND_PATH_TO_ADDRESS = 2; @@ -423,11 +437,11 @@ public com.google.protobuf.ByteString getSelectorBytes() { * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -465,11 +479,11 @@ public java.lang.String getAddress() { * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -712,11 +726,11 @@ public boolean getDisableAuth() { * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. @@ -755,11 +769,11 @@ public java.lang.String getProtocol() { * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. @@ -914,11 +928,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, address_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(address_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, address_); } if (java.lang.Double.doubleToRawLongBits(deadline_) != 0) { output.writeDouble(3, deadline_); @@ -934,15 +948,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeEnum(6, pathTranslation_); } if (authenticationCase_ == 7) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, authentication_); + com.google.protobuf.GeneratedMessage.writeString(output, 7, authentication_); } if (authenticationCase_ == 8) { output.writeBool(8, (boolean) ((java.lang.Boolean) authentication_)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, protocol_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protocol_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 9, protocol_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetOverridesByRequestProtocol(), OverridesByRequestProtocolDefaultEntryHolder.defaultEntry, @@ -956,11 +970,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, address_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(address_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, address_); } if (java.lang.Double.doubleToRawLongBits(deadline_) != 0) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, deadline_); @@ -976,15 +990,15 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, pathTranslation_); } if (authenticationCase_ == 7) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, authentication_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, authentication_); } if (authenticationCase_ == 8) { size += com.google.protobuf.CodedOutputStream.computeBoolSize( 8, (boolean) ((java.lang.Boolean) authentication_)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, protocol_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protocol_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(9, protocol_); } for (java.util.Map.Entry entry : internalGetOverridesByRequestProtocol().getMap().entrySet()) { @@ -1128,38 +1142,38 @@ public static com.google.api.BackendRule parseFrom( public static com.google.api.BackendRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.BackendRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.BackendRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.BackendRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.BackendRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.BackendRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1182,7 +1196,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1195,7 +1209,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.BackendRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.BackendRule) com.google.api.BackendRuleOrBuilder { @@ -1226,7 +1240,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.BackendProto.internal_static_google_api_BackendRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1236,7 +1250,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.api.BackendRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1322,39 +1336,6 @@ private void buildPartialOneofs(com.google.api.BackendRule result) { result.authentication_ = this.authentication_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.BackendRule) { @@ -1676,11 +1657,11 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -1717,11 +1698,11 @@ public java.lang.String getAddress() { * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -1758,11 +1739,11 @@ public com.google.protobuf.ByteString getAddressBytes() { * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -1798,11 +1779,11 @@ public Builder setAddress(java.lang.String value) { * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -1834,11 +1815,11 @@ public Builder clearAddress() { * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -2340,11 +2321,11 @@ public Builder clearDisableAuth() { * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. @@ -2382,11 +2363,11 @@ public java.lang.String getProtocol() { * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. @@ -2424,11 +2405,11 @@ public com.google.protobuf.ByteString getProtocolBytes() { * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. @@ -2465,11 +2446,11 @@ public Builder setProtocol(java.lang.String value) { * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. @@ -2502,11 +2483,11 @@ public Builder clearProtocol() { * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. @@ -2770,17 +2751,6 @@ public com.google.api.BackendRule.Builder putOverridesByRequestProtocolBuilderIf return (com.google.api.BackendRule.Builder) entry; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.BackendRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java index 6c1214e41e..01c147d37c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BackendRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/backend.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface BackendRuleOrBuilder @@ -64,11 +65,11 @@ public interface BackendRuleOrBuilder * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -95,11 +96,11 @@ public interface BackendRuleOrBuilder * The scheme is used to determine the backend protocol and security. * The following schemes are accepted: * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS + * SCHEME PROTOCOL SECURITY + * http:// HTTP None + * https:// HTTP TLS + * grpc:// gRPC None + * grpcs:// gRPC TLS * * It is recommended to explicitly include a scheme. Leaving out the scheme * may cause constrasting behaviors across platforms. @@ -259,11 +260,11 @@ public interface BackendRuleOrBuilder * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. @@ -291,11 +292,11 @@ public interface BackendRuleOrBuilder * The default value is inferred from the scheme in the * [address][google.api.BackendRule.address] field: * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 + * SCHEME PROTOCOL + * http:// http/1.1 + * https:// http/1.1 + * grpc:// h2 + * grpcs:// h2 * * For secure HTTP backends (https://) that support HTTP/2, set this field * to "h2" for improved performance. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java index 5d16d3ffee..2e7ea1a036 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Billing.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/billing.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -33,39 +34,49 @@ * recommended so they can be evolved independently: * * - * monitored_resources: - * - type: library.googleapis.com/billing_branch - * labels: - * - key: cloud.googleapis.com/location - * description: | - * Predefined label to support billing location restriction. - * - key: city - * description: | - * Custom label to define the city where the library branch is located - * in. - * - key: name - * description: Custom label to define the name of the library branch. - * metrics: - * - name: library.googleapis.com/book/borrowed_count - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * billing: - * consumer_destinations: - * - monitored_resource: library.googleapis.com/billing_branch - * metrics: - * - library.googleapis.com/book/borrowed_count + * monitored_resources: + * - type: library.googleapis.com/billing_branch + * labels: + * - key: cloud.googleapis.com/location + * description: | + * Predefined label to support billing location restriction. + * - key: city + * description: | + * Custom label to define the city where the library branch is located + * in. + * - key: name + * description: Custom label to define the name of the library branch. + * metrics: + * - name: library.googleapis.com/book/borrowed_count + * metric_kind: DELTA + * value_type: INT64 + * unit: "1" + * billing: + * consumer_destinations: + * - monitored_resource: library.googleapis.com/billing_branch + * metrics: + * - library.googleapis.com/book/borrowed_count * * * Protobuf type {@code google.api.Billing} */ -public final class Billing extends com.google.protobuf.GeneratedMessageV3 +public final class Billing extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Billing) BillingOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Billing.class.getName()); + } // Use Billing.newBuilder() to construct. - private Billing(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Billing(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -73,18 +84,12 @@ private Billing() { consumerDestinations_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Billing(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BillingProto.internal_static_google_api_Billing_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.BillingProto.internal_static_google_api_Billing_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -194,13 +199,23 @@ public interface BillingDestinationOrBuilder * * Protobuf type {@code google.api.Billing.BillingDestination} */ - public static final class BillingDestination extends com.google.protobuf.GeneratedMessageV3 + public static final class BillingDestination extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Billing.BillingDestination) BillingDestinationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + BillingDestination.class.getName()); + } // Use BillingDestination.newBuilder() to construct. - private BillingDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BillingDestination(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -209,19 +224,13 @@ private BillingDestination() { metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BillingDestination(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.BillingProto .internal_static_google_api_Billing_BillingDestination_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.BillingProto .internal_static_google_api_Billing_BillingDestination_fieldAccessorTable @@ -371,11 +380,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(monitoredResource_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, monitoredResource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(monitoredResource_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, monitoredResource_); } for (int i = 0; i < metrics_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, metrics_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, metrics_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -386,8 +395,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(monitoredResource_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, monitoredResource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(monitoredResource_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, monitoredResource_); } { int dataSize = 0; @@ -474,38 +483,38 @@ public static com.google.api.Billing.BillingDestination parseFrom( public static com.google.api.Billing.BillingDestination parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Billing.BillingDestination parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Billing.BillingDestination parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Billing.BillingDestination parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Billing.BillingDestination parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Billing.BillingDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -528,8 +537,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -543,8 +551,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.api.Billing.BillingDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Billing.BillingDestination) com.google.api.Billing.BillingDestinationOrBuilder { @@ -554,7 +561,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.BillingProto .internal_static_google_api_Billing_BillingDestination_fieldAccessorTable @@ -566,7 +573,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Billing.BillingDestination.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -621,41 +628,6 @@ private void buildPartial0(com.google.api.Billing.BillingDestination result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Billing.BillingDestination) { @@ -1049,18 +1021,6 @@ public Builder addMetricsBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Billing.BillingDestination) } @@ -1302,38 +1262,38 @@ public static com.google.api.Billing parseFrom( public static com.google.api.Billing parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Billing parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Billing parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Billing parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Billing parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Billing parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1356,7 +1316,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1374,33 +1334,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * recommended so they can be evolved independently: * * - * monitored_resources: - * - type: library.googleapis.com/billing_branch - * labels: - * - key: cloud.googleapis.com/location - * description: | - * Predefined label to support billing location restriction. - * - key: city - * description: | - * Custom label to define the city where the library branch is located - * in. - * - key: name - * description: Custom label to define the name of the library branch. - * metrics: - * - name: library.googleapis.com/book/borrowed_count - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * billing: - * consumer_destinations: - * - monitored_resource: library.googleapis.com/billing_branch - * metrics: - * - library.googleapis.com/book/borrowed_count + * monitored_resources: + * - type: library.googleapis.com/billing_branch + * labels: + * - key: cloud.googleapis.com/location + * description: | + * Predefined label to support billing location restriction. + * - key: city + * description: | + * Custom label to define the city where the library branch is located + * in. + * - key: name + * description: Custom label to define the name of the library branch. + * metrics: + * - name: library.googleapis.com/book/borrowed_count + * metric_kind: DELTA + * value_type: INT64 + * unit: "1" + * billing: + * consumer_destinations: + * - monitored_resource: library.googleapis.com/billing_branch + * metrics: + * - library.googleapis.com/book/borrowed_count * * * Protobuf type {@code google.api.Billing} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Billing) com.google.api.BillingOrBuilder { @@ -1409,7 +1369,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.BillingProto.internal_static_google_api_Billing_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1419,7 +1379,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Billing.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1483,39 +1443,6 @@ private void buildPartial0(com.google.api.Billing result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Billing) { @@ -1547,7 +1474,7 @@ public Builder mergeFrom(com.google.api.Billing other) { consumerDestinations_ = other.consumerDestinations_; bitField0_ = (bitField0_ & ~0x00000001); consumerDestinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getConsumerDestinationsFieldBuilder() : null; } else { @@ -1625,7 +1552,7 @@ private void ensureConsumerDestinationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Billing.BillingDestination, com.google.api.Billing.BillingDestination.Builder, com.google.api.Billing.BillingDestinationOrBuilder> @@ -2007,14 +1934,14 @@ public com.google.api.Billing.BillingDestination.Builder addConsumerDestinations return getConsumerDestinationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Billing.BillingDestination, com.google.api.Billing.BillingDestination.Builder, com.google.api.Billing.BillingDestinationOrBuilder> getConsumerDestinationsFieldBuilder() { if (consumerDestinationsBuilder_ == null) { consumerDestinationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Billing.BillingDestination, com.google.api.Billing.BillingDestination.Builder, com.google.api.Billing.BillingDestinationOrBuilder>( @@ -2027,17 +1954,6 @@ public com.google.api.Billing.BillingDestination.Builder addConsumerDestinations return consumerDestinationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Billing) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java index e6d5581d32..59ee7d77c4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/billing.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface BillingOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java index c617d8ea51..ceab25f3ce 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/BillingProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/billing.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class BillingProto { private BillingProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + BillingProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Billing_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Billing_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Billing_BillingDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Billing_BillingDestination_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -59,7 +70,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Billing_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Billing_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Billing_descriptor, new java.lang.String[] { "ConsumerDestinations", @@ -67,11 +78,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_Billing_BillingDestination_descriptor = internal_static_google_api_Billing_descriptor.getNestedTypes().get(0); internal_static_google_api_Billing_BillingDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Billing_BillingDestination_descriptor, new java.lang.String[] { "MonitoredResource", "Metrics", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java index 5629378a72..c6066321d0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ChangeType.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/config_change.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -76,6 +77,15 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ChangeType.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java index 3ef43db6cc..3eace390ce 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryDestination.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -64,6 +65,15 @@ public enum ClientLibraryDestination implements com.google.protobuf.ProtocolMess UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ClientLibraryDestination.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java index f091f35595..7c5945643b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibraryOrganization.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -113,6 +114,15 @@ public enum ClientLibraryOrganization implements com.google.protobuf.ProtocolMes UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ClientLibraryOrganization.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java index 2d28ed4501..0a68f5d2a5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.ClientLibrarySettings} */ -public final class ClientLibrarySettings extends com.google.protobuf.GeneratedMessageV3 +public final class ClientLibrarySettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.ClientLibrarySettings) ClientLibrarySettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ClientLibrarySettings.class.getName()); + } // Use ClientLibrarySettings.newBuilder() to construct. - private ClientLibrarySettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ClientLibrarySettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private ClientLibrarySettings() { launchStage_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ClientLibrarySettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_ClientLibrarySettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto .internal_static_google_api_ClientLibrarySettings_fieldAccessorTable @@ -562,8 +567,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, version_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { output.writeEnum(2, launchStage_); @@ -604,8 +609,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, version_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, launchStage_); @@ -777,38 +782,38 @@ public static com.google.api.ClientLibrarySettings parseFrom( public static com.google.api.ClientLibrarySettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ClientLibrarySettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ClientLibrarySettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.ClientLibrarySettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ClientLibrarySettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ClientLibrarySettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -831,7 +836,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -844,7 +849,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.ClientLibrarySettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.ClientLibrarySettings) com.google.api.ClientLibrarySettingsOrBuilder { @@ -853,7 +858,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto .internal_static_google_api_ClientLibrarySettings_fieldAccessorTable @@ -867,13 +872,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getJavaSettingsFieldBuilder(); getCppSettingsFieldBuilder(); getPhpSettingsFieldBuilder(); @@ -1018,39 +1023,6 @@ private void buildPartial0(com.google.api.ClientLibrarySettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.ClientLibrarySettings) { @@ -1471,7 +1443,7 @@ public Builder clearRestNumericEnums() { } private com.google.api.JavaSettings javaSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.JavaSettings, com.google.api.JavaSettings.Builder, com.google.api.JavaSettingsOrBuilder> @@ -1638,14 +1610,14 @@ public com.google.api.JavaSettingsOrBuilder getJavaSettingsOrBuilder() { * * .google.api.JavaSettings java_settings = 21; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.JavaSettings, com.google.api.JavaSettings.Builder, com.google.api.JavaSettingsOrBuilder> getJavaSettingsFieldBuilder() { if (javaSettingsBuilder_ == null) { javaSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.JavaSettings, com.google.api.JavaSettings.Builder, com.google.api.JavaSettingsOrBuilder>( @@ -1656,7 +1628,7 @@ public com.google.api.JavaSettingsOrBuilder getJavaSettingsOrBuilder() { } private com.google.api.CppSettings cppSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CppSettings, com.google.api.CppSettings.Builder, com.google.api.CppSettingsOrBuilder> @@ -1823,14 +1795,14 @@ public com.google.api.CppSettingsOrBuilder getCppSettingsOrBuilder() { * * .google.api.CppSettings cpp_settings = 22; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CppSettings, com.google.api.CppSettings.Builder, com.google.api.CppSettingsOrBuilder> getCppSettingsFieldBuilder() { if (cppSettingsBuilder_ == null) { cppSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CppSettings, com.google.api.CppSettings.Builder, com.google.api.CppSettingsOrBuilder>( @@ -1841,7 +1813,7 @@ public com.google.api.CppSettingsOrBuilder getCppSettingsOrBuilder() { } private com.google.api.PhpSettings phpSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.PhpSettings, com.google.api.PhpSettings.Builder, com.google.api.PhpSettingsOrBuilder> @@ -2008,14 +1980,14 @@ public com.google.api.PhpSettingsOrBuilder getPhpSettingsOrBuilder() { * * .google.api.PhpSettings php_settings = 23; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.PhpSettings, com.google.api.PhpSettings.Builder, com.google.api.PhpSettingsOrBuilder> getPhpSettingsFieldBuilder() { if (phpSettingsBuilder_ == null) { phpSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.PhpSettings, com.google.api.PhpSettings.Builder, com.google.api.PhpSettingsOrBuilder>( @@ -2026,7 +1998,7 @@ public com.google.api.PhpSettingsOrBuilder getPhpSettingsOrBuilder() { } private com.google.api.PythonSettings pythonSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.PythonSettings, com.google.api.PythonSettings.Builder, com.google.api.PythonSettingsOrBuilder> @@ -2193,14 +2165,14 @@ public com.google.api.PythonSettingsOrBuilder getPythonSettingsOrBuilder() { * * .google.api.PythonSettings python_settings = 24; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.PythonSettings, com.google.api.PythonSettings.Builder, com.google.api.PythonSettingsOrBuilder> getPythonSettingsFieldBuilder() { if (pythonSettingsBuilder_ == null) { pythonSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.PythonSettings, com.google.api.PythonSettings.Builder, com.google.api.PythonSettingsOrBuilder>( @@ -2211,7 +2183,7 @@ public com.google.api.PythonSettingsOrBuilder getPythonSettingsOrBuilder() { } private com.google.api.NodeSettings nodeSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.NodeSettings, com.google.api.NodeSettings.Builder, com.google.api.NodeSettingsOrBuilder> @@ -2378,14 +2350,14 @@ public com.google.api.NodeSettingsOrBuilder getNodeSettingsOrBuilder() { * * .google.api.NodeSettings node_settings = 25; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.NodeSettings, com.google.api.NodeSettings.Builder, com.google.api.NodeSettingsOrBuilder> getNodeSettingsFieldBuilder() { if (nodeSettingsBuilder_ == null) { nodeSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.NodeSettings, com.google.api.NodeSettings.Builder, com.google.api.NodeSettingsOrBuilder>( @@ -2396,7 +2368,7 @@ public com.google.api.NodeSettingsOrBuilder getNodeSettingsOrBuilder() { } private com.google.api.DotnetSettings dotnetSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.DotnetSettings, com.google.api.DotnetSettings.Builder, com.google.api.DotnetSettingsOrBuilder> @@ -2563,14 +2535,14 @@ public com.google.api.DotnetSettingsOrBuilder getDotnetSettingsOrBuilder() { * * .google.api.DotnetSettings dotnet_settings = 26; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.DotnetSettings, com.google.api.DotnetSettings.Builder, com.google.api.DotnetSettingsOrBuilder> getDotnetSettingsFieldBuilder() { if (dotnetSettingsBuilder_ == null) { dotnetSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.DotnetSettings, com.google.api.DotnetSettings.Builder, com.google.api.DotnetSettingsOrBuilder>( @@ -2581,7 +2553,7 @@ public com.google.api.DotnetSettingsOrBuilder getDotnetSettingsOrBuilder() { } private com.google.api.RubySettings rubySettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.RubySettings, com.google.api.RubySettings.Builder, com.google.api.RubySettingsOrBuilder> @@ -2748,14 +2720,14 @@ public com.google.api.RubySettingsOrBuilder getRubySettingsOrBuilder() { * * .google.api.RubySettings ruby_settings = 27; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.RubySettings, com.google.api.RubySettings.Builder, com.google.api.RubySettingsOrBuilder> getRubySettingsFieldBuilder() { if (rubySettingsBuilder_ == null) { rubySettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.RubySettings, com.google.api.RubySettings.Builder, com.google.api.RubySettingsOrBuilder>( @@ -2766,7 +2738,7 @@ public com.google.api.RubySettingsOrBuilder getRubySettingsOrBuilder() { } private com.google.api.GoSettings goSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.GoSettings, com.google.api.GoSettings.Builder, com.google.api.GoSettingsOrBuilder> @@ -2929,14 +2901,14 @@ public com.google.api.GoSettingsOrBuilder getGoSettingsOrBuilder() { * * .google.api.GoSettings go_settings = 28; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.GoSettings, com.google.api.GoSettings.Builder, com.google.api.GoSettingsOrBuilder> getGoSettingsFieldBuilder() { if (goSettingsBuilder_ == null) { goSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.GoSettings, com.google.api.GoSettings.Builder, com.google.api.GoSettingsOrBuilder>( @@ -2946,17 +2918,6 @@ public com.google.api.GoSettingsOrBuilder getGoSettingsOrBuilder() { return goSettingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.ClientLibrarySettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java index ac930a5cf5..25bdc8ce64 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientLibrarySettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ClientLibrarySettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java index 49b88cc919..7fbd46f245 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ClientProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class ClientProto { private ClientProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ClientProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.defaultHost); @@ -52,27 +63,27 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r * * For example, the proto RPC and annotation: * - * rpc CreateSubscription(CreateSubscriptionRequest) - * returns (Subscription) { - * option (google.api.method_signature) = "name,topic"; - * } + * rpc CreateSubscription(CreateSubscriptionRequest) + * returns (Subscription) { + * option (google.api.method_signature) = "name,topic"; + * } * * Would add the following Java overload (in addition to the method accepting * the request object): * - * public final Subscription createSubscription(String name, String topic) + * public final Subscription createSubscription(String name, String topic) * * The following backwards-compatibility guidelines apply: * - * * Adding this annotation to an unannotated method is backwards - * compatible. - * * Adding this annotation to a method which already has existing - * method signature annotations is backwards compatible if and only if - * the new method signature annotation is last in the sequence. - * * Modifying or removing an existing method signature annotation is - * a breaking change. - * * Re-ordering existing method signature annotations is a breaking - * change. + * * Adding this annotation to an unannotated method is backwards + * compatible. + * * Adding this annotation to a method which already has existing + * method signature annotations is backwards compatible if and only if + * the new method signature annotation is last in the sequence. + * * Modifying or removing an existing method signature annotation is + * a breaking change. + * * Re-ordering existing method signature annotations is a breaking + * change. * * * extend .google.protobuf.MethodOptions { ... } @@ -93,10 +104,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r * * Example: * - * service Foo { - * option (google.api.default_host) = "foo.googleapi.com"; - * ... - * } + * service Foo { + * option (google.api.default_host) = "foo.googleapi.com"; + * ... + * } * * * extend .google.protobuf.ServiceOptions { ... } @@ -116,22 +127,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r * * Example: * - * service Foo { - * option (google.api.oauth_scopes) = \ - * "https://www.googleapis.com/auth/cloud-platform"; - * ... - * } + * service Foo { + * option (google.api.oauth_scopes) = \ + * "https://www.googleapis.com/auth/cloud-platform"; + * ... + * } * * If there is more than one scope, use a comma-separated string: * * Example: * - * service Foo { - * option (google.api.oauth_scopes) = \ - * "https://www.googleapis.com/auth/cloud-platform," - * "https://www.googleapis.com/auth/monitoring"; - * ... - * } + * service Foo { + * option (google.api.oauth_scopes) = \ + * "https://www.googleapis.com/auth/cloud-platform," + * "https://www.googleapis.com/auth/monitoring"; + * ... + * } * * * extend .google.protobuf.ServiceOptions { ... } @@ -158,9 +169,9 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r * * Example: * - * service Foo { - * option (google.api.api_version) = "v1_20230821_preview"; - * } + * service Foo { + * option (google.api.api_version) = "v1_20230821_preview"; + * } * * * extend .google.protobuf.ServiceOptions { ... } @@ -173,67 +184,67 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_CommonLanguageSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_CommonLanguageSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_ClientLibrarySettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_ClientLibrarySettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Publishing_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Publishing_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_JavaSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_JavaSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_JavaSettings_ServiceClassNamesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_JavaSettings_ServiceClassNamesEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_CppSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_CppSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_PhpSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_PhpSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_PythonSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_PythonSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_NodeSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_NodeSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_DotnetSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_DotnetSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_DotnetSettings_RenamedServicesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_DotnetSettings_RenamedServicesEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_DotnetSettings_RenamedResourcesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_DotnetSettings_RenamedResourcesEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_RubySettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_RubySettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_GoSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_GoSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MethodSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MethodSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MethodSettings_LongRunning_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -337,7 +348,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_CommonLanguageSettings_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_CommonLanguageSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_CommonLanguageSettings_descriptor, new java.lang.String[] { "ReferenceDocsUri", "Destinations", @@ -345,7 +356,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_ClientLibrarySettings_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_ClientLibrarySettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_ClientLibrarySettings_descriptor, new java.lang.String[] { "Version", @@ -362,7 +373,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_Publishing_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_api_Publishing_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Publishing_descriptor, new java.lang.String[] { "MethodSettings", @@ -379,7 +390,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_JavaSettings_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_api_JavaSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_JavaSettings_descriptor, new java.lang.String[] { "LibraryPackage", "ServiceClassNames", "Common", @@ -387,42 +398,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_JavaSettings_ServiceClassNamesEntry_descriptor = internal_static_google_api_JavaSettings_descriptor.getNestedTypes().get(0); internal_static_google_api_JavaSettings_ServiceClassNamesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_JavaSettings_ServiceClassNamesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_api_CppSettings_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_api_CppSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_CppSettings_descriptor, new java.lang.String[] { "Common", }); internal_static_google_api_PhpSettings_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_api_PhpSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_PhpSettings_descriptor, new java.lang.String[] { "Common", }); internal_static_google_api_PythonSettings_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_google_api_PythonSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_PythonSettings_descriptor, new java.lang.String[] { "Common", }); internal_static_google_api_NodeSettings_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_google_api_NodeSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_NodeSettings_descriptor, new java.lang.String[] { "Common", }); internal_static_google_api_DotnetSettings_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_google_api_DotnetSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_DotnetSettings_descriptor, new java.lang.String[] { "Common", @@ -435,7 +446,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_DotnetSettings_RenamedServicesEntry_descriptor = internal_static_google_api_DotnetSettings_descriptor.getNestedTypes().get(0); internal_static_google_api_DotnetSettings_RenamedServicesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_DotnetSettings_RenamedServicesEntry_descriptor, new java.lang.String[] { "Key", "Value", @@ -443,21 +454,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_DotnetSettings_RenamedResourcesEntry_descriptor = internal_static_google_api_DotnetSettings_descriptor.getNestedTypes().get(1); internal_static_google_api_DotnetSettings_RenamedResourcesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_DotnetSettings_RenamedResourcesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_api_RubySettings_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_google_api_RubySettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_RubySettings_descriptor, new java.lang.String[] { "Common", }); internal_static_google_api_GoSettings_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_google_api_GoSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_GoSettings_descriptor, new java.lang.String[] { "Common", @@ -465,7 +476,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MethodSettings_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_google_api_MethodSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MethodSettings_descriptor, new java.lang.String[] { "Selector", "LongRunning", "AutoPopulatedFields", @@ -473,7 +484,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MethodSettings_LongRunning_descriptor = internal_static_google_api_MethodSettings_descriptor.getNestedTypes().get(0); internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MethodSettings_LongRunning_descriptor, new java.lang.String[] { "InitialPollDelay", "PollDelayMultiplier", "MaxPollDelay", "TotalPollTimeout", @@ -482,6 +493,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { defaultHost.internalInit(descriptor.getExtensions().get(1)); oauthScopes.internalInit(descriptor.getExtensions().get(2)); apiVersion.internalInit(descriptor.getExtensions().get(3)); + descriptor.resolveAllFeaturesImmutable(); com.google.api.LaunchStageProto.getDescriptor(); com.google.protobuf.DescriptorProtos.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java index 95e2be1a8f..821a6a7e2e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.CommonLanguageSettings} */ -public final class CommonLanguageSettings extends com.google.protobuf.GeneratedMessageV3 +public final class CommonLanguageSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.CommonLanguageSettings) CommonLanguageSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CommonLanguageSettings.class.getName()); + } // Use CommonLanguageSettings.newBuilder() to construct. - private CommonLanguageSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CommonLanguageSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private CommonLanguageSettings() { destinations_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CommonLanguageSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_CommonLanguageSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto .internal_static_google_api_CommonLanguageSettings_fieldAccessorTable @@ -235,8 +240,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceDocsUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, referenceDocsUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(referenceDocsUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, referenceDocsUri_); } if (getDestinationsList().size() > 0) { output.writeUInt32NoTag(18); @@ -254,8 +259,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceDocsUri_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, referenceDocsUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(referenceDocsUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, referenceDocsUri_); } { int dataSize = 0; @@ -345,38 +350,38 @@ public static com.google.api.CommonLanguageSettings parseFrom( public static com.google.api.CommonLanguageSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.CommonLanguageSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.CommonLanguageSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.CommonLanguageSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.CommonLanguageSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.CommonLanguageSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -399,7 +404,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -412,7 +417,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.CommonLanguageSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.CommonLanguageSettings) com.google.api.CommonLanguageSettingsOrBuilder { @@ -422,7 +427,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto .internal_static_google_api_CommonLanguageSettings_fieldAccessorTable @@ -434,7 +439,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.CommonLanguageSettings.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -495,39 +500,6 @@ private void buildPartial0(com.google.api.CommonLanguageSettings result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.CommonLanguageSettings) { @@ -972,17 +944,6 @@ public Builder addAllDestinationsValue(java.lang.Iterable val return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.CommonLanguageSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java index 761d657f87..bc99200c22 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CommonLanguageSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface CommonLanguageSettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java index 3d9b25ccbf..a79bbe57b7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChange.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/config_change.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -33,13 +34,23 @@ * * Protobuf type {@code google.api.ConfigChange} */ -public final class ConfigChange extends com.google.protobuf.GeneratedMessageV3 +public final class ConfigChange extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.ConfigChange) ConfigChangeOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ConfigChange.class.getName()); + } // Use ConfigChange.newBuilder() to construct. - private ConfigChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ConfigChange(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -51,18 +62,12 @@ private ConfigChange() { advices_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ConfigChange(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ConfigChangeProto.internal_static_google_api_ConfigChange_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ConfigChangeProto .internal_static_google_api_ConfigChange_fieldAccessorTable @@ -366,14 +371,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(element_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, element_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(element_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, element_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oldValue_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, oldValue_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(oldValue_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, oldValue_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newValue_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newValue_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newValue_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, newValue_); } if (changeType_ != com.google.api.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, changeType_); @@ -390,14 +395,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(element_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, element_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(element_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, element_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oldValue_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oldValue_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(oldValue_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, oldValue_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newValue_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newValue_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newValue_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, newValue_); } if (changeType_ != com.google.api.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, changeType_); @@ -489,38 +494,38 @@ public static com.google.api.ConfigChange parseFrom( public static com.google.api.ConfigChange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ConfigChange parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ConfigChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.ConfigChange parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ConfigChange parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ConfigChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -543,7 +548,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -561,7 +566,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.ConfigChange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.ConfigChange) com.google.api.ConfigChangeOrBuilder { @@ -570,7 +575,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ConfigChangeProto .internal_static_google_api_ConfigChange_fieldAccessorTable @@ -581,7 +586,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.ConfigChange.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -661,39 +666,6 @@ private void buildPartial0(com.google.api.ConfigChange result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.ConfigChange) { @@ -743,7 +715,7 @@ public Builder mergeFrom(com.google.api.ConfigChange other) { advices_ = other.advices_; bitField0_ = (bitField0_ & ~0x00000010); advicesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAdvicesFieldBuilder() : null; } else { @@ -1298,7 +1270,7 @@ private void ensureAdvicesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Advice, com.google.api.Advice.Builder, com.google.api.AdviceOrBuilder> advicesBuilder_; @@ -1629,12 +1601,12 @@ public java.util.List getAdvicesBuilderList() { return getAdvicesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Advice, com.google.api.Advice.Builder, com.google.api.AdviceOrBuilder> getAdvicesFieldBuilder() { if (advicesBuilder_ == null) { advicesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Advice, com.google.api.Advice.Builder, com.google.api.AdviceOrBuilder>( @@ -1644,17 +1616,6 @@ public java.util.List getAdvicesBuilderList() { return advicesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.ConfigChange) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java index ca8c9f05cf..c226251620 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/config_change.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ConfigChangeOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java index eebe29571f..2ba5b492cc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConfigChangeProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/config_change.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class ConfigChangeProto { private ConfigChangeProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ConfigChangeProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_ConfigChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_ConfigChange_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Advice_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Advice_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -62,18 +73,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_ConfigChange_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_ConfigChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_ConfigChange_descriptor, new java.lang.String[] { "Element", "OldValue", "NewValue", "ChangeType", "Advices", }); internal_static_google_api_Advice_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_Advice_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Advice_descriptor, new java.lang.String[] { "Description", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java index 559e1f1b8d..2fc81c6ddf 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ConsumerProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/consumer.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class ConsumerProto { private ConsumerProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ConsumerProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_ProjectProperties_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_ProjectProperties_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Property_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Property_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -62,18 +73,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_ProjectProperties_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_ProjectProperties_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_ProjectProperties_descriptor, new java.lang.String[] { "Properties", }); internal_static_google_api_Property_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_Property_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Property_descriptor, new java.lang.String[] { "Name", "Type", "Description", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java index 15abbedc99..47a34eb761 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Context.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -27,12 +28,12 @@ * * Example: * - * context: - * rules: - * - selector: "*" - * requested: - * - google.rpc.context.ProjectContext - * - google.rpc.context.OriginContext + * context: + * rules: + * - selector: "*" + * requested: + * - google.rpc.context.ProjectContext + * - google.rpc.context.OriginContext * * The above specifies that all methods in the API request * `google.rpc.context.ProjectContext` and @@ -49,13 +50,13 @@ * * Example: * - * context: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allowed_request_extensions: - * - google.foo.v1.NewExtension - * allowed_response_extensions: - * - google.foo.v1.NewExtension + * context: + * rules: + * - selector: "google.example.library.v1.LibraryService.CreateBook" + * allowed_request_extensions: + * - google.foo.v1.NewExtension + * allowed_response_extensions: + * - google.foo.v1.NewExtension * * You can also specify extension ID instead of fully qualified extension name * here. @@ -63,13 +64,23 @@ * * Protobuf type {@code google.api.Context} */ -public final class Context extends com.google.protobuf.GeneratedMessageV3 +public final class Context extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Context) ContextOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Context.class.getName()); + } // Use Context.newBuilder() to construct. - private Context(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Context(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -77,18 +88,12 @@ private Context() { rules_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Context(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ContextProto.internal_static_google_api_Context_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ContextProto.internal_static_google_api_Context_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -276,38 +281,38 @@ public static com.google.api.Context parseFrom( public static com.google.api.Context parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Context parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Context parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Context parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Context parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Context parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -330,7 +335,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -342,12 +347,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * context: - * rules: - * - selector: "*" - * requested: - * - google.rpc.context.ProjectContext - * - google.rpc.context.OriginContext + * context: + * rules: + * - selector: "*" + * requested: + * - google.rpc.context.ProjectContext + * - google.rpc.context.OriginContext * * The above specifies that all methods in the API request * `google.rpc.context.ProjectContext` and @@ -364,13 +369,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * context: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allowed_request_extensions: - * - google.foo.v1.NewExtension - * allowed_response_extensions: - * - google.foo.v1.NewExtension + * context: + * rules: + * - selector: "google.example.library.v1.LibraryService.CreateBook" + * allowed_request_extensions: + * - google.foo.v1.NewExtension + * allowed_response_extensions: + * - google.foo.v1.NewExtension * * You can also specify extension ID instead of fully qualified extension name * here. @@ -378,7 +383,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Context} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Context) com.google.api.ContextOrBuilder { @@ -387,7 +392,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ContextProto.internal_static_google_api_Context_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -397,7 +402,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Context.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -461,39 +466,6 @@ private void buildPartial0(com.google.api.Context result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Context) { @@ -525,7 +497,7 @@ public Builder mergeFrom(com.google.api.Context other) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { @@ -599,7 +571,7 @@ private void ensureRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.ContextRule, com.google.api.ContextRule.Builder, com.google.api.ContextRuleOrBuilder> @@ -951,14 +923,14 @@ public java.util.List getRulesBuilderList() return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.ContextRule, com.google.api.ContextRule.Builder, com.google.api.ContextRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.ContextRule, com.google.api.ContextRule.Builder, com.google.api.ContextRuleOrBuilder>( @@ -968,17 +940,6 @@ public java.util.List getRulesBuilderList() return rulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Context) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java index 5b2e75fa01..faa6a10a17 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ContextOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java index c14c4ac943..fddfbec87b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class ContextProto { private ContextProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ContextProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Context_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Context_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_ContextRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_ContextRule_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -60,14 +71,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Context_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Context_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Context_descriptor, new java.lang.String[] { "Rules", }); internal_static_google_api_ContextRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_ContextRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_ContextRule_descriptor, new java.lang.String[] { "Selector", @@ -76,6 +87,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AllowedRequestExtensions", "AllowedResponseExtensions", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java index a089793881..32d712f546 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.api.ContextRule} */ -public final class ContextRule extends com.google.protobuf.GeneratedMessageV3 +public final class ContextRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.ContextRule) ContextRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ContextRule.class.getName()); + } // Use ContextRule.newBuilder() to construct. - private ContextRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ContextRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -47,18 +58,12 @@ private ContextRule() { allowedResponseExtensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ContextRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ContextProto.internal_static_google_api_ContextRule_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ContextProto.internal_static_google_api_ContextRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -400,21 +405,21 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } for (int i = 0; i < requested_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requested_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, requested_.getRaw(i)); } for (int i = 0; i < provided_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, provided_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 3, provided_.getRaw(i)); } for (int i = 0; i < allowedRequestExtensions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( + com.google.protobuf.GeneratedMessage.writeString( output, 4, allowedRequestExtensions_.getRaw(i)); } for (int i = 0; i < allowedResponseExtensions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( + com.google.protobuf.GeneratedMessage.writeString( output, 5, allowedResponseExtensions_.getRaw(i)); } getUnknownFields().writeTo(output); @@ -426,8 +431,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } { int dataSize = 0; @@ -553,38 +558,38 @@ public static com.google.api.ContextRule parseFrom( public static com.google.api.ContextRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ContextRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ContextRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.ContextRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ContextRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ContextRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -607,7 +612,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -621,7 +626,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.ContextRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.ContextRule) com.google.api.ContextRuleOrBuilder { @@ -630,7 +635,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ContextProto.internal_static_google_api_ContextRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -640,7 +645,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.ContextRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -708,39 +713,6 @@ private void buildPartial0(com.google.api.ContextRule result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.ContextRule) { @@ -1714,17 +1686,6 @@ public Builder addAllowedResponseExtensionsBytes(com.google.protobuf.ByteString return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.ContextRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java index 8e6b72cc7a..115d4d261f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ContextRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ContextRuleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java index 7cf117b537..2bfb0e1762 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Control.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/control.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -27,19 +28,29 @@ * * Example: * - * control: - * environment: servicecontrol.googleapis.com + * control: + * environment: servicecontrol.googleapis.com * * * Protobuf type {@code google.api.Control} */ -public final class Control extends com.google.protobuf.GeneratedMessageV3 +public final class Control extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Control) ControlOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Control.class.getName()); + } // Use Control.newBuilder() to construct. - private Control(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Control(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,18 +59,12 @@ private Control() { methodPolicies_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Control(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ControlProto.internal_static_google_api_Control_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ControlProto.internal_static_google_api_Control_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -206,8 +211,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(environment_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, environment_); } for (int i = 0; i < methodPolicies_.size(); i++) { output.writeMessage(4, methodPolicies_.get(i)); @@ -221,8 +226,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, environment_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(environment_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, environment_); } for (int i = 0; i < methodPolicies_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, methodPolicies_.get(i)); @@ -302,38 +307,38 @@ public static com.google.api.Control parseFrom( public static com.google.api.Control parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Control parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Control parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Control parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Control parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Control parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -356,7 +361,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -368,13 +373,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * control: - * environment: servicecontrol.googleapis.com + * control: + * environment: servicecontrol.googleapis.com * * * Protobuf type {@code google.api.Control} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Control) com.google.api.ControlOrBuilder { @@ -383,7 +388,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ControlProto.internal_static_google_api_Control_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -393,7 +398,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Control.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -461,39 +466,6 @@ private void buildPartial0(com.google.api.Control result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Control) { @@ -530,7 +502,7 @@ public Builder mergeFrom(com.google.api.Control other) { methodPolicies_ = other.methodPolicies_; bitField0_ = (bitField0_ & ~0x00000002); methodPoliciesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMethodPoliciesFieldBuilder() : null; } else { @@ -727,7 +699,7 @@ private void ensureMethodPoliciesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MethodPolicy, com.google.api.MethodPolicy.Builder, com.google.api.MethodPolicyOrBuilder> @@ -1048,14 +1020,14 @@ public java.util.List getMethodPoliciesBuil return getMethodPoliciesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MethodPolicy, com.google.api.MethodPolicy.Builder, com.google.api.MethodPolicyOrBuilder> getMethodPoliciesFieldBuilder() { if (methodPoliciesBuilder_ == null) { methodPoliciesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.MethodPolicy, com.google.api.MethodPolicy.Builder, com.google.api.MethodPolicyOrBuilder>( @@ -1068,17 +1040,6 @@ public java.util.List getMethodPoliciesBuil return methodPoliciesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Control) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java index 20ec6f5d46..6881860393 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/control.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ControlOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java index 5f2f10ccfc..fc9eb72c2a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ControlProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/control.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class ControlProto { private ControlProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ControlProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Control_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Control_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -57,11 +68,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_Control_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Control_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Control_descriptor, new java.lang.String[] { "Environment", "MethodPolicies", }); + descriptor.resolveAllFeaturesImmutable(); com.google.api.PolicyProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java index 81c1afb39c..8c91c8e6e6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,30 +29,34 @@ * * Protobuf type {@code google.api.CppSettings} */ -public final class CppSettings extends com.google.protobuf.GeneratedMessageV3 +public final class CppSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.CppSettings) CppSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CppSettings.class.getName()); + } // Use CppSettings.newBuilder() to construct. - private CppSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CppSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private CppSettings() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CppSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_CppSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_CppSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -209,38 +214,38 @@ public static com.google.api.CppSettings parseFrom( public static com.google.api.CppSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.CppSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.CppSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.CppSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.CppSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.CppSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -263,7 +268,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -276,7 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.CppSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.CppSettings) com.google.api.CppSettingsOrBuilder { @@ -285,7 +290,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_CppSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -297,13 +302,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommonFieldBuilder(); } } @@ -359,39 +364,6 @@ private void buildPartial0(com.google.api.CppSettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.CppSettings) { @@ -459,7 +431,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.api.CommonLanguageSettings common_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> @@ -626,14 +598,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * * .google.api.CommonLanguageSettings common = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( @@ -643,17 +615,6 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { return commonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.CppSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java index 7ae510f072..2678bd6785 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CppSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface CppSettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java index 58a90574a9..34403a00ed 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPattern.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/http.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.CustomHttpPattern} */ -public final class CustomHttpPattern extends com.google.protobuf.GeneratedMessageV3 +public final class CustomHttpPattern extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.CustomHttpPattern) CustomHttpPatternOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CustomHttpPattern.class.getName()); + } // Use CustomHttpPattern.newBuilder() to construct. - private CustomHttpPattern(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CustomHttpPattern(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private CustomHttpPattern() { path_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CustomHttpPattern(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.HttpProto.internal_static_google_api_CustomHttpPattern_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.HttpProto.internal_static_google_api_CustomHttpPattern_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -177,11 +182,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, kind_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, path_); } getUnknownFields().writeTo(output); } @@ -192,11 +197,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, kind_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, path_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -271,38 +276,38 @@ public static com.google.api.CustomHttpPattern parseFrom( public static com.google.api.CustomHttpPattern parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.CustomHttpPattern parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.CustomHttpPattern parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.CustomHttpPattern parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.CustomHttpPattern parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.CustomHttpPattern parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -325,7 +330,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -338,7 +343,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.CustomHttpPattern} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.CustomHttpPattern) com.google.api.CustomHttpPatternOrBuilder { @@ -347,7 +352,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.HttpProto .internal_static_google_api_CustomHttpPattern_fieldAccessorTable @@ -359,7 +364,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.CustomHttpPattern.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -411,39 +416,6 @@ private void buildPartial0(com.google.api.CustomHttpPattern result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.CustomHttpPattern) { @@ -735,17 +707,6 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.CustomHttpPattern) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java index c80e2445d8..3c7986c55c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/CustomHttpPatternOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/http.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface CustomHttpPatternOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java index fead0d71d6..1a7907b80c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Distribution.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/distribution.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -41,13 +42,23 @@ * * Protobuf type {@code google.api.Distribution} */ -public final class Distribution extends com.google.protobuf.GeneratedMessageV3 +public final class Distribution extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Distribution) DistributionOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Distribution.class.getName()); + } // Use Distribution.newBuilder() to construct. - private Distribution(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Distribution(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -56,18 +67,12 @@ private Distribution() { exemplars_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Distribution(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto.internal_static_google_api_Distribution_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_fieldAccessorTable @@ -115,31 +120,35 @@ public interface RangeOrBuilder * * Protobuf type {@code google.api.Distribution.Range} */ - public static final class Range extends com.google.protobuf.GeneratedMessageV3 + public static final class Range extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Distribution.Range) RangeOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Range.class.getName()); + } // Use Range.newBuilder() to construct. - private Range(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Range(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Range() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Range(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_Range_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_Range_fieldAccessorTable @@ -298,38 +307,38 @@ public static com.google.api.Distribution.Range parseFrom( public static com.google.api.Distribution.Range parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.Range parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.Range parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.Range parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.Range parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.Range parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -352,8 +361,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -366,8 +374,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.api.Distribution.Range} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.Range) com.google.api.Distribution.RangeOrBuilder { @@ -377,7 +384,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_Range_fieldAccessorTable @@ -389,7 +396,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Distribution.Range.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -442,41 +449,6 @@ private void buildPartial0(com.google.api.Distribution.Range result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Distribution.Range) { @@ -658,18 +630,6 @@ public Builder clearMax() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.Range) } @@ -857,31 +817,35 @@ public interface BucketOptionsOrBuilder * * Protobuf type {@code google.api.Distribution.BucketOptions} */ - public static final class BucketOptions extends com.google.protobuf.GeneratedMessageV3 + public static final class BucketOptions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions) BucketOptionsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + BucketOptions.class.getName()); + } // Use BucketOptions.newBuilder() to construct. - private BucketOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BucketOptions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private BucketOptions() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BucketOptions(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable @@ -945,38 +909,42 @@ public interface LinearOrBuilder * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the * following boundaries: * - * Upper bound (0 <= i < N-1): offset + (width * i). + * Upper bound (0 <= i < N-1): offset + (width * i). * - * Lower bound (1 <= i < N): offset + (width * (i - 1)). + * Lower bound (1 <= i < N): offset + (width * (i - 1)). * * * Protobuf type {@code google.api.Distribution.BucketOptions.Linear} */ - public static final class Linear extends com.google.protobuf.GeneratedMessageV3 + public static final class Linear extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Linear) LinearOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Linear.class.getName()); + } // Use Linear.newBuilder() to construct. - private Linear(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Linear(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Linear() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Linear(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Linear_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable @@ -1166,38 +1134,38 @@ public static com.google.api.Distribution.BucketOptions.Linear parseFrom( public static com.google.api.Distribution.BucketOptions.Linear parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Linear parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.BucketOptions.Linear parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Linear parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.BucketOptions.Linear parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Linear parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1221,7 +1189,7 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1236,15 +1204,15 @@ protected Builder newBuilderForType( * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the * following boundaries: * - * Upper bound (0 <= i < N-1): offset + (width * i). + * Upper bound (0 <= i < N-1): offset + (width * i). * - * Lower bound (1 <= i < N): offset + (width * (i - 1)). + * Lower bound (1 <= i < N): offset + (width * (i - 1)). * * * Protobuf type {@code google.api.Distribution.BucketOptions.Linear} */ public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.BucketOptions.Linear) com.google.api.Distribution.BucketOptions.LinearOrBuilder { @@ -1254,7 +1222,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable @@ -1266,7 +1234,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Distribution.BucketOptions.Linear.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1324,41 +1292,6 @@ private void buildPartial0(com.google.api.Distribution.BucketOptions.Linear resu } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Distribution.BucketOptions.Linear) { @@ -1603,18 +1536,6 @@ public Builder clearOffset() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Linear) } @@ -1722,38 +1643,42 @@ public interface ExponentialOrBuilder * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the * following boundaries: * - * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). + * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). * - * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). + * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). * * * Protobuf type {@code google.api.Distribution.BucketOptions.Exponential} */ - public static final class Exponential extends com.google.protobuf.GeneratedMessageV3 + public static final class Exponential extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Exponential) ExponentialOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Exponential.class.getName()); + } // Use Exponential.newBuilder() to construct. - private Exponential(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Exponential(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Exponential() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Exponential(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable @@ -1943,38 +1868,38 @@ public static com.google.api.Distribution.BucketOptions.Exponential parseFrom( public static com.google.api.Distribution.BucketOptions.Exponential parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Exponential parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.BucketOptions.Exponential parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Exponential parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.BucketOptions.Exponential parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Exponential parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1999,7 +1924,7 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2014,15 +1939,15 @@ protected Builder newBuilderForType( * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the * following boundaries: * - * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). + * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). * - * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). + * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). * * * Protobuf type {@code google.api.Distribution.BucketOptions.Exponential} */ public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.BucketOptions.Exponential) com.google.api.Distribution.BucketOptions.ExponentialOrBuilder { @@ -2032,7 +1957,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable @@ -2044,7 +1969,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Distribution.BucketOptions.Exponential.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2102,41 +2027,6 @@ private void buildPartial0(com.google.api.Distribution.BucketOptions.Exponential } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Distribution.BucketOptions.Exponential) { @@ -2381,18 +2271,6 @@ public Builder clearScale() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Exponential) } @@ -2497,8 +2375,8 @@ public interface ExplicitOrBuilder * There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following * boundaries: * - * Upper bound (0 <= i < N-1): bounds[i] - * Lower bound (1 <= i < N); bounds[i - 1] + * Upper bound (0 <= i < N-1): bounds[i] + * Lower bound (1 <= i < N); bounds[i - 1] * * The `bounds` field must contain at least one element. If `bounds` has * only one element, then there are no finite buckets, and that single @@ -2507,13 +2385,23 @@ public interface ExplicitOrBuilder * * Protobuf type {@code google.api.Distribution.BucketOptions.Explicit} */ - public static final class Explicit extends com.google.protobuf.GeneratedMessageV3 + public static final class Explicit extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Distribution.BucketOptions.Explicit) ExplicitOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Explicit.class.getName()); + } // Use Explicit.newBuilder() to construct. - private Explicit(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Explicit(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -2521,19 +2409,13 @@ private Explicit() { bounds_ = emptyDoubleList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Explicit(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable @@ -2708,38 +2590,38 @@ public static com.google.api.Distribution.BucketOptions.Explicit parseFrom( public static com.google.api.Distribution.BucketOptions.Explicit parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Explicit parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.BucketOptions.Explicit parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Explicit parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.BucketOptions.Explicit parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions.Explicit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2764,7 +2646,7 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2777,8 +2659,8 @@ protected Builder newBuilderForType( * There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following * boundaries: * - * Upper bound (0 <= i < N-1): bounds[i] - * Lower bound (1 <= i < N); bounds[i - 1] + * Upper bound (0 <= i < N-1): bounds[i] + * Lower bound (1 <= i < N); bounds[i - 1] * * The `bounds` field must contain at least one element. If `bounds` has * only one element, then there are no finite buckets, and that single @@ -2788,7 +2670,7 @@ protected Builder newBuilderForType( * Protobuf type {@code google.api.Distribution.BucketOptions.Explicit} */ public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.BucketOptions.Explicit) com.google.api.Distribution.BucketOptions.ExplicitOrBuilder { @@ -2798,7 +2680,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable @@ -2810,7 +2692,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Distribution.BucketOptions.Explicit.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2861,41 +2743,6 @@ private void buildPartial0(com.google.api.Distribution.BucketOptions.Explicit re } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Distribution.BucketOptions.Explicit) { @@ -3121,18 +2968,6 @@ public Builder clearBounds() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions.Explicit) } @@ -3538,38 +3373,38 @@ public static com.google.api.Distribution.BucketOptions parseFrom( public static com.google.api.Distribution.BucketOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.BucketOptions parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Distribution.BucketOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Distribution.BucketOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -3592,8 +3427,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -3620,8 +3454,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.api.Distribution.BucketOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Distribution.BucketOptions) com.google.api.Distribution.BucketOptionsOrBuilder { @@ -3631,7 +3464,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DistributionProto .internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable @@ -3643,7 +3476,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Distribution.BucketOptions.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -3715,41 +3548,6 @@ private void buildPartialOneofs(com.google.api.Distribution.BucketOptions result } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Distribution.BucketOptions) { @@ -3862,7 +3660,7 @@ public Builder clearOptions() { private int bitField0_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Linear, com.google.api.Distribution.BucketOptions.Linear.Builder, com.google.api.Distribution.BucketOptions.LinearOrBuilder> @@ -4048,7 +3846,7 @@ public com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucket * * .google.api.Distribution.BucketOptions.Linear linear_buckets = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Linear, com.google.api.Distribution.BucketOptions.Linear.Builder, com.google.api.Distribution.BucketOptions.LinearOrBuilder> @@ -4058,7 +3856,7 @@ public com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucket options_ = com.google.api.Distribution.BucketOptions.Linear.getDefaultInstance(); } linearBucketsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Linear, com.google.api.Distribution.BucketOptions.Linear.Builder, com.google.api.Distribution.BucketOptions.LinearOrBuilder>( @@ -4072,7 +3870,7 @@ public com.google.api.Distribution.BucketOptions.LinearOrBuilder getLinearBucket return linearBucketsBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Exponential, com.google.api.Distribution.BucketOptions.Exponential.Builder, com.google.api.Distribution.BucketOptions.ExponentialOrBuilder> @@ -4262,7 +4060,7 @@ public Builder clearExponentialBuckets() { * * .google.api.Distribution.BucketOptions.Exponential exponential_buckets = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Exponential, com.google.api.Distribution.BucketOptions.Exponential.Builder, com.google.api.Distribution.BucketOptions.ExponentialOrBuilder> @@ -4272,7 +4070,7 @@ public Builder clearExponentialBuckets() { options_ = com.google.api.Distribution.BucketOptions.Exponential.getDefaultInstance(); } exponentialBucketsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Exponential, com.google.api.Distribution.BucketOptions.Exponential.Builder, com.google.api.Distribution.BucketOptions.ExponentialOrBuilder>( @@ -4286,7 +4084,7 @@ public Builder clearExponentialBuckets() { return exponentialBucketsBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Explicit, com.google.api.Distribution.BucketOptions.Explicit.Builder, com.google.api.Distribution.BucketOptions.ExplicitOrBuilder> @@ -4475,7 +4273,7 @@ public Builder clearExplicitBuckets() { * * .google.api.Distribution.BucketOptions.Explicit explicit_buckets = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Explicit, com.google.api.Distribution.BucketOptions.Explicit.Builder, com.google.api.Distribution.BucketOptions.ExplicitOrBuilder> @@ -4485,7 +4283,7 @@ public Builder clearExplicitBuckets() { options_ = com.google.api.Distribution.BucketOptions.Explicit.getDefaultInstance(); } explicitBucketsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions.Explicit, com.google.api.Distribution.BucketOptions.Explicit.Builder, com.google.api.Distribution.BucketOptions.ExplicitOrBuilder>( @@ -4499,18 +4297,6 @@ public Builder clearExplicitBuckets() { return explicitBucketsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Distribution.BucketOptions) } @@ -4623,12 +4409,12 @@ public interface ExemplarOrBuilder *
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4643,12 +4429,12 @@ public interface ExemplarOrBuilder
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4663,12 +4449,12 @@ public interface ExemplarOrBuilder
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4683,12 +4469,12 @@ public interface ExemplarOrBuilder
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4703,12 +4489,12 @@ public interface ExemplarOrBuilder
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4731,13 +4517,23 @@ public interface ExemplarOrBuilder
    *
    * Protobuf type {@code google.api.Distribution.Exemplar}
    */
-  public static final class Exemplar extends com.google.protobuf.GeneratedMessageV3
+  public static final class Exemplar extends com.google.protobuf.GeneratedMessage
       implements
       // @@protoc_insertion_point(message_implements:google.api.Distribution.Exemplar)
       ExemplarOrBuilder {
     private static final long serialVersionUID = 0L;
+
+    static {
+      com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+          com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+          /* major= */ 4,
+          /* minor= */ 27,
+          /* patch= */ 1,
+          /* suffix= */ "",
+          Exemplar.class.getName());
+    }
     // Use Exemplar.newBuilder() to construct.
-    private Exemplar(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private Exemplar(com.google.protobuf.GeneratedMessage.Builder builder) {
       super(builder);
     }
 
@@ -4745,19 +4541,13 @@ private Exemplar() {
       attachments_ = java.util.Collections.emptyList();
     }
 
-    @java.lang.Override
-    @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-      return new Exemplar();
-    }
-
     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.api.DistributionProto
           .internal_static_google_api_Distribution_Exemplar_descriptor;
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.api.DistributionProto
           .internal_static_google_api_Distribution_Exemplar_fieldAccessorTable
@@ -4842,12 +4632,12 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() {
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4865,12 +4655,12 @@ public java.util.List getAttachmentsList() {
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4889,12 +4679,12 @@ public java.util.List getAttachmentsList() {
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4912,12 +4702,12 @@ public int getAttachmentsCount() {
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -4935,12 +4725,12 @@ public com.google.protobuf.Any getAttachments(int index) {
      * 
      * Contextual information about the example value. Examples are:
      *
-     *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+     * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
      *
-     *   Literal string: type.googleapis.com/google.protobuf.StringValue
+     * Literal string: type.googleapis.com/google.protobuf.StringValue
      *
-     *   Labels dropped during aggregation:
-     *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+     * Labels dropped during aggregation:
+     * type.googleapis.com/google.monitoring.v3.DroppedLabels
      *
      * There may be only a single attachment of any given message type in a
      * single exemplar, and this is enforced by the system.
@@ -5082,38 +4872,38 @@ public static com.google.api.Distribution.Exemplar parseFrom(
 
     public static com.google.api.Distribution.Exemplar parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
     }
 
     public static com.google.api.Distribution.Exemplar parseFrom(
         java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+      return com.google.protobuf.GeneratedMessage.parseWithIOException(
           PARSER, input, extensionRegistry);
     }
 
     public static com.google.api.Distribution.Exemplar parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.api.Distribution.Exemplar parseDelimitedFrom(
         java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+      return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
           PARSER, input, extensionRegistry);
     }
 
     public static com.google.api.Distribution.Exemplar parseFrom(
         com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
     }
 
     public static com.google.api.Distribution.Exemplar parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+      return com.google.protobuf.GeneratedMessage.parseWithIOException(
           PARSER, input, extensionRegistry);
     }
 
@@ -5136,8 +4926,7 @@ public Builder toBuilder() {
     }
 
     @java.lang.Override
-    protected Builder newBuilderForType(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       Builder builder = new Builder(parent);
       return builder;
     }
@@ -5154,8 +4943,7 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.api.Distribution.Exemplar}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
+    public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
         implements
         // @@protoc_insertion_point(builder_implements:google.api.Distribution.Exemplar)
         com.google.api.Distribution.ExemplarOrBuilder {
@@ -5165,7 +4953,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       }
 
       @java.lang.Override
-      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
           internalGetFieldAccessorTable() {
         return com.google.api.DistributionProto
             .internal_static_google_api_Distribution_Exemplar_fieldAccessorTable
@@ -5179,13 +4967,13 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
 
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
           getTimestampFieldBuilder();
           getAttachmentsFieldBuilder();
         }
@@ -5268,41 +5056,6 @@ private void buildPartial0(com.google.api.Distribution.Exemplar result) {
         result.bitField0_ |= to_bitField0_;
       }
 
-      @java.lang.Override
-      public Builder clone() {
-        return super.clone();
-      }
-
-      @java.lang.Override
-      public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-        return super.setField(field, value);
-      }
-
-      @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-        return super.clearField(field);
-      }
-
-      @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-        return super.clearOneof(oneof);
-      }
-
-      @java.lang.Override
-      public Builder setRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
-        return super.setRepeatedField(field, index, value);
-      }
-
-      @java.lang.Override
-      public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-        return super.addRepeatedField(field, value);
-      }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.api.Distribution.Exemplar) {
@@ -5340,7 +5093,7 @@ public Builder mergeFrom(com.google.api.Distribution.Exemplar other) {
               attachments_ = other.attachments_;
               bitField0_ = (bitField0_ & ~0x00000004);
               attachmentsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                  com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
                       ? getAttachmentsFieldBuilder()
                       : null;
             } else {
@@ -5474,7 +5227,7 @@ public Builder clearValue() {
       }
 
       private com.google.protobuf.Timestamp timestamp_;
-      private com.google.protobuf.SingleFieldBuilderV3<
+      private com.google.protobuf.SingleFieldBuilder<
               com.google.protobuf.Timestamp,
               com.google.protobuf.Timestamp.Builder,
               com.google.protobuf.TimestampOrBuilder>
@@ -5641,14 +5394,14 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() {
        *
        * .google.protobuf.Timestamp timestamp = 2;
        */
-      private com.google.protobuf.SingleFieldBuilderV3<
+      private com.google.protobuf.SingleFieldBuilder<
               com.google.protobuf.Timestamp,
               com.google.protobuf.Timestamp.Builder,
               com.google.protobuf.TimestampOrBuilder>
           getTimestampFieldBuilder() {
         if (timestampBuilder_ == null) {
           timestampBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
+              new com.google.protobuf.SingleFieldBuilder<
                   com.google.protobuf.Timestamp,
                   com.google.protobuf.Timestamp.Builder,
                   com.google.protobuf.TimestampOrBuilder>(
@@ -5668,7 +5421,7 @@ private void ensureAttachmentsIsMutable() {
         }
       }
 
-      private com.google.protobuf.RepeatedFieldBuilderV3<
+      private com.google.protobuf.RepeatedFieldBuilder<
               com.google.protobuf.Any,
               com.google.protobuf.Any.Builder,
               com.google.protobuf.AnyOrBuilder>
@@ -5680,12 +5433,12 @@ private void ensureAttachmentsIsMutable() {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5706,12 +5459,12 @@ public java.util.List getAttachmentsList() {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5732,12 +5485,12 @@ public int getAttachmentsCount() {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5758,12 +5511,12 @@ public com.google.protobuf.Any getAttachments(int index) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5790,12 +5543,12 @@ public Builder setAttachments(int index, com.google.protobuf.Any value) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5819,12 +5572,12 @@ public Builder setAttachments(int index, com.google.protobuf.Any.Builder builder
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5851,12 +5604,12 @@ public Builder addAttachments(com.google.protobuf.Any value) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5883,12 +5636,12 @@ public Builder addAttachments(int index, com.google.protobuf.Any value) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5912,12 +5665,12 @@ public Builder addAttachments(com.google.protobuf.Any.Builder builderForValue) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5941,12 +5694,12 @@ public Builder addAttachments(int index, com.google.protobuf.Any.Builder builder
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -5971,12 +5724,12 @@ public Builder addAllAttachments(
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -6000,12 +5753,12 @@ public Builder clearAttachments() {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -6029,12 +5782,12 @@ public Builder removeAttachments(int index) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -6051,12 +5804,12 @@ public com.google.protobuf.Any.Builder getAttachmentsBuilder(int index) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -6077,12 +5830,12 @@ public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(int index) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -6104,12 +5857,12 @@ public com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(int index) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -6127,12 +5880,12 @@ public com.google.protobuf.Any.Builder addAttachmentsBuilder() {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -6150,12 +5903,12 @@ public com.google.protobuf.Any.Builder addAttachmentsBuilder(int index) {
        * 
        * Contextual information about the example value. Examples are:
        *
-       *   Trace: type.googleapis.com/google.monitoring.v3.SpanContext
+       * Trace: type.googleapis.com/google.monitoring.v3.SpanContext
        *
-       *   Literal string: type.googleapis.com/google.protobuf.StringValue
+       * Literal string: type.googleapis.com/google.protobuf.StringValue
        *
-       *   Labels dropped during aggregation:
-       *     type.googleapis.com/google.monitoring.v3.DroppedLabels
+       * Labels dropped during aggregation:
+       * type.googleapis.com/google.monitoring.v3.DroppedLabels
        *
        * There may be only a single attachment of any given message type in a
        * single exemplar, and this is enforced by the system.
@@ -6167,14 +5920,14 @@ public java.util.List getAttachmentsBuilderList
         return getAttachmentsFieldBuilder().getBuilderList();
       }
 
-      private com.google.protobuf.RepeatedFieldBuilderV3<
+      private com.google.protobuf.RepeatedFieldBuilder<
               com.google.protobuf.Any,
               com.google.protobuf.Any.Builder,
               com.google.protobuf.AnyOrBuilder>
           getAttachmentsFieldBuilder() {
         if (attachmentsBuilder_ == null) {
           attachmentsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
+              new com.google.protobuf.RepeatedFieldBuilder<
                   com.google.protobuf.Any,
                   com.google.protobuf.Any.Builder,
                   com.google.protobuf.AnyOrBuilder>(
@@ -6187,18 +5940,6 @@ public java.util.List getAttachmentsBuilderList
         return attachmentsBuilder_;
       }
 
-      @java.lang.Override
-      public final Builder setUnknownFields(
-          final com.google.protobuf.UnknownFieldSet unknownFields) {
-        return super.setUnknownFields(unknownFields);
-      }
-
-      @java.lang.Override
-      public final Builder mergeUnknownFields(
-          final com.google.protobuf.UnknownFieldSet unknownFields) {
-        return super.mergeUnknownFields(unknownFields);
-      }
-
       // @@protoc_insertion_point(builder_scope:google.api.Distribution.Exemplar)
     }
 
@@ -6300,7 +6041,7 @@ public double getMean() {
    * The sum of squared deviations from the mean of the values in the
    * population. For values x_i this is:
    *
-   *     Sum[i=1..n]((x_i - mean)^2)
+   * Sum[i=1..n]((x_i - mean)^2)
    *
    * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
    * describes Welford's method for accumulating this sum in one pass.
@@ -6772,38 +6513,38 @@ public static com.google.api.Distribution parseFrom(
 
   public static com.google.api.Distribution parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.api.Distribution parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.api.Distribution parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.api.Distribution parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.api.Distribution parseFrom(com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.api.Distribution parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -6826,7 +6567,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -6852,7 +6593,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.api.Distribution}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.api.Distribution)
       com.google.api.DistributionOrBuilder {
@@ -6861,7 +6602,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.api.DistributionProto
           .internal_static_google_api_Distribution_fieldAccessorTable
@@ -6874,13 +6615,13 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
 
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
         getRangeFieldBuilder();
         getBucketOptionsFieldBuilder();
         getExemplarsFieldBuilder();
@@ -6985,39 +6726,6 @@ private void buildPartial0(com.google.api.Distribution result) {
       result.bitField0_ |= to_bitField0_;
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.api.Distribution) {
@@ -7075,7 +6783,7 @@ public Builder mergeFrom(com.google.api.Distribution other) {
             exemplars_ = other.exemplars_;
             bitField0_ = (bitField0_ & ~0x00000040);
             exemplarsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
                     ? getExemplarsFieldBuilder()
                     : null;
           } else {
@@ -7312,7 +7020,7 @@ public Builder clearMean() {
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
      *
-     *     Sum[i=1..n]((x_i - mean)^2)
+     * Sum[i=1..n]((x_i - mean)^2)
      *
      * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
      * describes Welford's method for accumulating this sum in one pass.
@@ -7335,7 +7043,7 @@ public double getSumOfSquaredDeviation() {
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
      *
-     *     Sum[i=1..n]((x_i - mean)^2)
+     * Sum[i=1..n]((x_i - mean)^2)
      *
      * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
      * describes Welford's method for accumulating this sum in one pass.
@@ -7362,7 +7070,7 @@ public Builder setSumOfSquaredDeviation(double value) {
      * The sum of squared deviations from the mean of the values in the
      * population. For values x_i this is:
      *
-     *     Sum[i=1..n]((x_i - mean)^2)
+     * Sum[i=1..n]((x_i - mean)^2)
      *
      * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
      * describes Welford's method for accumulating this sum in one pass.
@@ -7382,7 +7090,7 @@ public Builder clearSumOfSquaredDeviation() {
     }
 
     private com.google.api.Distribution.Range range_;
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.api.Distribution.Range,
             com.google.api.Distribution.Range.Builder,
             com.google.api.Distribution.RangeOrBuilder>
@@ -7554,14 +7262,14 @@ public com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder() {
      *
      * .google.api.Distribution.Range range = 4;
      */
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.api.Distribution.Range,
             com.google.api.Distribution.Range.Builder,
             com.google.api.Distribution.RangeOrBuilder>
         getRangeFieldBuilder() {
       if (rangeBuilder_ == null) {
         rangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
+            new com.google.protobuf.SingleFieldBuilder<
                 com.google.api.Distribution.Range,
                 com.google.api.Distribution.Range.Builder,
                 com.google.api.Distribution.RangeOrBuilder>(
@@ -7572,7 +7280,7 @@ public com.google.api.Distribution.RangeOrBuilder getRangeOrBuilder() {
     }
 
     private com.google.api.Distribution.BucketOptions bucketOptions_;
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.api.Distribution.BucketOptions,
             com.google.api.Distribution.BucketOptions.Builder,
             com.google.api.Distribution.BucketOptionsOrBuilder>
@@ -7749,14 +7457,14 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil
      *
      * .google.api.Distribution.BucketOptions bucket_options = 6;
      */
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.api.Distribution.BucketOptions,
             com.google.api.Distribution.BucketOptions.Builder,
             com.google.api.Distribution.BucketOptionsOrBuilder>
         getBucketOptionsFieldBuilder() {
       if (bucketOptionsBuilder_ == null) {
         bucketOptionsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
+            new com.google.protobuf.SingleFieldBuilder<
                 com.google.api.Distribution.BucketOptions,
                 com.google.api.Distribution.BucketOptions.Builder,
                 com.google.api.Distribution.BucketOptionsOrBuilder>(
@@ -8004,7 +7712,7 @@ private void ensureExemplarsIsMutable() {
       }
     }
 
-    private com.google.protobuf.RepeatedFieldBuilderV3<
+    private com.google.protobuf.RepeatedFieldBuilder<
             com.google.api.Distribution.Exemplar,
             com.google.api.Distribution.Exemplar.Builder,
             com.google.api.Distribution.ExemplarOrBuilder>
@@ -8325,14 +8033,14 @@ public java.util.List getExemplars
       return getExemplarsFieldBuilder().getBuilderList();
     }
 
-    private com.google.protobuf.RepeatedFieldBuilderV3<
+    private com.google.protobuf.RepeatedFieldBuilder<
             com.google.api.Distribution.Exemplar,
             com.google.api.Distribution.Exemplar.Builder,
             com.google.api.Distribution.ExemplarOrBuilder>
         getExemplarsFieldBuilder() {
       if (exemplarsBuilder_ == null) {
         exemplarsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
+            new com.google.protobuf.RepeatedFieldBuilder<
                 com.google.api.Distribution.Exemplar,
                 com.google.api.Distribution.Exemplar.Builder,
                 com.google.api.Distribution.ExemplarOrBuilder>(
@@ -8342,17 +8050,6 @@ public java.util.List getExemplars
       return exemplarsBuilder_;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.api.Distribution)
   }
 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java
index d75005c688..c2f641366f 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionOrBuilder.java
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/api/distribution.proto
+// Protobuf Java Version: 4.27.1
 
-// Protobuf Java Version: 3.25.3
 package com.google.api;
 
 public interface DistributionOrBuilder
@@ -60,7 +61,7 @@ public interface DistributionOrBuilder
    * The sum of squared deviations from the mean of the values in the
    * population. For values x_i this is:
    *
-   *     Sum[i=1..n]((x_i - mean)^2)
+   * Sum[i=1..n]((x_i - mean)^2)
    *
    * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition
    * describes Welford's method for accumulating this sum in one pass.
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java
index 1584a90545..b2fcf2777d 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DistributionProto.java
@@ -14,14 +14,25 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/api/distribution.proto
+// Protobuf Java Version: 4.27.1
 
-// Protobuf Java Version: 3.25.3
 package com.google.api;
 
 public final class DistributionProto {
   private DistributionProto() {}
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 27,
+        /* patch= */ 1,
+        /* suffix= */ "",
+        DistributionProto.class.getName());
+  }
+
   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
 
   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
@@ -30,31 +41,31 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
 
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_api_Distribution_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_api_Distribution_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_api_Distribution_Range_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_api_Distribution_Range_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_api_Distribution_BucketOptions_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_api_Distribution_BucketOptions_Linear_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_api_Distribution_Exemplar_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internal_static_google_api_Distribution_Exemplar_fieldAccessorTable;
 
   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
@@ -103,7 +114,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
             });
     internal_static_google_api_Distribution_descriptor = getDescriptor().getMessageTypes().get(0);
     internal_static_google_api_Distribution_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_api_Distribution_descriptor,
             new java.lang.String[] {
               "Count",
@@ -117,7 +128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     internal_static_google_api_Distribution_Range_descriptor =
         internal_static_google_api_Distribution_descriptor.getNestedTypes().get(0);
     internal_static_google_api_Distribution_Range_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_api_Distribution_Range_descriptor,
             new java.lang.String[] {
               "Min", "Max",
@@ -125,7 +136,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     internal_static_google_api_Distribution_BucketOptions_descriptor =
         internal_static_google_api_Distribution_descriptor.getNestedTypes().get(1);
     internal_static_google_api_Distribution_BucketOptions_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_api_Distribution_BucketOptions_descriptor,
             new java.lang.String[] {
               "LinearBuckets", "ExponentialBuckets", "ExplicitBuckets", "Options",
@@ -133,7 +144,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     internal_static_google_api_Distribution_BucketOptions_Linear_descriptor =
         internal_static_google_api_Distribution_BucketOptions_descriptor.getNestedTypes().get(0);
     internal_static_google_api_Distribution_BucketOptions_Linear_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_api_Distribution_BucketOptions_Linear_descriptor,
             new java.lang.String[] {
               "NumFiniteBuckets", "Width", "Offset",
@@ -141,7 +152,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor =
         internal_static_google_api_Distribution_BucketOptions_descriptor.getNestedTypes().get(1);
     internal_static_google_api_Distribution_BucketOptions_Exponential_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_api_Distribution_BucketOptions_Exponential_descriptor,
             new java.lang.String[] {
               "NumFiniteBuckets", "GrowthFactor", "Scale",
@@ -149,7 +160,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor =
         internal_static_google_api_Distribution_BucketOptions_descriptor.getNestedTypes().get(2);
     internal_static_google_api_Distribution_BucketOptions_Explicit_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_api_Distribution_BucketOptions_Explicit_descriptor,
             new java.lang.String[] {
               "Bounds",
@@ -157,11 +168,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     internal_static_google_api_Distribution_Exemplar_descriptor =
         internal_static_google_api_Distribution_descriptor.getNestedTypes().get(2);
     internal_static_google_api_Distribution_Exemplar_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
             internal_static_google_api_Distribution_Exemplar_descriptor,
             new java.lang.String[] {
               "Value", "Timestamp", "Attachments",
             });
+    descriptor.resolveAllFeaturesImmutable();
     com.google.protobuf.AnyProto.getDescriptor();
     com.google.protobuf.TimestampProto.getDescriptor();
   }
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java
index 44c16dd4f8..ee8ebb229e 100644
--- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java
+++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Documentation.java
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/api/documentation.proto
+// Protobuf Java Version: 4.27.1
 
-// Protobuf Java Version: 3.25.3
 package com.google.api;
 
 /**
@@ -27,24 +28,24 @@
  *
  * Example:
  * <pre><code>documentation:
- *   summary: >
- *     The Google Calendar API gives access
- *     to most calendar features.
- *   pages:
- *   - name: Overview
- *     content: &#40;== include google/foo/overview.md ==&#41;
- *   - name: Tutorial
- *     content: &#40;== include google/foo/tutorial.md ==&#41;
- *     subpages:
- *     - name: Java
- *       content: &#40;== include google/foo/tutorial_java.md ==&#41;
- *   rules:
- *   - selector: google.calendar.Calendar.Get
- *     description: >
- *       ...
- *   - selector: google.calendar.Calendar.Put
- *     description: >
- *       ...
+ * summary: >
+ * The Google Calendar API gives access
+ * to most calendar features.
+ * pages:
+ * - name: Overview
+ * content: &#40;== include google/foo/overview.md ==&#41;
+ * - name: Tutorial
+ * content: &#40;== include google/foo/tutorial.md ==&#41;
+ * subpages:
+ * - name: Java
+ * content: &#40;== include google/foo/tutorial_java.md ==&#41;
+ * rules:
+ * - selector: google.calendar.Calendar.Get
+ * description: >
+ * ...
+ * - selector: google.calendar.Calendar.Put
+ * description: >
+ * ...
  * </code></pre>
  * Documentation is provided in markdown syntax. In addition to
  * standard markdown features, definition lists, tables and fenced
@@ -82,13 +83,23 @@
  *
  * Protobuf type {@code google.api.Documentation}
  */
-public final class Documentation extends com.google.protobuf.GeneratedMessageV3
+public final class Documentation extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.api.Documentation)
     DocumentationOrBuilder {
   private static final long serialVersionUID = 0L;
+
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 27,
+        /* patch= */ 1,
+        /* suffix= */ "",
+        Documentation.class.getName());
+  }
   // Use Documentation.newBuilder() to construct.
-  private Documentation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private Documentation(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -101,18 +112,12 @@ private Documentation() {
     overview_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new Documentation();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.api.DocumentationProto.internal_static_google_api_Documentation_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.api.DocumentationProto
         .internal_static_google_api_Documentation_fieldAccessorTable
@@ -446,15 +451,15 @@ public com.google.protobuf.ByteString getServiceRootUrlBytes() {
    * 
    * Declares a single overview page. For example:
    * <pre><code>documentation:
-   *   summary: ...
-   *   overview: &#40;== include overview.md ==&#41;
+   * summary: ...
+   * overview: &#40;== include overview.md ==&#41;
    * </code></pre>
    * This is a shortcut for the following declaration (using pages style):
    * <pre><code>documentation:
-   *   summary: ...
-   *   pages:
-   *   - name: Overview
-   *     content: &#40;== include overview.md ==&#41;
+   * summary: ...
+   * pages:
+   * - name: Overview
+   * content: &#40;== include overview.md ==&#41;
    * </code></pre>
    * Note: you cannot specify both `overview` field and `pages` field.
    * 
@@ -481,15 +486,15 @@ public java.lang.String getOverview() { *
    * Declares a single overview page. For example:
    * <pre><code>documentation:
-   *   summary: ...
-   *   overview: &#40;== include overview.md ==&#41;
+   * summary: ...
+   * overview: &#40;== include overview.md ==&#41;
    * </code></pre>
    * This is a shortcut for the following declaration (using pages style):
    * <pre><code>documentation:
-   *   summary: ...
-   *   pages:
-   *   - name: Overview
-   *     content: &#40;== include overview.md ==&#41;
+   * summary: ...
+   * pages:
+   * - name: Overview
+   * content: &#40;== include overview.md ==&#41;
    * </code></pre>
    * Note: you cannot specify both `overview` field and `pages` field.
    * 
@@ -525,23 +530,23 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summary_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, summary_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(summary_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, summary_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(overview_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, overview_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(overview_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, overview_); } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(3, rules_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(documentationRootUrl_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, documentationRootUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(documentationRootUrl_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, documentationRootUrl_); } for (int i = 0; i < pages_.size(); i++) { output.writeMessage(5, pages_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceRootUrl_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, serviceRootUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceRootUrl_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, serviceRootUrl_); } getUnknownFields().writeTo(output); } @@ -552,23 +557,23 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summary_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, summary_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(summary_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, summary_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(overview_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, overview_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(overview_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, overview_); } for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(documentationRootUrl_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, documentationRootUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(documentationRootUrl_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, documentationRootUrl_); } for (int i = 0; i < pages_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, pages_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceRootUrl_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, serviceRootUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceRootUrl_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, serviceRootUrl_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -659,38 +664,38 @@ public static com.google.api.Documentation parseFrom( public static com.google.api.Documentation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Documentation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Documentation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Documentation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Documentation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Documentation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -713,7 +718,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -725,24 +730,24 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * <pre><code>documentation: - * summary: > - * The Google Calendar API gives access - * to most calendar features. - * pages: - * - name: Overview - * content: &#40;== include google/foo/overview.md ==&#41; - * - name: Tutorial - * content: &#40;== include google/foo/tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include google/foo/tutorial_java.md ==&#41; - * rules: - * - selector: google.calendar.Calendar.Get - * description: > - * ... - * - selector: google.calendar.Calendar.Put - * description: > - * ... + * summary: > + * The Google Calendar API gives access + * to most calendar features. + * pages: + * - name: Overview + * content: &#40;== include google/foo/overview.md ==&#41; + * - name: Tutorial + * content: &#40;== include google/foo/tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include google/foo/tutorial_java.md ==&#41; + * rules: + * - selector: google.calendar.Calendar.Get + * description: > + * ... + * - selector: google.calendar.Calendar.Put + * description: > + * ... * </code></pre> * Documentation is provided in markdown syntax. In addition to * standard markdown features, definition lists, tables and fenced @@ -780,7 +785,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Documentation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Documentation) com.google.api.DocumentationOrBuilder { @@ -789,7 +794,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DocumentationProto .internal_static_google_api_Documentation_fieldAccessorTable @@ -800,7 +805,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Documentation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -896,39 +901,6 @@ private void buildPartial0(com.google.api.Documentation result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Documentation) { @@ -965,7 +937,7 @@ public Builder mergeFrom(com.google.api.Documentation other) { pages_ = other.pages_; bitField0_ = (bitField0_ & ~0x00000002); pagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPagesFieldBuilder() : null; } else { @@ -992,7 +964,7 @@ public Builder mergeFrom(com.google.api.Documentation other) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000004); rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { @@ -1238,7 +1210,7 @@ private void ensurePagesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> pagesBuilder_; @@ -1551,12 +1523,12 @@ public java.util.List getPagesBuilderList() { return getPagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> getPagesFieldBuilder() { if (pagesBuilder_ == null) { pagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder>( pages_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); pages_ = null; @@ -1574,7 +1546,7 @@ private void ensureRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.DocumentationRule, com.google.api.DocumentationRule.Builder, com.google.api.DocumentationRuleOrBuilder> @@ -1929,14 +1901,14 @@ public java.util.List getRulesBuilderL return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.DocumentationRule, com.google.api.DocumentationRule.Builder, com.google.api.DocumentationRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.DocumentationRule, com.google.api.DocumentationRule.Builder, com.google.api.DocumentationRuleOrBuilder>( @@ -2180,15 +2152,15 @@ public Builder setServiceRootUrlBytes(com.google.protobuf.ByteString value) { *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
-     *   summary: ...
-     *   overview: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * overview: &#40;== include overview.md ==&#41;
      * </code></pre>
      * This is a shortcut for the following declaration (using pages style):
      * <pre><code>documentation:
-     *   summary: ...
-     *   pages:
-     *   - name: Overview
-     *     content: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * pages:
+     * - name: Overview
+     * content: &#40;== include overview.md ==&#41;
      * </code></pre>
      * Note: you cannot specify both `overview` field and `pages` field.
      * 
@@ -2214,15 +2186,15 @@ public java.lang.String getOverview() { *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
-     *   summary: ...
-     *   overview: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * overview: &#40;== include overview.md ==&#41;
      * </code></pre>
      * This is a shortcut for the following declaration (using pages style):
      * <pre><code>documentation:
-     *   summary: ...
-     *   pages:
-     *   - name: Overview
-     *     content: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * pages:
+     * - name: Overview
+     * content: &#40;== include overview.md ==&#41;
      * </code></pre>
      * Note: you cannot specify both `overview` field and `pages` field.
      * 
@@ -2248,15 +2220,15 @@ public com.google.protobuf.ByteString getOverviewBytes() { *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
-     *   summary: ...
-     *   overview: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * overview: &#40;== include overview.md ==&#41;
      * </code></pre>
      * This is a shortcut for the following declaration (using pages style):
      * <pre><code>documentation:
-     *   summary: ...
-     *   pages:
-     *   - name: Overview
-     *     content: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * pages:
+     * - name: Overview
+     * content: &#40;== include overview.md ==&#41;
      * </code></pre>
      * Note: you cannot specify both `overview` field and `pages` field.
      * 
@@ -2281,15 +2253,15 @@ public Builder setOverview(java.lang.String value) { *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
-     *   summary: ...
-     *   overview: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * overview: &#40;== include overview.md ==&#41;
      * </code></pre>
      * This is a shortcut for the following declaration (using pages style):
      * <pre><code>documentation:
-     *   summary: ...
-     *   pages:
-     *   - name: Overview
-     *     content: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * pages:
+     * - name: Overview
+     * content: &#40;== include overview.md ==&#41;
      * </code></pre>
      * Note: you cannot specify both `overview` field and `pages` field.
      * 
@@ -2310,15 +2282,15 @@ public Builder clearOverview() { *
      * Declares a single overview page. For example:
      * <pre><code>documentation:
-     *   summary: ...
-     *   overview: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * overview: &#40;== include overview.md ==&#41;
      * </code></pre>
      * This is a shortcut for the following declaration (using pages style):
      * <pre><code>documentation:
-     *   summary: ...
-     *   pages:
-     *   - name: Overview
-     *     content: &#40;== include overview.md ==&#41;
+     * summary: ...
+     * pages:
+     * - name: Overview
+     * content: &#40;== include overview.md ==&#41;
      * </code></pre>
      * Note: you cannot specify both `overview` field and `pages` field.
      * 
@@ -2339,17 +2311,6 @@ public Builder setOverviewBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Documentation) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java index 22942893e8..f79e0c468d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/documentation.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface DocumentationOrBuilder @@ -229,15 +230,15 @@ public interface DocumentationOrBuilder *
    * Declares a single overview page. For example:
    * <pre><code>documentation:
-   *   summary: ...
-   *   overview: &#40;== include overview.md ==&#41;
+   * summary: ...
+   * overview: &#40;== include overview.md ==&#41;
    * </code></pre>
    * This is a shortcut for the following declaration (using pages style):
    * <pre><code>documentation:
-   *   summary: ...
-   *   pages:
-   *   - name: Overview
-   *     content: &#40;== include overview.md ==&#41;
+   * summary: ...
+   * pages:
+   * - name: Overview
+   * content: &#40;== include overview.md ==&#41;
    * </code></pre>
    * Note: you cannot specify both `overview` field and `pages` field.
    * 
@@ -253,15 +254,15 @@ public interface DocumentationOrBuilder *
    * Declares a single overview page. For example:
    * <pre><code>documentation:
-   *   summary: ...
-   *   overview: &#40;== include overview.md ==&#41;
+   * summary: ...
+   * overview: &#40;== include overview.md ==&#41;
    * </code></pre>
    * This is a shortcut for the following declaration (using pages style):
    * <pre><code>documentation:
-   *   summary: ...
-   *   pages:
-   *   - name: Overview
-   *     content: &#40;== include overview.md ==&#41;
+   * summary: ...
+   * pages:
+   * - name: Overview
+   * content: &#40;== include overview.md ==&#41;
    * </code></pre>
    * Note: you cannot specify both `overview` field and `pages` field.
    * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java index 9be58481f1..b583359974 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/documentation.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class DocumentationProto { private DocumentationProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DocumentationProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,15 +41,15 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Documentation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Documentation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_DocumentationRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_DocumentationRule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Page_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Page_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -69,7 +80,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Documentation_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Documentation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Documentation_descriptor, new java.lang.String[] { "Summary", "Pages", "Rules", "DocumentationRootUrl", "ServiceRootUrl", "Overview", @@ -77,18 +88,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_DocumentationRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_DocumentationRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_DocumentationRule_descriptor, new java.lang.String[] { "Selector", "Description", "DeprecationDescription", }); internal_static_google_api_Page_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_api_Page_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Page_descriptor, new java.lang.String[] { "Name", "Content", "Subpages", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java index f6f46be1d6..0eebe3f335 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/documentation.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.DocumentationRule} */ -public final class DocumentationRule extends com.google.protobuf.GeneratedMessageV3 +public final class DocumentationRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.DocumentationRule) DocumentationRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DocumentationRule.class.getName()); + } // Use DocumentationRule.newBuilder() to construct. - private DocumentationRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DocumentationRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +55,13 @@ private DocumentationRule() { deprecationDescription_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DocumentationRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DocumentationProto .internal_static_google_api_DocumentationRule_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DocumentationProto .internal_static_google_api_DocumentationRule_fieldAccessorTable @@ -249,14 +254,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deprecationDescription_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deprecationDescription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deprecationDescription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, deprecationDescription_); } getUnknownFields().writeTo(output); } @@ -267,14 +272,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deprecationDescription_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deprecationDescription_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deprecationDescription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, deprecationDescription_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -352,38 +357,38 @@ public static com.google.api.DocumentationRule parseFrom( public static com.google.api.DocumentationRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.DocumentationRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.DocumentationRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.DocumentationRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.DocumentationRule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.DocumentationRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -406,7 +411,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -419,7 +424,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.DocumentationRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.DocumentationRule) com.google.api.DocumentationRuleOrBuilder { @@ -429,7 +434,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DocumentationProto .internal_static_google_api_DocumentationRule_fieldAccessorTable @@ -441,7 +446,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.DocumentationRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -498,39 +503,6 @@ private void buildPartial0(com.google.api.DocumentationRule result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.DocumentationRule) { @@ -984,17 +956,6 @@ public Builder setDeprecationDescriptionBytes(com.google.protobuf.ByteString val return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.DocumentationRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java index 20fc1c629e..95f0acc747 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DocumentationRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/documentation.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface DocumentationRuleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java index 7cf61b8228..f3a4b78bda 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.DotnetSettings} */ -public final class DotnetSettings extends com.google.protobuf.GeneratedMessageV3 +public final class DotnetSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.DotnetSettings) DotnetSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DotnetSettings.class.getName()); + } // Use DotnetSettings.newBuilder() to construct. - private DotnetSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DotnetSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,12 +55,6 @@ private DotnetSettings() { handwrittenSignatures_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DotnetSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_DotnetSettings_descriptor; } @@ -69,7 +74,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_DotnetSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -600,20 +605,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommon()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetRenamedServices(), RenamedServicesDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetRenamedResources(), RenamedResourcesDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < ignoredResources_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ignoredResources_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 4, ignoredResources_.getRaw(i)); } for (int i = 0; i < forcedNamespaceAliases_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( + com.google.protobuf.GeneratedMessage.writeString( output, 5, forcedNamespaceAliases_.getRaw(i)); } for (int i = 0; i < handwrittenSignatures_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 6, handwrittenSignatures_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 6, handwrittenSignatures_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -772,38 +776,38 @@ public static com.google.api.DotnetSettings parseFrom( public static com.google.api.DotnetSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.DotnetSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.DotnetSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.DotnetSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.DotnetSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.DotnetSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -826,7 +830,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -839,7 +843,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.DotnetSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.DotnetSettings) com.google.api.DotnetSettingsOrBuilder { @@ -874,7 +878,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_DotnetSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -886,13 +890,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommonFieldBuilder(); } } @@ -973,39 +977,6 @@ private void buildPartial0(com.google.api.DotnetSettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.DotnetSettings) { @@ -1153,7 +1124,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.api.CommonLanguageSettings common_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> @@ -1320,14 +1291,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * * .google.api.CommonLanguageSettings common = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( @@ -2317,17 +2288,6 @@ public Builder addHandwrittenSignaturesBytes(com.google.protobuf.ByteString valu return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.DotnetSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java index 91bd37a91c..5918fa4018 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/DotnetSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface DotnetSettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java index c8f198bff9..6716ee5c26 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Endpoint.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/endpoint.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,31 +31,41 @@ * * Example: * - * type: google.api.Service - * name: library-example.googleapis.com - * endpoints: - * # Declares network address `https://library-example.googleapis.com` - * # for service `library-example.googleapis.com`. The `https` scheme - * # is implicit for all service endpoints. Other schemes may be - * # supported in the future. - * - name: library-example.googleapis.com - * allow_cors: false - * - name: content-staging-library-example.googleapis.com - * # Allows HTTP OPTIONS calls to be passed to the API frontend, for it - * # to decide whether the subsequent cross-origin request is allowed - * # to proceed. - * allow_cors: true + * type: google.api.Service + * name: library-example.googleapis.com + * endpoints: + * # Declares network address `https://library-example.googleapis.com` + * # for service `library-example.googleapis.com`. The `https` scheme + * # is implicit for all service endpoints. Other schemes may be + * # supported in the future. + * - name: library-example.googleapis.com + * allow_cors: false + * - name: content-staging-library-example.googleapis.com + * # Allows HTTP OPTIONS calls to be passed to the API frontend, for it + * # to decide whether the subsequent cross-origin request is allowed + * # to proceed. + * allow_cors: true *
* * Protobuf type {@code google.api.Endpoint} */ -public final class Endpoint extends com.google.protobuf.GeneratedMessageV3 +public final class Endpoint extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Endpoint) EndpointOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Endpoint.class.getName()); + } // Use Endpoint.newBuilder() to construct. - private Endpoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Endpoint(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -64,18 +75,12 @@ private Endpoint() { target_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Endpoint(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.EndpointProto.internal_static_google_api_Endpoint_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.EndpointProto.internal_static_google_api_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -325,17 +330,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } for (int i = 0; i < aliases_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, aliases_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, aliases_.getRaw(i)); } if (allowCors_ != false) { output.writeBool(5, allowCors_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 101, target_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(target_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 101, target_); } getUnknownFields().writeTo(output); } @@ -346,8 +351,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } { int dataSize = 0; @@ -360,8 +365,8 @@ public int getSerializedSize() { if (allowCors_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowCors_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(101, target_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(target_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(101, target_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -444,38 +449,38 @@ public static com.google.api.Endpoint parseFrom( public static com.google.api.Endpoint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Endpoint parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Endpoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Endpoint parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Endpoint parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Endpoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -498,7 +503,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -513,25 +518,25 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * type: google.api.Service - * name: library-example.googleapis.com - * endpoints: - * # Declares network address `https://library-example.googleapis.com` - * # for service `library-example.googleapis.com`. The `https` scheme - * # is implicit for all service endpoints. Other schemes may be - * # supported in the future. - * - name: library-example.googleapis.com - * allow_cors: false - * - name: content-staging-library-example.googleapis.com - * # Allows HTTP OPTIONS calls to be passed to the API frontend, for it - * # to decide whether the subsequent cross-origin request is allowed - * # to proceed. - * allow_cors: true + * type: google.api.Service + * name: library-example.googleapis.com + * endpoints: + * # Declares network address `https://library-example.googleapis.com` + * # for service `library-example.googleapis.com`. The `https` scheme + * # is implicit for all service endpoints. Other schemes may be + * # supported in the future. + * - name: library-example.googleapis.com + * allow_cors: false + * - name: content-staging-library-example.googleapis.com + * # Allows HTTP OPTIONS calls to be passed to the API frontend, for it + * # to decide whether the subsequent cross-origin request is allowed + * # to proceed. + * allow_cors: true *
* * Protobuf type {@code google.api.Endpoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Endpoint) com.google.api.EndpointOrBuilder { @@ -540,7 +545,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.EndpointProto.internal_static_google_api_Endpoint_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -550,7 +555,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Endpoint.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -611,39 +616,6 @@ private void buildPartial0(com.google.api.Endpoint result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Endpoint) { @@ -1295,17 +1267,6 @@ public Builder clearAllowCors() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Endpoint) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java index 053189fb25..14d57e872d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/endpoint.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface EndpointOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java index 0823b9b74b..f22b325cbd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/EndpointProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/endpoint.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class EndpointProto { private EndpointProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + EndpointProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Endpoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Endpoint_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -54,11 +65,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Endpoint_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Endpoint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Endpoint_descriptor, new java.lang.String[] { "Name", "Aliases", "Target", "AllowCors", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java index f4cd6d0daf..5fab092ed4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReason.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/error_reason.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -57,13 +58,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the consumer "projects/123" contacting * "pubsub.googleapis.com" service which is disabled: * - * { "reason": "SERVICE_DISABLED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "SERVICE_DISABLED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates the "pubsub.googleapis.com" has been disabled in * "projects/123". @@ -82,13 +83,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "pubsub.googleapis.com" service because the associated billing account is * disabled: * - * { "reason": "BILLING_DISABLED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "BILLING_DISABLED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates the billing account associated has been disabled. *
@@ -107,12 +108,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is contacting * "storage.googleapis.com" service with an invalid API key: * - * { "reason": "API_KEY_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * } - * } + * { "reason": "API_KEY_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * } + * } *
* * API_KEY_INVALID = 3; @@ -129,13 +130,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because this service is restricted in the * API key: * - * { "reason": "API_KEY_SERVICE_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "API_KEY_SERVICE_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } *
* * API_KEY_SERVICE_BLOCKED = 4; @@ -152,13 +153,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because the http referrer of the request * violates API key HTTP restrictions: * - * { "reason": "API_KEY_HTTP_REFERRER_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * } - * } + * { "reason": "API_KEY_HTTP_REFERRER_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com", + * } + * } *
* * API_KEY_HTTP_REFERRER_BLOCKED = 7; @@ -175,13 +176,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because the caller IP of the request * violates API key IP address restrictions: * - * { "reason": "API_KEY_IP_ADDRESS_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * } - * } + * { "reason": "API_KEY_IP_ADDRESS_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com", + * } + * } *
* * API_KEY_IP_ADDRESS_BLOCKED = 8; @@ -198,13 +199,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because the request from the Android apps * violates the API key Android application restrictions: * - * { "reason": "API_KEY_ANDROID_APP_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "API_KEY_ANDROID_APP_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } *
* * API_KEY_ANDROID_APP_BLOCKED = 9; @@ -221,13 +222,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because the request from the iOS apps * violates the API key iOS application restrictions: * - * { "reason": "API_KEY_IOS_APP_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "API_KEY_IOS_APP_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } *
* * API_KEY_IOS_APP_BLOCKED = 13; @@ -246,30 +247,30 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "ReadsPerMinutePerProject" on the quota metric * "pubsub.googleapis.com/read_requests": * - * { "reason": "RATE_LIMIT_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com", - * "quota_metric": "pubsub.googleapis.com/read_requests", - * "quota_limit": "ReadsPerMinutePerProject" - * } - * } + * { "reason": "RATE_LIMIT_EXCEEDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com", + * "quota_metric": "pubsub.googleapis.com/read_requests", + * "quota_limit": "ReadsPerMinutePerProject" + * } + * } * * Example of an ErrorInfo when the consumer "projects/123" checks quota on * the service "dataflow.googleapis.com" and hits the organization quota * limit "DefaultRequestsPerMinutePerOrganization" on the metric * "dataflow.googleapis.com/default_requests". * - * { "reason": "RATE_LIMIT_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "dataflow.googleapis.com", - * "quota_metric": "dataflow.googleapis.com/default_requests", - * "quota_limit": "DefaultRequestsPerMinutePerOrganization" - * } - * } + * { "reason": "RATE_LIMIT_EXCEEDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "dataflow.googleapis.com", + * "quota_metric": "dataflow.googleapis.com/default_requests", + * "quota_limit": "DefaultRequestsPerMinutePerOrganization" + * } + * } *
* * RATE_LIMIT_EXCEEDED = 5; @@ -287,30 +288,30 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * has reached the maximum value set for the quota limit "VMsPerProject" * on the quota metric "compute.googleapis.com/vms": * - * { "reason": "RESOURCE_QUOTA_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "compute.googleapis.com", - * "quota_metric": "compute.googleapis.com/vms", - * "quota_limit": "VMsPerProject" - * } - * } + * { "reason": "RESOURCE_QUOTA_EXCEEDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "compute.googleapis.com", + * "quota_metric": "compute.googleapis.com/vms", + * "quota_limit": "VMsPerProject" + * } + * } * * Example of an ErrorInfo when the consumer "projects/123" checks resource * quota on the service "dataflow.googleapis.com" and hits the organization * quota limit "jobs-per-organization" on the metric * "dataflow.googleapis.com/job_count". * - * { "reason": "RESOURCE_QUOTA_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "dataflow.googleapis.com", - * "quota_metric": "dataflow.googleapis.com/job_count", - * "quota_limit": "jobs-per-organization" - * } - * } + * { "reason": "RESOURCE_QUOTA_EXCEEDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "dataflow.googleapis.com", + * "quota_metric": "dataflow.googleapis.com/job_count", + * "quota_limit": "jobs-per-organization" + * } + * } *
* * RESOURCE_QUOTA_EXCEEDED = 6; @@ -328,14 +329,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * container "projects/123" under a tax restricted region * "locations/asia-northeast3": * - * { "reason": "LOCATION_TAX_POLICY_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * "location": "locations/asia-northeast3" - * } - * } + * { "reason": "LOCATION_TAX_POLICY_VIOLATED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com", + * "location": "locations/asia-northeast3" + * } + * } * * This response indicates creating the Cloud Storage Bucket in * "locations/asia-northeast3" violates the location tax restriction. @@ -356,13 +357,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the caller is calling Cloud Storage service * with insufficient permissions on the user project: * - * { "reason": "USER_PROJECT_DENIED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "USER_PROJECT_DENIED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } *
* * USER_PROJECT_DENIED = 11; @@ -380,13 +381,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when calling Cloud Storage service with the * suspended consumer "projects/123": * - * { "reason": "CONSUMER_SUSPENDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "CONSUMER_SUSPENDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } *
* * CONSUMER_SUSPENDED = 12; @@ -402,13 +403,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when calling Cloud Storage service with the * invalid consumer "projects/123": * - * { "reason": "CONSUMER_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "CONSUMER_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } *
* * CONSUMER_INVALID = 14; @@ -429,14 +430,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Cloud Storage service because the request is prohibited by the VPC Service * Controls. * - * { "reason": "SECURITY_POLICY_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "uid": "123456789abcde", - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "SECURITY_POLICY_VIOLATED", + * "domain": "googleapis.com", + * "metadata": { + * "uid": "123456789abcde", + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } *
* * SECURITY_POLICY_VIOLATED = 15; @@ -451,13 +452,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is calling Cloud Storage service * with an expired access token: * - * { "reason": "ACCESS_TOKEN_EXPIRED", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } + * { "reason": "ACCESS_TOKEN_EXPIRED", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject" + * } + * } *
* * ACCESS_TOKEN_EXPIRED = 16; @@ -477,13 +478,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is calling Cloud Storage service * with an access token that is missing required scopes: * - * { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } + * { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject" + * } + * } *
* * ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17; @@ -505,14 +506,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * an access token that is associated with a disabled or deleted [service * account](http://cloud/iam/docs/service-accounts): * - * { "reason": "ACCOUNT_STATE_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject", - * "email": "user@123.iam.gserviceaccount.com" - * } - * } + * { "reason": "ACCOUNT_STATE_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject", + * "email": "user@123.iam.gserviceaccount.com" + * } + * } *
* * ACCOUNT_STATE_INVALID = 18; @@ -528,13 +529,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is to the Cloud Storage API with * an unsupported token type. * - * { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } + * { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject" + * } + * } *
* * ACCESS_TOKEN_TYPE_UNSUPPORTED = 19; @@ -552,13 +553,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is to the Cloud Storage API * without any authentication credentials. * - * { "reason": "CREDENTIALS_MISSING", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } + * { "reason": "CREDENTIALS_MISSING", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject" + * } + * } *
* * CREDENTIALS_MISSING = 20; @@ -577,14 +578,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * but the offered resource project in the request in a bad format which can't * perform the ListFunctions method. * - * { "reason": "RESOURCE_PROJECT_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "cloudfunctions.googleapis.com", - * "method": - * "google.cloud.functions.v1.CloudFunctionsService.ListFunctions" - * } - * } + * { "reason": "RESOURCE_PROJECT_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "service": "cloudfunctions.googleapis.com", + * "method": + * "google.cloud.functions.v1.CloudFunctionsService.ListFunctions" + * } + * } *
* * RESOURCE_PROJECT_INVALID = 21; @@ -600,14 +601,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is calling Cloud Storage service * with a SID cookie which can't be decoded. * - * { "reason": "SESSION_COOKIE_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject", - * "cookie": "SID" - * } - * } + * { "reason": "SESSION_COOKIE_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject", + * "cookie": "SID" + * } + * } *
* * SESSION_COOKIE_INVALID = 23; @@ -625,13 +626,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when access to Google Cloud Storage service is * blocked by the Google Workspace administrator: * - * { "reason": "USER_BLOCKED_BY_ADMIN", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject", - * } - * } + * { "reason": "USER_BLOCKED_BY_ADMIN", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject", + * } + * } *
* * USER_BLOCKED_BY_ADMIN = 24; @@ -649,13 +650,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when access to Google Cloud Storage service is * restricted by Resource Usage Restriction policy: * - * { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/project-123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/project-123", + * "service": "storage.googleapis.com" + * } + * } *
* * RESOURCE_USAGE_RESTRICTION_VIOLATED = 25; @@ -674,13 +675,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when access "pubsub.googleapis.com" service with * a request header of "x-goog-user-ip": * - * { "reason": "SYSTEM_PARAMETER_UNSUPPORTED", - * "domain": "googleapis.com", - * "metadata": { - * "service": "pubsub.googleapis.com" - * "parameter": "x-goog-user-ip" - * } - * } + * { "reason": "SYSTEM_PARAMETER_UNSUPPORTED", + * "domain": "googleapis.com", + * "metadata": { + * "service": "pubsub.googleapis.com" + * "parameter": "x-goog-user-ip" + * } + * } *
* * SYSTEM_PARAMETER_UNSUPPORTED = 26; @@ -698,12 +699,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Org Restriction for "pubsub.googleapis.com" service. * * { - * reason: "ORG_RESTRICTION_VIOLATION" - * domain: "googleapis.com" - * metadata { - * "consumer":"projects/123456" - * "service": "pubsub.googleapis.com" - * } + * reason: "ORG_RESTRICTION_VIOLATION" + * domain: "googleapis.com" + * metadata { + * "consumer":"projects/123456" + * "service": "pubsub.googleapis.com" + * } * } *
* @@ -722,12 +723,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "X-Goog-Allowed-Resources" request header. * * { - * reason: "ORG_RESTRICTION_HEADER_INVALID" - * domain: "googleapis.com" - * metadata { - * "consumer":"projects/123456" - * "service": "pubsub.googleapis.com" - * } + * reason: "ORG_RESTRICTION_HEADER_INVALID" + * domain: "googleapis.com" + * metadata { + * "consumer":"projects/123456" + * "service": "pubsub.googleapis.com" + * } * } *
* @@ -743,15 +744,15 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * The request is calling a service that is not visible to the consumer. * * Example of an ErrorInfo when the consumer "projects/123" contacting - * "pubsub.googleapis.com" service which is not visible to the consumer. + * "pubsub.googleapis.com" service which is not visible to the consumer. * - * { "reason": "SERVICE_NOT_VISIBLE", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "SERVICE_NOT_VISIBLE", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates the "pubsub.googleapis.com" is not visible to * "projects/123" (or it may not exist). @@ -769,13 +770,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the consumer "projects/123" fails to contact * "pubsub.googleapis.com" service because GCP access is suspended: * - * { "reason": "GCP_SUSPENDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "GCP_SUSPENDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates the associated GCP account has been suspended. *
@@ -793,13 +794,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when creating the Cloud Storage Bucket by * "projects/123" for service storage.googleapis.com: * - * { "reason": "LOCATION_POLICY_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * } - * } + * { "reason": "LOCATION_POLICY_VIOLATED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com", + * } + * } * * This response indicates creating the Cloud Storage Bucket in * "locations/asia-northeast3" violates at least one location policy. @@ -812,6 +813,15 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ErrorReason.class.getName()); + } /** * * @@ -831,13 +841,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the consumer "projects/123" contacting * "pubsub.googleapis.com" service which is disabled: * - * { "reason": "SERVICE_DISABLED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "SERVICE_DISABLED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates the "pubsub.googleapis.com" has been disabled in * "projects/123". @@ -856,13 +866,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "pubsub.googleapis.com" service because the associated billing account is * disabled: * - * { "reason": "BILLING_DISABLED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "BILLING_DISABLED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates the billing account associated has been disabled. * @@ -881,12 +891,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is contacting * "storage.googleapis.com" service with an invalid API key: * - * { "reason": "API_KEY_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * } - * } + * { "reason": "API_KEY_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * } + * } * * * API_KEY_INVALID = 3; @@ -903,13 +913,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because this service is restricted in the * API key: * - * { "reason": "API_KEY_SERVICE_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "API_KEY_SERVICE_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } * * * API_KEY_SERVICE_BLOCKED = 4; @@ -926,13 +936,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because the http referrer of the request * violates API key HTTP restrictions: * - * { "reason": "API_KEY_HTTP_REFERRER_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * } - * } + * { "reason": "API_KEY_HTTP_REFERRER_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com", + * } + * } * * * API_KEY_HTTP_REFERRER_BLOCKED = 7; @@ -949,13 +959,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because the caller IP of the request * violates API key IP address restrictions: * - * { "reason": "API_KEY_IP_ADDRESS_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * } - * } + * { "reason": "API_KEY_IP_ADDRESS_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com", + * } + * } * * * API_KEY_IP_ADDRESS_BLOCKED = 8; @@ -972,13 +982,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because the request from the Android apps * violates the API key Android application restrictions: * - * { "reason": "API_KEY_ANDROID_APP_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "API_KEY_ANDROID_APP_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } * * * API_KEY_ANDROID_APP_BLOCKED = 9; @@ -995,13 +1005,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "storage.googleapis.com" service because the request from the iOS apps * violates the API key iOS application restrictions: * - * { "reason": "API_KEY_IOS_APP_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "API_KEY_IOS_APP_BLOCKED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } * * * API_KEY_IOS_APP_BLOCKED = 13; @@ -1020,30 +1030,30 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "ReadsPerMinutePerProject" on the quota metric * "pubsub.googleapis.com/read_requests": * - * { "reason": "RATE_LIMIT_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com", - * "quota_metric": "pubsub.googleapis.com/read_requests", - * "quota_limit": "ReadsPerMinutePerProject" - * } - * } + * { "reason": "RATE_LIMIT_EXCEEDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com", + * "quota_metric": "pubsub.googleapis.com/read_requests", + * "quota_limit": "ReadsPerMinutePerProject" + * } + * } * * Example of an ErrorInfo when the consumer "projects/123" checks quota on * the service "dataflow.googleapis.com" and hits the organization quota * limit "DefaultRequestsPerMinutePerOrganization" on the metric * "dataflow.googleapis.com/default_requests". * - * { "reason": "RATE_LIMIT_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "dataflow.googleapis.com", - * "quota_metric": "dataflow.googleapis.com/default_requests", - * "quota_limit": "DefaultRequestsPerMinutePerOrganization" - * } - * } + * { "reason": "RATE_LIMIT_EXCEEDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "dataflow.googleapis.com", + * "quota_metric": "dataflow.googleapis.com/default_requests", + * "quota_limit": "DefaultRequestsPerMinutePerOrganization" + * } + * } * * * RATE_LIMIT_EXCEEDED = 5; @@ -1061,30 +1071,30 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * has reached the maximum value set for the quota limit "VMsPerProject" * on the quota metric "compute.googleapis.com/vms": * - * { "reason": "RESOURCE_QUOTA_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "compute.googleapis.com", - * "quota_metric": "compute.googleapis.com/vms", - * "quota_limit": "VMsPerProject" - * } - * } + * { "reason": "RESOURCE_QUOTA_EXCEEDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "compute.googleapis.com", + * "quota_metric": "compute.googleapis.com/vms", + * "quota_limit": "VMsPerProject" + * } + * } * * Example of an ErrorInfo when the consumer "projects/123" checks resource * quota on the service "dataflow.googleapis.com" and hits the organization * quota limit "jobs-per-organization" on the metric * "dataflow.googleapis.com/job_count". * - * { "reason": "RESOURCE_QUOTA_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "dataflow.googleapis.com", - * "quota_metric": "dataflow.googleapis.com/job_count", - * "quota_limit": "jobs-per-organization" - * } - * } + * { "reason": "RESOURCE_QUOTA_EXCEEDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "dataflow.googleapis.com", + * "quota_metric": "dataflow.googleapis.com/job_count", + * "quota_limit": "jobs-per-organization" + * } + * } * * * RESOURCE_QUOTA_EXCEEDED = 6; @@ -1102,14 +1112,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * container "projects/123" under a tax restricted region * "locations/asia-northeast3": * - * { "reason": "LOCATION_TAX_POLICY_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * "location": "locations/asia-northeast3" - * } - * } + * { "reason": "LOCATION_TAX_POLICY_VIOLATED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com", + * "location": "locations/asia-northeast3" + * } + * } * * This response indicates creating the Cloud Storage Bucket in * "locations/asia-northeast3" violates the location tax restriction. @@ -1130,13 +1140,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the caller is calling Cloud Storage service * with insufficient permissions on the user project: * - * { "reason": "USER_PROJECT_DENIED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "USER_PROJECT_DENIED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } * * * USER_PROJECT_DENIED = 11; @@ -1154,13 +1164,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when calling Cloud Storage service with the * suspended consumer "projects/123": * - * { "reason": "CONSUMER_SUSPENDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "CONSUMER_SUSPENDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } * * * CONSUMER_SUSPENDED = 12; @@ -1176,13 +1186,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when calling Cloud Storage service with the * invalid consumer "projects/123": * - * { "reason": "CONSUMER_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "CONSUMER_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } * * * CONSUMER_INVALID = 14; @@ -1203,14 +1213,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Cloud Storage service because the request is prohibited by the VPC Service * Controls. * - * { "reason": "SECURITY_POLICY_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "uid": "123456789abcde", - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "SECURITY_POLICY_VIOLATED", + * "domain": "googleapis.com", + * "metadata": { + * "uid": "123456789abcde", + * "consumer": "projects/123", + * "service": "storage.googleapis.com" + * } + * } * * * SECURITY_POLICY_VIOLATED = 15; @@ -1225,13 +1235,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is calling Cloud Storage service * with an expired access token: * - * { "reason": "ACCESS_TOKEN_EXPIRED", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } + * { "reason": "ACCESS_TOKEN_EXPIRED", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject" + * } + * } * * * ACCESS_TOKEN_EXPIRED = 16; @@ -1251,13 +1261,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is calling Cloud Storage service * with an access token that is missing required scopes: * - * { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } + * { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject" + * } + * } * * * ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17; @@ -1279,14 +1289,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * an access token that is associated with a disabled or deleted [service * account](http://cloud/iam/docs/service-accounts): * - * { "reason": "ACCOUNT_STATE_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject", - * "email": "user@123.iam.gserviceaccount.com" - * } - * } + * { "reason": "ACCOUNT_STATE_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject", + * "email": "user@123.iam.gserviceaccount.com" + * } + * } * * * ACCOUNT_STATE_INVALID = 18; @@ -1302,13 +1312,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is to the Cloud Storage API with * an unsupported token type. * - * { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } + * { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject" + * } + * } * * * ACCESS_TOKEN_TYPE_UNSUPPORTED = 19; @@ -1326,13 +1336,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is to the Cloud Storage API * without any authentication credentials. * - * { "reason": "CREDENTIALS_MISSING", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } + * { "reason": "CREDENTIALS_MISSING", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject" + * } + * } * * * CREDENTIALS_MISSING = 20; @@ -1351,14 +1361,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * but the offered resource project in the request in a bad format which can't * perform the ListFunctions method. * - * { "reason": "RESOURCE_PROJECT_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "cloudfunctions.googleapis.com", - * "method": - * "google.cloud.functions.v1.CloudFunctionsService.ListFunctions" - * } - * } + * { "reason": "RESOURCE_PROJECT_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "service": "cloudfunctions.googleapis.com", + * "method": + * "google.cloud.functions.v1.CloudFunctionsService.ListFunctions" + * } + * } * * * RESOURCE_PROJECT_INVALID = 21; @@ -1374,14 +1384,14 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the request is calling Cloud Storage service * with a SID cookie which can't be decoded. * - * { "reason": "SESSION_COOKIE_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject", - * "cookie": "SID" - * } - * } + * { "reason": "SESSION_COOKIE_INVALID", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject", + * "cookie": "SID" + * } + * } * * * SESSION_COOKIE_INVALID = 23; @@ -1399,13 +1409,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when access to Google Cloud Storage service is * blocked by the Google Workspace administrator: * - * { "reason": "USER_BLOCKED_BY_ADMIN", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject", - * } - * } + * { "reason": "USER_BLOCKED_BY_ADMIN", + * "domain": "googleapis.com", + * "metadata": { + * "service": "storage.googleapis.com", + * "method": "google.storage.v1.Storage.GetObject", + * } + * } * * * USER_BLOCKED_BY_ADMIN = 24; @@ -1423,13 +1433,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when access to Google Cloud Storage service is * restricted by Resource Usage Restriction policy: * - * { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/project-123", - * "service": "storage.googleapis.com" - * } - * } + * { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/project-123", + * "service": "storage.googleapis.com" + * } + * } * * * RESOURCE_USAGE_RESTRICTION_VIOLATED = 25; @@ -1448,13 +1458,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when access "pubsub.googleapis.com" service with * a request header of "x-goog-user-ip": * - * { "reason": "SYSTEM_PARAMETER_UNSUPPORTED", - * "domain": "googleapis.com", - * "metadata": { - * "service": "pubsub.googleapis.com" - * "parameter": "x-goog-user-ip" - * } - * } + * { "reason": "SYSTEM_PARAMETER_UNSUPPORTED", + * "domain": "googleapis.com", + * "metadata": { + * "service": "pubsub.googleapis.com" + * "parameter": "x-goog-user-ip" + * } + * } * * * SYSTEM_PARAMETER_UNSUPPORTED = 26; @@ -1472,12 +1482,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Org Restriction for "pubsub.googleapis.com" service. * * { - * reason: "ORG_RESTRICTION_VIOLATION" - * domain: "googleapis.com" - * metadata { - * "consumer":"projects/123456" - * "service": "pubsub.googleapis.com" - * } + * reason: "ORG_RESTRICTION_VIOLATION" + * domain: "googleapis.com" + * metadata { + * "consumer":"projects/123456" + * "service": "pubsub.googleapis.com" + * } * } * * @@ -1496,12 +1506,12 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * "X-Goog-Allowed-Resources" request header. * * { - * reason: "ORG_RESTRICTION_HEADER_INVALID" - * domain: "googleapis.com" - * metadata { - * "consumer":"projects/123456" - * "service": "pubsub.googleapis.com" - * } + * reason: "ORG_RESTRICTION_HEADER_INVALID" + * domain: "googleapis.com" + * metadata { + * "consumer":"projects/123456" + * "service": "pubsub.googleapis.com" + * } * } * * @@ -1517,15 +1527,15 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * The request is calling a service that is not visible to the consumer. * * Example of an ErrorInfo when the consumer "projects/123" contacting - * "pubsub.googleapis.com" service which is not visible to the consumer. + * "pubsub.googleapis.com" service which is not visible to the consumer. * - * { "reason": "SERVICE_NOT_VISIBLE", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "SERVICE_NOT_VISIBLE", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates the "pubsub.googleapis.com" is not visible to * "projects/123" (or it may not exist). @@ -1543,13 +1553,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when the consumer "projects/123" fails to contact * "pubsub.googleapis.com" service because GCP access is suspended: * - * { "reason": "GCP_SUSPENDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "GCP_SUSPENDED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates the associated GCP account has been suspended. * @@ -1567,13 +1577,13 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum { * Example of an ErrorInfo when creating the Cloud Storage Bucket by * "projects/123" for service storage.googleapis.com: * - * { "reason": "LOCATION_POLICY_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * } - * } + * { "reason": "LOCATION_POLICY_VIOLATED", + * "domain": "googleapis.com", + * "metadata": { + * "consumer": "projects/123", + * "service": "storage.googleapis.com", + * } + * } * * This response indicates creating the Cloud Storage Bucket in * "locations/asia-northeast3" violates at least one location policy. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java index dc2b9baa87..a8dc0b368b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ErrorReasonProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/error_reason.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class ErrorReasonProto { private ErrorReasonProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ErrorReasonProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -67,6 +78,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java index 0dd494aca9..ac5b62b89b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehavior.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/field_behavior.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -155,6 +156,15 @@ public enum FieldBehavior implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + FieldBehavior.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java index 7f330a7118..7b352bade8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldBehaviorProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/field_behavior.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class FieldBehaviorProto { private FieldBehaviorProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + FieldBehaviorProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); } @@ -40,13 +51,13 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r * * Examples: * - * string name = 1 [(google.api.field_behavior) = REQUIRED]; - * State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - * google.protobuf.Duration ttl = 1 - * [(google.api.field_behavior) = INPUT_ONLY]; - * google.protobuf.Timestamp expire_time = 1 - * [(google.api.field_behavior) = OUTPUT_ONLY, - * (google.api.field_behavior) = IMMUTABLE]; + * string name = 1 [(google.api.field_behavior) = REQUIRED]; + * State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + * google.protobuf.Duration ttl = 1 + * [(google.api.field_behavior) = INPUT_ONLY]; + * google.protobuf.Timestamp expire_time = 1 + * [(google.api.field_behavior) = OUTPUT_ONLY, + * (google.api.field_behavior) = IMMUTABLE]; * * * extend .google.protobuf.FieldOptions { ... } @@ -86,6 +97,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.DescriptorProtos.getDescriptor(), }); fieldBehavior.internalInit(descriptor.getExtensions().get(0)); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DescriptorProtos.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java index 79ac8486a6..ef171b33c7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/field_info.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.FieldInfo} */ -public final class FieldInfo extends com.google.protobuf.GeneratedMessageV3 +public final class FieldInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.FieldInfo) FieldInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + FieldInfo.class.getName()); + } // Use FieldInfo.newBuilder() to construct. - private FieldInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private FieldInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,18 +53,12 @@ private FieldInfo() { format_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FieldInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.FieldInfoProto.internal_static_google_api_FieldInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.FieldInfoProto.internal_static_google_api_FieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -137,6 +142,15 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Format.class.getName()); + } /** * * @@ -425,38 +439,38 @@ public static com.google.api.FieldInfo parseFrom( public static com.google.api.FieldInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.FieldInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.FieldInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.FieldInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.FieldInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.FieldInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -479,7 +493,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -492,7 +506,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.FieldInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.FieldInfo) com.google.api.FieldInfoOrBuilder { @@ -501,7 +515,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.FieldInfoProto.internal_static_google_api_FieldInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -511,7 +525,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.FieldInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -559,39 +573,6 @@ private void buildPartial0(com.google.api.FieldInfo result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.FieldInfo) { @@ -757,17 +738,6 @@ public Builder clearFormat() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.FieldInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java index fc995060b2..a713268874 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/field_info.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface FieldInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java index 6d6a5e2116..e056a8b2c9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldInfoProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/field_info.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class FieldInfoProto { private FieldInfoProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + FieldInfoProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.api.FieldInfoProto.fieldInfo); } @@ -39,12 +50,12 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r * * Examples: * - * string request_id = 1 [(google.api.field_info).format = UUID4]; - * string old_ip_address = 2 [(google.api.field_info).format = IPV4]; - * string new_ip_address = 3 [(google.api.field_info).format = IPV6]; - * string actual_ip_address = 4 [ - * (google.api.field_info).format = IPV4_OR_IPV6 - * ]; + * string request_id = 1 [(google.api.field_info).format = UUID4]; + * string old_ip_address = 2 [(google.api.field_info).format = IPV4]; + * string new_ip_address = 3 [(google.api.field_info).format = IPV6]; + * string actual_ip_address = 4 [ + * (google.api.field_info).format = IPV4_OR_IPV6 + * ]; * * * extend .google.protobuf.FieldOptions { ... } @@ -57,7 +68,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_FieldInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_FieldInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -88,12 +99,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_FieldInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_FieldInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_FieldInfo_descriptor, new java.lang.String[] { "Format", }); fieldInfo.internalInit(descriptor.getExtensions().get(0)); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DescriptorProtos.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java index 9955780890..f080b52b43 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicy.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/policy.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -35,13 +36,23 @@ * * Protobuf type {@code google.api.FieldPolicy} */ -public final class FieldPolicy extends com.google.protobuf.GeneratedMessageV3 +public final class FieldPolicy extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.FieldPolicy) FieldPolicyOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + FieldPolicy.class.getName()); + } // Use FieldPolicy.newBuilder() to construct. - private FieldPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private FieldPolicy(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -51,18 +62,12 @@ private FieldPolicy() { resourceType_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FieldPolicy(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.PolicyProto.internal_static_google_api_FieldPolicy_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.PolicyProto.internal_static_google_api_FieldPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -260,14 +265,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourcePermission_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourcePermission_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourcePermission_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, resourcePermission_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, resourceType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, resourceType_); } getUnknownFields().writeTo(output); } @@ -278,14 +283,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourcePermission_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourcePermission_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourcePermission_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, resourcePermission_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resourceType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, resourceType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -363,38 +368,38 @@ public static com.google.api.FieldPolicy parseFrom( public static com.google.api.FieldPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.FieldPolicy parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.FieldPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.FieldPolicy parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.FieldPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.FieldPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -417,7 +422,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -437,7 +442,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.FieldPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.FieldPolicy) com.google.api.FieldPolicyOrBuilder { @@ -446,7 +451,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.PolicyProto.internal_static_google_api_FieldPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -456,7 +461,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.FieldPolicy.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -512,39 +517,6 @@ private void buildPartial0(com.google.api.FieldPolicy result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.FieldPolicy) { @@ -1013,17 +985,6 @@ public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.FieldPolicy) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java index def6031e76..c107e1e7ce 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/FieldPolicyOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/policy.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface FieldPolicyOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java index 63375539f9..ede2f0454d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,30 +29,34 @@ * * Protobuf type {@code google.api.GoSettings} */ -public final class GoSettings extends com.google.protobuf.GeneratedMessageV3 +public final class GoSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.GoSettings) GoSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + GoSettings.class.getName()); + } // Use GoSettings.newBuilder() to construct. - private GoSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GoSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private GoSettings() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GoSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_GoSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_GoSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -209,38 +214,38 @@ public static com.google.api.GoSettings parseFrom( public static com.google.api.GoSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.GoSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.GoSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.GoSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.GoSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.GoSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -263,7 +268,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -276,7 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.GoSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.GoSettings) com.google.api.GoSettingsOrBuilder { @@ -285,7 +290,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_GoSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -297,13 +302,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommonFieldBuilder(); } } @@ -359,39 +364,6 @@ private void buildPartial0(com.google.api.GoSettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.GoSettings) { @@ -459,7 +431,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.api.CommonLanguageSettings common_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> @@ -626,14 +598,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * * .google.api.CommonLanguageSettings common = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( @@ -643,17 +615,6 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { return commonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.GoSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java index 25b55e090b..aa91c4afdb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/GoSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface GoSettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java index 114a695464..7cf18b2c0b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Http.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/http.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,13 +31,23 @@ * * Protobuf type {@code google.api.Http} */ -public final class Http extends com.google.protobuf.GeneratedMessageV3 +public final class Http extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Http) HttpOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Http.class.getName()); + } // Use Http.newBuilder() to construct. - private Http(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Http(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +55,12 @@ private Http() { rules_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Http(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.HttpProto.internal_static_google_api_Http_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.HttpProto.internal_static_google_api_Http_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -277,38 +282,38 @@ public static com.google.api.Http parseFrom( public static com.google.api.Http parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Http parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Http parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Http parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Http parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Http parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -331,7 +336,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -346,7 +351,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Http} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Http) com.google.api.HttpOrBuilder { @@ -355,7 +360,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.HttpProto.internal_static_google_api_Http_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -365,7 +370,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Http.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -433,39 +438,6 @@ private void buildPartial0(com.google.api.Http result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Http) { @@ -497,7 +469,7 @@ public Builder mergeFrom(com.google.api.Http other) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { @@ -580,7 +552,7 @@ private void ensureRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder> @@ -931,14 +903,14 @@ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder>( @@ -1016,17 +988,6 @@ public Builder clearFullyDecodeReservedExpansion() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Http) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java index baf85505db..e5a4cc44f0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBody.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/httpbody.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -37,32 +38,32 @@ * * Example: * - * message GetResourceRequest { - * // A unique request id. - * string request_id = 1; + * message GetResourceRequest { + * // A unique request id. + * string request_id = 1; * - * // The raw HTTP body is bound to this field. - * google.api.HttpBody http_body = 2; + * // The raw HTTP body is bound to this field. + * google.api.HttpBody http_body = 2; * - * } + * } * - * service ResourceService { - * rpc GetResource(GetResourceRequest) - * returns (google.api.HttpBody); - * rpc UpdateResource(google.api.HttpBody) - * returns (google.protobuf.Empty); + * service ResourceService { + * rpc GetResource(GetResourceRequest) + * returns (google.api.HttpBody); + * rpc UpdateResource(google.api.HttpBody) + * returns (google.protobuf.Empty); * - * } + * } * * Example with streaming methods: * - * service CaldavService { - * rpc GetCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); - * rpc UpdateCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); + * service CaldavService { + * rpc GetCalendar(stream google.api.HttpBody) + * returns (stream google.api.HttpBody); + * rpc UpdateCalendar(stream google.api.HttpBody) + * returns (stream google.api.HttpBody); * - * } + * } * * Use of this type only changes how the request and response bodies are * handled, all other features will continue to work unchanged. @@ -70,13 +71,23 @@ * * Protobuf type {@code google.api.HttpBody} */ -public final class HttpBody extends com.google.protobuf.GeneratedMessageV3 +public final class HttpBody extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.HttpBody) HttpBodyOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + HttpBody.class.getName()); + } // Use HttpBody.newBuilder() to construct. - private HttpBody(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private HttpBody(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -86,18 +97,12 @@ private HttpBody() { extensions_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new HttpBody(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.HttpBodyProto.internal_static_google_api_HttpBody_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.HttpBodyProto.internal_static_google_api_HttpBody_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -262,8 +267,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, contentType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(contentType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, contentType_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); @@ -280,8 +285,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, contentType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(contentType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, contentType_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, data_); @@ -367,38 +372,38 @@ public static com.google.api.HttpBody parseFrom( public static com.google.api.HttpBody parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.HttpBody parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.HttpBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.HttpBody parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.HttpBody parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.HttpBody parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -421,7 +426,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -443,32 +448,32 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * message GetResourceRequest { - * // A unique request id. - * string request_id = 1; + * message GetResourceRequest { + * // A unique request id. + * string request_id = 1; * - * // The raw HTTP body is bound to this field. - * google.api.HttpBody http_body = 2; + * // The raw HTTP body is bound to this field. + * google.api.HttpBody http_body = 2; * - * } + * } * - * service ResourceService { - * rpc GetResource(GetResourceRequest) - * returns (google.api.HttpBody); - * rpc UpdateResource(google.api.HttpBody) - * returns (google.protobuf.Empty); + * service ResourceService { + * rpc GetResource(GetResourceRequest) + * returns (google.api.HttpBody); + * rpc UpdateResource(google.api.HttpBody) + * returns (google.protobuf.Empty); * - * } + * } * * Example with streaming methods: * - * service CaldavService { - * rpc GetCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); - * rpc UpdateCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); + * service CaldavService { + * rpc GetCalendar(stream google.api.HttpBody) + * returns (stream google.api.HttpBody); + * rpc UpdateCalendar(stream google.api.HttpBody) + * returns (stream google.api.HttpBody); * - * } + * } * * Use of this type only changes how the request and response bodies are * handled, all other features will continue to work unchanged. @@ -476,7 +481,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.HttpBody} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.HttpBody) com.google.api.HttpBodyOrBuilder { @@ -485,7 +490,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.HttpBodyProto.internal_static_google_api_HttpBody_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -495,7 +500,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.HttpBody.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -567,39 +572,6 @@ private void buildPartial0(com.google.api.HttpBody result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.HttpBody) { @@ -639,7 +611,7 @@ public Builder mergeFrom(com.google.api.HttpBody other) { extensions_ = other.extensions_; bitField0_ = (bitField0_ & ~0x00000004); extensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getExtensionsFieldBuilder() : null; } else { @@ -886,7 +858,7 @@ private void ensureExtensionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -1220,14 +1192,14 @@ public java.util.List getExtensionsBuilderList( return getExtensionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getExtensionsFieldBuilder() { if (extensionsBuilder_ == null) { extensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( @@ -1237,17 +1209,6 @@ public java.util.List getExtensionsBuilderList( return extensionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.HttpBody) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java index db1839ca72..581c911055 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/httpbody.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface HttpBodyOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java index fbfc8a69cd..4480c5c5f5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpBodyProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/httpbody.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class HttpBodyProto { private HttpBodyProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + HttpBodyProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_HttpBody_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_HttpBody_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -57,11 +68,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_HttpBody_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_HttpBody_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_HttpBody_descriptor, new java.lang.String[] { "ContentType", "Data", "Extensions", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.AnyProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java index a295480b55..ed6ffddeea 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/http.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface HttpOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java index 96d6fe4709..f4e9b9bec9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/http.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class HttpProto { private HttpProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + HttpProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,15 +41,15 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Http_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Http_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_HttpRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_HttpRule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_CustomHttpPattern_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_CustomHttpPattern_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -69,14 +80,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Http_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Http_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Http_descriptor, new java.lang.String[] { "Rules", "FullyDecodeReservedExpansion", }); internal_static_google_api_HttpRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_HttpRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_HttpRule_descriptor, new java.lang.String[] { "Selector", @@ -94,11 +105,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_CustomHttpPattern_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_api_CustomHttpPattern_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_CustomHttpPattern_descriptor, new java.lang.String[] { "Kind", "Path", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java index 8c8e56647c..c0c23e7799 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/http.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -48,19 +49,19 @@ * * Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } * * This enables an HTTP REST to gRPC mapping as below: * @@ -72,21 +73,21 @@ * automatically become HTTP query parameters if there is no HTTP request body. * For example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } * * This enables a HTTP JSON to RPC mapping as below: * @@ -107,18 +108,18 @@ * specifies the mapping. Consider a REST update method on the * message resource collection: * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } * * The following HTTP JSON to RPC mapping is enabled, where the * representation of the JSON in the request body is determined by @@ -134,18 +135,18 @@ * request body. This enables the following alternative definition of * the update method: * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } * * * The following HTTP JSON to RPC mapping is enabled: @@ -164,20 +165,20 @@ * It is possible to define multiple HTTP methods for one RPC by using * the `additional_bindings` option. Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } * * This enables the following two alternative HTTP JSON to RPC mappings: * @@ -190,30 +191,30 @@ * ## Rules for HTTP mapping * * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They - * are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL - * query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP - * request body, all - * fields are passed via URL path and URL query parameters. + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They + * are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL + * query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP + * request body, all + * fields are passed via URL path and URL query parameters. * * ### Path template syntax * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; * * The syntax `*` matches a single URL path segment. The syntax `**` matches * zero or more URL path segments, which must be the last part of the URL path @@ -262,11 +263,11 @@ * * Example: * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} * * ## Special notes * @@ -299,13 +300,23 @@ * * Protobuf type {@code google.api.HttpRule} */ -public final class HttpRule extends com.google.protobuf.GeneratedMessageV3 +public final class HttpRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.HttpRule) HttpRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + HttpRule.class.getName()); + } // Use HttpRule.newBuilder() to construct. - private HttpRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private HttpRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -316,18 +327,12 @@ private HttpRule() { additionalBindings_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new HttpRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.HttpProto.internal_static_google_api_HttpRule_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.HttpProto.internal_static_google_api_HttpRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1082,26 +1087,26 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } if (patternCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pattern_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, pattern_); } if (patternCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pattern_); + com.google.protobuf.GeneratedMessage.writeString(output, 3, pattern_); } if (patternCase_ == 4) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pattern_); + com.google.protobuf.GeneratedMessage.writeString(output, 4, pattern_); } if (patternCase_ == 5) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pattern_); + com.google.protobuf.GeneratedMessage.writeString(output, 5, pattern_); } if (patternCase_ == 6) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pattern_); + com.google.protobuf.GeneratedMessage.writeString(output, 6, pattern_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, body_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(body_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, body_); } if (patternCase_ == 8) { output.writeMessage(8, (com.google.api.CustomHttpPattern) pattern_); @@ -1109,8 +1114,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < additionalBindings_.size(); i++) { output.writeMessage(11, additionalBindings_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseBody_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, responseBody_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(responseBody_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, responseBody_); } getUnknownFields().writeTo(output); } @@ -1121,26 +1126,26 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } if (patternCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pattern_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pattern_); } if (patternCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pattern_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pattern_); } if (patternCase_ == 4) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pattern_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, pattern_); } if (patternCase_ == 5) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pattern_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, pattern_); } if (patternCase_ == 6) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pattern_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, pattern_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(body_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, body_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(body_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, body_); } if (patternCase_ == 8) { size += @@ -1151,8 +1156,8 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, additionalBindings_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseBody_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, responseBody_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(responseBody_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, responseBody_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1286,38 +1291,38 @@ public static com.google.api.HttpRule parseFrom( public static com.google.api.HttpRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.HttpRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.HttpRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.HttpRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.HttpRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.HttpRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1340,7 +1345,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1373,19 +1378,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/{name=messages/*}" + * }; + * } + * } + * message GetMessageRequest { + * string name = 1; // Mapped to URL path. + * } + * message Message { + * string text = 1; // The resource content. + * } * * This enables an HTTP REST to gRPC mapping as below: * @@ -1397,21 +1402,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * automatically become HTTP query parameters if there is no HTTP request body. * For example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get:"/v1/messages/{message_id}" + * }; + * } + * } + * message GetMessageRequest { + * message SubMessage { + * string subfield = 1; + * } + * string message_id = 1; // Mapped to URL path. + * int64 revision = 2; // Mapped to URL query parameter `revision`. + * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. + * } * * This enables a HTTP JSON to RPC mapping as below: * @@ -1432,18 +1437,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * specifies the mapping. Consider a REST update method on the * message resource collection: * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } + * service Messaging { + * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "message" + * }; + * } + * } + * message UpdateMessageRequest { + * string message_id = 1; // mapped to the URL + * Message message = 2; // mapped to the body + * } * * The following HTTP JSON to RPC mapping is enabled, where the * representation of the JSON in the request body is determined by @@ -1459,18 +1464,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * request body. This enables the following alternative definition of * the update method: * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } + * service Messaging { + * rpc UpdateMessage(Message) returns (Message) { + * option (google.api.http) = { + * patch: "/v1/messages/{message_id}" + * body: "*" + * }; + * } + * } + * message Message { + * string message_id = 1; + * string text = 2; + * } * * * The following HTTP JSON to RPC mapping is enabled: @@ -1489,20 +1494,20 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * It is possible to define multiple HTTP methods for one RPC by using * the `additional_bindings` option. Example: * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } + * service Messaging { + * rpc GetMessage(GetMessageRequest) returns (Message) { + * option (google.api.http) = { + * get: "/v1/messages/{message_id}" + * additional_bindings { + * get: "/v1/users/{user_id}/messages/{message_id}" + * } + * }; + * } + * } + * message GetMessageRequest { + * string message_id = 1; + * string user_id = 2; + * } * * This enables the following two alternative HTTP JSON to RPC mappings: * @@ -1515,30 +1520,30 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * ## Rules for HTTP mapping * * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They - * are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL - * query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP - * request body, all - * fields are passed via URL path and URL query parameters. + * message) are classified into three categories: + * - Fields referred by the path template. They are passed via the URL path. + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They + * are passed via the HTTP + * request body. + * - All other fields are passed via the URL query parameters, and the + * parameter name is the field path in the request message. A repeated + * field can be represented as multiple query parameters under the same + * name. + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL + * query parameter, all fields + * are passed via URL path and HTTP request body. + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP + * request body, all + * fields are passed via URL path and URL query parameters. * * ### Path template syntax * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; + * Template = "/" Segments [ Verb ] ; + * Segments = Segment { "/" Segment } ; + * Segment = "*" | "**" | LITERAL | Variable ; + * Variable = "{" FieldPath [ "=" Segments ] "}" ; + * FieldPath = IDENT { "." IDENT } ; + * Verb = ":" LITERAL ; * * The syntax `*` matches a single URL path segment. The syntax `**` matches * zero or more URL path segments, which must be the last part of the URL path @@ -1587,11 +1592,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} + * http: + * rules: + * # Selects a gRPC method and applies HttpRule to it. + * - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} * * ## Special notes * @@ -1624,7 +1629,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.HttpRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.HttpRule) com.google.api.HttpRuleOrBuilder { @@ -1633,7 +1638,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.HttpProto.internal_static_google_api_HttpRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1643,7 +1648,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.HttpRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1733,39 +1738,6 @@ private void buildPartialOneofs(com.google.api.HttpRule result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.HttpRule) { @@ -1812,7 +1784,7 @@ public Builder mergeFrom(com.google.api.HttpRule other) { additionalBindings_ = other.additionalBindings_; bitField0_ = (bitField0_ & ~0x00000200); additionalBindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAdditionalBindingsFieldBuilder() : null; } else { @@ -2793,7 +2765,7 @@ public Builder setPatchBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CustomHttpPattern, com.google.api.CustomHttpPattern.Builder, com.google.api.CustomHttpPatternOrBuilder> @@ -3004,7 +2976,7 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() { * * .google.api.CustomHttpPattern custom = 8; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CustomHttpPattern, com.google.api.CustomHttpPattern.Builder, com.google.api.CustomHttpPatternOrBuilder> @@ -3014,7 +2986,7 @@ public com.google.api.CustomHttpPatternOrBuilder getCustomOrBuilder() { pattern_ = com.google.api.CustomHttpPattern.getDefaultInstance(); } customBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CustomHttpPattern, com.google.api.CustomHttpPattern.Builder, com.google.api.CustomHttpPatternOrBuilder>( @@ -3298,7 +3270,7 @@ private void ensureAdditionalBindingsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder> @@ -3655,14 +3627,14 @@ public java.util.List getAdditionalBindingsBuil return getAdditionalBindingsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder> getAdditionalBindingsFieldBuilder() { if (additionalBindingsBuilder_ == null) { additionalBindingsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.HttpRule, com.google.api.HttpRule.Builder, com.google.api.HttpRuleOrBuilder>( @@ -3675,17 +3647,6 @@ public java.util.List getAdditionalBindingsBuil return additionalBindingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.HttpRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java index 6d2c1677e4..ec01174692 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/HttpRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/http.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface HttpRuleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java index e51fdcf454..dea70c181d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.JavaSettings} */ -public final class JavaSettings extends com.google.protobuf.GeneratedMessageV3 +public final class JavaSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.JavaSettings) JavaSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + JavaSettings.class.getName()); + } // Use JavaSettings.newBuilder() to construct. - private JavaSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private JavaSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,12 +53,6 @@ private JavaSettings() { libraryPackage_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new JavaSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_JavaSettings_descriptor; } @@ -65,7 +70,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_JavaSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -89,9 +94,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -122,9 +127,9 @@ public java.lang.String getLibraryPackage() { * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -185,11 +190,11 @@ public int getServiceClassNamesCount() { * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -220,11 +225,11 @@ public java.util.Map getServiceClassNames() * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -246,11 +251,11 @@ public java.util.Map getServiceClassNamesMap * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -279,11 +284,11 @@ public java.util.Map getServiceClassNamesMap * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -360,10 +365,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(libraryPackage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, libraryPackage_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(libraryPackage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, libraryPackage_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetServiceClassNames(), ServiceClassNamesDefaultEntryHolder.defaultEntry, @@ -380,8 +385,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(libraryPackage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, libraryPackage_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(libraryPackage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, libraryPackage_); } for (java.util.Map.Entry entry : internalGetServiceClassNames().getMap().entrySet()) { @@ -479,38 +484,38 @@ public static com.google.api.JavaSettings parseFrom( public static com.google.api.JavaSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.JavaSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.JavaSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.JavaSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.JavaSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.JavaSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -533,7 +538,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -546,7 +551,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.JavaSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.JavaSettings) com.google.api.JavaSettingsOrBuilder { @@ -577,7 +582,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_JavaSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -589,13 +594,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommonFieldBuilder(); } } @@ -660,39 +665,6 @@ private void buildPartial0(com.google.api.JavaSettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.JavaSettings) { @@ -798,9 +770,9 @@ public Builder mergeFrom( * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -830,9 +802,9 @@ public java.lang.String getLibraryPackage() { * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -862,9 +834,9 @@ public com.google.protobuf.ByteString getLibraryPackageBytes() { * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -893,9 +865,9 @@ public Builder setLibraryPackage(java.lang.String value) { * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -920,9 +892,9 @@ public Builder clearLibraryPackage() { * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -983,11 +955,11 @@ public int getServiceClassNamesCount() { * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -1018,11 +990,11 @@ public java.util.Map getServiceClassNames() * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -1044,11 +1016,11 @@ public java.util.Map getServiceClassNamesMap * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -1078,11 +1050,11 @@ public java.util.Map getServiceClassNamesMap * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -1118,11 +1090,11 @@ public Builder clearServiceClassNames() { * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -1153,11 +1125,11 @@ public java.util.Map getMutableServiceClassN * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -1186,11 +1158,11 @@ public Builder putServiceClassNames(java.lang.String key, java.lang.String value * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -1203,7 +1175,7 @@ public Builder putAllServiceClassNames( } private com.google.api.CommonLanguageSettings common_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> @@ -1370,14 +1342,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * * .google.api.CommonLanguageSettings common = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( @@ -1387,17 +1359,6 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { return commonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.JavaSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java index e2ed556e5f..a3445f8d2a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JavaSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface JavaSettingsOrBuilder @@ -36,9 +37,9 @@ public interface JavaSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -58,9 +59,9 @@ public interface JavaSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * library_package: com.google.cloud.pubsub.v1 + * publishing: + * java_settings: + * library_package: com.google.cloud.pubsub.v1 * * * string library_package = 1; @@ -82,11 +83,11 @@ public interface JavaSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -105,11 +106,11 @@ public interface JavaSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -131,11 +132,11 @@ public interface JavaSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -154,11 +155,11 @@ public interface JavaSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; @@ -181,11 +182,11 @@ java.lang.String getServiceClassNamesOrDefault( * * Example of a YAML configuration:: * - * publishing: - * java_settings: - * service_class_names: - * - google.pubsub.v1.Publisher: TopicAdmin - * - google.pubsub.v1.Subscriber: SubscriptionAdmin + * publishing: + * java_settings: + * service_class_names: + * - google.pubsub.v1.Publisher: TopicAdmin + * - google.pubsub.v1.Subscriber: SubscriptionAdmin * * * map<string, string> service_class_names = 2; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java index 1e09f2c725..0a30d02e63 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocation.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.JwtLocation} */ -public final class JwtLocation extends com.google.protobuf.GeneratedMessageV3 +public final class JwtLocation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.JwtLocation) JwtLocationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + JwtLocation.class.getName()); + } // Use JwtLocation.newBuilder() to construct. - private JwtLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private JwtLocation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,18 +53,12 @@ private JwtLocation() { valuePrefix_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new JwtLocation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_JwtLocation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_JwtLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -402,16 +407,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (inCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, in_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, in_); } if (inCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, in_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, in_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(valuePrefix_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, valuePrefix_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(valuePrefix_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, valuePrefix_); } if (inCase_ == 4) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, in_); + com.google.protobuf.GeneratedMessage.writeString(output, 4, in_); } getUnknownFields().writeTo(output); } @@ -423,16 +428,16 @@ public int getSerializedSize() { size = 0; if (inCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, in_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, in_); } if (inCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, in_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, in_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(valuePrefix_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, valuePrefix_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(valuePrefix_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, valuePrefix_); } if (inCase_ == 4) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, in_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, in_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -534,38 +539,38 @@ public static com.google.api.JwtLocation parseFrom( public static com.google.api.JwtLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.JwtLocation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.JwtLocation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.JwtLocation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.JwtLocation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.JwtLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -588,7 +593,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -601,7 +606,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.JwtLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.JwtLocation) com.google.api.JwtLocationOrBuilder { @@ -610,7 +615,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_JwtLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -620,7 +625,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.JwtLocation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -676,39 +681,6 @@ private void buildPartialOneofs(com.google.api.JwtLocation result) { result.in_ = this.in_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.JwtLocation) { @@ -1382,17 +1354,6 @@ public Builder setValuePrefixBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.JwtLocation) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java index b67d4ebdd0..34b2e3236f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/JwtLocationOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface JwtLocationOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java index 3211bf7ad4..652043f09a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptor.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/label.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.LabelDescriptor} */ -public final class LabelDescriptor extends com.google.protobuf.GeneratedMessageV3 +public final class LabelDescriptor extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.LabelDescriptor) LabelDescriptorOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LabelDescriptor.class.getName()); + } // Use LabelDescriptor.newBuilder() to construct. - private LabelDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LabelDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +55,12 @@ private LabelDescriptor() { description_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LabelDescriptor(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.LabelProto.internal_static_google_api_LabelDescriptor_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.LabelProto.internal_static_google_api_LabelDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -105,6 +110,15 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ValueType.class.getName()); + } /** * * @@ -370,14 +384,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); } if (valueType_ != com.google.api.LabelDescriptor.ValueType.STRING.getNumber()) { output.writeEnum(2, valueType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } getUnknownFields().writeTo(output); } @@ -388,14 +402,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); } if (valueType_ != com.google.api.LabelDescriptor.ValueType.STRING.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, valueType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -473,38 +487,38 @@ public static com.google.api.LabelDescriptor parseFrom( public static com.google.api.LabelDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.LabelDescriptor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.LabelDescriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.LabelDescriptor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.LabelDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.LabelDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -527,7 +541,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -540,7 +554,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.LabelDescriptor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.LabelDescriptor) com.google.api.LabelDescriptorOrBuilder { @@ -549,7 +563,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.LabelProto.internal_static_google_api_LabelDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -559,7 +573,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.LabelDescriptor.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -615,39 +629,6 @@ private void buildPartial0(com.google.api.LabelDescriptor result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.LabelDescriptor) { @@ -1038,17 +1019,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.LabelDescriptor) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java index fbf990f9d0..c96ba6285f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelDescriptorOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/label.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface LabelDescriptorOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java index bbcd02da3a..9a30402665 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LabelProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/label.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class LabelProto { private LabelProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LabelProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_LabelDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_LabelDescriptor_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -56,11 +67,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_LabelDescriptor_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_LabelDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_LabelDescriptor_descriptor, new java.lang.String[] { "Key", "ValueType", "Description", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java index 641b04eb72..168a64ec71 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStage.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/launch_stage.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -134,6 +135,15 @@ public enum LaunchStage implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LaunchStage.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java index 51297cf627..ee9dbe465e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LaunchStageProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/launch_stage.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class LaunchStageProto { private LaunchStageProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LaunchStageProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -48,6 +59,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java index 160bc301f7..a0b0ac7aa4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptor.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -25,23 +26,33 @@ *
  * A description of a log type. Example in YAML format:
  *
- *     - name: library.googleapis.com/activity_history
- *       description: The history of borrowing and returning library items.
- *       display_name: Activity
- *       labels:
- *       - key: /customer_id
- *         description: Identifier of a library customer
+ * - name: library.googleapis.com/activity_history
+ * description: The history of borrowing and returning library items.
+ * display_name: Activity
+ * labels:
+ * - key: /customer_id
+ * description: Identifier of a library customer
  * 
* * Protobuf type {@code google.api.LogDescriptor} */ -public final class LogDescriptor extends com.google.protobuf.GeneratedMessageV3 +public final class LogDescriptor extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.LogDescriptor) LogDescriptorOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LogDescriptor.class.getName()); + } // Use LogDescriptor.newBuilder() to construct. - private LogDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -52,18 +63,12 @@ private LogDescriptor() { displayName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogDescriptor(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.LogProto.internal_static_google_api_LogDescriptor_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.LogProto.internal_static_google_api_LogDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -328,17 +333,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } for (int i = 0; i < labels_.size(); i++) { output.writeMessage(2, labels_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, displayName_); } getUnknownFields().writeTo(output); } @@ -349,17 +354,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } for (int i = 0; i < labels_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, displayName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -442,38 +447,38 @@ public static com.google.api.LogDescriptor parseFrom( public static com.google.api.LogDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.LogDescriptor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.LogDescriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.LogDescriptor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.LogDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.LogDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -496,7 +501,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -506,17 +511,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * A description of a log type. Example in YAML format:
    *
-   *     - name: library.googleapis.com/activity_history
-   *       description: The history of borrowing and returning library items.
-   *       display_name: Activity
-   *       labels:
-   *       - key: /customer_id
-   *         description: Identifier of a library customer
+   * - name: library.googleapis.com/activity_history
+   * description: The history of borrowing and returning library items.
+   * display_name: Activity
+   * labels:
+   * - key: /customer_id
+   * description: Identifier of a library customer
    * 
* * Protobuf type {@code google.api.LogDescriptor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.LogDescriptor) com.google.api.LogDescriptorOrBuilder { @@ -525,7 +530,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.LogProto.internal_static_google_api_LogDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -535,7 +540,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.LogDescriptor.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -611,39 +616,6 @@ private void buildPartial0(com.google.api.LogDescriptor result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.LogDescriptor) { @@ -680,7 +652,7 @@ public Builder mergeFrom(com.google.api.LogDescriptor other) { labels_ = other.labels_; bitField0_ = (bitField0_ & ~0x00000002); labelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLabelsFieldBuilder() : null; } else { @@ -904,7 +876,7 @@ private void ensureLabelsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> @@ -1259,14 +1231,14 @@ public java.util.List getLabelsBuilderLi return getLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> getLabelsFieldBuilder() { if (labelsBuilder_ == null) { labelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>( @@ -1498,17 +1470,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.LogDescriptor) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java index 97067a2b92..b99af892de 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogDescriptorOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface LogDescriptorOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java index d6604a6cef..0e3157534b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LogProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class LogProto { private LogProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LogProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_LogDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_LogDescriptor_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -58,11 +69,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_LogDescriptor_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_LogDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_LogDescriptor_descriptor, new java.lang.String[] { "Name", "Labels", "Description", "DisplayName", }); + descriptor.resolveAllFeaturesImmutable(); com.google.api.LabelProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java index 3acf046ac7..5db50b00a6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Logging.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/logging.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,39 +31,49 @@ * log is sent to both the producer and consumer projects, whereas the * `purchase_history` log is only sent to the producer project. * - * monitored_resources: - * - type: library.googleapis.com/branch - * labels: - * - key: /city - * description: The city where the library branch is located in. - * - key: /name - * description: The name of the branch. - * logs: - * - name: activity_history - * labels: - * - key: /customer_id - * - name: purchase_history - * logging: - * producer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history - * - purchase_history - * consumer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history + * monitored_resources: + * - type: library.googleapis.com/branch + * labels: + * - key: /city + * description: The city where the library branch is located in. + * - key: /name + * description: The name of the branch. + * logs: + * - name: activity_history + * labels: + * - key: /customer_id + * - name: purchase_history + * logging: + * producer_destinations: + * - monitored_resource: library.googleapis.com/branch + * logs: + * - activity_history + * - purchase_history + * consumer_destinations: + * - monitored_resource: library.googleapis.com/branch + * logs: + * - activity_history * * * Protobuf type {@code google.api.Logging} */ -public final class Logging extends com.google.protobuf.GeneratedMessageV3 +public final class Logging extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Logging) LoggingOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Logging.class.getName()); + } // Use Logging.newBuilder() to construct. - private Logging(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Logging(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -71,18 +82,12 @@ private Logging() { consumerDestinations_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Logging(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.LoggingProto.internal_static_google_api_Logging_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.LoggingProto.internal_static_google_api_Logging_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -196,13 +201,23 @@ public interface LoggingDestinationOrBuilder * * Protobuf type {@code google.api.Logging.LoggingDestination} */ - public static final class LoggingDestination extends com.google.protobuf.GeneratedMessageV3 + public static final class LoggingDestination extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Logging.LoggingDestination) LoggingDestinationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LoggingDestination.class.getName()); + } // Use LoggingDestination.newBuilder() to construct. - private LoggingDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LoggingDestination(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -211,19 +226,13 @@ private LoggingDestination() { logs_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LoggingDestination(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.LoggingProto .internal_static_google_api_Logging_LoggingDestination_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.LoggingProto .internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable @@ -378,10 +387,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < logs_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, logs_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, logs_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(monitoredResource_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, monitoredResource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(monitoredResource_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, monitoredResource_); } getUnknownFields().writeTo(output); } @@ -400,8 +409,8 @@ public int getSerializedSize() { size += dataSize; size += 1 * getLogsList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(monitoredResource_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, monitoredResource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(monitoredResource_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, monitoredResource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -480,38 +489,38 @@ public static com.google.api.Logging.LoggingDestination parseFrom( public static com.google.api.Logging.LoggingDestination parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Logging.LoggingDestination parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Logging.LoggingDestination parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Logging.LoggingDestination parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Logging.LoggingDestination parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Logging.LoggingDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -534,8 +543,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -549,8 +557,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.api.Logging.LoggingDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Logging.LoggingDestination) com.google.api.Logging.LoggingDestinationOrBuilder { @@ -560,7 +567,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.LoggingProto .internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable @@ -572,7 +579,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Logging.LoggingDestination.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -627,41 +634,6 @@ private void buildPartial0(com.google.api.Logging.LoggingDestination result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Logging.LoggingDestination) { @@ -1064,18 +1036,6 @@ public Builder addLogsBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Logging.LoggingDestination) } @@ -1416,38 +1376,38 @@ public static com.google.api.Logging parseFrom( public static com.google.api.Logging parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Logging parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Logging parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Logging parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Logging parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Logging parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1470,7 +1430,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1485,33 +1445,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * log is sent to both the producer and consumer projects, whereas the * `purchase_history` log is only sent to the producer project. * - * monitored_resources: - * - type: library.googleapis.com/branch - * labels: - * - key: /city - * description: The city where the library branch is located in. - * - key: /name - * description: The name of the branch. - * logs: - * - name: activity_history - * labels: - * - key: /customer_id - * - name: purchase_history - * logging: - * producer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history - * - purchase_history - * consumer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history + * monitored_resources: + * - type: library.googleapis.com/branch + * labels: + * - key: /city + * description: The city where the library branch is located in. + * - key: /name + * description: The name of the branch. + * logs: + * - name: activity_history + * labels: + * - key: /customer_id + * - name: purchase_history + * logging: + * producer_destinations: + * - monitored_resource: library.googleapis.com/branch + * logs: + * - activity_history + * - purchase_history + * consumer_destinations: + * - monitored_resource: library.googleapis.com/branch + * logs: + * - activity_history * * * Protobuf type {@code google.api.Logging} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Logging) com.google.api.LoggingOrBuilder { @@ -1520,7 +1480,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.LoggingProto.internal_static_google_api_Logging_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1530,7 +1490,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Logging.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1610,39 +1570,6 @@ private void buildPartial0(com.google.api.Logging result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Logging) { @@ -1674,7 +1601,7 @@ public Builder mergeFrom(com.google.api.Logging other) { producerDestinations_ = other.producerDestinations_; bitField0_ = (bitField0_ & ~0x00000001); producerDestinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getProducerDestinationsFieldBuilder() : null; } else { @@ -1701,7 +1628,7 @@ public Builder mergeFrom(com.google.api.Logging other) { consumerDestinations_ = other.consumerDestinations_; bitField0_ = (bitField0_ & ~0x00000002); consumerDestinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getConsumerDestinationsFieldBuilder() : null; } else { @@ -1792,7 +1719,7 @@ private void ensureProducerDestinationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder> @@ -2174,14 +2101,14 @@ public com.google.api.Logging.LoggingDestination.Builder addProducerDestinations return getProducerDestinationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder> getProducerDestinationsFieldBuilder() { if (producerDestinationsBuilder_ == null) { producerDestinationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder>( @@ -2206,7 +2133,7 @@ private void ensureConsumerDestinationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder> @@ -2588,14 +2515,14 @@ public com.google.api.Logging.LoggingDestination.Builder addConsumerDestinations return getConsumerDestinationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder> getConsumerDestinationsFieldBuilder() { if (consumerDestinationsBuilder_ == null) { consumerDestinationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Logging.LoggingDestination, com.google.api.Logging.LoggingDestination.Builder, com.google.api.Logging.LoggingDestinationOrBuilder>( @@ -2608,17 +2535,6 @@ public com.google.api.Logging.LoggingDestination.Builder addConsumerDestinations return consumerDestinationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Logging) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java index 8477395914..3b2fd0fe9f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/logging.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface LoggingOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java index e3f5fca9db..dcaa4c2331 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/LoggingProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/logging.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class LoggingProto { private LoggingProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LoggingProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Logging_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Logging_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Logging_LoggingDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -61,7 +72,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Logging_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Logging_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Logging_descriptor, new java.lang.String[] { "ProducerDestinations", "ConsumerDestinations", @@ -69,11 +80,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_Logging_LoggingDestination_descriptor = internal_static_google_api_Logging_descriptor.getNestedTypes().get(0); internal_static_google_api_Logging_LoggingDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Logging_LoggingDestination_descriptor, new java.lang.String[] { "MonitoredResource", "Logs", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java index d3cd124868..34fc718511 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicy.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/policy.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.MethodPolicy} */ -public final class MethodPolicy extends com.google.protobuf.GeneratedMessageV3 +public final class MethodPolicy extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MethodPolicy) MethodPolicyOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MethodPolicy.class.getName()); + } // Use MethodPolicy.newBuilder() to construct. - private MethodPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MethodPolicy(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private MethodPolicy() { requestPolicies_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MethodPolicy(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.PolicyProto.internal_static_google_api_MethodPolicy_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.PolicyProto.internal_static_google_api_MethodPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -214,8 +219,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < requestPolicies_.size(); i++) { output.writeMessage(2, requestPolicies_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 9, selector_); } getUnknownFields().writeTo(output); } @@ -229,8 +234,8 @@ public int getSerializedSize() { for (int i = 0; i < requestPolicies_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, requestPolicies_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(9, selector_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -307,38 +312,38 @@ public static com.google.api.MethodPolicy parseFrom( public static com.google.api.MethodPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MethodPolicy parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MethodPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MethodPolicy parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MethodPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MethodPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -361,7 +366,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -374,7 +379,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.MethodPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MethodPolicy) com.google.api.MethodPolicyOrBuilder { @@ -383,7 +388,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.PolicyProto.internal_static_google_api_MethodPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -393,7 +398,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.MethodPolicy.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -461,39 +466,6 @@ private void buildPartial0(com.google.api.MethodPolicy result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MethodPolicy) { @@ -530,7 +502,7 @@ public Builder mergeFrom(com.google.api.MethodPolicy other) { requestPolicies_ = other.requestPolicies_; bitField0_ = (bitField0_ & ~0x00000002); requestPoliciesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRequestPoliciesFieldBuilder() : null; } else { @@ -752,7 +724,7 @@ private void ensureRequestPoliciesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.FieldPolicy, com.google.api.FieldPolicy.Builder, com.google.api.FieldPolicyOrBuilder> @@ -1073,14 +1045,14 @@ public java.util.List getRequestPoliciesBuil return getRequestPoliciesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.FieldPolicy, com.google.api.FieldPolicy.Builder, com.google.api.FieldPolicyOrBuilder> getRequestPoliciesFieldBuilder() { if (requestPoliciesBuilder_ == null) { requestPoliciesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.FieldPolicy, com.google.api.FieldPolicy.Builder, com.google.api.FieldPolicyOrBuilder>( @@ -1093,17 +1065,6 @@ public java.util.List getRequestPoliciesBuil return requestPoliciesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.MethodPolicy) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java index 18b4e807a0..1970bd4212 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodPolicyOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/policy.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface MethodPolicyOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java index 06c5c42da0..eeb1418124 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.MethodSettings} */ -public final class MethodSettings extends com.google.protobuf.GeneratedMessageV3 +public final class MethodSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MethodSettings) MethodSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MethodSettings.class.getName()); + } // Use MethodSettings.newBuilder() to construct. - private MethodSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MethodSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private MethodSettings() { autoPopulatedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MethodSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_MethodSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_MethodSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -208,31 +213,35 @@ public interface LongRunningOrBuilder * * Protobuf type {@code google.api.MethodSettings.LongRunning} */ - public static final class LongRunning extends com.google.protobuf.GeneratedMessageV3 + public static final class LongRunning extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MethodSettings.LongRunning) LongRunningOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LongRunning.class.getName()); + } // Use LongRunning.newBuilder() to construct. - private LongRunning(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LongRunning(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private LongRunning() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LongRunning(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto .internal_static_google_api_MethodSettings_LongRunning_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto .internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable @@ -565,38 +574,38 @@ public static com.google.api.MethodSettings.LongRunning parseFrom( public static com.google.api.MethodSettings.LongRunning parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MethodSettings.LongRunning parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MethodSettings.LongRunning parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MethodSettings.LongRunning parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MethodSettings.LongRunning parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MethodSettings.LongRunning parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -619,8 +628,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -637,8 +645,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.api.MethodSettings.LongRunning} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MethodSettings.LongRunning) com.google.api.MethodSettings.LongRunningOrBuilder { @@ -648,7 +655,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto .internal_static_google_api_MethodSettings_LongRunning_fieldAccessorTable @@ -662,13 +669,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getInitialPollDelayFieldBuilder(); getMaxPollDelayFieldBuilder(); getTotalPollTimeoutFieldBuilder(); @@ -757,41 +764,6 @@ private void buildPartial0(com.google.api.MethodSettings.LongRunning result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MethodSettings.LongRunning) { @@ -888,7 +860,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Duration initialPollDelay_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1064,14 +1036,14 @@ public com.google.protobuf.DurationOrBuilder getInitialPollDelayOrBuilder() { * * .google.protobuf.Duration initial_poll_delay = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getInitialPollDelayFieldBuilder() { if (initialPollDelayBuilder_ == null) { initialPollDelayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1141,7 +1113,7 @@ public Builder clearPollDelayMultiplier() { } private com.google.protobuf.Duration maxPollDelay_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1317,14 +1289,14 @@ public com.google.protobuf.DurationOrBuilder getMaxPollDelayOrBuilder() { * * .google.protobuf.Duration max_poll_delay = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMaxPollDelayFieldBuilder() { if (maxPollDelayBuilder_ == null) { maxPollDelayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1335,7 +1307,7 @@ public com.google.protobuf.DurationOrBuilder getMaxPollDelayOrBuilder() { } private com.google.protobuf.Duration totalPollTimeout_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1511,14 +1483,14 @@ public com.google.protobuf.DurationOrBuilder getTotalPollTimeoutOrBuilder() { * * .google.protobuf.Duration total_poll_timeout = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTotalPollTimeoutFieldBuilder() { if (totalPollTimeoutBuilder_ == null) { totalPollTimeoutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1528,18 +1500,6 @@ public com.google.protobuf.DurationOrBuilder getTotalPollTimeoutOrBuilder() { return totalPollTimeoutBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.MethodSettings.LongRunning) } @@ -1658,17 +1618,17 @@ public com.google.protobuf.ByteString getSelectorBytes() { * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -1689,17 +1649,17 @@ public boolean hasLongRunning() { * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -1722,17 +1682,17 @@ public com.google.api.MethodSettings.LongRunning getLongRunning() { * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -1759,11 +1719,11 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -1783,11 +1743,11 @@ public com.google.protobuf.ProtocolStringList getAutoPopulatedFieldsList() { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -1807,11 +1767,11 @@ public int getAutoPopulatedFieldsCount() { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -1832,11 +1792,11 @@ public java.lang.String getAutoPopulatedFields(int index) { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -1862,14 +1822,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getLongRunning()); } for (int i = 0; i < autoPopulatedFields_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, autoPopulatedFields_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 3, autoPopulatedFields_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -1880,8 +1840,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLongRunning()); @@ -1977,38 +1937,38 @@ public static com.google.api.MethodSettings parseFrom( public static com.google.api.MethodSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MethodSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MethodSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MethodSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MethodSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MethodSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2031,7 +1991,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2044,7 +2004,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.MethodSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MethodSettings) com.google.api.MethodSettingsOrBuilder { @@ -2053,7 +2013,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_MethodSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -2065,13 +2025,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLongRunningFieldBuilder(); } } @@ -2137,39 +2097,6 @@ private void buildPartial0(com.google.api.MethodSettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MethodSettings) { @@ -2376,7 +2303,7 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { } private com.google.api.MethodSettings.LongRunning longRunning_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.MethodSettings.LongRunning, com.google.api.MethodSettings.LongRunning.Builder, com.google.api.MethodSettings.LongRunningOrBuilder> @@ -2391,17 +2318,17 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -2421,17 +2348,17 @@ public boolean hasLongRunning() { * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -2457,17 +2384,17 @@ public com.google.api.MethodSettings.LongRunning getLongRunning() { * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -2495,17 +2422,17 @@ public Builder setLongRunning(com.google.api.MethodSettings.LongRunning value) { * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -2531,17 +2458,17 @@ public Builder setLongRunning( * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -2574,17 +2501,17 @@ public Builder mergeLongRunning(com.google.api.MethodSettings.LongRunning value) * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -2609,17 +2536,17 @@ public Builder clearLongRunning() { * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -2639,17 +2566,17 @@ public com.google.api.MethodSettings.LongRunning.Builder getLongRunningBuilder() * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -2673,29 +2600,29 @@ public com.google.api.MethodSettings.LongRunningOrBuilder getLongRunningOrBuilde * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.MethodSettings.LongRunning, com.google.api.MethodSettings.LongRunning.Builder, com.google.api.MethodSettings.LongRunningOrBuilder> getLongRunningFieldBuilder() { if (longRunningBuilder_ == null) { longRunningBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.MethodSettings.LongRunning, com.google.api.MethodSettings.LongRunning.Builder, com.google.api.MethodSettings.LongRunningOrBuilder>( @@ -2724,11 +2651,11 @@ private void ensureAutoPopulatedFieldsIsMutable() { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2749,11 +2676,11 @@ public com.google.protobuf.ProtocolStringList getAutoPopulatedFieldsList() { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2773,11 +2700,11 @@ public int getAutoPopulatedFieldsCount() { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2798,11 +2725,11 @@ public java.lang.String getAutoPopulatedFields(int index) { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2823,11 +2750,11 @@ public com.google.protobuf.ByteString getAutoPopulatedFieldsBytes(int index) { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2856,11 +2783,11 @@ public Builder setAutoPopulatedFields(int index, java.lang.String value) { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2888,11 +2815,11 @@ public Builder addAutoPopulatedFields(java.lang.String value) { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2917,11 +2844,11 @@ public Builder addAllAutoPopulatedFields(java.lang.Iterable va * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2945,11 +2872,11 @@ public Builder clearAutoPopulatedFields() { * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -2969,17 +2896,6 @@ public Builder addAutoPopulatedFieldsBytes(com.google.protobuf.ByteString value) return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.MethodSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java index 21e602c39e..29558b7220 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MethodSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface MethodSettingsOrBuilder @@ -61,17 +62,17 @@ public interface MethodSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -89,17 +90,17 @@ public interface MethodSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -117,17 +118,17 @@ public interface MethodSettingsOrBuilder * * Example of a YAML configuration:: * - * publishing: - * method_settings: - * - selector: google.cloud.speech.v2.Speech.BatchRecognize - * long_running: - * initial_poll_delay: - * seconds: 60 # 1 minute - * poll_delay_multiplier: 1.5 - * max_poll_delay: - * seconds: 360 # 6 minutes - * total_poll_timeout: - * seconds: 54000 # 90 minutes + * publishing: + * method_settings: + * - selector: google.cloud.speech.v2.Speech.BatchRecognize + * long_running: + * initial_poll_delay: + * seconds: 60 # 1 minute + * poll_delay_multiplier: 1.5 + * max_poll_delay: + * seconds: 360 # 6 minutes + * total_poll_timeout: + * seconds: 54000 # 90 minutes * * * .google.api.MethodSettings.LongRunning long_running = 2; @@ -144,11 +145,11 @@ public interface MethodSettingsOrBuilder * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -166,11 +167,11 @@ public interface MethodSettingsOrBuilder * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -188,11 +189,11 @@ public interface MethodSettingsOrBuilder * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; @@ -211,11 +212,11 @@ public interface MethodSettingsOrBuilder * * Example of a YAML configuration: * - * publishing: - * method_settings: - * - selector: google.example.v1.ExampleService.CreateExample - * auto_populated_fields: - * - request_id + * publishing: + * method_settings: + * - selector: google.example.v1.ExampleService.CreateExample + * auto_populated_fields: + * - request_id * * * repeated string auto_populated_fields = 3; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java index 1dc1633837..847fc2a91f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Metric.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/metric.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.api.Metric} */ -public final class Metric extends com.google.protobuf.GeneratedMessageV3 +public final class Metric extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Metric) MetricOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Metric.class.getName()); + } // Use Metric.newBuilder() to construct. - private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Metric(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,12 +54,6 @@ private Metric() { type_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Metric(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MetricProto.internal_static_google_api_Metric_descriptor; } @@ -66,7 +71,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MetricProto.internal_static_google_api_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -247,10 +252,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, type_); } getUnknownFields().writeTo(output); } @@ -271,8 +276,8 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels__); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -349,38 +354,38 @@ public static com.google.api.Metric parseFrom( public static com.google.api.Metric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Metric parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Metric parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Metric parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Metric parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Metric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -403,7 +408,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -417,7 +422,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Metric} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Metric) com.google.api.MetricOrBuilder { @@ -448,7 +453,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MetricProto.internal_static_google_api_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -458,7 +463,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.api.Metric.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -511,39 +516,6 @@ private void buildPartial0(com.google.api.Metric result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Metric) { @@ -912,17 +884,6 @@ public Builder putAllLabels(java.util.Map va return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Metric) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java index 48c892b664..182e9f343c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptor.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/metric.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,13 +31,23 @@ * * Protobuf type {@code google.api.MetricDescriptor} */ -public final class MetricDescriptor extends com.google.protobuf.GeneratedMessageV3 +public final class MetricDescriptor extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MetricDescriptor) MetricDescriptorOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MetricDescriptor.class.getName()); + } // Use MetricDescriptor.newBuilder() to construct. - private MetricDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MetricDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -53,18 +64,12 @@ private MetricDescriptor() { monitoredResourceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MetricDescriptor(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MetricProto.internal_static_google_api_MetricDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -130,6 +135,15 @@ public enum MetricKind implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MetricKind.class.getName()); + } /** * * @@ -345,6 +359,15 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ValueType.class.getName()); + } /** * * @@ -643,13 +666,23 @@ public interface MetricDescriptorMetadataOrBuilder * * Protobuf type {@code google.api.MetricDescriptor.MetricDescriptorMetadata} */ - public static final class MetricDescriptorMetadata extends com.google.protobuf.GeneratedMessageV3 + public static final class MetricDescriptorMetadata extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MetricDescriptor.MetricDescriptorMetadata) MetricDescriptorMetadataOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MetricDescriptorMetadata.class.getName()); + } // Use MetricDescriptorMetadata.newBuilder() to construct. - private MetricDescriptorMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MetricDescriptorMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -657,19 +690,13 @@ private MetricDescriptorMetadata() { launchStage_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MetricDescriptorMetadata(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MetricProto .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MetricProto .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable @@ -967,38 +994,38 @@ public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseFrom public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MetricDescriptor.MetricDescriptorMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1022,8 +1049,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1036,8 +1062,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.api.MetricDescriptor.MetricDescriptorMetadata} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MetricDescriptor.MetricDescriptorMetadata) com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder { @@ -1047,7 +1072,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MetricProto .internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable @@ -1061,13 +1086,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getSamplePeriodFieldBuilder(); getIngestDelayFieldBuilder(); } @@ -1141,41 +1166,6 @@ private void buildPartial0(com.google.api.MetricDescriptor.MetricDescriptorMetad result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MetricDescriptor.MetricDescriptorMetadata) { @@ -1376,7 +1366,7 @@ public Builder clearLaunchStage() { } private com.google.protobuf.Duration samplePeriod_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1570,14 +1560,14 @@ public com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder() { * * .google.protobuf.Duration sample_period = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getSamplePeriodFieldBuilder() { if (samplePeriodBuilder_ == null) { samplePeriodBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1588,7 +1578,7 @@ public com.google.protobuf.DurationOrBuilder getSamplePeriodOrBuilder() { } private com.google.protobuf.Duration ingestDelay_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1773,14 +1763,14 @@ public com.google.protobuf.DurationOrBuilder getIngestDelayOrBuilder() { * * .google.protobuf.Duration ingest_delay = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getIngestDelayFieldBuilder() { if (ingestDelayBuilder_ == null) { ingestDelayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1790,18 +1780,6 @@ public com.google.protobuf.DurationOrBuilder getIngestDelayOrBuilder() { return ingestDelayBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.MetricDescriptor.MetricDescriptorMetadata) } @@ -1919,9 +1897,9 @@ public com.google.protobuf.ByteString getNameBytes() { * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -1949,9 +1927,9 @@ public java.lang.String getType() { * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -2213,44 +2191,44 @@ public com.google.api.MetricDescriptor.ValueType getValueType() { * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; @@ -2337,44 +2315,44 @@ public java.lang.String getUnit() { * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; @@ -2684,8 +2662,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } for (int i = 0; i < labels_.size(); i++) { output.writeMessage(2, labels_.get(i)); @@ -2698,17 +2676,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, valueType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, unit_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(unit_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, unit_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, displayName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, type_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(10, getMetadata()); @@ -2717,7 +2695,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeEnum(12, launchStage_); } for (int i = 0; i < monitoredResourceTypes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( + com.google.protobuf.GeneratedMessage.writeString( output, 13, monitoredResourceTypes_.getRaw(i)); } getUnknownFields().writeTo(output); @@ -2729,8 +2707,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } for (int i = 0; i < labels_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels_.get(i)); @@ -2743,17 +2721,17 @@ public int getSerializedSize() { != com.google.api.MetricDescriptor.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, valueType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, unit_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(unit_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, unit_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, displayName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, type_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMetadata()); @@ -2879,38 +2857,38 @@ public static com.google.api.MetricDescriptor parseFrom( public static com.google.api.MetricDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MetricDescriptor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MetricDescriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MetricDescriptor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MetricDescriptor parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MetricDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2933,7 +2911,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2948,7 +2926,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.MetricDescriptor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MetricDescriptor) com.google.api.MetricDescriptorOrBuilder { @@ -2957,7 +2935,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MetricProto .internal_static_google_api_MetricDescriptor_fieldAccessorTable @@ -2970,13 +2948,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLabelsFieldBuilder(); getMetadataFieldBuilder(); } @@ -3090,39 +3068,6 @@ private void buildPartial0(com.google.api.MetricDescriptor result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MetricDescriptor) { @@ -3164,7 +3109,7 @@ public Builder mergeFrom(com.google.api.MetricDescriptor other) { labels_ = other.labels_; bitField0_ = (bitField0_ & ~0x00000004); labelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLabelsFieldBuilder() : null; } else { @@ -3443,9 +3388,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -3472,9 +3417,9 @@ public java.lang.String getType() { * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -3501,9 +3446,9 @@ public com.google.protobuf.ByteString getTypeBytes() { * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -3529,9 +3474,9 @@ public Builder setType(java.lang.String value) { * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -3553,9 +3498,9 @@ public Builder clearType() { * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -3584,7 +3529,7 @@ private void ensureLabelsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> @@ -3993,14 +3938,14 @@ public java.util.List getLabelsBuilderLi return getLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> getLabelsFieldBuilder() { if (labelsBuilder_ == null) { labelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>( @@ -4269,44 +4214,44 @@ public Builder clearValueType() { * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; @@ -4392,44 +4337,44 @@ public java.lang.String getUnit() { * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; @@ -4515,44 +4460,44 @@ public com.google.protobuf.ByteString getUnitBytes() { * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; @@ -4637,44 +4582,44 @@ public Builder setUnit(java.lang.String value) { * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; @@ -4755,44 +4700,44 @@ public Builder clearUnit() { * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; @@ -5039,7 +4984,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } private com.google.api.MetricDescriptor.MetricDescriptorMetadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.MetricDescriptor.MetricDescriptorMetadata, com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder> @@ -5209,14 +5154,14 @@ public com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder getMetad * * .google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.MetricDescriptor.MetricDescriptorMetadata, com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.MetricDescriptor.MetricDescriptorMetadata, com.google.api.MetricDescriptor.MetricDescriptorMetadata.Builder, com.google.api.MetricDescriptor.MetricDescriptorMetadataOrBuilder>( @@ -5535,17 +5480,6 @@ public Builder addMonitoredResourceTypesBytes(com.google.protobuf.ByteString val return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.MetricDescriptor) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java index c4933227d4..151939a082 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricDescriptorOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/metric.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface MetricDescriptorOrBuilder @@ -58,9 +59,9 @@ public interface MetricDescriptorOrBuilder * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -77,9 +78,9 @@ public interface MetricDescriptorOrBuilder * `custom.googleapis.com` or `external.googleapis.com`. Metric types should * use a natural hierarchical grouping. For example: * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" + * "custom.googleapis.com/invoice/paid/amount" + * "external.googleapis.com/prometheus/up" + * "appengine.googleapis.com/http/server/response_latencies" * * * string type = 8; @@ -286,44 +287,44 @@ public interface MetricDescriptorOrBuilder * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; @@ -399,44 +400,44 @@ public interface MetricDescriptorOrBuilder * The grammar also includes these connectors: * * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). + * `kBy/{email}` or `MiBy/10ms` (although you should almost never + * have `/s` in a metric `unit`; rates should always be computed at + * query time from the underlying cumulative or delta value). * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. + * examples, `GBy.d` or `k{watt}.h`. * * The grammar for a unit is as follows: * - * Expression = Component { "." Component } { "/" Component } ; + * Expression = Component { "." Component } { "/" Component } ; * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; + * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] + * | Annotation + * | "1" + * ; * - * Annotation = "{" NAME "}" ; + * Annotation = "{" NAME "}" ; * * Notes: * * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. + * is used alone, then the unit is equivalent to `1`. For examples, + * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. + * containing `{` or `}`. * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). + * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such + * as in `1/s`. It is typically used when none of the basic units are + * appropriate. For example, "new users per day" can be represented as + * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new + * users). Alternatively, "thousands of page views per day" would be + * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric + * value of `5.3` would mean "5300 page views per day"). * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). + * a percentage (so the metric values are typically in the range of 0..100, + * and a metric value `3` means "3 percent"). * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). + * 0..1, that will be multiplied by 100 and displayed as a percentage + * (so a metric value `0.03` means "3 percent"). * * * string unit = 5; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java index 0acf458452..2a4ea493b1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/metric.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface MetricOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java index cb3d76372d..9b2292071c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/metric.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class MetricProto { private MetricProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MetricProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,19 +41,19 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MetricDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MetricDescriptor_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Metric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Metric_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Metric_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Metric_LabelsEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -94,7 +105,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MetricDescriptor_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_MetricDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MetricDescriptor_descriptor, new java.lang.String[] { "Name", @@ -112,14 +123,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor = internal_static_google_api_MetricDescriptor_descriptor.getNestedTypes().get(0); internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MetricDescriptor_MetricDescriptorMetadata_descriptor, new java.lang.String[] { "LaunchStage", "SamplePeriod", "IngestDelay", }); internal_static_google_api_Metric_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_Metric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Metric_descriptor, new java.lang.String[] { "Type", "Labels", @@ -127,11 +138,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_Metric_LabelsEntry_descriptor = internal_static_google_api_Metric_descriptor.getNestedTypes().get(0); internal_static_google_api_Metric_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Metric_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); + descriptor.resolveAllFeaturesImmutable(); com.google.api.LabelProto.getDescriptor(); com.google.api.LaunchStageProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java index dd2ad872ef..cbb95187e1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/quota.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.api.MetricRule} */ -public final class MetricRule extends com.google.protobuf.GeneratedMessageV3 +public final class MetricRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MetricRule) MetricRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MetricRule.class.getName()); + } // Use MetricRule.newBuilder() to construct. - private MetricRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MetricRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,12 +54,6 @@ private MetricRule() { selector_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MetricRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.QuotaProto.internal_static_google_api_MetricRule_descriptor; } @@ -66,7 +71,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.QuotaProto.internal_static_google_api_MetricRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -263,10 +268,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetMetricCosts(), MetricCostsDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -277,8 +282,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } for (java.util.Map.Entry entry : internalGetMetricCosts().getMap().entrySet()) { @@ -365,38 +370,38 @@ public static com.google.api.MetricRule parseFrom( public static com.google.api.MetricRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MetricRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MetricRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MetricRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MetricRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MetricRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -419,7 +424,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -433,7 +438,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.MetricRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MetricRule) com.google.api.MetricRuleOrBuilder { @@ -464,7 +469,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.QuotaProto.internal_static_google_api_MetricRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -474,7 +479,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.api.MetricRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -527,39 +532,6 @@ private void buildPartial0(com.google.api.MetricRule result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MetricRule) { @@ -959,17 +931,6 @@ public Builder putAllMetricCosts(java.util.Map return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.MetricRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java index 5133134406..65a6e129c8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MetricRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/quota.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface MetricRuleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java index b74ca97cb2..671c1ec55a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResource.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitored_resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -35,21 +36,31 @@ * `"gce_instance"` has labels * `"project_id"`, `"instance_id"` and `"zone"`: * - * { "type": "gce_instance", - * "labels": { "project_id": "my-project", - * "instance_id": "12345678901234", - * "zone": "us-central1-a" }} + * { "type": "gce_instance", + * "labels": { "project_id": "my-project", + * "instance_id": "12345678901234", + * "zone": "us-central1-a" }} * * * Protobuf type {@code google.api.MonitoredResource} */ -public final class MonitoredResource extends com.google.protobuf.GeneratedMessageV3 +public final class MonitoredResource extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MonitoredResource) MonitoredResourceOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MonitoredResource.class.getName()); + } // Use MonitoredResource.newBuilder() to construct. - private MonitoredResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MonitoredResource(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -57,12 +68,6 @@ private MonitoredResource() { type_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MonitoredResource(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResource_descriptor; @@ -81,7 +86,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResource_fieldAccessorTable @@ -276,10 +281,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, type_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -290,8 +295,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { @@ -378,38 +383,38 @@ public static com.google.api.MonitoredResource parseFrom( public static com.google.api.MonitoredResource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MonitoredResource parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MonitoredResource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MonitoredResource parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MonitoredResource parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MonitoredResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -432,7 +437,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -452,15 +457,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * `"gce_instance"` has labels * `"project_id"`, `"instance_id"` and `"zone"`: * - * { "type": "gce_instance", - * "labels": { "project_id": "my-project", - * "instance_id": "12345678901234", - * "zone": "us-central1-a" }} + * { "type": "gce_instance", + * "labels": { "project_id": "my-project", + * "instance_id": "12345678901234", + * "zone": "us-central1-a" }} * * * Protobuf type {@code google.api.MonitoredResource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MonitoredResource) com.google.api.MonitoredResourceOrBuilder { @@ -492,7 +497,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResource_fieldAccessorTable @@ -504,7 +509,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.api.MonitoredResource.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -558,39 +563,6 @@ private void buildPartial0(com.google.api.MonitoredResource result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MonitoredResource) { @@ -986,17 +958,6 @@ public Builder putAllLabels(java.util.Map va return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.MonitoredResource) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java index c207c487ac..21149c17f6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptor.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitored_resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -37,13 +38,23 @@ * * Protobuf type {@code google.api.MonitoredResourceDescriptor} */ -public final class MonitoredResourceDescriptor extends com.google.protobuf.GeneratedMessageV3 +public final class MonitoredResourceDescriptor extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MonitoredResourceDescriptor) MonitoredResourceDescriptorOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MonitoredResourceDescriptor.class.getName()); + } // Use MonitoredResourceDescriptor.newBuilder() to construct. - private MonitoredResourceDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MonitoredResourceDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -56,19 +67,13 @@ private MonitoredResourceDescriptor() { launchStage_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MonitoredResourceDescriptor(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResourceDescriptor_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable @@ -148,8 +153,8 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Required. The monitored resource type. For example, the type
    * `"cloudsql_database"` represents databases in Google Cloud SQL.
-   *  For a list of types, see [Monitored resource
-   *  types](https://cloud.google.com/monitoring/api/resources)
+   * For a list of types, see [Monitored resource
+   * types](https://cloud.google.com/monitoring/api/resources)
    * and [Logging resource
    * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
    * 
@@ -176,8 +181,8 @@ public java.lang.String getType() { *
    * Required. The monitored resource type. For example, the type
    * `"cloudsql_database"` represents databases in Google Cloud SQL.
-   *  For a list of types, see [Monitored resource
-   *  types](https://cloud.google.com/monitoring/api/resources)
+   * For a list of types, see [Monitored resource
+   * types](https://cloud.google.com/monitoring/api/resources)
    * and [Logging resource
    * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
    * 
@@ -438,20 +443,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, displayName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } for (int i = 0; i < labels_.size(); i++) { output.writeMessage(4, labels_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, name_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { output.writeEnum(7, launchStage_); @@ -465,20 +470,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, displayName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } for (int i = 0; i < labels_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, name_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, launchStage_); @@ -572,38 +577,38 @@ public static com.google.api.MonitoredResourceDescriptor parseFrom( public static com.google.api.MonitoredResourceDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MonitoredResourceDescriptor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MonitoredResourceDescriptor parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MonitoredResourceDescriptor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MonitoredResourceDescriptor parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MonitoredResourceDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -626,7 +631,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -648,7 +653,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.MonitoredResourceDescriptor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MonitoredResourceDescriptor) com.google.api.MonitoredResourceDescriptorOrBuilder { @@ -658,7 +663,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable @@ -670,7 +675,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.MonitoredResourceDescriptor.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -756,39 +761,6 @@ private void buildPartial0(com.google.api.MonitoredResourceDescriptor result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MonitoredResourceDescriptor) { @@ -840,7 +812,7 @@ public Builder mergeFrom(com.google.api.MonitoredResourceDescriptor other) { labels_ = other.labels_; bitField0_ = (bitField0_ & ~0x00000010); labelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLabelsFieldBuilder() : null; } else { @@ -1076,8 +1048,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
-     *  For a list of types, see [Monitored resource
-     *  types](https://cloud.google.com/monitoring/api/resources)
+     * For a list of types, see [Monitored resource
+     * types](https://cloud.google.com/monitoring/api/resources)
      * and [Logging resource
      * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      * 
@@ -1103,8 +1075,8 @@ public java.lang.String getType() { *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
-     *  For a list of types, see [Monitored resource
-     *  types](https://cloud.google.com/monitoring/api/resources)
+     * For a list of types, see [Monitored resource
+     * types](https://cloud.google.com/monitoring/api/resources)
      * and [Logging resource
      * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      * 
@@ -1130,8 +1102,8 @@ public com.google.protobuf.ByteString getTypeBytes() { *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
-     *  For a list of types, see [Monitored resource
-     *  types](https://cloud.google.com/monitoring/api/resources)
+     * For a list of types, see [Monitored resource
+     * types](https://cloud.google.com/monitoring/api/resources)
      * and [Logging resource
      * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      * 
@@ -1156,8 +1128,8 @@ public Builder setType(java.lang.String value) { *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
-     *  For a list of types, see [Monitored resource
-     *  types](https://cloud.google.com/monitoring/api/resources)
+     * For a list of types, see [Monitored resource
+     * types](https://cloud.google.com/monitoring/api/resources)
      * and [Logging resource
      * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      * 
@@ -1178,8 +1150,8 @@ public Builder clearType() { *
      * Required. The monitored resource type. For example, the type
      * `"cloudsql_database"` represents databases in Google Cloud SQL.
-     *  For a list of types, see [Monitored resource
-     *  types](https://cloud.google.com/monitoring/api/resources)
+     * For a list of types, see [Monitored resource
+     * types](https://cloud.google.com/monitoring/api/resources)
      * and [Logging resource
      * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
      * 
@@ -1442,7 +1414,7 @@ private void ensureLabelsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> @@ -1797,14 +1769,14 @@ public java.util.List getLabelsBuilderLi return getLabelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder> getLabelsFieldBuilder() { if (labelsBuilder_ == null) { labelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.LabelDescriptor, com.google.api.LabelDescriptor.Builder, com.google.api.LabelDescriptorOrBuilder>( @@ -1903,17 +1875,6 @@ public Builder clearLaunchStage() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.MonitoredResourceDescriptor) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java index d6709b3bef..8a7b1e4a28 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceDescriptorOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitored_resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface MonitoredResourceDescriptorOrBuilder @@ -65,8 +66,8 @@ public interface MonitoredResourceDescriptorOrBuilder *
    * Required. The monitored resource type. For example, the type
    * `"cloudsql_database"` represents databases in Google Cloud SQL.
-   *  For a list of types, see [Monitored resource
-   *  types](https://cloud.google.com/monitoring/api/resources)
+   * For a list of types, see [Monitored resource
+   * types](https://cloud.google.com/monitoring/api/resources)
    * and [Logging resource
    * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
    * 
@@ -82,8 +83,8 @@ public interface MonitoredResourceDescriptorOrBuilder *
    * Required. The monitored resource type. For example, the type
    * `"cloudsql_database"` represents databases in Google Cloud SQL.
-   *  For a list of types, see [Monitored resource
-   *  types](https://cloud.google.com/monitoring/api/resources)
+   * For a list of types, see [Monitored resource
+   * types](https://cloud.google.com/monitoring/api/resources)
    * and [Logging resource
    * types](https://cloud.google.com/logging/docs/api/v2/resource-list).
    * 
diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java index 6157dfa1c0..c87c7d5194 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceMetadata.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitored_resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -33,24 +34,28 @@ * * Protobuf type {@code google.api.MonitoredResourceMetadata} */ -public final class MonitoredResourceMetadata extends com.google.protobuf.GeneratedMessageV3 +public final class MonitoredResourceMetadata extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.MonitoredResourceMetadata) MonitoredResourceMetadataOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MonitoredResourceMetadata.class.getName()); + } // Use MonitoredResourceMetadata.newBuilder() to construct. - private MonitoredResourceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MonitoredResourceMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private MonitoredResourceMetadata() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MonitoredResourceMetadata(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResourceMetadata_descriptor; @@ -69,7 +74,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable @@ -92,9 +97,9 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -116,9 +121,9 @@ public boolean hasSystemLabels() { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -140,9 +145,9 @@ public com.google.protobuf.Struct getSystemLabels() { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -271,7 +276,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getSystemLabels()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetUserLabels(), UserLabelsDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -376,38 +381,38 @@ public static com.google.api.MonitoredResourceMetadata parseFrom( public static com.google.api.MonitoredResourceMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MonitoredResourceMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MonitoredResourceMetadata parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.MonitoredResourceMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.MonitoredResourceMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.MonitoredResourceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -430,7 +435,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -448,7 +453,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.MonitoredResourceMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.MonitoredResourceMetadata) com.google.api.MonitoredResourceMetadataOrBuilder { @@ -480,7 +485,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoredResourceProto .internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable @@ -494,13 +499,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getSystemLabelsFieldBuilder(); } } @@ -564,39 +569,6 @@ private void buildPartial0(com.google.api.MonitoredResourceMetadata result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.MonitoredResourceMetadata) { @@ -678,7 +650,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Struct systemLabels_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -694,9 +666,9 @@ public Builder mergeFrom( * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -717,9 +689,9 @@ public boolean hasSystemLabels() { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -746,9 +718,9 @@ public com.google.protobuf.Struct getSystemLabels() { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -777,9 +749,9 @@ public Builder setSystemLabels(com.google.protobuf.Struct value) { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -805,9 +777,9 @@ public Builder setSystemLabels(com.google.protobuf.Struct.Builder builderForValu * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -841,9 +813,9 @@ public Builder mergeSystemLabels(com.google.protobuf.Struct value) { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -869,9 +841,9 @@ public Builder clearSystemLabels() { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -892,9 +864,9 @@ public com.google.protobuf.Struct.Builder getSystemLabelsBuilder() { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -919,21 +891,21 @@ public com.google.protobuf.StructOrBuilder getSystemLabelsOrBuilder() { * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getSystemLabelsFieldBuilder() { if (systemLabelsBuilder_ == null) { systemLabelsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -1109,17 +1081,6 @@ public Builder putAllUserLabels(java.util.Map * * .google.protobuf.Struct system_labels = 1; @@ -56,9 +57,9 @@ public interface MonitoredResourceMetadataOrBuilder * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; @@ -77,9 +78,9 @@ public interface MonitoredResourceMetadataOrBuilder * System label values can be only strings, Boolean values, or a list of * strings. For example: * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } + * { "name": "my-test-instance", + * "security_group": ["a", "b", "c"], + * "spot_instance": false } * * * .google.protobuf.Struct system_labels = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java index 2af30af559..9dd84d5251 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitored_resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface MonitoredResourceOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java index f4462f70e3..cc4778dd3e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoredResourceProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitored_resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class MonitoredResourceProto { private MonitoredResourceProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MonitoredResourceProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,23 +41,23 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MonitoredResourceDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MonitoredResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MonitoredResource_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MonitoredResource_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MonitoredResource_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MonitoredResourceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -90,7 +101,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MonitoredResourceDescriptor_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_MonitoredResourceDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MonitoredResourceDescriptor_descriptor, new java.lang.String[] { "Name", "Type", "DisplayName", "Description", "Labels", "LaunchStage", @@ -98,7 +109,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MonitoredResource_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_MonitoredResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MonitoredResource_descriptor, new java.lang.String[] { "Type", "Labels", @@ -106,7 +117,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MonitoredResource_LabelsEntry_descriptor = internal_static_google_api_MonitoredResource_descriptor.getNestedTypes().get(0); internal_static_google_api_MonitoredResource_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MonitoredResource_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", @@ -114,7 +125,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MonitoredResourceMetadata_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_api_MonitoredResourceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MonitoredResourceMetadata_descriptor, new java.lang.String[] { "SystemLabels", "UserLabels", @@ -122,11 +133,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor = internal_static_google_api_MonitoredResourceMetadata_descriptor.getNestedTypes().get(0); internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MonitoredResourceMetadata_UserLabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); + descriptor.resolveAllFeaturesImmutable(); com.google.api.LabelProto.getDescriptor(); com.google.api.LaunchStageProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java index cc2f2d349d..1f4c501736 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Monitoring.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitoring.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -32,60 +33,70 @@ * `library.googleapis.com/book/num_overdue` metric is only sent to the * consumer project. * - * monitored_resources: - * - type: library.googleapis.com/Branch - * display_name: "Library Branch" - * description: "A branch of a library." - * launch_stage: GA - * labels: - * - key: resource_container - * description: "The Cloud container (ie. project id) for the Branch." - * - key: location - * description: "The location of the library branch." - * - key: branch_id - * description: "The id of the branch." - * metrics: - * - name: library.googleapis.com/book/returned_count - * display_name: "Books Returned" - * description: "The count of books that have been returned." - * launch_stage: GA - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * - name: library.googleapis.com/book/num_overdue - * display_name: "Books Overdue" - * description: "The current number of overdue books." - * launch_stage: GA - * metric_kind: GAUGE - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * monitoring: - * producer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * consumer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * - library.googleapis.com/book/num_overdue + * monitored_resources: + * - type: library.googleapis.com/Branch + * display_name: "Library Branch" + * description: "A branch of a library." + * launch_stage: GA + * labels: + * - key: resource_container + * description: "The Cloud container (ie. project id) for the Branch." + * - key: location + * description: "The location of the library branch." + * - key: branch_id + * description: "The id of the branch." + * metrics: + * - name: library.googleapis.com/book/returned_count + * display_name: "Books Returned" + * description: "The count of books that have been returned." + * launch_stage: GA + * metric_kind: DELTA + * value_type: INT64 + * unit: "1" + * labels: + * - key: customer_id + * description: "The id of the customer." + * - name: library.googleapis.com/book/num_overdue + * display_name: "Books Overdue" + * description: "The current number of overdue books." + * launch_stage: GA + * metric_kind: GAUGE + * value_type: INT64 + * unit: "1" + * labels: + * - key: customer_id + * description: "The id of the customer." + * monitoring: + * producer_destinations: + * - monitored_resource: library.googleapis.com/Branch + * metrics: + * - library.googleapis.com/book/returned_count + * consumer_destinations: + * - monitored_resource: library.googleapis.com/Branch + * metrics: + * - library.googleapis.com/book/returned_count + * - library.googleapis.com/book/num_overdue * * * Protobuf type {@code google.api.Monitoring} */ -public final class Monitoring extends com.google.protobuf.GeneratedMessageV3 +public final class Monitoring extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Monitoring) MonitoringOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Monitoring.class.getName()); + } // Use Monitoring.newBuilder() to construct. - private Monitoring(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Monitoring(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -94,18 +105,12 @@ private Monitoring() { consumerDestinations_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Monitoring(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -215,13 +220,23 @@ public interface MonitoringDestinationOrBuilder * * Protobuf type {@code google.api.Monitoring.MonitoringDestination} */ - public static final class MonitoringDestination extends com.google.protobuf.GeneratedMessageV3 + public static final class MonitoringDestination extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Monitoring.MonitoringDestination) MonitoringDestinationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MonitoringDestination.class.getName()); + } // Use MonitoringDestination.newBuilder() to construct. - private MonitoringDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MonitoringDestination(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -230,19 +245,13 @@ private MonitoringDestination() { metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MonitoringDestination(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.MonitoringProto .internal_static_google_api_Monitoring_MonitoringDestination_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoringProto .internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable @@ -392,11 +401,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(monitoredResource_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, monitoredResource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(monitoredResource_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, monitoredResource_); } for (int i = 0; i < metrics_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, metrics_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, metrics_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -407,8 +416,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(monitoredResource_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, monitoredResource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(monitoredResource_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, monitoredResource_); } { int dataSize = 0; @@ -495,38 +504,38 @@ public static com.google.api.Monitoring.MonitoringDestination parseFrom( public static com.google.api.Monitoring.MonitoringDestination parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Monitoring.MonitoringDestination parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Monitoring.MonitoringDestination parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Monitoring.MonitoringDestination parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Monitoring.MonitoringDestination parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Monitoring.MonitoringDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -549,8 +558,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -564,8 +572,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.api.Monitoring.MonitoringDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Monitoring.MonitoringDestination) com.google.api.Monitoring.MonitoringDestinationOrBuilder { @@ -575,7 +582,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoringProto .internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable @@ -587,7 +594,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Monitoring.MonitoringDestination.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -642,41 +649,6 @@ private void buildPartial0(com.google.api.Monitoring.MonitoringDestination resul } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Monitoring.MonitoringDestination) { @@ -1071,18 +1043,6 @@ public Builder addMetricsBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Monitoring.MonitoringDestination) } @@ -1445,38 +1405,38 @@ public static com.google.api.Monitoring parseFrom( public static com.google.api.Monitoring parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Monitoring parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Monitoring parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Monitoring parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Monitoring parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Monitoring parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1499,7 +1459,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1516,54 +1476,54 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * `library.googleapis.com/book/num_overdue` metric is only sent to the * consumer project. * - * monitored_resources: - * - type: library.googleapis.com/Branch - * display_name: "Library Branch" - * description: "A branch of a library." - * launch_stage: GA - * labels: - * - key: resource_container - * description: "The Cloud container (ie. project id) for the Branch." - * - key: location - * description: "The location of the library branch." - * - key: branch_id - * description: "The id of the branch." - * metrics: - * - name: library.googleapis.com/book/returned_count - * display_name: "Books Returned" - * description: "The count of books that have been returned." - * launch_stage: GA - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * - name: library.googleapis.com/book/num_overdue - * display_name: "Books Overdue" - * description: "The current number of overdue books." - * launch_stage: GA - * metric_kind: GAUGE - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * monitoring: - * producer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * consumer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * - library.googleapis.com/book/num_overdue + * monitored_resources: + * - type: library.googleapis.com/Branch + * display_name: "Library Branch" + * description: "A branch of a library." + * launch_stage: GA + * labels: + * - key: resource_container + * description: "The Cloud container (ie. project id) for the Branch." + * - key: location + * description: "The location of the library branch." + * - key: branch_id + * description: "The id of the branch." + * metrics: + * - name: library.googleapis.com/book/returned_count + * display_name: "Books Returned" + * description: "The count of books that have been returned." + * launch_stage: GA + * metric_kind: DELTA + * value_type: INT64 + * unit: "1" + * labels: + * - key: customer_id + * description: "The id of the customer." + * - name: library.googleapis.com/book/num_overdue + * display_name: "Books Overdue" + * description: "The current number of overdue books." + * launch_stage: GA + * metric_kind: GAUGE + * value_type: INT64 + * unit: "1" + * labels: + * - key: customer_id + * description: "The id of the customer." + * monitoring: + * producer_destinations: + * - monitored_resource: library.googleapis.com/Branch + * metrics: + * - library.googleapis.com/book/returned_count + * consumer_destinations: + * - monitored_resource: library.googleapis.com/Branch + * metrics: + * - library.googleapis.com/book/returned_count + * - library.googleapis.com/book/num_overdue * * * Protobuf type {@code google.api.Monitoring} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Monitoring) com.google.api.MonitoringOrBuilder { @@ -1572,7 +1532,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.MonitoringProto.internal_static_google_api_Monitoring_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1582,7 +1542,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Monitoring.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1662,39 +1622,6 @@ private void buildPartial0(com.google.api.Monitoring result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Monitoring) { @@ -1726,7 +1653,7 @@ public Builder mergeFrom(com.google.api.Monitoring other) { producerDestinations_ = other.producerDestinations_; bitField0_ = (bitField0_ & ~0x00000001); producerDestinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getProducerDestinationsFieldBuilder() : null; } else { @@ -1753,7 +1680,7 @@ public Builder mergeFrom(com.google.api.Monitoring other) { consumerDestinations_ = other.consumerDestinations_; bitField0_ = (bitField0_ & ~0x00000002); consumerDestinationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getConsumerDestinationsFieldBuilder() : null; } else { @@ -1846,7 +1773,7 @@ private void ensureProducerDestinationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder> @@ -2266,14 +2193,14 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addProducerDestin return getProducerDestinationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder> getProducerDestinationsFieldBuilder() { if (producerDestinationsBuilder_ == null) { producerDestinationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder>( @@ -2298,7 +2225,7 @@ private void ensureConsumerDestinationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder> @@ -2718,14 +2645,14 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addConsumerDestin return getConsumerDestinationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder> getConsumerDestinationsFieldBuilder() { if (consumerDestinationsBuilder_ == null) { consumerDestinationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Monitoring.MonitoringDestination, com.google.api.Monitoring.MonitoringDestination.Builder, com.google.api.Monitoring.MonitoringDestinationOrBuilder>( @@ -2738,17 +2665,6 @@ public com.google.api.Monitoring.MonitoringDestination.Builder addConsumerDestin return consumerDestinationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Monitoring) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java index ecb0ff6773..640c218317 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitoring.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface MonitoringOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java index f9fb390392..09731f1497 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/MonitoringProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/monitoring.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class MonitoringProto { private MonitoringProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MonitoringProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Monitoring_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Monitoring_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Monitoring_MonitoringDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -62,7 +73,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Monitoring_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Monitoring_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Monitoring_descriptor, new java.lang.String[] { "ProducerDestinations", "ConsumerDestinations", @@ -70,11 +81,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_Monitoring_MonitoringDestination_descriptor = internal_static_google_api_Monitoring_descriptor.getNestedTypes().get(0); internal_static_google_api_Monitoring_MonitoringDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Monitoring_MonitoringDestination_descriptor, new java.lang.String[] { "MonitoredResource", "Metrics", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java index f165d03ed9..242965546e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,30 +29,34 @@ * * Protobuf type {@code google.api.NodeSettings} */ -public final class NodeSettings extends com.google.protobuf.GeneratedMessageV3 +public final class NodeSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.NodeSettings) NodeSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + NodeSettings.class.getName()); + } // Use NodeSettings.newBuilder() to construct. - private NodeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private NodeSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private NodeSettings() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new NodeSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_NodeSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_NodeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -209,38 +214,38 @@ public static com.google.api.NodeSettings parseFrom( public static com.google.api.NodeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.NodeSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.NodeSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.NodeSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.NodeSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.NodeSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -263,7 +268,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -276,7 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.NodeSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.NodeSettings) com.google.api.NodeSettingsOrBuilder { @@ -285,7 +290,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_NodeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -297,13 +302,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommonFieldBuilder(); } } @@ -359,39 +364,6 @@ private void buildPartial0(com.google.api.NodeSettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.NodeSettings) { @@ -459,7 +431,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.api.CommonLanguageSettings common_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> @@ -626,14 +598,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * * .google.api.CommonLanguageSettings common = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( @@ -643,17 +615,6 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { return commonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.NodeSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java index e62d3d1625..f3495a41ea 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/NodeSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface NodeSettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java index a48b55ac0d..4abc7f52eb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirements.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -45,13 +46,23 @@ * * Protobuf type {@code google.api.OAuthRequirements} */ -public final class OAuthRequirements extends com.google.protobuf.GeneratedMessageV3 +public final class OAuthRequirements extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.OAuthRequirements) OAuthRequirementsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OAuthRequirements.class.getName()); + } // Use OAuthRequirements.newBuilder() to construct. - private OAuthRequirements(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OAuthRequirements(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -59,18 +70,12 @@ private OAuthRequirements() { canonicalScopes_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OAuthRequirements(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.AuthProto.internal_static_google_api_OAuthRequirements_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto.internal_static_google_api_OAuthRequirements_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -90,8 +95,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; @@ -119,8 +124,8 @@ public java.lang.String getCanonicalScopes() { * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; @@ -154,8 +159,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalScopes_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, canonicalScopes_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(canonicalScopes_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, canonicalScopes_); } getUnknownFields().writeTo(output); } @@ -166,8 +171,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(canonicalScopes_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, canonicalScopes_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(canonicalScopes_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, canonicalScopes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -239,38 +244,38 @@ public static com.google.api.OAuthRequirements parseFrom( public static com.google.api.OAuthRequirements parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.OAuthRequirements parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.OAuthRequirements parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.OAuthRequirements parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.OAuthRequirements parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.OAuthRequirements parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -293,7 +298,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -323,7 +328,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.OAuthRequirements} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.OAuthRequirements) com.google.api.OAuthRequirementsOrBuilder { @@ -332,7 +337,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.AuthProto .internal_static_google_api_OAuthRequirements_fieldAccessorTable @@ -344,7 +349,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.OAuthRequirements.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -392,39 +397,6 @@ private void buildPartial0(com.google.api.OAuthRequirements result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.OAuthRequirements) { @@ -503,8 +475,8 @@ public Builder mergeFrom( * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; @@ -531,8 +503,8 @@ public java.lang.String getCanonicalScopes() { * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; @@ -559,8 +531,8 @@ public com.google.protobuf.ByteString getCanonicalScopesBytes() { * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; @@ -586,8 +558,8 @@ public Builder setCanonicalScopes(java.lang.String value) { * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; @@ -609,8 +581,8 @@ public Builder clearCanonicalScopes() { * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; @@ -629,17 +601,6 @@ public Builder setCanonicalScopesBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.OAuthRequirements) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java index c8d98a68c0..5688e5effb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/OAuthRequirementsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/auth.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface OAuthRequirementsOrBuilder @@ -33,8 +34,8 @@ public interface OAuthRequirementsOrBuilder * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; @@ -51,8 +52,8 @@ public interface OAuthRequirementsOrBuilder * * Example: * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read + * canonical_scopes: https://www.googleapis.com/auth/calendar, + * https://www.googleapis.com/auth/calendar.read * * * string canonical_scopes = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java index 884d13db31..57d1def752 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Page.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/documentation.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.api.Page} */ -public final class Page extends com.google.protobuf.GeneratedMessageV3 +public final class Page extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Page) PageOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Page.class.getName()); + } // Use Page.newBuilder() to construct. - private Page(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Page(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,18 +56,12 @@ private Page() { subpages_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Page(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.DocumentationProto.internal_static_google_api_Page_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DocumentationProto.internal_static_google_api_Page_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -78,10 +83,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. @@ -114,10 +119,10 @@ public java.lang.String getName() { * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. @@ -284,11 +289,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(content_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, content_); } for (int i = 0; i < subpages_.size(); i++) { output.writeMessage(3, subpages_.get(i)); @@ -302,11 +307,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(content_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, content_); } for (int i = 0; i < subpages_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, subpages_.get(i)); @@ -389,38 +394,38 @@ public static com.google.api.Page parseFrom( public static com.google.api.Page parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Page parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Page parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Page parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Page parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Page parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -443,7 +448,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -457,7 +462,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Page} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Page) com.google.api.PageOrBuilder { @@ -466,7 +471,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.DocumentationProto.internal_static_google_api_Page_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -476,7 +481,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Page.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -548,39 +553,6 @@ private void buildPartial0(com.google.api.Page result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Page) { @@ -622,7 +594,7 @@ public Builder mergeFrom(com.google.api.Page other) { subpages_ = other.subpages_; bitField0_ = (bitField0_ & ~0x00000004); subpagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getSubpagesFieldBuilder() : null; } else { @@ -711,10 +683,10 @@ public Builder mergeFrom( * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. @@ -746,10 +718,10 @@ public java.lang.String getName() { * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. @@ -781,10 +753,10 @@ public com.google.protobuf.ByteString getNameBytes() { * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. @@ -815,10 +787,10 @@ public Builder setName(java.lang.String value) { * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. @@ -845,10 +817,10 @@ public Builder clearName() { * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. @@ -995,7 +967,7 @@ private void ensureSubpagesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> subpagesBuilder_; @@ -1326,12 +1298,12 @@ public java.util.List getSubpagesBuilderList() { return getSubpagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder> getSubpagesFieldBuilder() { if (subpagesBuilder_ == null) { subpagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Page, com.google.api.Page.Builder, com.google.api.PageOrBuilder>( subpages_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); subpages_ = null; @@ -1339,17 +1311,6 @@ public java.util.List getSubpagesBuilderList() { return subpagesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Page) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java index 71906fa6d8..b29d1c48cc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PageOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/documentation.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface PageOrBuilder @@ -35,10 +36,10 @@ public interface PageOrBuilder * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. @@ -60,10 +61,10 @@ public interface PageOrBuilder * documentation. For example: * <pre><code>pages: * - name: Tutorial - * content: &#40;== include tutorial.md ==&#41; - * subpages: - * - name: Java - * content: &#40;== include tutorial_java.md ==&#41; + * content: &#40;== include tutorial.md ==&#41; + * subpages: + * - name: Java + * content: &#40;== include tutorial_java.md ==&#41; * </code></pre> * You can reference `Java` page using Markdown reference link syntax: * `[Java][Tutorial.Java]`. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java index 6a30e563c4..7862852ce7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,30 +29,34 @@ * * Protobuf type {@code google.api.PhpSettings} */ -public final class PhpSettings extends com.google.protobuf.GeneratedMessageV3 +public final class PhpSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.PhpSettings) PhpSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PhpSettings.class.getName()); + } // Use PhpSettings.newBuilder() to construct. - private PhpSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PhpSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private PhpSettings() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PhpSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_PhpSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_PhpSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -209,38 +214,38 @@ public static com.google.api.PhpSettings parseFrom( public static com.google.api.PhpSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.PhpSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.PhpSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.PhpSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.PhpSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.PhpSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -263,7 +268,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -276,7 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.PhpSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.PhpSettings) com.google.api.PhpSettingsOrBuilder { @@ -285,7 +290,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_PhpSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -297,13 +302,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommonFieldBuilder(); } } @@ -359,39 +364,6 @@ private void buildPartial0(com.google.api.PhpSettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.PhpSettings) { @@ -459,7 +431,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.api.CommonLanguageSettings common_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> @@ -626,14 +598,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * * .google.api.CommonLanguageSettings common = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( @@ -643,17 +615,6 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { return commonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.PhpSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java index 7bad435e46..c5c06e9cfa 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PhpSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface PhpSettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java index c4818189a8..a2bc26cbce 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PolicyProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/policy.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class PolicyProto { private PolicyProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PolicyProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.api.PolicyProto.fieldPolicy); registry.add(com.google.api.PolicyProto.methodPolicy); @@ -65,11 +76,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_FieldPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_FieldPolicy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MethodPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MethodPolicy_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -103,20 +114,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_FieldPolicy_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_FieldPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_FieldPolicy_descriptor, new java.lang.String[] { "Selector", "ResourcePermission", "ResourceType", }); internal_static_google_api_MethodPolicy_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_MethodPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MethodPolicy_descriptor, new java.lang.String[] { "Selector", "RequestPolicies", }); fieldPolicy.internalInit(descriptor.getExtensions().get(0)); methodPolicy.internalInit(descriptor.getExtensions().get(1)); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DescriptorProtos.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java index 48752c9733..c15b168494 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectProperties.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/consumer.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -32,24 +33,34 @@ * * Example: * - * project_properties: - * properties: - * - name: NO_WATERMARK - * type: BOOL - * description: Allows usage of the API without watermarks. - * - name: EXTENDED_TILE_CACHE_PERIOD - * type: INT64 + * project_properties: + * properties: + * - name: NO_WATERMARK + * type: BOOL + * description: Allows usage of the API without watermarks. + * - name: EXTENDED_TILE_CACHE_PERIOD + * type: INT64 * * * Protobuf type {@code google.api.ProjectProperties} */ -public final class ProjectProperties extends com.google.protobuf.GeneratedMessageV3 +public final class ProjectProperties extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.ProjectProperties) ProjectPropertiesOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ProjectProperties.class.getName()); + } // Use ProjectProperties.newBuilder() to construct. - private ProjectProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ProjectProperties(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -57,18 +68,12 @@ private ProjectProperties() { properties_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ProjectProperties(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ConsumerProto.internal_static_google_api_ProjectProperties_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ConsumerProto .internal_static_google_api_ProjectProperties_fieldAccessorTable @@ -247,38 +252,38 @@ public static com.google.api.ProjectProperties parseFrom( public static com.google.api.ProjectProperties parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ProjectProperties parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ProjectProperties parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.ProjectProperties parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ProjectProperties parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ProjectProperties parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -301,7 +306,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -318,18 +323,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * project_properties: - * properties: - * - name: NO_WATERMARK - * type: BOOL - * description: Allows usage of the API without watermarks. - * - name: EXTENDED_TILE_CACHE_PERIOD - * type: INT64 + * project_properties: + * properties: + * - name: NO_WATERMARK + * type: BOOL + * description: Allows usage of the API without watermarks. + * - name: EXTENDED_TILE_CACHE_PERIOD + * type: INT64 * * * Protobuf type {@code google.api.ProjectProperties} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.ProjectProperties) com.google.api.ProjectPropertiesOrBuilder { @@ -338,7 +343,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ConsumerProto .internal_static_google_api_ProjectProperties_fieldAccessorTable @@ -350,7 +355,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.ProjectProperties.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -414,39 +419,6 @@ private void buildPartial0(com.google.api.ProjectProperties result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.ProjectProperties) { @@ -478,7 +450,7 @@ public Builder mergeFrom(com.google.api.ProjectProperties other) { properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000001); propertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPropertiesFieldBuilder() : null; } else { @@ -552,7 +524,7 @@ private void ensurePropertiesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Property, com.google.api.Property.Builder, com.google.api.PropertyOrBuilder> @@ -868,14 +840,14 @@ public java.util.List getPropertiesBuilderList( return getPropertiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Property, com.google.api.Property.Builder, com.google.api.PropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { propertiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Property, com.google.api.Property.Builder, com.google.api.PropertyOrBuilder>( @@ -885,17 +857,6 @@ public java.util.List getPropertiesBuilderList( return propertiesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.ProjectProperties) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java index 454cb631d4..f77c29e48c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ProjectPropertiesOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/consumer.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ProjectPropertiesOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java index 807c9d05d4..9e3c1f7ac7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Property.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/consumer.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -37,13 +38,23 @@ * * Protobuf type {@code google.api.Property} */ -public final class Property extends com.google.protobuf.GeneratedMessageV3 +public final class Property extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Property) PropertyOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Property.class.getName()); + } // Use Property.newBuilder() to construct. - private Property(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Property(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -53,18 +64,12 @@ private Property() { description_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Property(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ConsumerProto.internal_static_google_api_Property_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ConsumerProto.internal_static_google_api_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -134,6 +139,15 @@ public enum PropertyType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PropertyType.class.getName()); + } /** * * @@ -423,14 +437,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (type_ != com.google.api.Property.PropertyType.UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } getUnknownFields().writeTo(output); } @@ -441,14 +455,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (type_ != com.google.api.Property.PropertyType.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -526,38 +540,38 @@ public static com.google.api.Property parseFrom( public static com.google.api.Property parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Property parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Property parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Property parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Property parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Property parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -580,7 +594,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -602,7 +616,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Property} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Property) com.google.api.PropertyOrBuilder { @@ -611,7 +625,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ConsumerProto.internal_static_google_api_Property_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -621,7 +635,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Property.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -677,39 +691,6 @@ private void buildPartial0(com.google.api.Property result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Property) { @@ -1100,17 +1081,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Property) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java index 063713885c..0474a971d0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PropertyOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/consumer.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface PropertyOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java index 81416e6681..f68a475e23 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Publishing.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,13 +31,23 @@ * * Protobuf type {@code google.api.Publishing} */ -public final class Publishing extends com.google.protobuf.GeneratedMessageV3 +public final class Publishing extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Publishing) PublishingOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Publishing.class.getName()); + } // Use Publishing.newBuilder() to construct. - private Publishing(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Publishing(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -54,18 +65,12 @@ private Publishing() { restReferenceDocumentationUri_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Publishing(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_Publishing_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_Publishing_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -720,24 +725,24 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < methodSettings_.size(); i++) { output.writeMessage(2, methodSettings_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newIssueUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 101, newIssueUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newIssueUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 101, newIssueUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(documentationUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 102, documentationUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(documentationUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 102, documentationUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiShortName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 103, apiShortName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(apiShortName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 103, apiShortName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(githubLabel_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 104, githubLabel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(githubLabel_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 104, githubLabel_); } for (int i = 0; i < codeownerGithubTeams_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( + com.google.protobuf.GeneratedMessage.writeString( output, 105, codeownerGithubTeams_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(docTagPrefix_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 106, docTagPrefix_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(docTagPrefix_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 106, docTagPrefix_); } if (organization_ != com.google.api.ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED @@ -747,13 +752,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < librarySettings_.size(); i++) { output.writeMessage(109, librarySettings_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoReferenceDocumentationUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString( + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protoReferenceDocumentationUri_)) { + com.google.protobuf.GeneratedMessage.writeString( output, 110, protoReferenceDocumentationUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(restReferenceDocumentationUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 111, restReferenceDocumentationUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(restReferenceDocumentationUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 111, restReferenceDocumentationUri_); } getUnknownFields().writeTo(output); } @@ -767,17 +771,17 @@ public int getSerializedSize() { for (int i = 0; i < methodSettings_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, methodSettings_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newIssueUri_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(101, newIssueUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(newIssueUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(101, newIssueUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(documentationUri_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(102, documentationUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(documentationUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(102, documentationUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiShortName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(103, apiShortName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(apiShortName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(103, apiShortName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(githubLabel_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104, githubLabel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(githubLabel_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(104, githubLabel_); } { int dataSize = 0; @@ -787,8 +791,8 @@ public int getSerializedSize() { size += dataSize; size += 2 * getCodeownerGithubTeamsList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(docTagPrefix_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106, docTagPrefix_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(docTagPrefix_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(106, docTagPrefix_); } if (organization_ != com.google.api.ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED @@ -799,14 +803,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, librarySettings_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoReferenceDocumentationUri_)) { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protoReferenceDocumentationUri_)) { size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( + com.google.protobuf.GeneratedMessage.computeStringSize( 110, protoReferenceDocumentationUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(restReferenceDocumentationUri_)) { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(restReferenceDocumentationUri_)) { size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( + com.google.protobuf.GeneratedMessage.computeStringSize( 111, restReferenceDocumentationUri_); } size += getUnknownFields().getSerializedSize(); @@ -917,38 +921,38 @@ public static com.google.api.Publishing parseFrom( public static com.google.api.Publishing parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Publishing parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Publishing parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Publishing parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Publishing parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Publishing parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -971,7 +975,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -986,7 +990,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Publishing} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Publishing) com.google.api.PublishingOrBuilder { @@ -995,7 +999,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_Publishing_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1005,7 +1009,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Publishing.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1122,39 +1126,6 @@ private void buildPartial0(com.google.api.Publishing result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Publishing) { @@ -1186,7 +1157,7 @@ public Builder mergeFrom(com.google.api.Publishing other) { methodSettings_ = other.methodSettings_; bitField0_ = (bitField0_ & ~0x00000001); methodSettingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMethodSettingsFieldBuilder() : null; } else { @@ -1251,7 +1222,7 @@ public Builder mergeFrom(com.google.api.Publishing other) { librarySettings_ = other.librarySettings_; bitField0_ = (bitField0_ & ~0x00000100); librarySettingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLibrarySettingsFieldBuilder() : null; } else { @@ -1404,7 +1375,7 @@ private void ensureMethodSettingsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MethodSettings, com.google.api.MethodSettings.Builder, com.google.api.MethodSettingsOrBuilder> @@ -1743,14 +1714,14 @@ public java.util.List getMethodSettingsBu return getMethodSettingsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MethodSettings, com.google.api.MethodSettings.Builder, com.google.api.MethodSettingsOrBuilder> getMethodSettingsFieldBuilder() { if (methodSettingsBuilder_ == null) { methodSettingsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.MethodSettings, com.google.api.MethodSettings.Builder, com.google.api.MethodSettingsOrBuilder>( @@ -2602,7 +2573,7 @@ private void ensureLibrarySettingsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.ClientLibrarySettings, com.google.api.ClientLibrarySettings.Builder, com.google.api.ClientLibrarySettingsOrBuilder> @@ -2961,14 +2932,14 @@ public com.google.api.ClientLibrarySettings.Builder addLibrarySettingsBuilder(in return getLibrarySettingsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.ClientLibrarySettings, com.google.api.ClientLibrarySettings.Builder, com.google.api.ClientLibrarySettingsOrBuilder> getLibrarySettingsFieldBuilder() { if (librarySettingsBuilder_ == null) { librarySettingsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.ClientLibrarySettings, com.google.api.ClientLibrarySettings.Builder, com.google.api.ClientLibrarySettingsOrBuilder>( @@ -3203,17 +3174,6 @@ public Builder setRestReferenceDocumentationUriBytes(com.google.protobuf.ByteStr return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Publishing) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java index 1a83ea9d5b..9b78db2572 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PublishingOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface PublishingOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java index 22a4dd1ad5..66e4f7fc29 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,30 +29,34 @@ * * Protobuf type {@code google.api.PythonSettings} */ -public final class PythonSettings extends com.google.protobuf.GeneratedMessageV3 +public final class PythonSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.PythonSettings) PythonSettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PythonSettings.class.getName()); + } // Use PythonSettings.newBuilder() to construct. - private PythonSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PythonSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private PythonSettings() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PythonSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_PythonSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_PythonSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -209,38 +214,38 @@ public static com.google.api.PythonSettings parseFrom( public static com.google.api.PythonSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.PythonSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.PythonSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.PythonSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.PythonSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.PythonSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -263,7 +268,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -276,7 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.PythonSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.PythonSettings) com.google.api.PythonSettingsOrBuilder { @@ -285,7 +290,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_PythonSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -297,13 +302,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommonFieldBuilder(); } } @@ -359,39 +364,6 @@ private void buildPartial0(com.google.api.PythonSettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.PythonSettings) { @@ -459,7 +431,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.api.CommonLanguageSettings common_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> @@ -626,14 +598,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * * .google.api.CommonLanguageSettings common = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( @@ -643,17 +615,6 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { return commonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.PythonSettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java index 5cedfe17be..762a75c496 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/PythonSettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface PythonSettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java index bdda2b703b..1637e0c86e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Quota.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/quota.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,60 +30,70 @@ * The metric based quota configuration works this way: * - The service configuration defines a set of metrics. * - For API calls, the quota.metric_rules maps methods to metrics with - * corresponding costs. + * corresponding costs. * - The quota.limits defines limits on the metrics, which will be used for - * quota checks at runtime. + * quota checks at runtime. * * An example quota configuration in yaml format: * - * quota: - * limits: + * quota: + * limits: * - * - name: apiWriteQpsPerProject - * metric: library.googleapis.com/write_calls - * unit: "1/min/{project}" # rate limit for consumer projects - * values: - * STANDARD: 10000 + * - name: apiWriteQpsPerProject + * metric: library.googleapis.com/write_calls + * unit: "1/min/{project}" # rate limit for consumer projects + * values: + * STANDARD: 10000 * * - * (The metric rules bind all methods to the read_calls metric, - * except for the UpdateBook and DeleteBook methods. These two methods - * are mapped to the write_calls metric, with the UpdateBook method - * consuming at twice rate as the DeleteBook method.) - * metric_rules: - * - selector: "*" - * metric_costs: - * library.googleapis.com/read_calls: 1 - * - selector: google.example.library.v1.LibraryService.UpdateBook - * metric_costs: - * library.googleapis.com/write_calls: 2 - * - selector: google.example.library.v1.LibraryService.DeleteBook - * metric_costs: - * library.googleapis.com/write_calls: 1 + * (The metric rules bind all methods to the read_calls metric, + * except for the UpdateBook and DeleteBook methods. These two methods + * are mapped to the write_calls metric, with the UpdateBook method + * consuming at twice rate as the DeleteBook method.) + * metric_rules: + * - selector: "*" + * metric_costs: + * library.googleapis.com/read_calls: 1 + * - selector: google.example.library.v1.LibraryService.UpdateBook + * metric_costs: + * library.googleapis.com/write_calls: 2 + * - selector: google.example.library.v1.LibraryService.DeleteBook + * metric_costs: + * library.googleapis.com/write_calls: 1 * - * Corresponding Metric definition: + * Corresponding Metric definition: * - * metrics: - * - name: library.googleapis.com/read_calls - * display_name: Read requests - * metric_kind: DELTA - * value_type: INT64 + * metrics: + * - name: library.googleapis.com/read_calls + * display_name: Read requests + * metric_kind: DELTA + * value_type: INT64 * - * - name: library.googleapis.com/write_calls - * display_name: Write requests - * metric_kind: DELTA - * value_type: INT64 + * - name: library.googleapis.com/write_calls + * display_name: Write requests + * metric_kind: DELTA + * value_type: INT64 * * * Protobuf type {@code google.api.Quota} */ -public final class Quota extends com.google.protobuf.GeneratedMessageV3 +public final class Quota extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Quota) QuotaOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Quota.class.getName()); + } // Use Quota.newBuilder() to construct. - private Quota(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Quota(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -91,18 +102,12 @@ private Quota() { metricRules_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Quota(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.QuotaProto.internal_static_google_api_Quota_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.QuotaProto.internal_static_google_api_Quota_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -367,38 +372,38 @@ public static com.google.api.Quota parseFrom( public static com.google.api.Quota parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Quota parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Quota parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Quota parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Quota parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Quota parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -421,7 +426,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -435,54 +440,54 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * The metric based quota configuration works this way: * - The service configuration defines a set of metrics. * - For API calls, the quota.metric_rules maps methods to metrics with - * corresponding costs. + * corresponding costs. * - The quota.limits defines limits on the metrics, which will be used for - * quota checks at runtime. + * quota checks at runtime. * * An example quota configuration in yaml format: * - * quota: - * limits: + * quota: + * limits: * - * - name: apiWriteQpsPerProject - * metric: library.googleapis.com/write_calls - * unit: "1/min/{project}" # rate limit for consumer projects - * values: - * STANDARD: 10000 + * - name: apiWriteQpsPerProject + * metric: library.googleapis.com/write_calls + * unit: "1/min/{project}" # rate limit for consumer projects + * values: + * STANDARD: 10000 * * - * (The metric rules bind all methods to the read_calls metric, - * except for the UpdateBook and DeleteBook methods. These two methods - * are mapped to the write_calls metric, with the UpdateBook method - * consuming at twice rate as the DeleteBook method.) - * metric_rules: - * - selector: "*" - * metric_costs: - * library.googleapis.com/read_calls: 1 - * - selector: google.example.library.v1.LibraryService.UpdateBook - * metric_costs: - * library.googleapis.com/write_calls: 2 - * - selector: google.example.library.v1.LibraryService.DeleteBook - * metric_costs: - * library.googleapis.com/write_calls: 1 + * (The metric rules bind all methods to the read_calls metric, + * except for the UpdateBook and DeleteBook methods. These two methods + * are mapped to the write_calls metric, with the UpdateBook method + * consuming at twice rate as the DeleteBook method.) + * metric_rules: + * - selector: "*" + * metric_costs: + * library.googleapis.com/read_calls: 1 + * - selector: google.example.library.v1.LibraryService.UpdateBook + * metric_costs: + * library.googleapis.com/write_calls: 2 + * - selector: google.example.library.v1.LibraryService.DeleteBook + * metric_costs: + * library.googleapis.com/write_calls: 1 * - * Corresponding Metric definition: + * Corresponding Metric definition: * - * metrics: - * - name: library.googleapis.com/read_calls - * display_name: Read requests - * metric_kind: DELTA - * value_type: INT64 + * metrics: + * - name: library.googleapis.com/read_calls + * display_name: Read requests + * metric_kind: DELTA + * value_type: INT64 * - * - name: library.googleapis.com/write_calls - * display_name: Write requests - * metric_kind: DELTA - * value_type: INT64 + * - name: library.googleapis.com/write_calls + * display_name: Write requests + * metric_kind: DELTA + * value_type: INT64 * * * Protobuf type {@code google.api.Quota} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Quota) com.google.api.QuotaOrBuilder { @@ -491,7 +496,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.QuotaProto.internal_static_google_api_Quota_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -501,7 +506,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Quota.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -581,39 +586,6 @@ private void buildPartial0(com.google.api.Quota result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Quota) { @@ -645,7 +617,7 @@ public Builder mergeFrom(com.google.api.Quota other) { limits_ = other.limits_; bitField0_ = (bitField0_ & ~0x00000001); limitsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLimitsFieldBuilder() : null; } else { @@ -672,7 +644,7 @@ public Builder mergeFrom(com.google.api.Quota other) { metricRules_ = other.metricRules_; bitField0_ = (bitField0_ & ~0x00000002); metricRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMetricRulesFieldBuilder() : null; } else { @@ -758,7 +730,7 @@ private void ensureLimitsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.QuotaLimit, com.google.api.QuotaLimit.Builder, com.google.api.QuotaLimitOrBuilder> @@ -1074,14 +1046,14 @@ public java.util.List getLimitsBuilderList() return getLimitsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.QuotaLimit, com.google.api.QuotaLimit.Builder, com.google.api.QuotaLimitOrBuilder> getLimitsFieldBuilder() { if (limitsBuilder_ == null) { limitsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.QuotaLimit, com.google.api.QuotaLimit.Builder, com.google.api.QuotaLimitOrBuilder>( @@ -1101,7 +1073,7 @@ private void ensureMetricRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MetricRule, com.google.api.MetricRule.Builder, com.google.api.MetricRuleOrBuilder> @@ -1438,14 +1410,14 @@ public java.util.List getMetricRulesBuilderLi return getMetricRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MetricRule, com.google.api.MetricRule.Builder, com.google.api.MetricRuleOrBuilder> getMetricRulesFieldBuilder() { if (metricRulesBuilder_ == null) { metricRulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.MetricRule, com.google.api.MetricRule.Builder, com.google.api.MetricRuleOrBuilder>( @@ -1455,17 +1427,6 @@ public java.util.List getMetricRulesBuilderLi return metricRulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Quota) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java index e7d9113d91..8368cf9464 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimit.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/quota.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,13 +31,23 @@ * * Protobuf type {@code google.api.QuotaLimit} */ -public final class QuotaLimit extends com.google.protobuf.GeneratedMessageV3 +public final class QuotaLimit extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.QuotaLimit) QuotaLimitOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + QuotaLimit.class.getName()); + } // Use QuotaLimit.newBuilder() to construct. - private QuotaLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QuotaLimit(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -49,12 +60,6 @@ private QuotaLimit() { displayName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new QuotaLimit(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_descriptor; } @@ -72,7 +77,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -627,8 +632,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } if (defaultLimit_ != 0L) { output.writeInt64(3, defaultLimit_); @@ -636,25 +641,25 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (maxLimit_ != 0L) { output.writeInt64(4, maxLimit_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(duration_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, duration_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(duration_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, duration_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, name_); } if (freeTier_ != 0L) { output.writeInt64(7, freeTier_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, metric_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metric_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, metric_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, unit_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(unit_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 9, unit_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetValues(), ValuesDefaultEntryHolder.defaultEntry, 10); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, displayName_); } getUnknownFields().writeTo(output); } @@ -665,8 +670,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } if (defaultLimit_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, defaultLimit_); @@ -674,20 +679,20 @@ public int getSerializedSize() { if (maxLimit_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, maxLimit_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(duration_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, duration_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(duration_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, duration_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, name_); } if (freeTier_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, freeTier_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metric_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, metric_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metric_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, metric_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, unit_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(unit_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(9, unit_); } for (java.util.Map.Entry entry : internalGetValues().getMap().entrySet()) { @@ -699,8 +704,8 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, values__); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, displayName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -801,38 +806,38 @@ public static com.google.api.QuotaLimit parseFrom( public static com.google.api.QuotaLimit parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.QuotaLimit parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.QuotaLimit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.QuotaLimit parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.QuotaLimit parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.QuotaLimit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -855,7 +860,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -870,7 +875,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.QuotaLimit} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.QuotaLimit) com.google.api.QuotaLimitOrBuilder { @@ -901,7 +906,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.QuotaProto.internal_static_google_api_QuotaLimit_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -911,7 +916,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.api.QuotaLimit.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -996,39 +1001,6 @@ private void buildPartial0(com.google.api.QuotaLimit result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.QuotaLimit) { @@ -2342,17 +2314,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.QuotaLimit) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java index a146840b63..ba7f5c1b63 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaLimitOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/quota.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface QuotaLimitOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java index 7b39758d2f..fa579ebba6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/quota.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface QuotaOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java index e61e5edb8c..934a5931a8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/QuotaProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/quota.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class QuotaProto { private QuotaProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + QuotaProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,23 +41,23 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Quota_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Quota_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MetricRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MetricRule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_MetricRule_MetricCostsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_MetricRule_MetricCostsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_QuotaLimit_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_QuotaLimit_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_QuotaLimit_ValuesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_QuotaLimit_ValuesEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -80,14 +91,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Quota_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Quota_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Quota_descriptor, new java.lang.String[] { "Limits", "MetricRules", }); internal_static_google_api_MetricRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_MetricRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MetricRule_descriptor, new java.lang.String[] { "Selector", "MetricCosts", @@ -95,14 +106,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_MetricRule_MetricCostsEntry_descriptor = internal_static_google_api_MetricRule_descriptor.getNestedTypes().get(0); internal_static_google_api_MetricRule_MetricCostsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_MetricRule_MetricCostsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_api_QuotaLimit_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_api_QuotaLimit_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_QuotaLimit_descriptor, new java.lang.String[] { "Name", @@ -119,11 +130,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_QuotaLimit_ValuesEntry_descriptor = internal_static_google_api_QuotaLimit_descriptor.getNestedTypes().get(0); internal_static_google_api_QuotaLimit_ValuesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_QuotaLimit_ValuesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java index eb145d422d..bc61738c00 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptor.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -31,56 +32,66 @@ * * Example: * - * message Topic { - * // Indicates this message defines a resource schema. - * // Declares the resource type in the format of {service}/{kind}. - * // For Kubernetes resources, the format is {api group}/{kind}. - * option (google.api.resource) = { - * type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" - * }; - * } + * message Topic { + * // Indicates this message defines a resource schema. + * // Declares the resource type in the format of {service}/{kind}. + * // For Kubernetes resources, the format is {api group}/{kind}. + * option (google.api.resource) = { + * type: "pubsub.googleapis.com/Topic" + * pattern: "projects/{project}/topics/{topic}" + * }; + * } * * The ResourceDescriptor Yaml config will look like: * - * resources: - * - type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" + * resources: + * - type: "pubsub.googleapis.com/Topic" + * pattern: "projects/{project}/topics/{topic}" * * Sometimes, resources have multiple patterns, typically because they can * live under multiple parents. * * Example: * - * message LogEntry { - * option (google.api.resource) = { - * type: "logging.googleapis.com/LogEntry" - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" - * }; - * } + * message LogEntry { + * option (google.api.resource) = { + * type: "logging.googleapis.com/LogEntry" + * pattern: "projects/{project}/logs/{log}" + * pattern: "folders/{folder}/logs/{log}" + * pattern: "organizations/{organization}/logs/{log}" + * pattern: "billingAccounts/{billing_account}/logs/{log}" + * }; + * } * * The ResourceDescriptor Yaml config will look like: * - * resources: - * - type: 'logging.googleapis.com/LogEntry' - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" + * resources: + * - type: 'logging.googleapis.com/LogEntry' + * pattern: "projects/{project}/logs/{log}" + * pattern: "folders/{folder}/logs/{log}" + * pattern: "organizations/{organization}/logs/{log}" + * pattern: "billingAccounts/{billing_account}/logs/{log}" * * * Protobuf type {@code google.api.ResourceDescriptor} */ -public final class ResourceDescriptor extends com.google.protobuf.GeneratedMessageV3 +public final class ResourceDescriptor extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.ResourceDescriptor) ResourceDescriptorOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ResourceDescriptor.class.getName()); + } // Use ResourceDescriptor.newBuilder() to construct. - private ResourceDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResourceDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -94,18 +105,12 @@ private ResourceDescriptor() { style_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ResourceDescriptor(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ResourceProto.internal_static_google_api_ResourceDescriptor_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ResourceProto .internal_static_google_api_ResourceDescriptor_fieldAccessorTable @@ -161,6 +166,15 @@ public enum History implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + History.class.getName()); + } /** * * @@ -318,6 +332,15 @@ public enum Style implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Style.class.getName()); + } /** * * @@ -511,14 +534,14 @@ public com.google.protobuf.ByteString getTypeBytes() { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -543,14 +566,14 @@ public com.google.protobuf.ProtocolStringList getPatternList() { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -575,14 +598,14 @@ public int getPatternCount() { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -608,14 +631,14 @@ public java.lang.String getPattern(int index) { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -695,17 +718,17 @@ public com.google.protobuf.ByteString getNameFieldBytes() { * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; @@ -724,17 +747,17 @@ public int getHistoryValue() { * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; @@ -990,23 +1013,23 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, type_); } for (int i = 0; i < pattern_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pattern_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, pattern_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nameField_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nameField_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nameField_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, nameField_); } if (history_ != com.google.api.ResourceDescriptor.History.HISTORY_UNSPECIFIED.getNumber()) { output.writeEnum(4, history_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(plural_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, plural_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(plural_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, plural_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(singular_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, singular_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(singular_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, singular_); } if (getStyleList().size() > 0) { output.writeUInt32NoTag(82); @@ -1024,8 +1047,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_); } { int dataSize = 0; @@ -1035,17 +1058,17 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPatternList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nameField_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nameField_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nameField_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, nameField_); } if (history_ != com.google.api.ResourceDescriptor.History.HISTORY_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, history_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(plural_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, plural_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(plural_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, plural_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(singular_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, singular_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(singular_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, singular_); } { int dataSize = 0; @@ -1151,38 +1174,38 @@ public static com.google.api.ResourceDescriptor parseFrom( public static com.google.api.ResourceDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ResourceDescriptor parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ResourceDescriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.ResourceDescriptor parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ResourceDescriptor parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ResourceDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1205,7 +1228,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1221,50 +1244,50 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * message Topic { - * // Indicates this message defines a resource schema. - * // Declares the resource type in the format of {service}/{kind}. - * // For Kubernetes resources, the format is {api group}/{kind}. - * option (google.api.resource) = { - * type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" - * }; - * } + * message Topic { + * // Indicates this message defines a resource schema. + * // Declares the resource type in the format of {service}/{kind}. + * // For Kubernetes resources, the format is {api group}/{kind}. + * option (google.api.resource) = { + * type: "pubsub.googleapis.com/Topic" + * pattern: "projects/{project}/topics/{topic}" + * }; + * } * * The ResourceDescriptor Yaml config will look like: * - * resources: - * - type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" + * resources: + * - type: "pubsub.googleapis.com/Topic" + * pattern: "projects/{project}/topics/{topic}" * * Sometimes, resources have multiple patterns, typically because they can * live under multiple parents. * * Example: * - * message LogEntry { - * option (google.api.resource) = { - * type: "logging.googleapis.com/LogEntry" - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" - * }; - * } + * message LogEntry { + * option (google.api.resource) = { + * type: "logging.googleapis.com/LogEntry" + * pattern: "projects/{project}/logs/{log}" + * pattern: "folders/{folder}/logs/{log}" + * pattern: "organizations/{organization}/logs/{log}" + * pattern: "billingAccounts/{billing_account}/logs/{log}" + * }; + * } * * The ResourceDescriptor Yaml config will look like: * - * resources: - * - type: 'logging.googleapis.com/LogEntry' - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" + * resources: + * - type: 'logging.googleapis.com/LogEntry' + * pattern: "projects/{project}/logs/{log}" + * pattern: "folders/{folder}/logs/{log}" + * pattern: "organizations/{organization}/logs/{log}" + * pattern: "billingAccounts/{billing_account}/logs/{log}" * * * Protobuf type {@code google.api.ResourceDescriptor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.ResourceDescriptor) com.google.api.ResourceDescriptorOrBuilder { @@ -1273,7 +1296,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ResourceProto .internal_static_google_api_ResourceDescriptor_fieldAccessorTable @@ -1285,7 +1308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.ResourceDescriptor.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1365,39 +1388,6 @@ private void buildPartial0(com.google.api.ResourceDescriptor result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.ResourceDescriptor) { @@ -1724,14 +1714,14 @@ private void ensurePatternIsMutable() { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -1757,14 +1747,14 @@ public com.google.protobuf.ProtocolStringList getPatternList() { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -1789,14 +1779,14 @@ public int getPatternCount() { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -1822,14 +1812,14 @@ public java.lang.String getPattern(int index) { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -1855,14 +1845,14 @@ public com.google.protobuf.ByteString getPatternBytes(int index) { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -1896,14 +1886,14 @@ public Builder setPattern(int index, java.lang.String value) { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -1936,14 +1926,14 @@ public Builder addPattern(java.lang.String value) { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -1973,14 +1963,14 @@ public Builder addAllPattern(java.lang.Iterable values) { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -2009,14 +1999,14 @@ public Builder clearPattern() { * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -2161,17 +2151,17 @@ public Builder setNameFieldBytes(com.google.protobuf.ByteString value) { * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; @@ -2190,17 +2180,17 @@ public int getHistoryValue() { * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; @@ -2222,17 +2212,17 @@ public Builder setHistoryValue(int value) { * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; @@ -2253,17 +2243,17 @@ public com.google.api.ResourceDescriptor.History getHistory() { * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; @@ -2288,17 +2278,17 @@ public Builder setHistory(com.google.api.ResourceDescriptor.History value) { * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; @@ -2813,17 +2803,6 @@ public Builder addAllStyleValue(java.lang.Iterable values) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.ResourceDescriptor) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java index e927938e2b..6cce4b1c9d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceDescriptorOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ResourceDescriptorOrBuilder @@ -77,14 +78,14 @@ public interface ResourceDescriptorOrBuilder * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -107,14 +108,14 @@ public interface ResourceDescriptorOrBuilder * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -137,14 +138,14 @@ public interface ResourceDescriptorOrBuilder * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -168,14 +169,14 @@ public interface ResourceDescriptorOrBuilder * The path pattern must follow the syntax, which aligns with HTTP binding * syntax: * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; + * Template = Segment { "/" Segment } ; + * Segment = LITERAL | Variable ; + * Variable = "{" LITERAL "}" ; * * Examples: * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" + * - "projects/{project}/topics/{topic}" + * - "projects/{project}/knowledgeBases/{knowledge_base}" * * The components in braces correspond to the IDs for each resource in the * hierarchy. It is expected that, if multiple patterns are provided, @@ -225,17 +226,17 @@ public interface ResourceDescriptorOrBuilder * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; @@ -251,17 +252,17 @@ public interface ResourceDescriptorOrBuilder * * Example: * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } + * // The InspectTemplate message originally only supported resource + * // names with organization, and project was added later. + * message InspectTemplate { + * option (google.api.resource) = { + * type: "dlp.googleapis.com/InspectTemplate" + * pattern: + * "organizations/{organization}/inspectTemplates/{inspect_template}" + * pattern: "projects/{project}/inspectTemplates/{inspect_template}" + * history: ORIGINALLY_SINGLE_PATTERN + * }; + * } * * * .google.api.ResourceDescriptor.History history = 4; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java index 6319f66d69..63ae5e0921 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class ResourceProto { private ResourceProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ResourceProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.api.ResourceProto.resourceReference); registry.add(com.google.api.ResourceProto.resourceDefinition); @@ -89,11 +100,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_ResourceDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_ResourceDescriptor_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_ResourceReference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_ResourceReference_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -137,7 +148,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_ResourceDescriptor_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_ResourceDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_ResourceDescriptor_descriptor, new java.lang.String[] { "Type", "Pattern", "NameField", "History", "Plural", "Singular", "Style", @@ -145,7 +156,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_ResourceReference_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_ResourceReference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_ResourceReference_descriptor, new java.lang.String[] { "Type", "ChildType", @@ -153,6 +164,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { resourceReference.internalInit(descriptor.getExtensions().get(0)); resourceDefinition.internalInit(descriptor.getExtensions().get(1)); resource.internalInit(descriptor.getExtensions().get(2)); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DescriptorProtos.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java index fb07d05cb9..b5b0bbd2e8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReference.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.api.ResourceReference} */ -public final class ResourceReference extends com.google.protobuf.GeneratedMessageV3 +public final class ResourceReference extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.ResourceReference) ResourceReferenceOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ResourceReference.class.getName()); + } // Use ResourceReference.newBuilder() to construct. - private ResourceReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResourceReference(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +55,12 @@ private ResourceReference() { childType_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ResourceReference(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ResourceProto.internal_static_google_api_ResourceReference_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ResourceProto .internal_static_google_api_ResourceReference_fieldAccessorTable @@ -75,22 +80,22 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -117,22 +122,22 @@ public java.lang.String getType() { * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -166,11 +171,11 @@ public com.google.protobuf.ByteString getTypeBytes() { * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; @@ -199,11 +204,11 @@ public java.lang.String getChildType() { * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; @@ -237,11 +242,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(childType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, childType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(childType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, childType_); } getUnknownFields().writeTo(output); } @@ -252,11 +257,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(childType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, childType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(childType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, childType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,38 +336,38 @@ public static com.google.api.ResourceReference parseFrom( public static com.google.api.ResourceReference parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ResourceReference parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ResourceReference parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.ResourceReference parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.ResourceReference parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.ResourceReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -385,7 +390,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -399,7 +404,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.ResourceReference} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.ResourceReference) com.google.api.ResourceReferenceOrBuilder { @@ -408,7 +413,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ResourceProto .internal_static_google_api_ResourceReference_fieldAccessorTable @@ -420,7 +425,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.ResourceReference.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -472,39 +477,6 @@ private void buildPartial0(com.google.api.ResourceReference result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.ResourceReference) { @@ -593,22 +565,22 @@ public Builder mergeFrom( * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -634,22 +606,22 @@ public java.lang.String getType() { * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -675,22 +647,22 @@ public com.google.protobuf.ByteString getTypeBytes() { * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -715,22 +687,22 @@ public Builder setType(java.lang.String value) { * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -751,22 +723,22 @@ public Builder clearType() { * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -796,11 +768,11 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; @@ -828,11 +800,11 @@ public java.lang.String getChildType() { * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; @@ -860,11 +832,11 @@ public com.google.protobuf.ByteString getChildTypeBytes() { * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; @@ -891,11 +863,11 @@ public Builder setChildType(java.lang.String value) { * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; @@ -918,11 +890,11 @@ public Builder clearChildType() { * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; @@ -941,17 +913,6 @@ public Builder setChildTypeBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.ResourceReference) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java index 0a3351f678..a6bf333d4a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ResourceReferenceOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/resource.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ResourceReferenceOrBuilder @@ -32,22 +33,22 @@ public interface ResourceReferenceOrBuilder * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -63,22 +64,22 @@ public interface ResourceReferenceOrBuilder * * Example: * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } + * message Subscription { + * string topic = 2 [(google.api.resource_reference) = { + * type: "pubsub.googleapis.com/Topic" + * }]; + * } * * Occasionally, a field may reference an arbitrary resource. In this case, * APIs use the special value * in their resource reference. * * Example: * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } + * message GetIamPolicyRequest { + * string resource = 2 [(google.api.resource_reference) = { + * type: "*" + * }]; + * } * * * string type = 1; @@ -97,11 +98,11 @@ public interface ResourceReferenceOrBuilder * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; @@ -119,11 +120,11 @@ public interface ResourceReferenceOrBuilder * * Example: * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } + * message ListLogEntriesRequest { + * string parent = 1 [(google.api.resource_reference) = { + * child_type: "logging.googleapis.com/LogEntry" + * }; + * } * * * string child_type = 2; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java index dbfdb39909..59839b6804 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameter.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/routing.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.RoutingParameter} */ -public final class RoutingParameter extends com.google.protobuf.GeneratedMessageV3 +public final class RoutingParameter extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.RoutingParameter) RoutingParameterOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + RoutingParameter.class.getName()); + } // Use RoutingParameter.newBuilder() to construct. - private RoutingParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RoutingParameter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private RoutingParameter() { pathTemplate_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RoutingParameter(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.RoutingProto.internal_static_google_api_RoutingParameter_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.RoutingProto .internal_static_google_api_RoutingParameter_fieldAccessorTable @@ -133,46 +138,46 @@ public com.google.protobuf.ByteString getFieldBytes() { * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * @@ -209,46 +214,46 @@ public java.lang.String getPathTemplate() { * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * @@ -284,11 +289,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, field_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(field_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, field_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pathTemplate_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pathTemplate_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pathTemplate_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pathTemplate_); } getUnknownFields().writeTo(output); } @@ -299,11 +304,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, field_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(field_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, field_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pathTemplate_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pathTemplate_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pathTemplate_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pathTemplate_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -378,38 +383,38 @@ public static com.google.api.RoutingParameter parseFrom( public static com.google.api.RoutingParameter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.RoutingParameter parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.RoutingParameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.RoutingParameter parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.RoutingParameter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.RoutingParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -432,7 +437,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -445,7 +450,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.RoutingParameter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.RoutingParameter) com.google.api.RoutingParameterOrBuilder { @@ -454,7 +459,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.RoutingProto .internal_static_google_api_RoutingParameter_fieldAccessorTable @@ -465,7 +470,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.RoutingParameter.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -517,39 +522,6 @@ private void buildPartial0(com.google.api.RoutingParameter result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.RoutingParameter) { @@ -752,46 +724,46 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) { * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * @@ -827,46 +799,46 @@ public java.lang.String getPathTemplate() { * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * @@ -902,46 +874,46 @@ public com.google.protobuf.ByteString getPathTemplateBytes() { * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * @@ -976,46 +948,46 @@ public Builder setPathTemplate(java.lang.String value) { * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * @@ -1046,46 +1018,46 @@ public Builder clearPathTemplate() { * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * @@ -1106,17 +1078,6 @@ public Builder setPathTemplateBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.RoutingParameter) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java index 8f81475bce..7cae1f8d75 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingParameterOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/routing.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface RoutingParameterOrBuilder @@ -65,46 +66,46 @@ public interface RoutingParameterOrBuilder * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * @@ -130,46 +131,46 @@ public interface RoutingParameterOrBuilder * * Example: * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. + * -- This is a field in the request message + * | that the header value will be extracted from. + * | + * | -- This is the key name in the + * | | routing header. + * V | + * field: "table_name" v + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * ^ ^ + * | | + * In the {} brackets is the pattern that -- | + * specifies what to extract from the | + * field as a value to be sent. | + * | + * The string in the field must match the whole pattern -- + * before brackets, inside brackets, after brackets. * * When looking at this specific example, we can see that: * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. + * and the value matching `instances/*` should be added + * to the x-goog-request-params routing header. * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*/instances/*/tables/*`. + * if it matches the full pattern specified: + * `projects/*/instances/*/tables/*`. * * **NB:** If the `path_template` field is not provided, the key name is * equal to the field name, and the whole field should be sent as a value. * This makes the pattern for the field and the value functionally equivalent * to `**`, and the configuration * - * { - * field: "table_name" - * } + * { + * field: "table_name" + * } * * is a functionally equivalent shorthand to: * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } + * { + * field: "table_name" + * path_template: "{table_name=**}" + * } * * See Example 1 for more details. * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java index 9ced64cbc8..1f8864d46c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/routing.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class RoutingProto { private RoutingProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + RoutingProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.api.RoutingProto.routing); } @@ -48,11 +59,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_RoutingRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_RoutingRule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_RoutingParameter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_RoutingParameter_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -82,7 +93,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_RoutingRule_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_RoutingRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_RoutingRule_descriptor, new java.lang.String[] { "RoutingParameters", @@ -90,12 +101,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_RoutingParameter_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_RoutingParameter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_RoutingParameter_descriptor, new java.lang.String[] { "Field", "PathTemplate", }); routing.internalInit(descriptor.getExtensions().get(0)); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DescriptorProtos.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java index 2ed0f85e6e..1d1f46f575 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/routing.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -31,27 +32,27 @@ * * Message Definition: * - * message Request { - * // The name of the Table - * // Values can be of the following formats: - * // - `projects/<project>/tables/<table>` - * // - `projects/<project>/instances/<instance>/tables/<table>` - * // - `region/<region>/zones/<zone>/tables/<table>` - * string table_name = 1; - * - * // This value specifies routing for replication. - * // It can be in the following formats: - * // - `profiles/<profile_id>` - * // - a legacy `profile_id` that can be any string - * string app_profile_id = 2; - * } + * message Request { + * // The name of the Table + * // Values can be of the following formats: + * // - `projects/<project>/tables/<table>` + * // - `projects/<project>/instances/<instance>/tables/<table>` + * // - `region/<region>/zones/<zone>/tables/<table>` + * string table_name = 1; + * + * // This value specifies routing for replication. + * // It can be in the following formats: + * // - `profiles/<profile_id>` + * // - a legacy `profile_id` that can be any string + * string app_profile_id = 2; + * } * * Example message: * - * { - * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, - * app_profile_id: profiles/prof_qux - * } + * { + * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, + * app_profile_id: profiles/prof_qux + * } * * The routing header consists of one or multiple key-value pairs. Every key * and value must be percent-encoded, and joined together in the format of @@ -65,16 +66,16 @@ * * annotation: * - * option (google.api.routing) = { - * // Take the `app_profile_id`. - * routing_parameters { - * field: "app_profile_id" - * } - * }; + * option (google.api.routing) = { + * // Take the `app_profile_id`. + * routing_parameters { + * field: "app_profile_id" + * } + * }; * * result: * - * x-goog-request-params: app_profile_id=profiles/prof_qux + * x-goog-request-params: app_profile_id=profiles/prof_qux * * Example 2 * @@ -83,17 +84,17 @@ * * annotation: * - * option (google.api.routing) = { - * // Take the `app_profile_id`, but name it `routing_id` in the header. - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; + * option (google.api.routing) = { + * // Take the `app_profile_id`, but name it `routing_id` in the header. + * routing_parameters { + * field: "app_profile_id" + * path_template: "{routing_id=**}" + * } + * }; * * result: * - * x-goog-request-params: routing_id=profiles/prof_qux + * x-goog-request-params: routing_id=profiles/prof_qux * * Example 3 * @@ -109,19 +110,19 @@ * * annotation: * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with project-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*/instances/*/**}" - * } - * }; + * option (google.api.routing) = { + * // Take the `table_name`, if it's well-formed (with project-based + * // syntax). + * routing_parameters { + * field: "table_name" + * path_template: "{table_name=projects/*/instances/*/**}" + * } + * }; * * result: * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz + * x-goog-request-params: + * table_name=projects/proj_foo/instances/instance_bar/table/table_baz * * Sub-example 3b * @@ -129,18 +130,18 @@ * * annotation: * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with region-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*/zones/*/**}" - * } - * }; + * option (google.api.routing) = { + * // Take the `table_name`, if it's well-formed (with region-based + * // syntax). + * routing_parameters { + * field: "table_name" + * path_template: "{table_name=regions/*/zones/*/**}" + * } + * }; * * result: * - * <no routing header will be sent> + * <no routing header will be sent> * * Sub-example 3c * @@ -149,24 +150,24 @@ * * annotation: * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed, whether - * // using the region- or projects-based syntax. + * option (google.api.routing) = { + * // Take the `table_name`, if it's well-formed, whether + * // using the region- or projects-based syntax. * - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*/zones/*/**}" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*/instances/*/**}" - * } - * }; + * routing_parameters { + * field: "table_name" + * path_template: "{table_name=regions/*/zones/*/**}" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{table_name=projects/*/instances/*/**}" + * } + * }; * * result: * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz + * x-goog-request-params: + * table_name=projects/proj_foo/instances/instance_bar/table/table_baz * * Example 4 * @@ -175,17 +176,17 @@ * * annotation: * - * option (google.api.routing) = { - * // Take just the project id from the `table_name` field. - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * }; + * option (google.api.routing) = { + * // Take just the project id from the `table_name` field. + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*}/**" + * } + * }; * * result: * - * x-goog-request-params: routing_id=projects/proj_foo + * x-goog-request-params: routing_id=projects/proj_foo * * Example 5 * @@ -195,25 +196,25 @@ * * annotation: * - * option (google.api.routing) = { - * // If the `table_name` does not have instances information, - * // take just the project id for routing. - * // Otherwise take project + instance. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*/instances/*}/**" - * } - * }; + * option (google.api.routing) = { + * // If the `table_name` does not have instances information, + * // take just the project id for routing. + * // Otherwise take project + instance. + * + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*}/**" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*/instances/*}/**" + * } + * }; * * result: * - * x-goog-request-params: - * routing_id=projects/proj_foo/instances/instance_bar + * x-goog-request-params: + * routing_id=projects/proj_foo/instances/instance_bar * * Example 6 * @@ -227,25 +228,25 @@ * * annotation: * - * option (google.api.routing) = { - * // The routing code needs two keys instead of one composite - * // but works only for the tables with the "project-instance" name - * // syntax. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/instances/*/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*/{instance_id=instances/*}/**" - * } - * }; + * option (google.api.routing) = { + * // The routing code needs two keys instead of one composite + * // but works only for the tables with the "project-instance" name + * // syntax. + * + * routing_parameters { + * field: "table_name" + * path_template: "{project_id=projects/*}/instances/*/**" + * } + * routing_parameters { + * field: "table_name" + * path_template: "projects/*/{instance_id=instances/*}/**" + * } + * }; * * result: * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar + * x-goog-request-params: + * project_id=projects/proj_foo&instance_id=instances/instance_bar * * Sub-example 6b * @@ -254,26 +255,26 @@ * * annotation: * - * option (google.api.routing) = { - * // The routing code wants two keys instead of one composite - * // but will work with just the `project_id` for tables without - * // an instance in the `table_name`. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*/{instance_id=instances/*}/**" - * } - * }; + * option (google.api.routing) = { + * // The routing code wants two keys instead of one composite + * // but will work with just the `project_id` for tables without + * // an instance in the `table_name`. + * + * routing_parameters { + * field: "table_name" + * path_template: "{project_id=projects/*}/**" + * } + * routing_parameters { + * field: "table_name" + * path_template: "projects/*/{instance_id=instances/*}/**" + * } + * }; * * result (is the same as 6a for our example message because it has the instance * information): * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar + * x-goog-request-params: + * project_id=projects/proj_foo&instance_id=instances/instance_bar * * Example 7 * @@ -288,24 +289,24 @@ * * annotation: * - * option (google.api.routing) = { - * // The routing needs both `project_id` and `routing_id` - * // (from the `app_profile_id` field) for routing. + * option (google.api.routing) = { + * // The routing needs both `project_id` and `routing_id` + * // (from the `app_profile_id` field) for routing. * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; + * routing_parameters { + * field: "table_name" + * path_template: "{project_id=projects/*}/**" + * } + * routing_parameters { + * field: "app_profile_id" + * path_template: "{routing_id=**}" + * } + * }; * * result: * - * x-goog-request-params: - * project_id=projects/proj_foo&routing_id=profiles/prof_qux + * x-goog-request-params: + * project_id=projects/proj_foo&routing_id=profiles/prof_qux * * Example 8 * @@ -315,28 +316,28 @@ * * annotation: * - * option (google.api.routing) = { - * // The `routing_id` can be a project id or a region id depending on - * // the table name format, but only if the `app_profile_id` is not set. - * // If `app_profile_id` is set it should be used instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=regions/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; + * option (google.api.routing) = { + * // The `routing_id` can be a project id or a region id depending on + * // the table name format, but only if the `app_profile_id` is not set. + * // If `app_profile_id` is set it should be used instead. + * + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*}/**" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=regions/*}/**" + * } + * routing_parameters { + * field: "app_profile_id" + * path_template: "{routing_id=**}" + * } + * }; * * result: * - * x-goog-request-params: routing_id=profiles/prof_qux + * x-goog-request-params: routing_id=profiles/prof_qux * * Example 9 * @@ -344,55 +345,65 @@ * * annotation: * - * option (google.api.routing) = { - * // For routing both `table_location` and a `routing_id` are needed. - * // - * // table_location can be either an instance id or a region+zone id. - * // - * // For `routing_id`, take the value of `app_profile_id` - * // - If it's in the format `profiles/<profile_id>`, send - * // just the `<profile_id>` part. - * // - If it's any other literal, send it as is. - * // If the `app_profile_id` is empty, and the `table_name` starts with - * // the project_id, send that instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_location=regions/*/zones/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "profiles/{routing_id=*}" - * } - * }; + * option (google.api.routing) = { + * // For routing both `table_location` and a `routing_id` are needed. + * // + * // table_location can be either an instance id or a region+zone id. + * // + * // For `routing_id`, take the value of `app_profile_id` + * // - If it's in the format `profiles/<profile_id>`, send + * // just the `<profile_id>` part. + * // - If it's any other literal, send it as is. + * // If the `app_profile_id` is empty, and the `table_name` starts with + * // the project_id, send that instead. + * + * routing_parameters { + * field: "table_name" + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{table_location=regions/*/zones/*}/tables/*" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*}/**" + * } + * routing_parameters { + * field: "app_profile_id" + * path_template: "{routing_id=**}" + * } + * routing_parameters { + * field: "app_profile_id" + * path_template: "profiles/{routing_id=*}" + * } + * }; * * result: * - * x-goog-request-params: - * table_location=instances/instance_bar&routing_id=prof_qux + * x-goog-request-params: + * table_location=instances/instance_bar&routing_id=prof_qux * * * Protobuf type {@code google.api.RoutingRule} */ -public final class RoutingRule extends com.google.protobuf.GeneratedMessageV3 +public final class RoutingRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.RoutingRule) RoutingRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + RoutingRule.class.getName()); + } // Use RoutingRule.newBuilder() to construct. - private RoutingRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RoutingRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -400,18 +411,12 @@ private RoutingRule() { routingParameters_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RoutingRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.RoutingProto.internal_static_google_api_RoutingRule_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.RoutingProto.internal_static_google_api_RoutingRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -616,38 +621,38 @@ public static com.google.api.RoutingRule parseFrom( public static com.google.api.RoutingRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.RoutingRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.RoutingRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.RoutingRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.RoutingRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.RoutingRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -670,7 +675,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -686,27 +691,27 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Message Definition: * - * message Request { - * // The name of the Table - * // Values can be of the following formats: - * // - `projects/<project>/tables/<table>` - * // - `projects/<project>/instances/<instance>/tables/<table>` - * // - `region/<region>/zones/<zone>/tables/<table>` - * string table_name = 1; - * - * // This value specifies routing for replication. - * // It can be in the following formats: - * // - `profiles/<profile_id>` - * // - a legacy `profile_id` that can be any string - * string app_profile_id = 2; - * } + * message Request { + * // The name of the Table + * // Values can be of the following formats: + * // - `projects/<project>/tables/<table>` + * // - `projects/<project>/instances/<instance>/tables/<table>` + * // - `region/<region>/zones/<zone>/tables/<table>` + * string table_name = 1; + * + * // This value specifies routing for replication. + * // It can be in the following formats: + * // - `profiles/<profile_id>` + * // - a legacy `profile_id` that can be any string + * string app_profile_id = 2; + * } * * Example message: * - * { - * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, - * app_profile_id: profiles/prof_qux - * } + * { + * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, + * app_profile_id: profiles/prof_qux + * } * * The routing header consists of one or multiple key-value pairs. Every key * and value must be percent-encoded, and joined together in the format of @@ -720,16 +725,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // Take the `app_profile_id`. - * routing_parameters { - * field: "app_profile_id" - * } - * }; + * option (google.api.routing) = { + * // Take the `app_profile_id`. + * routing_parameters { + * field: "app_profile_id" + * } + * }; * * result: * - * x-goog-request-params: app_profile_id=profiles/prof_qux + * x-goog-request-params: app_profile_id=profiles/prof_qux * * Example 2 * @@ -738,17 +743,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // Take the `app_profile_id`, but name it `routing_id` in the header. - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; + * option (google.api.routing) = { + * // Take the `app_profile_id`, but name it `routing_id` in the header. + * routing_parameters { + * field: "app_profile_id" + * path_template: "{routing_id=**}" + * } + * }; * * result: * - * x-goog-request-params: routing_id=profiles/prof_qux + * x-goog-request-params: routing_id=profiles/prof_qux * * Example 3 * @@ -764,19 +769,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with project-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*/instances/*/**}" - * } - * }; + * option (google.api.routing) = { + * // Take the `table_name`, if it's well-formed (with project-based + * // syntax). + * routing_parameters { + * field: "table_name" + * path_template: "{table_name=projects/*/instances/*/**}" + * } + * }; * * result: * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz + * x-goog-request-params: + * table_name=projects/proj_foo/instances/instance_bar/table/table_baz * * Sub-example 3b * @@ -784,18 +789,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with region-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*/zones/*/**}" - * } - * }; + * option (google.api.routing) = { + * // Take the `table_name`, if it's well-formed (with region-based + * // syntax). + * routing_parameters { + * field: "table_name" + * path_template: "{table_name=regions/*/zones/*/**}" + * } + * }; * * result: * - * <no routing header will be sent> + * <no routing header will be sent> * * Sub-example 3c * @@ -804,24 +809,24 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed, whether - * // using the region- or projects-based syntax. + * option (google.api.routing) = { + * // Take the `table_name`, if it's well-formed, whether + * // using the region- or projects-based syntax. * - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*/zones/*/**}" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*/instances/*/**}" - * } - * }; + * routing_parameters { + * field: "table_name" + * path_template: "{table_name=regions/*/zones/*/**}" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{table_name=projects/*/instances/*/**}" + * } + * }; * * result: * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz + * x-goog-request-params: + * table_name=projects/proj_foo/instances/instance_bar/table/table_baz * * Example 4 * @@ -830,17 +835,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // Take just the project id from the `table_name` field. - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * }; + * option (google.api.routing) = { + * // Take just the project id from the `table_name` field. + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*}/**" + * } + * }; * * result: * - * x-goog-request-params: routing_id=projects/proj_foo + * x-goog-request-params: routing_id=projects/proj_foo * * Example 5 * @@ -850,25 +855,25 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // If the `table_name` does not have instances information, - * // take just the project id for routing. - * // Otherwise take project + instance. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*/instances/*}/**" - * } - * }; + * option (google.api.routing) = { + * // If the `table_name` does not have instances information, + * // take just the project id for routing. + * // Otherwise take project + instance. + * + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*}/**" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*/instances/*}/**" + * } + * }; * * result: * - * x-goog-request-params: - * routing_id=projects/proj_foo/instances/instance_bar + * x-goog-request-params: + * routing_id=projects/proj_foo/instances/instance_bar * * Example 6 * @@ -882,25 +887,25 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // The routing code needs two keys instead of one composite - * // but works only for the tables with the "project-instance" name - * // syntax. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/instances/*/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*/{instance_id=instances/*}/**" - * } - * }; + * option (google.api.routing) = { + * // The routing code needs two keys instead of one composite + * // but works only for the tables with the "project-instance" name + * // syntax. + * + * routing_parameters { + * field: "table_name" + * path_template: "{project_id=projects/*}/instances/*/**" + * } + * routing_parameters { + * field: "table_name" + * path_template: "projects/*/{instance_id=instances/*}/**" + * } + * }; * * result: * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar + * x-goog-request-params: + * project_id=projects/proj_foo&instance_id=instances/instance_bar * * Sub-example 6b * @@ -909,26 +914,26 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // The routing code wants two keys instead of one composite - * // but will work with just the `project_id` for tables without - * // an instance in the `table_name`. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*/{instance_id=instances/*}/**" - * } - * }; + * option (google.api.routing) = { + * // The routing code wants two keys instead of one composite + * // but will work with just the `project_id` for tables without + * // an instance in the `table_name`. + * + * routing_parameters { + * field: "table_name" + * path_template: "{project_id=projects/*}/**" + * } + * routing_parameters { + * field: "table_name" + * path_template: "projects/*/{instance_id=instances/*}/**" + * } + * }; * * result (is the same as 6a for our example message because it has the instance * information): * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar + * x-goog-request-params: + * project_id=projects/proj_foo&instance_id=instances/instance_bar * * Example 7 * @@ -943,24 +948,24 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // The routing needs both `project_id` and `routing_id` - * // (from the `app_profile_id` field) for routing. + * option (google.api.routing) = { + * // The routing needs both `project_id` and `routing_id` + * // (from the `app_profile_id` field) for routing. * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; + * routing_parameters { + * field: "table_name" + * path_template: "{project_id=projects/*}/**" + * } + * routing_parameters { + * field: "app_profile_id" + * path_template: "{routing_id=**}" + * } + * }; * * result: * - * x-goog-request-params: - * project_id=projects/proj_foo&routing_id=profiles/prof_qux + * x-goog-request-params: + * project_id=projects/proj_foo&routing_id=profiles/prof_qux * * Example 8 * @@ -970,28 +975,28 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // The `routing_id` can be a project id or a region id depending on - * // the table name format, but only if the `app_profile_id` is not set. - * // If `app_profile_id` is set it should be used instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=regions/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; + * option (google.api.routing) = { + * // The `routing_id` can be a project id or a region id depending on + * // the table name format, but only if the `app_profile_id` is not set. + * // If `app_profile_id` is set it should be used instead. + * + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*}/**" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=regions/*}/**" + * } + * routing_parameters { + * field: "app_profile_id" + * path_template: "{routing_id=**}" + * } + * }; * * result: * - * x-goog-request-params: routing_id=profiles/prof_qux + * x-goog-request-params: routing_id=profiles/prof_qux * * Example 9 * @@ -999,49 +1004,49 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * annotation: * - * option (google.api.routing) = { - * // For routing both `table_location` and a `routing_id` are needed. - * // - * // table_location can be either an instance id or a region+zone id. - * // - * // For `routing_id`, take the value of `app_profile_id` - * // - If it's in the format `profiles/<profile_id>`, send - * // just the `<profile_id>` part. - * // - If it's any other literal, send it as is. - * // If the `app_profile_id` is empty, and the `table_name` starts with - * // the project_id, send that instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "projects/*/{table_location=instances/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_location=regions/*/zones/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "profiles/{routing_id=*}" - * } - * }; + * option (google.api.routing) = { + * // For routing both `table_location` and a `routing_id` are needed. + * // + * // table_location can be either an instance id or a region+zone id. + * // + * // For `routing_id`, take the value of `app_profile_id` + * // - If it's in the format `profiles/<profile_id>`, send + * // just the `<profile_id>` part. + * // - If it's any other literal, send it as is. + * // If the `app_profile_id` is empty, and the `table_name` starts with + * // the project_id, send that instead. + * + * routing_parameters { + * field: "table_name" + * path_template: "projects/*/{table_location=instances/*}/tables/*" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{table_location=regions/*/zones/*}/tables/*" + * } + * routing_parameters { + * field: "table_name" + * path_template: "{routing_id=projects/*}/**" + * } + * routing_parameters { + * field: "app_profile_id" + * path_template: "{routing_id=**}" + * } + * routing_parameters { + * field: "app_profile_id" + * path_template: "profiles/{routing_id=*}" + * } + * }; * * result: * - * x-goog-request-params: - * table_location=instances/instance_bar&routing_id=prof_qux + * x-goog-request-params: + * table_location=instances/instance_bar&routing_id=prof_qux * * * Protobuf type {@code google.api.RoutingRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.RoutingRule) com.google.api.RoutingRuleOrBuilder { @@ -1050,7 +1055,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.RoutingProto.internal_static_google_api_RoutingRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1060,7 +1065,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.RoutingRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1124,39 +1129,6 @@ private void buildPartial0(com.google.api.RoutingRule result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.RoutingRule) { @@ -1188,7 +1160,7 @@ public Builder mergeFrom(com.google.api.RoutingRule other) { routingParameters_ = other.routingParameters_; bitField0_ = (bitField0_ & ~0x00000001); routingParametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRoutingParametersFieldBuilder() : null; } else { @@ -1264,7 +1236,7 @@ private void ensureRoutingParametersIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.RoutingParameter, com.google.api.RoutingParameter.Builder, com.google.api.RoutingParameterOrBuilder> @@ -1676,14 +1648,14 @@ public com.google.api.RoutingParameter.Builder addRoutingParametersBuilder(int i return getRoutingParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.RoutingParameter, com.google.api.RoutingParameter.Builder, com.google.api.RoutingParameterOrBuilder> getRoutingParametersFieldBuilder() { if (routingParametersBuilder_ == null) { routingParametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.RoutingParameter, com.google.api.RoutingParameter.Builder, com.google.api.RoutingParameterOrBuilder>( @@ -1696,17 +1668,6 @@ public com.google.api.RoutingParameter.Builder addRoutingParametersBuilder(int i return routingParametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.RoutingRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java index 89535de826..5755413b88 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RoutingRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/routing.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface RoutingRuleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettings.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettings.java index bcdca74212..48efab447b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettings.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,30 +29,34 @@ * * Protobuf type {@code google.api.RubySettings} */ -public final class RubySettings extends com.google.protobuf.GeneratedMessageV3 +public final class RubySettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.RubySettings) RubySettingsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + RubySettings.class.getName()); + } // Use RubySettings.newBuilder() to construct. - private RubySettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RubySettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private RubySettings() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RubySettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ClientProto.internal_static_google_api_RubySettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_RubySettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -209,38 +214,38 @@ public static com.google.api.RubySettings parseFrom( public static com.google.api.RubySettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.RubySettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.RubySettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.RubySettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.RubySettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.RubySettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -263,7 +268,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -276,7 +281,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.RubySettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.RubySettings) com.google.api.RubySettingsOrBuilder { @@ -285,7 +290,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ClientProto.internal_static_google_api_RubySettings_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -297,13 +302,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCommonFieldBuilder(); } } @@ -359,39 +364,6 @@ private void buildPartial0(com.google.api.RubySettings result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.RubySettings) { @@ -459,7 +431,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.api.CommonLanguageSettings common_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> @@ -626,14 +598,14 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { * * .google.api.CommonLanguageSettings common = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.CommonLanguageSettings, com.google.api.CommonLanguageSettings.Builder, com.google.api.CommonLanguageSettingsOrBuilder>( @@ -643,17 +615,6 @@ public com.google.api.CommonLanguageSettingsOrBuilder getCommonOrBuilder() { return commonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.RubySettings) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettingsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettingsOrBuilder.java index b1afac80c3..331bf66299 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettingsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/RubySettingsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/client.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface RubySettingsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java index d524bb75fb..f66b27f7a7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Service.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/service.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -32,41 +33,51 @@ * * Example: * - * type: google.api.Service - * name: calendar.googleapis.com - * title: Google Calendar API - * apis: - * - name: google.calendar.v3.Calendar + * type: google.api.Service + * name: calendar.googleapis.com + * title: Google Calendar API + * apis: + * - name: google.calendar.v3.Calendar * - * visibility: - * rules: - * - selector: "google.calendar.v3.*" - * restriction: PREVIEW - * backend: - * rules: - * - selector: "google.calendar.v3.*" - * address: calendar.example.com + * visibility: + * rules: + * - selector: "google.calendar.v3.*" + * restriction: PREVIEW + * backend: + * rules: + * - selector: "google.calendar.v3.*" + * address: calendar.example.com * - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth + * authentication: + * providers: + * - id: google_calendar_auth + * jwks_uri: https://www.googleapis.com/oauth2/v1/certs + * issuer: https://securetoken.google.com + * rules: + * - selector: "*" + * requirements: + * provider_id: google_calendar_auth * * * Protobuf type {@code google.api.Service} */ -public final class Service extends com.google.protobuf.GeneratedMessageV3 +public final class Service extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Service) ServiceOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Service.class.getName()); + } // Use Service.newBuilder() to construct. - private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Service(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -84,18 +95,12 @@ private Service() { monitoredResources_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Service(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.ServiceProto.internal_static_google_api_Service_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ServiceProto.internal_static_google_api_Service_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -425,8 +430,8 @@ public com.google.protobuf.ApiOrBuilder getApisOrBuilder(int index) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -445,8 +450,8 @@ public java.util.List getTypesList() { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -465,8 +470,8 @@ public java.util.List getTypesOrBui * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -485,8 +490,8 @@ public int getTypesCount() { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -505,8 +510,8 @@ public com.google.protobuf.Type getTypes(int index) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -529,8 +534,8 @@ public com.google.protobuf.TypeOrBuilder getTypesOrBuilder(int index) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -548,8 +553,8 @@ public java.util.List getEnumsList() { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -567,8 +572,8 @@ public java.util.List getEnumsOrBui * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -586,8 +591,8 @@ public int getEnumsCount() { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -605,8 +610,8 @@ public com.google.protobuf.Enum getEnums(int index) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -1654,11 +1659,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, title_); } for (int i = 0; i < apis_.size(); i++) { output.writeMessage(3, apis_.get(i)); @@ -1699,8 +1704,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(21, getControl()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producerProjectId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 22, producerProjectId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(producerProjectId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 22, producerProjectId_); } for (int i = 0; i < logs_.size(); i++) { output.writeMessage(23, logs_.get(i)); @@ -1723,8 +1728,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(29, getSystemParameters()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 33, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 33, id_); } if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(37, getSourceInfo()); @@ -1741,11 +1746,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, title_); } for (int i = 0; i < apis_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, apis_.get(i)); @@ -1786,8 +1791,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getControl()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producerProjectId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, producerProjectId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(producerProjectId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(22, producerProjectId_); } for (int i = 0; i < logs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, logs_.get(i)); @@ -1811,8 +1816,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getSystemParameters()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(33, id_); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, getSourceInfo()); @@ -2054,38 +2059,38 @@ public static com.google.api.Service parseFrom( public static com.google.api.Service parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Service parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Service parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Service parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Service parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Service parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2108,7 +2113,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2125,35 +2130,35 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * type: google.api.Service - * name: calendar.googleapis.com - * title: Google Calendar API - * apis: - * - name: google.calendar.v3.Calendar - * - * visibility: - * rules: - * - selector: "google.calendar.v3.*" - * restriction: PREVIEW - * backend: - * rules: - * - selector: "google.calendar.v3.*" - * address: calendar.example.com - * - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth + * type: google.api.Service + * name: calendar.googleapis.com + * title: Google Calendar API + * apis: + * - name: google.calendar.v3.Calendar + * + * visibility: + * rules: + * - selector: "google.calendar.v3.*" + * restriction: PREVIEW + * backend: + * rules: + * - selector: "google.calendar.v3.*" + * address: calendar.example.com + * + * authentication: + * providers: + * - id: google_calendar_auth + * jwks_uri: https://www.googleapis.com/oauth2/v1/certs + * issuer: https://securetoken.google.com + * rules: + * - selector: "*" + * requirements: + * provider_id: google_calendar_auth * * * Protobuf type {@code google.api.Service} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Service) com.google.api.ServiceOrBuilder { @@ -2162,7 +2167,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.ServiceProto.internal_static_google_api_Service_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -2174,13 +2179,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getApisFieldBuilder(); getTypesFieldBuilder(); getEnumsFieldBuilder(); @@ -2519,39 +2524,6 @@ private void buildPartial0(com.google.api.Service result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Service) { @@ -2603,7 +2575,7 @@ public Builder mergeFrom(com.google.api.Service other) { apis_ = other.apis_; bitField0_ = (bitField0_ & ~0x00000010); apisBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getApisFieldBuilder() : null; } else { @@ -2630,7 +2602,7 @@ public Builder mergeFrom(com.google.api.Service other) { types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000020); typesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getTypesFieldBuilder() : null; } else { @@ -2657,7 +2629,7 @@ public Builder mergeFrom(com.google.api.Service other) { enums_ = other.enums_; bitField0_ = (bitField0_ & ~0x00000040); enumsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEnumsFieldBuilder() : null; } else { @@ -2705,7 +2677,7 @@ public Builder mergeFrom(com.google.api.Service other) { endpoints_ = other.endpoints_; bitField0_ = (bitField0_ & ~0x00004000); endpointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEndpointsFieldBuilder() : null; } else { @@ -2735,7 +2707,7 @@ public Builder mergeFrom(com.google.api.Service other) { logs_ = other.logs_; bitField0_ = (bitField0_ & ~0x00010000); logsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLogsFieldBuilder() : null; } else { @@ -2762,7 +2734,7 @@ public Builder mergeFrom(com.google.api.Service other) { metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00020000); metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMetricsFieldBuilder() : null; } else { @@ -2789,7 +2761,7 @@ public Builder mergeFrom(com.google.api.Service other) { monitoredResources_ = other.monitoredResources_; bitField0_ = (bitField0_ & ~0x00040000); monitoredResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMonitoredResourcesFieldBuilder() : null; } else { @@ -3531,7 +3503,7 @@ private void ensureApisIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Api, com.google.protobuf.Api.Builder, com.google.protobuf.ApiOrBuilder> @@ -3918,14 +3890,14 @@ public java.util.List getApisBuilderList() { return getApisFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Api, com.google.protobuf.Api.Builder, com.google.protobuf.ApiOrBuilder> getApisFieldBuilder() { if (apisBuilder_ == null) { apisBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Api, com.google.protobuf.Api.Builder, com.google.protobuf.ApiOrBuilder>( @@ -3944,7 +3916,7 @@ private void ensureTypesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Type, com.google.protobuf.Type.Builder, com.google.protobuf.TypeOrBuilder> @@ -3960,8 +3932,8 @@ private void ensureTypesIsMutable() { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -3983,8 +3955,8 @@ public java.util.List getTypesList() { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4006,8 +3978,8 @@ public int getTypesCount() { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4029,8 +4001,8 @@ public com.google.protobuf.Type getTypes(int index) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4058,8 +4030,8 @@ public Builder setTypes(int index, com.google.protobuf.Type value) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4084,8 +4056,8 @@ public Builder setTypes(int index, com.google.protobuf.Type.Builder builderForVa * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4113,8 +4085,8 @@ public Builder addTypes(com.google.protobuf.Type value) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4142,8 +4114,8 @@ public Builder addTypes(int index, com.google.protobuf.Type value) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4168,8 +4140,8 @@ public Builder addTypes(com.google.protobuf.Type.Builder builderForValue) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4194,8 +4166,8 @@ public Builder addTypes(int index, com.google.protobuf.Type.Builder builderForVa * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4220,8 +4192,8 @@ public Builder addAllTypes(java.lang.Iterable * * repeated .google.protobuf.Type types = 4; @@ -4246,8 +4218,8 @@ public Builder clearTypes() { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4272,8 +4244,8 @@ public Builder removeTypes(int index) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4291,8 +4263,8 @@ public com.google.protobuf.Type.Builder getTypesBuilder(int index) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4314,8 +4286,8 @@ public com.google.protobuf.TypeOrBuilder getTypesOrBuilder(int index) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4337,8 +4309,8 @@ public java.util.List getTypesOrBui * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4356,8 +4328,8 @@ public com.google.protobuf.Type.Builder addTypesBuilder() { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4376,8 +4348,8 @@ public com.google.protobuf.Type.Builder addTypesBuilder(int index) { * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -4386,14 +4358,14 @@ public java.util.List getTypesBuilderList() { return getTypesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Type, com.google.protobuf.Type.Builder, com.google.protobuf.TypeOrBuilder> getTypesFieldBuilder() { if (typesBuilder_ == null) { typesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Type, com.google.protobuf.Type.Builder, com.google.protobuf.TypeOrBuilder>( @@ -4412,7 +4384,7 @@ private void ensureEnumsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Enum, com.google.protobuf.Enum.Builder, com.google.protobuf.EnumOrBuilder> @@ -4427,8 +4399,8 @@ private void ensureEnumsIsMutable() { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4449,8 +4421,8 @@ public java.util.List getEnumsList() { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4471,8 +4443,8 @@ public int getEnumsCount() { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4493,8 +4465,8 @@ public com.google.protobuf.Enum getEnums(int index) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4521,8 +4493,8 @@ public Builder setEnums(int index, com.google.protobuf.Enum value) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4546,8 +4518,8 @@ public Builder setEnums(int index, com.google.protobuf.Enum.Builder builderForVa * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4574,8 +4546,8 @@ public Builder addEnums(com.google.protobuf.Enum value) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4602,8 +4574,8 @@ public Builder addEnums(int index, com.google.protobuf.Enum value) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4627,8 +4599,8 @@ public Builder addEnums(com.google.protobuf.Enum.Builder builderForValue) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4652,8 +4624,8 @@ public Builder addEnums(int index, com.google.protobuf.Enum.Builder builderForVa * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4677,8 +4649,8 @@ public Builder addAllEnums(java.lang.Iterable * * repeated .google.protobuf.Enum enums = 5; @@ -4702,8 +4674,8 @@ public Builder clearEnums() { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4727,8 +4699,8 @@ public Builder removeEnums(int index) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4745,8 +4717,8 @@ public com.google.protobuf.Enum.Builder getEnumsBuilder(int index) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4767,8 +4739,8 @@ public com.google.protobuf.EnumOrBuilder getEnumsOrBuilder(int index) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4789,8 +4761,8 @@ public java.util.List getEnumsOrBui * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4807,8 +4779,8 @@ public com.google.protobuf.Enum.Builder addEnumsBuilder() { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4826,8 +4798,8 @@ public com.google.protobuf.Enum.Builder addEnumsBuilder(int index) { * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -4836,14 +4808,14 @@ public java.util.List getEnumsBuilderList() { return getEnumsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Enum, com.google.protobuf.Enum.Builder, com.google.protobuf.EnumOrBuilder> getEnumsFieldBuilder() { if (enumsBuilder_ == null) { enumsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Enum, com.google.protobuf.Enum.Builder, com.google.protobuf.EnumOrBuilder>( @@ -4854,7 +4826,7 @@ public java.util.List getEnumsBuilderList() { } private com.google.api.Documentation documentation_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Documentation, com.google.api.Documentation.Builder, com.google.api.DocumentationOrBuilder> @@ -5021,14 +4993,14 @@ public com.google.api.DocumentationOrBuilder getDocumentationOrBuilder() { * * .google.api.Documentation documentation = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Documentation, com.google.api.Documentation.Builder, com.google.api.DocumentationOrBuilder> getDocumentationFieldBuilder() { if (documentationBuilder_ == null) { documentationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Documentation, com.google.api.Documentation.Builder, com.google.api.DocumentationOrBuilder>( @@ -5039,7 +5011,7 @@ public com.google.api.DocumentationOrBuilder getDocumentationOrBuilder() { } private com.google.api.Backend backend_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Backend, com.google.api.Backend.Builder, com.google.api.BackendOrBuilder> backendBuilder_; /** @@ -5200,12 +5172,12 @@ public com.google.api.BackendOrBuilder getBackendOrBuilder() { * * .google.api.Backend backend = 8; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Backend, com.google.api.Backend.Builder, com.google.api.BackendOrBuilder> getBackendFieldBuilder() { if (backendBuilder_ == null) { backendBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Backend, com.google.api.Backend.Builder, com.google.api.BackendOrBuilder>(getBackend(), getParentForChildren(), isClean()); @@ -5215,7 +5187,7 @@ public com.google.api.BackendOrBuilder getBackendOrBuilder() { } private com.google.api.Http http_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Http, com.google.api.Http.Builder, com.google.api.HttpOrBuilder> httpBuilder_; /** @@ -5376,12 +5348,12 @@ public com.google.api.HttpOrBuilder getHttpOrBuilder() { * * .google.api.Http http = 9; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Http, com.google.api.Http.Builder, com.google.api.HttpOrBuilder> getHttpFieldBuilder() { if (httpBuilder_ == null) { httpBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Http, com.google.api.Http.Builder, com.google.api.HttpOrBuilder>( getHttp(), getParentForChildren(), isClean()); http_ = null; @@ -5390,7 +5362,7 @@ public com.google.api.HttpOrBuilder getHttpOrBuilder() { } private com.google.api.Quota quota_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Quota, com.google.api.Quota.Builder, com.google.api.QuotaOrBuilder> quotaBuilder_; /** @@ -5551,12 +5523,12 @@ public com.google.api.QuotaOrBuilder getQuotaOrBuilder() { * * .google.api.Quota quota = 10; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Quota, com.google.api.Quota.Builder, com.google.api.QuotaOrBuilder> getQuotaFieldBuilder() { if (quotaBuilder_ == null) { quotaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Quota, com.google.api.Quota.Builder, com.google.api.QuotaOrBuilder>( getQuota(), getParentForChildren(), isClean()); quota_ = null; @@ -5565,7 +5537,7 @@ public com.google.api.QuotaOrBuilder getQuotaOrBuilder() { } private com.google.api.Authentication authentication_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Authentication, com.google.api.Authentication.Builder, com.google.api.AuthenticationOrBuilder> @@ -5732,14 +5704,14 @@ public com.google.api.AuthenticationOrBuilder getAuthenticationOrBuilder() { * * .google.api.Authentication authentication = 11; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Authentication, com.google.api.Authentication.Builder, com.google.api.AuthenticationOrBuilder> getAuthenticationFieldBuilder() { if (authenticationBuilder_ == null) { authenticationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Authentication, com.google.api.Authentication.Builder, com.google.api.AuthenticationOrBuilder>( @@ -5750,7 +5722,7 @@ public com.google.api.AuthenticationOrBuilder getAuthenticationOrBuilder() { } private com.google.api.Context context_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Context, com.google.api.Context.Builder, com.google.api.ContextOrBuilder> contextBuilder_; /** @@ -5911,12 +5883,12 @@ public com.google.api.ContextOrBuilder getContextOrBuilder() { * * .google.api.Context context = 12; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Context, com.google.api.Context.Builder, com.google.api.ContextOrBuilder> getContextFieldBuilder() { if (contextBuilder_ == null) { contextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Context, com.google.api.Context.Builder, com.google.api.ContextOrBuilder>(getContext(), getParentForChildren(), isClean()); @@ -5926,7 +5898,7 @@ public com.google.api.ContextOrBuilder getContextOrBuilder() { } private com.google.api.Usage usage_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Usage, com.google.api.Usage.Builder, com.google.api.UsageOrBuilder> usageBuilder_; /** @@ -6087,12 +6059,12 @@ public com.google.api.UsageOrBuilder getUsageOrBuilder() { * * .google.api.Usage usage = 15; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Usage, com.google.api.Usage.Builder, com.google.api.UsageOrBuilder> getUsageFieldBuilder() { if (usageBuilder_ == null) { usageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Usage, com.google.api.Usage.Builder, com.google.api.UsageOrBuilder>( getUsage(), getParentForChildren(), isClean()); usage_ = null; @@ -6109,7 +6081,7 @@ private void ensureEndpointsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Endpoint, com.google.api.Endpoint.Builder, com.google.api.EndpointOrBuilder> @@ -6461,14 +6433,14 @@ public java.util.List getEndpointsBuilderList() return getEndpointsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.Endpoint, com.google.api.Endpoint.Builder, com.google.api.EndpointOrBuilder> getEndpointsFieldBuilder() { if (endpointsBuilder_ == null) { endpointsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.Endpoint, com.google.api.Endpoint.Builder, com.google.api.EndpointOrBuilder>( @@ -6479,7 +6451,7 @@ public java.util.List getEndpointsBuilderList() } private com.google.api.Control control_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Control, com.google.api.Control.Builder, com.google.api.ControlOrBuilder> controlBuilder_; /** @@ -6640,12 +6612,12 @@ public com.google.api.ControlOrBuilder getControlOrBuilder() { * * .google.api.Control control = 21; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Control, com.google.api.Control.Builder, com.google.api.ControlOrBuilder> getControlFieldBuilder() { if (controlBuilder_ == null) { controlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Control, com.google.api.Control.Builder, com.google.api.ControlOrBuilder>(getControl(), getParentForChildren(), isClean()); @@ -6663,7 +6635,7 @@ private void ensureLogsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.LogDescriptor, com.google.api.LogDescriptor.Builder, com.google.api.LogDescriptorOrBuilder> @@ -6979,14 +6951,14 @@ public java.util.List getLogsBuilderList() return getLogsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.LogDescriptor, com.google.api.LogDescriptor.Builder, com.google.api.LogDescriptorOrBuilder> getLogsFieldBuilder() { if (logsBuilder_ == null) { logsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.LogDescriptor, com.google.api.LogDescriptor.Builder, com.google.api.LogDescriptorOrBuilder>( @@ -7006,7 +6978,7 @@ private void ensureMetricsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> @@ -7325,14 +7297,14 @@ public java.util.List getMetricsBuilder return getMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> getMetricsFieldBuilder() { if (metricsBuilder_ == null) { metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder>( @@ -7354,7 +7326,7 @@ private void ensureMonitoredResourcesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder> @@ -7718,14 +7690,14 @@ public com.google.api.MonitoredResourceDescriptor.Builder addMonitoredResourcesB return getMonitoredResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder> getMonitoredResourcesFieldBuilder() { if (monitoredResourcesBuilder_ == null) { monitoredResourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.MonitoredResourceDescriptor, com.google.api.MonitoredResourceDescriptor.Builder, com.google.api.MonitoredResourceDescriptorOrBuilder>( @@ -7739,7 +7711,7 @@ public com.google.api.MonitoredResourceDescriptor.Builder addMonitoredResourcesB } private com.google.api.Billing billing_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Billing, com.google.api.Billing.Builder, com.google.api.BillingOrBuilder> billingBuilder_; /** @@ -7900,12 +7872,12 @@ public com.google.api.BillingOrBuilder getBillingOrBuilder() { * * .google.api.Billing billing = 26; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Billing, com.google.api.Billing.Builder, com.google.api.BillingOrBuilder> getBillingFieldBuilder() { if (billingBuilder_ == null) { billingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Billing, com.google.api.Billing.Builder, com.google.api.BillingOrBuilder>(getBilling(), getParentForChildren(), isClean()); @@ -7915,7 +7887,7 @@ public com.google.api.BillingOrBuilder getBillingOrBuilder() { } private com.google.api.Logging logging_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Logging, com.google.api.Logging.Builder, com.google.api.LoggingOrBuilder> loggingBuilder_; /** @@ -8076,12 +8048,12 @@ public com.google.api.LoggingOrBuilder getLoggingOrBuilder() { * * .google.api.Logging logging = 27; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Logging, com.google.api.Logging.Builder, com.google.api.LoggingOrBuilder> getLoggingFieldBuilder() { if (loggingBuilder_ == null) { loggingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Logging, com.google.api.Logging.Builder, com.google.api.LoggingOrBuilder>(getLogging(), getParentForChildren(), isClean()); @@ -8091,7 +8063,7 @@ public com.google.api.LoggingOrBuilder getLoggingOrBuilder() { } private com.google.api.Monitoring monitoring_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Monitoring, com.google.api.Monitoring.Builder, com.google.api.MonitoringOrBuilder> @@ -8254,14 +8226,14 @@ public com.google.api.MonitoringOrBuilder getMonitoringOrBuilder() { * * .google.api.Monitoring monitoring = 28; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Monitoring, com.google.api.Monitoring.Builder, com.google.api.MonitoringOrBuilder> getMonitoringFieldBuilder() { if (monitoringBuilder_ == null) { monitoringBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Monitoring, com.google.api.Monitoring.Builder, com.google.api.MonitoringOrBuilder>( @@ -8272,7 +8244,7 @@ public com.google.api.MonitoringOrBuilder getMonitoringOrBuilder() { } private com.google.api.SystemParameters systemParameters_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.SystemParameters, com.google.api.SystemParameters.Builder, com.google.api.SystemParametersOrBuilder> @@ -8439,14 +8411,14 @@ public com.google.api.SystemParametersOrBuilder getSystemParametersOrBuilder() { * * .google.api.SystemParameters system_parameters = 29; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.SystemParameters, com.google.api.SystemParameters.Builder, com.google.api.SystemParametersOrBuilder> getSystemParametersFieldBuilder() { if (systemParametersBuilder_ == null) { systemParametersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.SystemParameters, com.google.api.SystemParameters.Builder, com.google.api.SystemParametersOrBuilder>( @@ -8457,7 +8429,7 @@ public com.google.api.SystemParametersOrBuilder getSystemParametersOrBuilder() { } private com.google.api.SourceInfo sourceInfo_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.SourceInfo, com.google.api.SourceInfo.Builder, com.google.api.SourceInfoOrBuilder> @@ -8620,14 +8592,14 @@ public com.google.api.SourceInfoOrBuilder getSourceInfoOrBuilder() { * * .google.api.SourceInfo source_info = 37; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.SourceInfo, com.google.api.SourceInfo.Builder, com.google.api.SourceInfoOrBuilder> getSourceInfoFieldBuilder() { if (sourceInfoBuilder_ == null) { sourceInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.SourceInfo, com.google.api.SourceInfo.Builder, com.google.api.SourceInfoOrBuilder>( @@ -8638,7 +8610,7 @@ public com.google.api.SourceInfoOrBuilder getSourceInfoOrBuilder() { } private com.google.api.Publishing publishing_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Publishing, com.google.api.Publishing.Builder, com.google.api.PublishingOrBuilder> @@ -8819,14 +8791,14 @@ public com.google.api.PublishingOrBuilder getPublishingOrBuilder() { * * .google.api.Publishing publishing = 45; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Publishing, com.google.api.Publishing.Builder, com.google.api.PublishingOrBuilder> getPublishingFieldBuilder() { if (publishingBuilder_ == null) { publishingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Publishing, com.google.api.Publishing.Builder, com.google.api.PublishingOrBuilder>( @@ -8837,7 +8809,7 @@ public com.google.api.PublishingOrBuilder getPublishingOrBuilder() { } private com.google.protobuf.UInt32Value configVersion_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> @@ -9031,14 +9003,14 @@ public com.google.protobuf.UInt32ValueOrBuilder getConfigVersionOrBuilder() { * * .google.protobuf.UInt32Value config_version = 20; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> getConfigVersionFieldBuilder() { if (configVersionBuilder_ == null) { configVersionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>( @@ -9048,17 +9020,6 @@ public com.google.protobuf.UInt32ValueOrBuilder getConfigVersionOrBuilder() { return configVersionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Service) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java index 55f32d219b..cf3411cd80 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/service.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface ServiceOrBuilder @@ -219,8 +220,8 @@ public interface ServiceOrBuilder * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -236,8 +237,8 @@ public interface ServiceOrBuilder * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -253,8 +254,8 @@ public interface ServiceOrBuilder * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -270,8 +271,8 @@ public interface ServiceOrBuilder * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -287,8 +288,8 @@ public interface ServiceOrBuilder * types used by the `google.protobuf.Any` type, should be listed here by * name by the configuration author. Example: * - * types: - * - name: google.protobuf.Int32 + * types: + * - name: google.protobuf.Int32 * * * repeated .google.protobuf.Type types = 4; @@ -304,8 +305,8 @@ public interface ServiceOrBuilder * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -320,8 +321,8 @@ public interface ServiceOrBuilder * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -336,8 +337,8 @@ public interface ServiceOrBuilder * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -352,8 +353,8 @@ public interface ServiceOrBuilder * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; @@ -368,8 +369,8 @@ public interface ServiceOrBuilder * which are not referenced but shall be included should be listed here by * name by the configuration author. Example: * - * enums: - * - name: google.someapi.v1.SomeEnum + * enums: + * - name: google.someapi.v1.SomeEnum * * * repeated .google.protobuf.Enum enums = 5; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java index 64f0bedfd8..0723bf2b19 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/ServiceProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/service.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class ServiceProto { private ServiceProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ServiceProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Service_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Service_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -114,7 +125,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_Service_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Service_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Service_descriptor, new java.lang.String[] { "Name", @@ -144,6 +155,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Publishing", "ConfigVersion", }); + descriptor.resolveAllFeaturesImmutable(); com.google.api.AuthProto.getDescriptor(); com.google.api.BackendProto.getDescriptor(); com.google.api.BillingProto.getDescriptor(); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java index 8d7ba93f63..5734480516 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/source_info.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.SourceInfo} */ -public final class SourceInfo extends com.google.protobuf.GeneratedMessageV3 +public final class SourceInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.SourceInfo) SourceInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SourceInfo.class.getName()); + } // Use SourceInfo.newBuilder() to construct. - private SourceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SourceInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,18 +53,12 @@ private SourceInfo() { sourceFiles_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SourceInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.SourceInfoProto.internal_static_google_api_SourceInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.SourceInfoProto.internal_static_google_api_SourceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -231,38 +236,38 @@ public static com.google.api.SourceInfo parseFrom( public static com.google.api.SourceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.SourceInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.SourceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.SourceInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.SourceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.SourceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -285,7 +290,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -298,7 +303,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.SourceInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.SourceInfo) com.google.api.SourceInfoOrBuilder { @@ -307,7 +312,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.SourceInfoProto.internal_static_google_api_SourceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -317,7 +322,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.SourceInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -381,39 +386,6 @@ private void buildPartial0(com.google.api.SourceInfo result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.SourceInfo) { @@ -445,7 +417,7 @@ public Builder mergeFrom(com.google.api.SourceInfo other) { sourceFiles_ = other.sourceFiles_; bitField0_ = (bitField0_ & ~0x00000001); sourceFilesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getSourceFilesFieldBuilder() : null; } else { @@ -520,7 +492,7 @@ private void ensureSourceFilesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -837,14 +809,14 @@ public java.util.List getSourceFilesBuilderList return getSourceFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getSourceFilesFieldBuilder() { if (sourceFilesBuilder_ == null) { sourceFilesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( @@ -854,17 +826,6 @@ public java.util.List getSourceFilesBuilderList return sourceFilesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.SourceInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java index 3c8f2ff2bb..e1d1ae9d4d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/source_info.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface SourceInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java index 0301251eba..8b0f528e50 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SourceInfoProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/source_info.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class SourceInfoProto { private SourceInfoProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SourceInfoProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_SourceInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_SourceInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -57,11 +68,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_SourceInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_SourceInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_SourceInfo_descriptor, new java.lang.String[] { "SourceFiles", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.AnyProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java index c6593ccede..cad6dc4715 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameter.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/system_parameter.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -30,13 +31,23 @@ * * Protobuf type {@code google.api.SystemParameter} */ -public final class SystemParameter extends com.google.protobuf.GeneratedMessageV3 +public final class SystemParameter extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.SystemParameter) SystemParameterOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SystemParameter.class.getName()); + } // Use SystemParameter.newBuilder() to construct. - private SystemParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SystemParameter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,19 +57,13 @@ private SystemParameter() { urlQueryParameter_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SystemParameter(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameter_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameter_fieldAccessorTable @@ -237,14 +242,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(httpHeader_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, httpHeader_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(httpHeader_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, httpHeader_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(urlQueryParameter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, urlQueryParameter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(urlQueryParameter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, urlQueryParameter_); } getUnknownFields().writeTo(output); } @@ -255,14 +260,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(httpHeader_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, httpHeader_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(httpHeader_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, httpHeader_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(urlQueryParameter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, urlQueryParameter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(urlQueryParameter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, urlQueryParameter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -340,38 +345,38 @@ public static com.google.api.SystemParameter parseFrom( public static com.google.api.SystemParameter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.SystemParameter parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.SystemParameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.SystemParameter parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.SystemParameter parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.SystemParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -394,7 +399,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -409,7 +414,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.SystemParameter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.SystemParameter) com.google.api.SystemParameterOrBuilder { @@ -419,7 +424,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameter_fieldAccessorTable @@ -430,7 +435,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.SystemParameter.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -487,39 +492,6 @@ private void buildPartial0(com.google.api.SystemParameter result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.SystemParameter) { @@ -938,17 +910,6 @@ public Builder setUrlQueryParameterBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.SystemParameter) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java index 5dca82acd3..81a4ca47b0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/system_parameter.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface SystemParameterOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java index adc0b94d6d..1a048b475a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/system_parameter.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class SystemParameterProto { private SystemParameterProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SystemParameterProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,15 +41,15 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_SystemParameters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_SystemParameters_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_SystemParameterRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_SystemParameterRule_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_SystemParameter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_SystemParameter_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -67,7 +78,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_SystemParameters_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_SystemParameters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_SystemParameters_descriptor, new java.lang.String[] { "Rules", @@ -75,7 +86,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_SystemParameterRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_SystemParameterRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_SystemParameterRule_descriptor, new java.lang.String[] { "Selector", "Parameters", @@ -83,11 +94,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_api_SystemParameter_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_api_SystemParameter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_SystemParameter_descriptor, new java.lang.String[] { "Name", "HttpHeader", "UrlQueryParameter", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java index c537ec72e8..40a87be7ab 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/system_parameter.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.api.SystemParameterRule} */ -public final class SystemParameterRule extends com.google.protobuf.GeneratedMessageV3 +public final class SystemParameterRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.SystemParameterRule) SystemParameterRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SystemParameterRule.class.getName()); + } // Use SystemParameterRule.newBuilder() to construct. - private SystemParameterRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SystemParameterRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +55,13 @@ private SystemParameterRule() { parameters_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SystemParameterRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameterRule_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameterRule_fieldAccessorTable @@ -229,8 +234,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } for (int i = 0; i < parameters_.size(); i++) { output.writeMessage(2, parameters_.get(i)); @@ -244,8 +249,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } for (int i = 0; i < parameters_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, parameters_.get(i)); @@ -325,38 +330,38 @@ public static com.google.api.SystemParameterRule parseFrom( public static com.google.api.SystemParameterRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.SystemParameterRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.SystemParameterRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.SystemParameterRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.SystemParameterRule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.SystemParameterRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -379,7 +384,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -393,7 +398,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.SystemParameterRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.SystemParameterRule) com.google.api.SystemParameterRuleOrBuilder { @@ -403,7 +408,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameterRule_fieldAccessorTable @@ -415,7 +420,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.SystemParameterRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -484,39 +489,6 @@ private void buildPartial0(com.google.api.SystemParameterRule result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.SystemParameterRule) { @@ -553,7 +525,7 @@ public Builder mergeFrom(com.google.api.SystemParameterRule other) { parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000002); parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getParametersFieldBuilder() : null; } else { @@ -760,7 +732,7 @@ private void ensureParametersIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.SystemParameter, com.google.api.SystemParameter.Builder, com.google.api.SystemParameterOrBuilder> @@ -1153,14 +1125,14 @@ public java.util.List getParametersBuild return getParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.SystemParameter, com.google.api.SystemParameter.Builder, com.google.api.SystemParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { parametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.SystemParameter, com.google.api.SystemParameter.Builder, com.google.api.SystemParameterOrBuilder>( @@ -1170,17 +1142,6 @@ public java.util.List getParametersBuild return parametersBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.SystemParameterRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java index 77d1c75339..d2b3caf230 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameterRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/system_parameter.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface SystemParameterRuleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java index a02a3b8baa..efb2eb7094 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParameters.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/system_parameter.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -33,13 +34,23 @@ * * Protobuf type {@code google.api.SystemParameters} */ -public final class SystemParameters extends com.google.protobuf.GeneratedMessageV3 +public final class SystemParameters extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.SystemParameters) SystemParametersOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SystemParameters.class.getName()); + } // Use SystemParameters.newBuilder() to construct. - private SystemParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SystemParameters(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -47,19 +58,13 @@ private SystemParameters() { rules_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SystemParameters(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameters_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameters_fieldAccessorTable @@ -84,24 +89,24 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -125,24 +130,24 @@ public java.util.List getRulesList() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -167,24 +172,24 @@ public java.util.List getRulesList() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -208,24 +213,24 @@ public int getRulesCount() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -249,24 +254,24 @@ public com.google.api.SystemParameterRule getRules(int index) { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -379,38 +384,38 @@ public static com.google.api.SystemParameters parseFrom( public static com.google.api.SystemParameters parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.SystemParameters parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.SystemParameters parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.SystemParameters parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.SystemParameters parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.SystemParameters parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -433,7 +438,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -451,7 +456,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.SystemParameters} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.SystemParameters) com.google.api.SystemParametersOrBuilder { @@ -461,7 +466,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.SystemParameterProto .internal_static_google_api_SystemParameters_fieldAccessorTable @@ -472,7 +477,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.SystemParameters.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -537,39 +542,6 @@ private void buildPartial0(com.google.api.SystemParameters result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.SystemParameters) { @@ -601,7 +573,7 @@ public Builder mergeFrom(com.google.api.SystemParameters other) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { @@ -677,7 +649,7 @@ private void ensureRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.SystemParameterRule, com.google.api.SystemParameterRule.Builder, com.google.api.SystemParameterRuleOrBuilder> @@ -696,24 +668,24 @@ private void ensureRulesIsMutable() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -740,24 +712,24 @@ public java.util.List getRulesList() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -784,24 +756,24 @@ public int getRulesCount() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -828,24 +800,24 @@ public com.google.api.SystemParameterRule getRules(int index) { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -878,24 +850,24 @@ public Builder setRules(int index, com.google.api.SystemParameterRule value) { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -925,24 +897,24 @@ public Builder setRules(int index, com.google.api.SystemParameterRule.Builder bu * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -975,24 +947,24 @@ public Builder addRules(com.google.api.SystemParameterRule value) { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1025,24 +997,24 @@ public Builder addRules(int index, com.google.api.SystemParameterRule value) { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1072,24 +1044,24 @@ public Builder addRules(com.google.api.SystemParameterRule.Builder builderForVal * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1119,24 +1091,24 @@ public Builder addRules(int index, com.google.api.SystemParameterRule.Builder bu * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1167,24 +1139,24 @@ public Builder addAllRules( * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1214,24 +1186,24 @@ public Builder clearRules() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1261,24 +1233,24 @@ public Builder removeRules(int index) { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1301,24 +1273,24 @@ public com.google.api.SystemParameterRule.Builder getRulesBuilder(int index) { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1345,24 +1317,24 @@ public com.google.api.SystemParameterRuleOrBuilder getRulesOrBuilder(int index) * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1390,24 +1362,24 @@ public com.google.api.SystemParameterRuleOrBuilder getRulesOrBuilder(int index) * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1431,24 +1403,24 @@ public com.google.api.SystemParameterRule.Builder addRulesBuilder() { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1472,24 +1444,24 @@ public com.google.api.SystemParameterRule.Builder addRulesBuilder(int index) { * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -1500,14 +1472,14 @@ public java.util.List getRulesBuilde return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.SystemParameterRule, com.google.api.SystemParameterRule.Builder, com.google.api.SystemParameterRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.SystemParameterRule, com.google.api.SystemParameterRule.Builder, com.google.api.SystemParameterRuleOrBuilder>( @@ -1517,17 +1489,6 @@ public java.util.List getRulesBuilde return rulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.SystemParameters) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java index e58a253e05..9536669c8e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/SystemParametersOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/system_parameter.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface SystemParametersOrBuilder @@ -37,24 +38,24 @@ public interface SystemParametersOrBuilder * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -75,24 +76,24 @@ public interface SystemParametersOrBuilder * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -113,24 +114,24 @@ public interface SystemParametersOrBuilder * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -151,24 +152,24 @@ public interface SystemParametersOrBuilder * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * @@ -189,24 +190,24 @@ public interface SystemParametersOrBuilder * * Example: define api key for all methods * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key + * system_parameters + * rules: + * - selector: "*" + * parameters: + * - name: api_key + * url_query_parameter: api_key * * * Example: define 2 api key names for a specific method. * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 + * system_parameters + * rules: + * - selector: "/ListShelves" + * parameters: + * - name: api_key + * http_header: Api-Key1 + * - name: api_key + * http_header: Api-Key2 * * **NOTE:** All service configuration rules follow "last one wins" order. * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Usage.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Usage.java index 4e6c307cf8..9b9ca01a69 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Usage.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Usage.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/usage.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.api.Usage} */ -public final class Usage extends com.google.protobuf.GeneratedMessageV3 +public final class Usage extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Usage) UsageOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Usage.class.getName()); + } // Use Usage.newBuilder() to construct. - private Usage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Usage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +55,12 @@ private Usage() { producerNotificationChannel_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Usage(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.UsageProto.internal_static_google_api_Usage_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.UsageProto.internal_static_google_api_Usage_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -318,13 +323,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < requirements_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requirements_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, requirements_.getRaw(i)); } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(6, rules_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producerNotificationChannel_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, producerNotificationChannel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(producerNotificationChannel_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, producerNotificationChannel_); } getUnknownFields().writeTo(output); } @@ -346,9 +351,9 @@ public int getSerializedSize() { for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, rules_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producerNotificationChannel_)) { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(producerNotificationChannel_)) { size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(7, producerNotificationChannel_); + com.google.protobuf.GeneratedMessage.computeStringSize(7, producerNotificationChannel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -431,38 +436,38 @@ public static com.google.api.Usage parseFrom( public static com.google.api.Usage parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Usage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Usage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Usage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Usage parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Usage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -485,7 +490,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -498,7 +503,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Usage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Usage) com.google.api.UsageOrBuilder { @@ -507,7 +512,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.UsageProto.internal_static_google_api_Usage_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -517,7 +522,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Usage.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -590,39 +595,6 @@ private void buildPartial0(com.google.api.Usage result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Usage) { @@ -664,7 +636,7 @@ public Builder mergeFrom(com.google.api.Usage other) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000002); rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { @@ -1002,7 +974,7 @@ private void ensureRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.UsageRule, com.google.api.UsageRule.Builder, com.google.api.UsageRuleOrBuilder> @@ -1354,14 +1326,14 @@ public java.util.List getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.UsageRule, com.google.api.UsageRule.Builder, com.google.api.UsageRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.UsageRule, com.google.api.UsageRule.Builder, com.google.api.UsageRuleOrBuilder>( @@ -1512,17 +1484,6 @@ public Builder setProducerNotificationChannelBytes(com.google.protobuf.ByteStrin return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Usage) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java index 5492d8f2f2..9d5dd20e58 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/usage.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface UsageOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java index a802a222f7..5871d8e6b6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/usage.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class UsageProto { private UsageProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + UsageProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Usage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Usage_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_UsageRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_UsageRule_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -60,18 +71,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_api_Usage_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Usage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Usage_descriptor, new java.lang.String[] { "Requirements", "Rules", "ProducerNotificationChannel", }); internal_static_google_api_UsageRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_UsageRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_UsageRule_descriptor, new java.lang.String[] { "Selector", "AllowUnregisteredCalls", "SkipServiceControl", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java index edf984bda2..e60d0a8c26 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/usage.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -37,28 +38,38 @@ * * Example of an API that wants to allow unregistered calls for entire service. * - * usage: - * rules: - * - selector: "*" - * allow_unregistered_calls: true + * usage: + * rules: + * - selector: "*" + * allow_unregistered_calls: true * * Example of a method that wants to allow unregistered calls. * - * usage: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allow_unregistered_calls: true + * usage: + * rules: + * - selector: "google.example.library.v1.LibraryService.CreateBook" + * allow_unregistered_calls: true * * * Protobuf type {@code google.api.UsageRule} */ -public final class UsageRule extends com.google.protobuf.GeneratedMessageV3 +public final class UsageRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.UsageRule) UsageRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + UsageRule.class.getName()); + } // Use UsageRule.newBuilder() to construct. - private UsageRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UsageRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -66,18 +77,12 @@ private UsageRule() { selector_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UsageRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.UsageProto.internal_static_google_api_UsageRule_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.UsageProto.internal_static_google_api_UsageRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -197,8 +202,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } if (allowUnregisteredCalls_ != false) { output.writeBool(2, allowUnregisteredCalls_); @@ -215,8 +220,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } if (allowUnregisteredCalls_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowUnregisteredCalls_); @@ -300,38 +305,38 @@ public static com.google.api.UsageRule parseFrom( public static com.google.api.UsageRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.UsageRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.UsageRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.UsageRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.UsageRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.UsageRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -354,7 +359,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -376,22 +381,22 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example of an API that wants to allow unregistered calls for entire service. * - * usage: - * rules: - * - selector: "*" - * allow_unregistered_calls: true + * usage: + * rules: + * - selector: "*" + * allow_unregistered_calls: true * * Example of a method that wants to allow unregistered calls. * - * usage: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allow_unregistered_calls: true + * usage: + * rules: + * - selector: "google.example.library.v1.LibraryService.CreateBook" + * allow_unregistered_calls: true * * * Protobuf type {@code google.api.UsageRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.UsageRule) com.google.api.UsageRuleOrBuilder { @@ -400,7 +405,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.UsageProto.internal_static_google_api_UsageRule_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -410,7 +415,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.UsageRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -466,39 +471,6 @@ private void buildPartial0(com.google.api.UsageRule result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.UsageRule) { @@ -829,17 +801,6 @@ public Builder clearSkipServiceControl() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.UsageRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java index 9191854931..671c9898da 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/UsageRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/usage.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface UsageRuleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Visibility.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Visibility.java index 9e50281135..562bb06d9a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Visibility.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/Visibility.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/visibility.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -37,12 +38,12 @@ * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: PREVIEW - * - selector: google.calendar.Calendar.Delegate - * restriction: INTERNAL + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: PREVIEW + * - selector: google.calendar.Calendar.Delegate + * restriction: INTERNAL * * Here, all methods are publicly visible except for the restricted methods * EnhancedSearch and Delegate. @@ -50,13 +51,23 @@ * * Protobuf type {@code google.api.Visibility} */ -public final class Visibility extends com.google.protobuf.GeneratedMessageV3 +public final class Visibility extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.Visibility) VisibilityOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Visibility.class.getName()); + } // Use Visibility.newBuilder() to construct. - private Visibility(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Visibility(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -64,18 +75,12 @@ private Visibility() { rules_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Visibility(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.VisibilityProto.internal_static_google_api_Visibility_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.VisibilityProto.internal_static_google_api_Visibility_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -263,38 +268,38 @@ public static com.google.api.Visibility parseFrom( public static com.google.api.Visibility parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Visibility parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Visibility parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.Visibility parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.Visibility parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.Visibility parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -317,7 +322,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -339,12 +344,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: PREVIEW - * - selector: google.calendar.Calendar.Delegate - * restriction: INTERNAL + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: PREVIEW + * - selector: google.calendar.Calendar.Delegate + * restriction: INTERNAL * * Here, all methods are publicly visible except for the restricted methods * EnhancedSearch and Delegate. @@ -352,7 +357,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.Visibility} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.Visibility) com.google.api.VisibilityOrBuilder { @@ -361,7 +366,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.VisibilityProto.internal_static_google_api_Visibility_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -371,7 +376,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.Visibility.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -435,39 +440,6 @@ private void buildPartial0(com.google.api.Visibility result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.Visibility) { @@ -499,7 +471,7 @@ public Builder mergeFrom(com.google.api.Visibility other) { rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRulesFieldBuilder() : null; } else { @@ -574,7 +546,7 @@ private void ensureRulesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.VisibilityRule, com.google.api.VisibilityRule.Builder, com.google.api.VisibilityRuleOrBuilder> @@ -927,14 +899,14 @@ public java.util.List getRulesBuilderList return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.api.VisibilityRule, com.google.api.VisibilityRule.Builder, com.google.api.VisibilityRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.api.VisibilityRule, com.google.api.VisibilityRule.Builder, com.google.api.VisibilityRuleOrBuilder>( @@ -944,17 +916,6 @@ public java.util.List getRulesBuilderList return rulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.Visibility) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java index 34d0c4c8d9..cef9c65c6a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/visibility.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface VisibilityOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java index 0584ed7b9e..7a5c399071 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/visibility.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public final class VisibilityProto { private VisibilityProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + VisibilityProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.api.VisibilityProto.enumVisibility); registry.add(com.google.api.VisibilityProto.valueVisibility); @@ -139,11 +150,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_Visibility_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_Visibility_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_api_VisibilityRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_api_VisibilityRule_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -185,14 +196,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_api_Visibility_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_api_Visibility_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_Visibility_descriptor, new java.lang.String[] { "Rules", }); internal_static_google_api_VisibilityRule_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_api_VisibilityRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_api_VisibilityRule_descriptor, new java.lang.String[] { "Selector", "Restriction", @@ -203,6 +214,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { messageVisibility.internalInit(descriptor.getExtensions().get(3)); methodVisibility.internalInit(descriptor.getExtensions().get(4)); apiVisibility.internalInit(descriptor.getExtensions().get(5)); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DescriptorProtos.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java index a4c8f6f3c0..d1c1764964 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRule.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/visibility.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.api.VisibilityRule} */ -public final class VisibilityRule extends com.google.protobuf.GeneratedMessageV3 +public final class VisibilityRule extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.api.VisibilityRule) VisibilityRuleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + VisibilityRule.class.getName()); + } // Use VisibilityRule.newBuilder() to construct. - private VisibilityRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private VisibilityRule(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +55,12 @@ private VisibilityRule() { restriction_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new VisibilityRule(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.api.VisibilityProto.internal_static_google_api_VisibilityRule_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.VisibilityProto .internal_static_google_api_VisibilityRule_fieldAccessorTable @@ -136,10 +141,10 @@ public com.google.protobuf.ByteString getSelectorBytes() { * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. @@ -173,10 +178,10 @@ public java.lang.String getRestriction() { * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. @@ -213,11 +218,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, selector_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(restriction_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, restriction_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(restriction_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, restriction_); } getUnknownFields().writeTo(output); } @@ -228,11 +233,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, selector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(selector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, selector_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(restriction_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, restriction_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(restriction_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, restriction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -307,38 +312,38 @@ public static com.google.api.VisibilityRule parseFrom( public static com.google.api.VisibilityRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.VisibilityRule parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.VisibilityRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.api.VisibilityRule parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.api.VisibilityRule parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.api.VisibilityRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -361,7 +366,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -375,7 +380,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.api.VisibilityRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.api.VisibilityRule) com.google.api.VisibilityRuleOrBuilder { @@ -384,7 +389,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.api.VisibilityProto .internal_static_google_api_VisibilityRule_fieldAccessorTable @@ -395,7 +400,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.api.VisibilityRule.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -447,39 +452,6 @@ private void buildPartial0(com.google.api.VisibilityRule result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.api.VisibilityRule) { @@ -693,10 +665,10 @@ public Builder setSelectorBytes(com.google.protobuf.ByteString value) { * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. @@ -729,10 +701,10 @@ public java.lang.String getRestriction() { * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. @@ -765,10 +737,10 @@ public com.google.protobuf.ByteString getRestrictionBytes() { * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. @@ -800,10 +772,10 @@ public Builder setRestriction(java.lang.String value) { * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. @@ -831,10 +803,10 @@ public Builder clearRestriction() { * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. @@ -856,17 +828,6 @@ public Builder setRestrictionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.api.VisibilityRule) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java index 035be94e49..d0c53be4ff 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/api/VisibilityRuleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/api/visibility.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.api; public interface VisibilityRuleOrBuilder @@ -67,10 +68,10 @@ public interface VisibilityRuleOrBuilder * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. @@ -93,10 +94,10 @@ public interface VisibilityRuleOrBuilder * * Example: * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW + * visibility: + * rules: + * - selector: google.calendar.Calendar.EnhancedSearch + * restriction: INTERNAL, PREVIEW * * Removing INTERNAL from this restriction will break clients that rely on * this method and only had access to it through INTERNAL. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Action.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Action.java index d6eb4d6c61..81aa233f75 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Action.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Action.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -33,13 +34,23 @@ * * Protobuf type {@code google.apps.card.v1.Action} */ -public final class Action extends com.google.protobuf.GeneratedMessageV3 +public final class Action extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Action) ActionOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Action.class.getName()); + } // Use Action.newBuilder() to construct. - private Action(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Action(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -50,18 +61,12 @@ private Action() { interaction_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Action(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Action_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Action_fieldAccessorTable @@ -106,6 +111,15 @@ public enum LoadIndicator implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LoadIndicator.class.getName()); + } /** * * @@ -265,6 +279,15 @@ public enum Interaction implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Interaction.class.getName()); + } /** * * @@ -448,13 +471,23 @@ public interface ActionParameterOrBuilder * * Protobuf type {@code google.apps.card.v1.Action.ActionParameter} */ - public static final class ActionParameter extends com.google.protobuf.GeneratedMessageV3 + public static final class ActionParameter extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Action.ActionParameter) ActionParameterOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ActionParameter.class.getName()); + } // Use ActionParameter.newBuilder() to construct. - private ActionParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ActionParameter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -463,19 +496,13 @@ private ActionParameter() { value_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ActionParameter(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Action_ActionParameter_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Action_ActionParameter_fieldAccessorTable @@ -600,11 +627,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, key_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); } getUnknownFields().writeTo(output); } @@ -615,11 +642,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(key_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, key_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -696,38 +723,38 @@ public static com.google.apps.card.v1.Action.ActionParameter parseFrom( public static com.google.apps.card.v1.Action.ActionParameter parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Action.ActionParameter parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Action.ActionParameter parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Action.ActionParameter parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Action.ActionParameter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Action.ActionParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -750,8 +777,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -773,8 +799,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.Action.ActionParameter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Action.ActionParameter) com.google.apps.card.v1.Action.ActionParameterOrBuilder { @@ -784,7 +809,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Action_ActionParameter_fieldAccessorTable @@ -796,7 +821,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Action.ActionParameter.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -850,41 +875,6 @@ private void buildPartial0(com.google.apps.card.v1.Action.ActionParameter result } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Action.ActionParameter) { @@ -1177,18 +1167,6 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Action.ActionParameter) } @@ -1523,8 +1501,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, function_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(function_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, function_); } for (int i = 0; i < parameters_.size(); i++) { output.writeMessage(2, parameters_.get(i)); @@ -1548,8 +1526,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, function_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(function_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, function_); } for (int i = 0; i < parameters_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, parameters_.get(i)); @@ -1648,38 +1626,38 @@ public static com.google.apps.card.v1.Action parseFrom( public static com.google.apps.card.v1.Action parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Action parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Action parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Action parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Action parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Action parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1702,7 +1680,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1720,7 +1698,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.Action} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Action) com.google.apps.card.v1.ActionOrBuilder { @@ -1730,7 +1708,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Action_fieldAccessorTable @@ -1741,7 +1719,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Action.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1822,39 +1800,6 @@ private void buildPartial0(com.google.apps.card.v1.Action result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Action) { @@ -1891,7 +1836,7 @@ public Builder mergeFrom(com.google.apps.card.v1.Action other) { parameters_ = other.parameters_; bitField0_ = (bitField0_ & ~0x00000002); parametersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getParametersFieldBuilder() : null; } else { @@ -2127,7 +2072,7 @@ private void ensureParametersIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Action.ActionParameter, com.google.apps.card.v1.Action.ActionParameter.Builder, com.google.apps.card.v1.Action.ActionParameterOrBuilder> @@ -2451,14 +2396,14 @@ public com.google.apps.card.v1.Action.ActionParameter.Builder addParametersBuild return getParametersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Action.ActionParameter, com.google.apps.card.v1.Action.ActionParameter.Builder, com.google.apps.card.v1.Action.ActionParameterOrBuilder> getParametersFieldBuilder() { if (parametersBuilder_ == null) { parametersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Action.ActionParameter, com.google.apps.card.v1.Action.ActionParameter.Builder, com.google.apps.card.v1.Action.ActionParameterOrBuilder>( @@ -2835,17 +2780,6 @@ public Builder clearInteraction() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Action) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ActionOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ActionOrBuilder.java index 961744e853..94917445d4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ActionOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ActionOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface ActionOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyle.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyle.java index 6a6bf237b0..25400f9510 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyle.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyle.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -32,13 +33,23 @@ * * Protobuf type {@code google.apps.card.v1.BorderStyle} */ -public final class BorderStyle extends com.google.protobuf.GeneratedMessageV3 +public final class BorderStyle extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.BorderStyle) BorderStyleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + BorderStyle.class.getName()); + } // Use BorderStyle.newBuilder() to construct. - private BorderStyle(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BorderStyle(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,19 +57,13 @@ private BorderStyle() { type_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BorderStyle(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_BorderStyle_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_BorderStyle_fieldAccessorTable @@ -113,6 +118,15 @@ public enum BorderType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + BorderType.class.getName()); + } /** * * @@ -451,38 +465,38 @@ public static com.google.apps.card.v1.BorderStyle parseFrom( public static com.google.apps.card.v1.BorderStyle parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.BorderStyle parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.BorderStyle parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.BorderStyle parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.BorderStyle parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.BorderStyle parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -505,7 +519,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -522,7 +536,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.BorderStyle} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.BorderStyle) com.google.apps.card.v1.BorderStyleOrBuilder { @@ -532,7 +546,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_BorderStyle_fieldAccessorTable @@ -546,13 +560,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStrokeColorFieldBuilder(); } } @@ -618,39 +632,6 @@ private void buildPartial0(com.google.apps.card.v1.BorderStyle result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.BorderStyle) { @@ -826,7 +807,7 @@ public Builder clearType() { } private com.google.type.Color strokeColor_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> strokeColorBuilder_; /** @@ -987,12 +968,12 @@ public com.google.type.ColorOrBuilder getStrokeColorOrBuilder() { * * .google.type.Color stroke_color = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> getStrokeColorFieldBuilder() { if (strokeColorBuilder_ == null) { strokeColorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder>( @@ -1055,17 +1036,6 @@ public Builder clearCornerRadius() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.BorderStyle) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyleOrBuilder.java index fd492e3cb4..96336dcf34 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/BorderStyleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface BorderStyleOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Button.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Button.java index 4c0961cb29..7071b38468 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Button.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Button.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -39,13 +40,23 @@ * * Protobuf type {@code google.apps.card.v1.Button} */ -public final class Button extends com.google.protobuf.GeneratedMessageV3 +public final class Button extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Button) ButtonOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Button.class.getName()); + } // Use Button.newBuilder() to construct. - private Button(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Button(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -54,18 +65,12 @@ private Button() { altText_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Button(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Button_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Button_fieldAccessorTable @@ -206,10 +211,10 @@ public com.google.apps.card.v1.IconOrBuilder getIconOrBuilder() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -252,10 +257,10 @@ public boolean hasColor() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -298,10 +303,10 @@ public com.google.type.Color getColor() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -456,8 +461,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, text_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getIcon()); @@ -471,8 +476,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disabled_ != false) { output.writeBool(5, disabled_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, altText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(altText_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, altText_); } getUnknownFields().writeTo(output); } @@ -483,8 +488,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, text_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIcon()); @@ -498,8 +503,8 @@ public int getSerializedSize() { if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, disabled_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, altText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(altText_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, altText_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -601,38 +606,38 @@ public static com.google.apps.card.v1.Button parseFrom( public static com.google.apps.card.v1.Button parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Button parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Button parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Button parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Button parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Button parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -655,7 +660,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -679,7 +684,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.Button} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Button) com.google.apps.card.v1.ButtonOrBuilder { @@ -689,7 +694,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Button_fieldAccessorTable @@ -702,13 +707,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getIconFieldBuilder(); getColorFieldBuilder(); getOnClickFieldBuilder(); @@ -797,39 +802,6 @@ private void buildPartial0(com.google.apps.card.v1.Button result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Button) { @@ -1052,7 +1024,7 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { } private com.google.apps.card.v1.Icon icon_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder> @@ -1224,14 +1196,14 @@ public com.google.apps.card.v1.IconOrBuilder getIconOrBuilder() { * * .google.apps.card.v1.Icon icon = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder> getIconFieldBuilder() { if (iconBuilder_ == null) { iconBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder>( @@ -1242,7 +1214,7 @@ public com.google.apps.card.v1.IconOrBuilder getIconOrBuilder() { } private com.google.type.Color color_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> colorBuilder_; /** @@ -1275,10 +1247,10 @@ public com.google.apps.card.v1.IconOrBuilder getIconOrBuilder() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -1320,10 +1292,10 @@ public boolean hasColor() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -1369,10 +1341,10 @@ public com.google.type.Color getColor() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -1422,10 +1394,10 @@ public Builder setColor(com.google.type.Color value) { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -1472,10 +1444,10 @@ public Builder setColor(com.google.type.Color.Builder builderForValue) { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -1530,10 +1502,10 @@ public Builder mergeColor(com.google.type.Color value) { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -1580,10 +1552,10 @@ public Builder clearColor() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -1625,10 +1597,10 @@ public com.google.type.Color.Builder getColorBuilder() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -1672,22 +1644,22 @@ public com.google.type.ColorOrBuilder getColorOrBuilder() { * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * * * .google.type.Color color = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> getColorFieldBuilder() { if (colorBuilder_ == null) { colorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder>(getColor(), getParentForChildren(), isClean()); @@ -1697,7 +1669,7 @@ public com.google.type.ColorOrBuilder getColorOrBuilder() { } private com.google.apps.card.v1.OnClick onClick_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> @@ -1869,14 +1841,14 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { * * .google.apps.card.v1.OnClick on_click = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> getOnClickFieldBuilder() { if (onClickBuilder_ == null) { onClickBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder>( @@ -2073,17 +2045,6 @@ public Builder setAltTextBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Button) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonList.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonList.java index 978b3d5190..099afa07df 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonList.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonList.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -34,13 +35,23 @@ * * Protobuf type {@code google.apps.card.v1.ButtonList} */ -public final class ButtonList extends com.google.protobuf.GeneratedMessageV3 +public final class ButtonList extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.ButtonList) ButtonListOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ButtonList.class.getName()); + } // Use ButtonList.newBuilder() to construct. - private ButtonList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ButtonList(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,19 +59,13 @@ private ButtonList() { buttons_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ButtonList(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ButtonList_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ButtonList_fieldAccessorTable @@ -241,38 +246,38 @@ public static com.google.apps.card.v1.ButtonList parseFrom( public static com.google.apps.card.v1.ButtonList parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.ButtonList parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.ButtonList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.ButtonList parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.ButtonList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.ButtonList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -295,7 +300,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -314,7 +319,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.ButtonList} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.ButtonList) com.google.apps.card.v1.ButtonListOrBuilder { @@ -324,7 +329,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ButtonList_fieldAccessorTable @@ -336,7 +341,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.ButtonList.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -401,39 +406,6 @@ private void buildPartial0(com.google.apps.card.v1.ButtonList result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.ButtonList) { @@ -465,7 +437,7 @@ public Builder mergeFrom(com.google.apps.card.v1.ButtonList other) { buttons_ = other.buttons_; bitField0_ = (bitField0_ & ~0x00000001); buttonsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getButtonsFieldBuilder() : null; } else { @@ -540,7 +512,7 @@ private void ensureButtonsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder> @@ -859,14 +831,14 @@ public java.util.List getButtonsBuilderL return getButtonsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder> getButtonsFieldBuilder() { if (buttonsBuilder_ == null) { buttonsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder>( @@ -876,17 +848,6 @@ public java.util.List getButtonsBuilderL return buttonsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.ButtonList) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonListOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonListOrBuilder.java index 7a735155a4..1302b4f407 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonListOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonListOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface ButtonListOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonOrBuilder.java index 418158e0e4..08f1d2d1c9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ButtonOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface ButtonOrBuilder @@ -117,10 +118,10 @@ public interface ButtonOrBuilder * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -160,10 +161,10 @@ public interface ButtonOrBuilder * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * @@ -203,10 +204,10 @@ public interface ButtonOrBuilder * * ``` * "color": { - * "red": 1, - * "green": 0, - * "blue": 0, - * "alpha": 0.5 + * "red": 1, + * "green": 0, + * "blue": 0, + * "alpha": 0.5 * } * ``` * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Card.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Card.java index 1389e2caaf..51d65b4e92 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Card.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Card.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -36,7 +37,7 @@ * to build cards, see the following documentation: * * * For Google Chat apps, see [Design the components of a card or - * dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). + * dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * * For Google Workspace Add-ons, see [Card-based * interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). * @@ -49,95 +50,105 @@ * * ``` * { - * "cardsV2": [ - * { - * "cardId": "unique-card-id", - * "card": { - * "header": { - * "title": "Sasha", - * "subtitle": "Software Engineer", - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "imageType": "CIRCLE", - * "imageAltText": "Avatar for Sasha" - * }, - * "sections": [ - * { - * "header": "Contact Info", - * "collapsible": true, - * "uncollapsibleWidgetsCount": 1, - * "widgets": [ - * { - * "decoratedText": { - * "startIcon": { - * "knownIcon": "EMAIL" - * }, - * "text": "sasha@example.com" - * } - * }, - * { - * "decoratedText": { - * "startIcon": { - * "knownIcon": "PERSON" - * }, - * "text": "<font color=\"#80e27e\">Online</font>" - * } - * }, - * { - * "decoratedText": { - * "startIcon": { - * "knownIcon": "PHONE" - * }, - * "text": "+1 (555) 555-1234" - * } - * }, - * { - * "buttonList": { - * "buttons": [ - * { - * "text": "Share", - * "onClick": { - * "openLink": { - * "url": "https://example.com/share" - * } - * } - * }, - * { - * "text": "Edit", - * "onClick": { - * "action": { - * "function": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "EDIT" - * } - * ] - * } - * } - * } - * ] - * } - * } - * ] - * } - * ] - * } - * } - * ] + * "cardsV2": [ + * { + * "cardId": "unique-card-id", + * "card": { + * "header": { + * "title": "Sasha", + * "subtitle": "Software Engineer", + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "imageType": "CIRCLE", + * "imageAltText": "Avatar for Sasha" + * }, + * "sections": [ + * { + * "header": "Contact Info", + * "collapsible": true, + * "uncollapsibleWidgetsCount": 1, + * "widgets": [ + * { + * "decoratedText": { + * "startIcon": { + * "knownIcon": "EMAIL" + * }, + * "text": "sasha@example.com" + * } + * }, + * { + * "decoratedText": { + * "startIcon": { + * "knownIcon": "PERSON" + * }, + * "text": "<font color=\"#80e27e\">Online</font>" + * } + * }, + * { + * "decoratedText": { + * "startIcon": { + * "knownIcon": "PHONE" + * }, + * "text": "+1 (555) 555-1234" + * } + * }, + * { + * "buttonList": { + * "buttons": [ + * { + * "text": "Share", + * "onClick": { + * "openLink": { + * "url": "https://example.com/share" + * } + * } + * }, + * { + * "text": "Edit", + * "onClick": { + * "action": { + * "function": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "EDIT" + * } + * ] + * } + * } + * } + * ] + * } + * } + * ] + * } + * ] + * } + * } + * ] * } * ``` * * * Protobuf type {@code google.apps.card.v1.Card} */ -public final class Card extends com.google.protobuf.GeneratedMessageV3 +public final class Card extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Card) CardOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Card.class.getName()); + } // Use Card.newBuilder() to construct. - private Card(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Card(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -149,18 +160,12 @@ private Card() { displayStyle_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Card(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Card_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_fieldAccessorTable @@ -215,6 +220,15 @@ public enum DividerStyle implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DividerStyle.class.getName()); + } /** * * @@ -380,6 +394,15 @@ public enum DisplayStyle implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DisplayStyle.class.getName()); + } /** * * @@ -655,13 +678,23 @@ public interface CardHeaderOrBuilder * * Protobuf type {@code google.apps.card.v1.Card.CardHeader} */ - public static final class CardHeader extends com.google.protobuf.GeneratedMessageV3 + public static final class CardHeader extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Card.CardHeader) CardHeaderOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CardHeader.class.getName()); + } // Use CardHeader.newBuilder() to construct. - private CardHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CardHeader(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -673,19 +706,13 @@ private CardHeader() { imageAltText_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CardHeader(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardHeader_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardHeader_fieldAccessorTable @@ -961,20 +988,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, title_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subtitle_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subtitle_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subtitle_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subtitle_); } if (imageType_ != com.google.apps.card.v1.Widget.ImageType.SQUARE.getNumber()) { output.writeEnum(3, imageType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, imageUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(imageUrl_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, imageUrl_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageAltText_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageAltText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(imageAltText_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, imageAltText_); } getUnknownFields().writeTo(output); } @@ -985,20 +1012,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, title_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subtitle_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subtitle_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subtitle_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subtitle_); } if (imageType_ != com.google.apps.card.v1.Widget.ImageType.SQUARE.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, imageType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, imageUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(imageUrl_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, imageUrl_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageAltText_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageAltText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(imageAltText_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, imageAltText_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1083,38 +1110,38 @@ public static com.google.apps.card.v1.Card.CardHeader parseFrom( public static com.google.apps.card.v1.Card.CardHeader parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardHeader parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card.CardHeader parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardHeader parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card.CardHeader parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardHeader parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1137,8 +1164,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1155,8 +1181,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.Card.CardHeader} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Card.CardHeader) com.google.apps.card.v1.Card.CardHeaderOrBuilder { @@ -1166,7 +1191,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardHeader_fieldAccessorTable @@ -1178,7 +1203,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Card.CardHeader.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1244,41 +1269,6 @@ private void buildPartial0(com.google.apps.card.v1.Card.CardHeader result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Card.CardHeader) { @@ -1938,18 +1928,6 @@ public Builder setImageAltTextBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Card.CardHeader) } @@ -2157,13 +2135,23 @@ public interface SectionOrBuilder * * Protobuf type {@code google.apps.card.v1.Card.Section} */ - public static final class Section extends com.google.protobuf.GeneratedMessageV3 + public static final class Section extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Card.Section) SectionOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Section.class.getName()); + } // Use Section.newBuilder() to construct. - private Section(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Section(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -2172,19 +2160,13 @@ private Section() { widgets_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Section(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_Section_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_Section_fieldAccessorTable @@ -2400,8 +2382,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(header_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, header_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(header_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, header_); } for (int i = 0; i < widgets_.size(); i++) { output.writeMessage(2, widgets_.get(i)); @@ -2421,8 +2403,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(header_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, header_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(header_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, header_); } for (int i = 0; i < widgets_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, widgets_.get(i)); @@ -2516,38 +2498,38 @@ public static com.google.apps.card.v1.Card.Section parseFrom( public static com.google.apps.card.v1.Card.Section parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.Section parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card.Section parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.Section parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card.Section parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.Section parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2570,8 +2552,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2588,8 +2569,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.Card.Section} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Card.Section) com.google.apps.card.v1.Card.SectionOrBuilder { @@ -2599,7 +2579,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_Section_fieldAccessorTable @@ -2611,7 +2591,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Card.Section.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2689,41 +2669,6 @@ private void buildPartial0(com.google.apps.card.v1.Card.Section result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Card.Section) { @@ -2760,7 +2705,7 @@ public Builder mergeFrom(com.google.apps.card.v1.Card.Section other) { widgets_ = other.widgets_; bitField0_ = (bitField0_ & ~0x00000002); widgetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getWidgetsFieldBuilder() : null; } else { @@ -3005,7 +2950,7 @@ private void ensureWidgetsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Widget, com.google.apps.card.v1.Widget.Builder, com.google.apps.card.v1.WidgetOrBuilder> @@ -3342,14 +3287,14 @@ public java.util.List getWidgetsBuilderL return getWidgetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Widget, com.google.apps.card.v1.Widget.Builder, com.google.apps.card.v1.WidgetOrBuilder> getWidgetsFieldBuilder() { if (widgetsBuilder_ == null) { widgetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Widget, com.google.apps.card.v1.Widget.Builder, com.google.apps.card.v1.WidgetOrBuilder>( @@ -3507,18 +3452,6 @@ public Builder clearUncollapsibleWidgetsCount() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Card.Section) } @@ -3650,13 +3583,23 @@ public interface CardActionOrBuilder * * Protobuf type {@code google.apps.card.v1.Card.CardAction} */ - public static final class CardAction extends com.google.protobuf.GeneratedMessageV3 + public static final class CardAction extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Card.CardAction) CardActionOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CardAction.class.getName()); + } // Use CardAction.newBuilder() to construct. - private CardAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CardAction(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -3664,19 +3607,13 @@ private CardAction() { actionLabel_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CardAction(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardAction_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardAction_fieldAccessorTable @@ -3797,8 +3734,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actionLabel_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actionLabel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(actionLabel_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, actionLabel_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getOnClick()); @@ -3812,8 +3749,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actionLabel_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actionLabel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(actionLabel_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, actionLabel_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOnClick()); @@ -3897,38 +3834,38 @@ public static com.google.apps.card.v1.Card.CardAction parseFrom( public static com.google.apps.card.v1.Card.CardAction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardAction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card.CardAction parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardAction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card.CardAction parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -3951,8 +3888,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -3970,8 +3906,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.Card.CardAction} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Card.CardAction) com.google.apps.card.v1.Card.CardActionOrBuilder { @@ -3981,7 +3916,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardAction_fieldAccessorTable @@ -3995,13 +3930,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOnClickFieldBuilder(); } } @@ -4063,41 +3998,6 @@ private void buildPartial0(com.google.apps.card.v1.Card.CardAction result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Card.CardAction) { @@ -4282,7 +4182,7 @@ public Builder setActionLabelBytes(com.google.protobuf.ByteString value) { } private com.google.apps.card.v1.OnClick onClick_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> @@ -4445,14 +4345,14 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { * * .google.apps.card.v1.OnClick on_click = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> getOnClickFieldBuilder() { if (onClickBuilder_ == null) { onClickBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder>( @@ -4462,18 +4362,6 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { return onClickBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Card.CardAction) } @@ -4632,31 +4520,35 @@ public interface CardFixedFooterOrBuilder * * Protobuf type {@code google.apps.card.v1.Card.CardFixedFooter} */ - public static final class CardFixedFooter extends com.google.protobuf.GeneratedMessageV3 + public static final class CardFixedFooter extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Card.CardFixedFooter) CardFixedFooterOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CardFixedFooter.class.getName()); + } // Use CardFixedFooter.newBuilder() to construct. - private CardFixedFooter(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CardFixedFooter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private CardFixedFooter() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CardFixedFooter(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardFixedFooter_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardFixedFooter_fieldAccessorTable @@ -4895,38 +4787,38 @@ public static com.google.apps.card.v1.Card.CardFixedFooter parseFrom( public static com.google.apps.card.v1.Card.CardFixedFooter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardFixedFooter parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card.CardFixedFooter parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardFixedFooter parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card.CardFixedFooter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card.CardFixedFooter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -4949,8 +4841,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -4976,8 +4867,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.Card.CardFixedFooter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Card.CardFixedFooter) com.google.apps.card.v1.Card.CardFixedFooterOrBuilder { @@ -4987,7 +4877,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_CardFixedFooter_fieldAccessorTable @@ -5001,13 +4891,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getPrimaryButtonFieldBuilder(); getSecondaryButtonFieldBuilder(); } @@ -5077,41 +4967,6 @@ private void buildPartial0(com.google.apps.card.v1.Card.CardFixedFooter result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Card.CardFixedFooter) { @@ -5189,7 +5044,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.apps.card.v1.Button primaryButton_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder> @@ -5365,14 +5220,14 @@ public com.google.apps.card.v1.ButtonOrBuilder getPrimaryButtonOrBuilder() { * * .google.apps.card.v1.Button primary_button = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder> getPrimaryButtonFieldBuilder() { if (primaryButtonBuilder_ == null) { primaryButtonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder>( @@ -5383,7 +5238,7 @@ public com.google.apps.card.v1.ButtonOrBuilder getPrimaryButtonOrBuilder() { } private com.google.apps.card.v1.Button secondaryButton_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder> @@ -5568,14 +5423,14 @@ public com.google.apps.card.v1.ButtonOrBuilder getSecondaryButtonOrBuilder() { * * .google.apps.card.v1.Button secondary_button = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder> getSecondaryButtonFieldBuilder() { if (secondaryButtonBuilder_ == null) { secondaryButtonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder>( @@ -5585,18 +5440,6 @@ public com.google.apps.card.v1.ButtonOrBuilder getSecondaryButtonOrBuilder() { return secondaryButtonBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Card.CardFixedFooter) } @@ -5838,29 +5681,29 @@ public com.google.apps.card.v1.Card.DividerStyle getSectionDividerStyle() { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -5885,29 +5728,29 @@ public java.util.List getCardActionsLis * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -5933,29 +5776,29 @@ public java.util.List getCardActionsLis * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -5980,29 +5823,29 @@ public int getCardActionsCount() { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -6027,29 +5870,29 @@ public com.google.apps.card.v1.Card.CardAction getCardActions(int index) { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -6329,8 +6172,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < cardActions_.size(); i++) { output.writeMessage(3, cardActions_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, name_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getFixedFooter()); @@ -6364,8 +6207,8 @@ public int getSerializedSize() { for (int i = 0; i < cardActions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, cardActions_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, name_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFixedFooter()); @@ -6491,38 +6334,38 @@ public static com.google.apps.card.v1.Card parseFrom( public static com.google.apps.card.v1.Card parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Card parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Card parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -6545,7 +6388,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -6566,7 +6409,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * to build cards, see the following documentation: * * * For Google Chat apps, see [Design the components of a card or - * dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). + * dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * * For Google Workspace Add-ons, see [Card-based * interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). * @@ -6579,89 +6422,89 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * ``` * { - * "cardsV2": [ - * { - * "cardId": "unique-card-id", - * "card": { - * "header": { - * "title": "Sasha", - * "subtitle": "Software Engineer", - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "imageType": "CIRCLE", - * "imageAltText": "Avatar for Sasha" - * }, - * "sections": [ - * { - * "header": "Contact Info", - * "collapsible": true, - * "uncollapsibleWidgetsCount": 1, - * "widgets": [ - * { - * "decoratedText": { - * "startIcon": { - * "knownIcon": "EMAIL" - * }, - * "text": "sasha@example.com" - * } - * }, - * { - * "decoratedText": { - * "startIcon": { - * "knownIcon": "PERSON" - * }, - * "text": "<font color=\"#80e27e\">Online</font>" - * } - * }, - * { - * "decoratedText": { - * "startIcon": { - * "knownIcon": "PHONE" - * }, - * "text": "+1 (555) 555-1234" - * } - * }, - * { - * "buttonList": { - * "buttons": [ - * { - * "text": "Share", - * "onClick": { - * "openLink": { - * "url": "https://example.com/share" - * } - * } - * }, - * { - * "text": "Edit", - * "onClick": { - * "action": { - * "function": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "EDIT" - * } - * ] - * } - * } - * } - * ] - * } - * } - * ] - * } - * ] - * } - * } - * ] + * "cardsV2": [ + * { + * "cardId": "unique-card-id", + * "card": { + * "header": { + * "title": "Sasha", + * "subtitle": "Software Engineer", + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "imageType": "CIRCLE", + * "imageAltText": "Avatar for Sasha" + * }, + * "sections": [ + * { + * "header": "Contact Info", + * "collapsible": true, + * "uncollapsibleWidgetsCount": 1, + * "widgets": [ + * { + * "decoratedText": { + * "startIcon": { + * "knownIcon": "EMAIL" + * }, + * "text": "sasha@example.com" + * } + * }, + * { + * "decoratedText": { + * "startIcon": { + * "knownIcon": "PERSON" + * }, + * "text": "<font color=\"#80e27e\">Online</font>" + * } + * }, + * { + * "decoratedText": { + * "startIcon": { + * "knownIcon": "PHONE" + * }, + * "text": "+1 (555) 555-1234" + * } + * }, + * { + * "buttonList": { + * "buttons": [ + * { + * "text": "Share", + * "onClick": { + * "openLink": { + * "url": "https://example.com/share" + * } + * } + * }, + * { + * "text": "Edit", + * "onClick": { + * "action": { + * "function": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "EDIT" + * } + * ] + * } + * } + * } + * ] + * } + * } + * ] + * } + * ] + * } + * } + * ] * } * ``` * * * Protobuf type {@code google.apps.card.v1.Card} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Card) com.google.apps.card.v1.CardOrBuilder { @@ -6670,7 +6513,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Card_fieldAccessorTable @@ -6683,13 +6526,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getHeaderFieldBuilder(); getSectionsFieldBuilder(); getCardActionsFieldBuilder(); @@ -6817,39 +6660,6 @@ private void buildPartial0(com.google.apps.card.v1.Card result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Card) { @@ -6884,7 +6694,7 @@ public Builder mergeFrom(com.google.apps.card.v1.Card other) { sections_ = other.sections_; bitField0_ = (bitField0_ & ~0x00000002); sectionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getSectionsFieldBuilder() : null; } else { @@ -6914,7 +6724,7 @@ public Builder mergeFrom(com.google.apps.card.v1.Card other) { cardActions_ = other.cardActions_; bitField0_ = (bitField0_ & ~0x00000008); cardActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getCardActionsFieldBuilder() : null; } else { @@ -7044,7 +6854,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.apps.card.v1.Card.CardHeader header_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardHeader, com.google.apps.card.v1.Card.CardHeader.Builder, com.google.apps.card.v1.Card.CardHeaderOrBuilder> @@ -7220,14 +7030,14 @@ public com.google.apps.card.v1.Card.CardHeaderOrBuilder getHeaderOrBuilder() { * * .google.apps.card.v1.Card.CardHeader header = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardHeader, com.google.apps.card.v1.Card.CardHeader.Builder, com.google.apps.card.v1.Card.CardHeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardHeader, com.google.apps.card.v1.Card.CardHeader.Builder, com.google.apps.card.v1.Card.CardHeaderOrBuilder>( @@ -7247,7 +7057,7 @@ private void ensureSectionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Card.Section, com.google.apps.card.v1.Card.Section.Builder, com.google.apps.card.v1.Card.SectionOrBuilder> @@ -7622,14 +7432,14 @@ public java.util.List getSectionsB return getSectionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Card.Section, com.google.apps.card.v1.Card.Section.Builder, com.google.apps.card.v1.Card.SectionOrBuilder> getSectionsFieldBuilder() { if (sectionsBuilder_ == null) { sectionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Card.Section, com.google.apps.card.v1.Card.Section.Builder, com.google.apps.card.v1.Card.SectionOrBuilder>( @@ -7740,7 +7550,7 @@ private void ensureCardActionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Card.CardAction, com.google.apps.card.v1.Card.CardAction.Builder, com.google.apps.card.v1.Card.CardActionOrBuilder> @@ -7760,29 +7570,29 @@ private void ensureCardActionsIsMutable() { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -7810,29 +7620,29 @@ public java.util.List getCardActionsLis * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -7860,29 +7670,29 @@ public int getCardActionsCount() { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -7910,29 +7720,29 @@ public com.google.apps.card.v1.Card.CardAction getCardActions(int index) { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -7966,29 +7776,29 @@ public Builder setCardActions(int index, com.google.apps.card.v1.Card.CardAction * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8020,29 +7830,29 @@ public Builder setCardActions( * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8076,29 +7886,29 @@ public Builder addCardActions(com.google.apps.card.v1.Card.CardAction value) { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8132,29 +7942,29 @@ public Builder addCardActions(int index, com.google.apps.card.v1.Card.CardAction * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8185,29 +7995,29 @@ public Builder addCardActions(com.google.apps.card.v1.Card.CardAction.Builder bu * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8239,29 +8049,29 @@ public Builder addCardActions( * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8293,29 +8103,29 @@ public Builder addAllCardActions( * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8346,29 +8156,29 @@ public Builder clearCardActions() { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8399,29 +8209,29 @@ public Builder removeCardActions(int index) { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8445,29 +8255,29 @@ public com.google.apps.card.v1.Card.CardAction.Builder getCardActionsBuilder(int * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8495,29 +8305,29 @@ public com.google.apps.card.v1.Card.CardActionOrBuilder getCardActionsOrBuilder( * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8546,29 +8356,29 @@ public com.google.apps.card.v1.Card.CardActionOrBuilder getCardActionsOrBuilder( * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8593,29 +8403,29 @@ public com.google.apps.card.v1.Card.CardAction.Builder addCardActionsBuilder() { * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8640,29 +8450,29 @@ public com.google.apps.card.v1.Card.CardAction.Builder addCardActionsBuilder(int * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -8674,14 +8484,14 @@ public com.google.apps.card.v1.Card.CardAction.Builder addCardActionsBuilder(int return getCardActionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Card.CardAction, com.google.apps.card.v1.Card.CardAction.Builder, com.google.apps.card.v1.Card.CardActionOrBuilder> getCardActionsFieldBuilder() { if (cardActionsBuilder_ == null) { cardActionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Card.CardAction, com.google.apps.card.v1.Card.CardAction.Builder, com.google.apps.card.v1.Card.CardActionOrBuilder>( @@ -8813,7 +8623,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.apps.card.v1.Card.CardFixedFooter fixedFooter_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardFixedFooter, com.google.apps.card.v1.Card.CardFixedFooter.Builder, com.google.apps.card.v1.Card.CardFixedFooterOrBuilder> @@ -9071,14 +8881,14 @@ public com.google.apps.card.v1.Card.CardFixedFooterOrBuilder getFixedFooterOrBui * * .google.apps.card.v1.Card.CardFixedFooter fixed_footer = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardFixedFooter, com.google.apps.card.v1.Card.CardFixedFooter.Builder, com.google.apps.card.v1.Card.CardFixedFooterOrBuilder> getFixedFooterFieldBuilder() { if (fixedFooterBuilder_ == null) { fixedFooterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardFixedFooter, com.google.apps.card.v1.Card.CardFixedFooter.Builder, com.google.apps.card.v1.Card.CardFixedFooterOrBuilder>( @@ -9199,7 +9009,7 @@ public Builder clearDisplayStyle() { } private com.google.apps.card.v1.Card.CardHeader peekCardHeader_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardHeader, com.google.apps.card.v1.Card.CardHeader.Builder, com.google.apps.card.v1.Card.CardHeaderOrBuilder> @@ -9412,14 +9222,14 @@ public com.google.apps.card.v1.Card.CardHeaderOrBuilder getPeekCardHeaderOrBuild * * .google.apps.card.v1.Card.CardHeader peek_card_header = 7; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardHeader, com.google.apps.card.v1.Card.CardHeader.Builder, com.google.apps.card.v1.Card.CardHeaderOrBuilder> getPeekCardHeaderFieldBuilder() { if (peekCardHeaderBuilder_ == null) { peekCardHeaderBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card.CardHeader, com.google.apps.card.v1.Card.CardHeader.Builder, com.google.apps.card.v1.Card.CardHeaderOrBuilder>( @@ -9429,17 +9239,6 @@ public com.google.apps.card.v1.Card.CardHeaderOrBuilder getPeekCardHeaderOrBuild return peekCardHeaderBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Card) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/CardOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/CardOrBuilder.java index 3d89debe63..81ce09ba56 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/CardOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/CardOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface CardOrBuilder @@ -168,29 +169,29 @@ public interface CardOrBuilder * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -212,29 +213,29 @@ public interface CardOrBuilder * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -256,29 +257,29 @@ public interface CardOrBuilder * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -300,29 +301,29 @@ public interface CardOrBuilder * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * @@ -345,29 +346,29 @@ public interface CardOrBuilder * * ``` * "card_actions": [ - * { - * "actionLabel": "Settings", - * "onClick": { - * "action": { - * "functionName": "goToView", - * "parameters": [ - * { - * "key": "viewType", - * "value": "SETTING" - * } - * ], - * "loadIndicator": "LoadIndicator.SPINNER" - * } - * } - * }, - * { - * "actionLabel": "Send Feedback", - * "onClick": { - * "openLink": { - * "url": "https://example.com/feedback" - * } - * } - * } + * { + * "actionLabel": "Settings", + * "onClick": { + * "action": { + * "functionName": "goToView", + * "parameters": [ + * { + * "key": "viewType", + * "value": "SETTING" + * } + * ], + * "loadIndicator": "LoadIndicator.SPINNER" + * } + * } + * }, + * { + * "actionLabel": "Send Feedback", + * "onClick": { + * "openLink": { + * "url": "https://example.com/feedback" + * } + * } + * } * ] * ``` * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/CardProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/CardProto.java index a92c0e9d48..96acbea1e9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/CardProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/CardProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public final class CardProto { private CardProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CardProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,139 +41,139 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Card_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Card_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Card_CardHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Card_CardHeader_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Card_Section_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Card_Section_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Card_CardAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Card_CardAction_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Card_CardFixedFooter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Card_CardFixedFooter_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Widget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Widget_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_TextParagraph_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_TextParagraph_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Image_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Image_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Divider_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Divider_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_DecoratedText_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_DecoratedText_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_DecoratedText_SwitchControl_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_DecoratedText_SwitchControl_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_TextInput_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_TextInput_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Suggestions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Suggestions_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Suggestions_SuggestionItem_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Suggestions_SuggestionItem_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_ButtonList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_ButtonList_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_SelectionInput_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_SelectionInput_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_SelectionInput_SelectionItem_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_SelectionInput_SelectionItem_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_SelectionInput_PlatformDataSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_SelectionInput_PlatformDataSource_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_DateTimePicker_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_DateTimePicker_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Button_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Button_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Icon_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Icon_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_MaterialIcon_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_MaterialIcon_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_ImageCropStyle_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_ImageCropStyle_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_BorderStyle_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_BorderStyle_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_ImageComponent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_ImageComponent_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Grid_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Grid_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Grid_GridItem_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Grid_GridItem_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Columns_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Columns_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Columns_Column_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Columns_Column_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Columns_Column_Widgets_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Columns_Column_Widgets_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_OnClick_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_OnClick_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_OpenLink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_OpenLink_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Action_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Action_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_apps_card_v1_Action_ActionParameter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_apps_card_v1_Action_ActionParameter_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -384,7 +395,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_apps_card_v1_Card_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_apps_card_v1_Card_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Card_descriptor, new java.lang.String[] { "Header", @@ -399,7 +410,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Card_CardHeader_descriptor = internal_static_google_apps_card_v1_Card_descriptor.getNestedTypes().get(0); internal_static_google_apps_card_v1_Card_CardHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Card_CardHeader_descriptor, new java.lang.String[] { "Title", "Subtitle", "ImageType", "ImageUrl", "ImageAltText", @@ -407,7 +418,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Card_Section_descriptor = internal_static_google_apps_card_v1_Card_descriptor.getNestedTypes().get(1); internal_static_google_apps_card_v1_Card_Section_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Card_Section_descriptor, new java.lang.String[] { "Header", "Widgets", "Collapsible", "UncollapsibleWidgetsCount", @@ -415,7 +426,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Card_CardAction_descriptor = internal_static_google_apps_card_v1_Card_descriptor.getNestedTypes().get(2); internal_static_google_apps_card_v1_Card_CardAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Card_CardAction_descriptor, new java.lang.String[] { "ActionLabel", "OnClick", @@ -423,7 +434,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Card_CardFixedFooter_descriptor = internal_static_google_apps_card_v1_Card_descriptor.getNestedTypes().get(3); internal_static_google_apps_card_v1_Card_CardFixedFooter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Card_CardFixedFooter_descriptor, new java.lang.String[] { "PrimaryButton", "SecondaryButton", @@ -431,7 +442,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Widget_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_apps_card_v1_Widget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Widget_descriptor, new java.lang.String[] { "TextParagraph", @@ -450,14 +461,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_TextParagraph_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_apps_card_v1_TextParagraph_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_TextParagraph_descriptor, new java.lang.String[] { "Text", }); internal_static_google_apps_card_v1_Image_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_apps_card_v1_Image_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Image_descriptor, new java.lang.String[] { "ImageUrl", "OnClick", "AltText", @@ -465,12 +476,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Divider_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_apps_card_v1_Divider_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Divider_descriptor, new java.lang.String[] {}); internal_static_google_apps_card_v1_DecoratedText_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_apps_card_v1_DecoratedText_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_DecoratedText_descriptor, new java.lang.String[] { "Icon", @@ -488,7 +499,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_DecoratedText_SwitchControl_descriptor = internal_static_google_apps_card_v1_DecoratedText_descriptor.getNestedTypes().get(0); internal_static_google_apps_card_v1_DecoratedText_SwitchControl_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_DecoratedText_SwitchControl_descriptor, new java.lang.String[] { "Name", "Value", "Selected", "OnChangeAction", "ControlType", @@ -496,7 +507,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_TextInput_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_google_apps_card_v1_TextInput_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_TextInput_descriptor, new java.lang.String[] { "Name", @@ -512,7 +523,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Suggestions_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_google_apps_card_v1_Suggestions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Suggestions_descriptor, new java.lang.String[] { "Items", @@ -520,7 +531,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Suggestions_SuggestionItem_descriptor = internal_static_google_apps_card_v1_Suggestions_descriptor.getNestedTypes().get(0); internal_static_google_apps_card_v1_Suggestions_SuggestionItem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Suggestions_SuggestionItem_descriptor, new java.lang.String[] { "Text", "Content", @@ -528,7 +539,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_ButtonList_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_google_apps_card_v1_ButtonList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_ButtonList_descriptor, new java.lang.String[] { "Buttons", @@ -536,7 +547,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_SelectionInput_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_google_apps_card_v1_SelectionInput_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_SelectionInput_descriptor, new java.lang.String[] { "Name", @@ -553,7 +564,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_SelectionInput_SelectionItem_descriptor = internal_static_google_apps_card_v1_SelectionInput_descriptor.getNestedTypes().get(0); internal_static_google_apps_card_v1_SelectionInput_SelectionItem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_SelectionInput_SelectionItem_descriptor, new java.lang.String[] { "Text", "Value", "Selected", "StartIconUri", "BottomText", @@ -561,7 +572,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_SelectionInput_PlatformDataSource_descriptor = internal_static_google_apps_card_v1_SelectionInput_descriptor.getNestedTypes().get(1); internal_static_google_apps_card_v1_SelectionInput_PlatformDataSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_SelectionInput_PlatformDataSource_descriptor, new java.lang.String[] { "CommonDataSource", "DataSource", @@ -569,7 +580,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_DateTimePicker_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_google_apps_card_v1_DateTimePicker_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_DateTimePicker_descriptor, new java.lang.String[] { "Name", "Label", "Type", "ValueMsEpoch", "TimezoneOffsetDate", "OnChangeAction", @@ -577,14 +588,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Button_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_google_apps_card_v1_Button_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Button_descriptor, new java.lang.String[] { "Text", "Icon", "Color", "OnClick", "Disabled", "AltText", }); internal_static_google_apps_card_v1_Icon_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_google_apps_card_v1_Icon_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Icon_descriptor, new java.lang.String[] { "KnownIcon", "IconUrl", "MaterialIcon", "AltText", "ImageType", "Icons", @@ -592,7 +603,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_MaterialIcon_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_google_apps_card_v1_MaterialIcon_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_MaterialIcon_descriptor, new java.lang.String[] { "Name", "Fill", "Weight", "Grade", @@ -600,7 +611,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_ImageCropStyle_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_google_apps_card_v1_ImageCropStyle_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_ImageCropStyle_descriptor, new java.lang.String[] { "Type", "AspectRatio", @@ -608,7 +619,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_BorderStyle_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_google_apps_card_v1_BorderStyle_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_BorderStyle_descriptor, new java.lang.String[] { "Type", "StrokeColor", "CornerRadius", @@ -616,14 +627,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_ImageComponent_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_google_apps_card_v1_ImageComponent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_ImageComponent_descriptor, new java.lang.String[] { "ImageUri", "AltText", "CropStyle", "BorderStyle", }); internal_static_google_apps_card_v1_Grid_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_google_apps_card_v1_Grid_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Grid_descriptor, new java.lang.String[] { "Title", "Items", "BorderStyle", "ColumnCount", "OnClick", @@ -631,7 +642,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Grid_GridItem_descriptor = internal_static_google_apps_card_v1_Grid_descriptor.getNestedTypes().get(0); internal_static_google_apps_card_v1_Grid_GridItem_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Grid_GridItem_descriptor, new java.lang.String[] { "Id", "Image", "Title", "Subtitle", "Layout", @@ -639,7 +650,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Columns_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_google_apps_card_v1_Columns_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Columns_descriptor, new java.lang.String[] { "ColumnItems", @@ -647,7 +658,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Columns_Column_descriptor = internal_static_google_apps_card_v1_Columns_descriptor.getNestedTypes().get(0); internal_static_google_apps_card_v1_Columns_Column_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Columns_Column_descriptor, new java.lang.String[] { "HorizontalSizeStyle", "HorizontalAlignment", "VerticalAlignment", "Widgets", @@ -655,7 +666,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Columns_Column_Widgets_descriptor = internal_static_google_apps_card_v1_Columns_Column_descriptor.getNestedTypes().get(0); internal_static_google_apps_card_v1_Columns_Column_Widgets_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Columns_Column_Widgets_descriptor, new java.lang.String[] { "TextParagraph", @@ -670,7 +681,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_OnClick_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_google_apps_card_v1_OnClick_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_OnClick_descriptor, new java.lang.String[] { "Action", "OpenLink", "OpenDynamicLinkAction", "Card", "Data", @@ -678,7 +689,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_OpenLink_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_google_apps_card_v1_OpenLink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_OpenLink_descriptor, new java.lang.String[] { "Url", "OpenAs", "OnClose", @@ -686,7 +697,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Action_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_google_apps_card_v1_Action_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Action_descriptor, new java.lang.String[] { "Function", "Parameters", "LoadIndicator", "PersistValues", "Interaction", @@ -694,11 +705,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_apps_card_v1_Action_ActionParameter_descriptor = internal_static_google_apps_card_v1_Action_descriptor.getNestedTypes().get(0); internal_static_google_apps_card_v1_Action_ActionParameter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_apps_card_v1_Action_ActionParameter_descriptor, new java.lang.String[] { "Key", "Value", }); + descriptor.resolveAllFeaturesImmutable(); com.google.type.ColorProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Columns.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Columns.java index 0d1c3675c4..1e89fd5a4b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Columns.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Columns.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -40,11 +41,11 @@ * screen width is too narrow, the second column wraps below the first: * * * On web, the second column wraps if the screen width is less than or equal - * to 480 pixels. + * to 480 pixels. * * On iOS devices, the second column wraps if the screen width is - * less than or equal to 300 pt. + * less than or equal to 300 pt. * * On Android devices, the second column wraps if the screen width is - * less than or equal to 320 dp. + * less than or equal to 320 dp. * * To include more than 2 columns, or to use rows, use the * [`Grid`][google.apps.card.v1.Grid] widget. @@ -57,13 +58,23 @@ * * Protobuf type {@code google.apps.card.v1.Columns} */ -public final class Columns extends com.google.protobuf.GeneratedMessageV3 +public final class Columns extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Columns) ColumnsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Columns.class.getName()); + } // Use Columns.newBuilder() to construct. - private Columns(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Columns(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -71,18 +82,12 @@ private Columns() { columnItems_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Columns(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Columns_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Columns_fieldAccessorTable @@ -247,13 +252,23 @@ public interface ColumnOrBuilder * * Protobuf type {@code google.apps.card.v1.Columns.Column} */ - public static final class Column extends com.google.protobuf.GeneratedMessageV3 + public static final class Column extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Columns.Column) ColumnOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Column.class.getName()); + } // Use Column.newBuilder() to construct. - private Column(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Column(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -264,19 +279,13 @@ private Column() { widgets_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Column(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Columns_Column_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Columns_Column_fieldAccessorTable @@ -338,6 +347,15 @@ public enum HorizontalSizeStyle implements com.google.protobuf.ProtocolMessageEn UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + HorizontalSizeStyle.class.getName()); + } /** * * @@ -517,6 +535,15 @@ public enum VerticalAlignment implements com.google.protobuf.ProtocolMessageEnum UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + VerticalAlignment.class.getName()); + } /** * * @@ -912,31 +939,35 @@ public interface WidgetsOrBuilder * * Protobuf type {@code google.apps.card.v1.Columns.Column.Widgets} */ - public static final class Widgets extends com.google.protobuf.GeneratedMessageV3 + public static final class Widgets extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Columns.Column.Widgets) WidgetsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Widgets.class.getName()); + } // Use Widgets.newBuilder() to construct. - private Widgets(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Widgets(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Widgets() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Widgets(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Columns_Column_Widgets_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Columns_Column_Widgets_fieldAccessorTable @@ -1572,38 +1603,38 @@ public static com.google.apps.card.v1.Columns.Column.Widgets parseFrom( public static com.google.apps.card.v1.Columns.Column.Widgets parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns.Column.Widgets parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Columns.Column.Widgets parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns.Column.Widgets parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Columns.Column.Widgets parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns.Column.Widgets parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1627,7 +1658,7 @@ public Builder toBuilder() { @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1646,7 +1677,7 @@ protected Builder newBuilderForType( * Protobuf type {@code google.apps.card.v1.Columns.Column.Widgets} */ public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Columns.Column.Widgets) com.google.apps.card.v1.Columns.Column.WidgetsOrBuilder { @@ -1656,7 +1687,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Columns_Column_Widgets_fieldAccessorTable @@ -1668,7 +1699,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Columns.Column.Widgets.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1764,41 +1795,6 @@ private void buildPartialOneofs(com.google.apps.card.v1.Columns.Column.Widgets r } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Columns.Column.Widgets) { @@ -1958,7 +1954,7 @@ public Builder clearData() { private int bitField0_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextParagraph, com.google.apps.card.v1.TextParagraph.Builder, com.google.apps.card.v1.TextParagraphOrBuilder> @@ -2143,7 +2139,7 @@ public com.google.apps.card.v1.TextParagraphOrBuilder getTextParagraphOrBuilder( * * .google.apps.card.v1.TextParagraph text_paragraph = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextParagraph, com.google.apps.card.v1.TextParagraph.Builder, com.google.apps.card.v1.TextParagraphOrBuilder> @@ -2153,7 +2149,7 @@ public com.google.apps.card.v1.TextParagraphOrBuilder getTextParagraphOrBuilder( data_ = com.google.apps.card.v1.TextParagraph.getDefaultInstance(); } textParagraphBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextParagraph, com.google.apps.card.v1.TextParagraph.Builder, com.google.apps.card.v1.TextParagraphOrBuilder>( @@ -2167,7 +2163,7 @@ public com.google.apps.card.v1.TextParagraphOrBuilder getTextParagraphOrBuilder( return textParagraphBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Image, com.google.apps.card.v1.Image.Builder, com.google.apps.card.v1.ImageOrBuilder> @@ -2349,7 +2345,7 @@ public com.google.apps.card.v1.ImageOrBuilder getImageOrBuilder() { * * .google.apps.card.v1.Image image = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Image, com.google.apps.card.v1.Image.Builder, com.google.apps.card.v1.ImageOrBuilder> @@ -2359,7 +2355,7 @@ public com.google.apps.card.v1.ImageOrBuilder getImageOrBuilder() { data_ = com.google.apps.card.v1.Image.getDefaultInstance(); } imageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Image, com.google.apps.card.v1.Image.Builder, com.google.apps.card.v1.ImageOrBuilder>( @@ -2371,7 +2367,7 @@ public com.google.apps.card.v1.ImageOrBuilder getImageOrBuilder() { return imageBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText, com.google.apps.card.v1.DecoratedText.Builder, com.google.apps.card.v1.DecoratedTextOrBuilder> @@ -2556,7 +2552,7 @@ public com.google.apps.card.v1.DecoratedTextOrBuilder getDecoratedTextOrBuilder( * * .google.apps.card.v1.DecoratedText decorated_text = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText, com.google.apps.card.v1.DecoratedText.Builder, com.google.apps.card.v1.DecoratedTextOrBuilder> @@ -2566,7 +2562,7 @@ public com.google.apps.card.v1.DecoratedTextOrBuilder getDecoratedTextOrBuilder( data_ = com.google.apps.card.v1.DecoratedText.getDefaultInstance(); } decoratedTextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText, com.google.apps.card.v1.DecoratedText.Builder, com.google.apps.card.v1.DecoratedTextOrBuilder>( @@ -2580,7 +2576,7 @@ public com.google.apps.card.v1.DecoratedTextOrBuilder getDecoratedTextOrBuilder( return decoratedTextBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ButtonList, com.google.apps.card.v1.ButtonList.Builder, com.google.apps.card.v1.ButtonListOrBuilder> @@ -2764,7 +2760,7 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { * * .google.apps.card.v1.ButtonList button_list = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ButtonList, com.google.apps.card.v1.ButtonList.Builder, com.google.apps.card.v1.ButtonListOrBuilder> @@ -2774,7 +2770,7 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { data_ = com.google.apps.card.v1.ButtonList.getDefaultInstance(); } buttonListBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ButtonList, com.google.apps.card.v1.ButtonList.Builder, com.google.apps.card.v1.ButtonListOrBuilder>( @@ -2786,7 +2782,7 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { return buttonListBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextInput, com.google.apps.card.v1.TextInput.Builder, com.google.apps.card.v1.TextInputOrBuilder> @@ -2969,7 +2965,7 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { * * .google.apps.card.v1.TextInput text_input = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextInput, com.google.apps.card.v1.TextInput.Builder, com.google.apps.card.v1.TextInputOrBuilder> @@ -2979,7 +2975,7 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { data_ = com.google.apps.card.v1.TextInput.getDefaultInstance(); } textInputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextInput, com.google.apps.card.v1.TextInput.Builder, com.google.apps.card.v1.TextInputOrBuilder>( @@ -2991,7 +2987,7 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { return textInputBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput, com.google.apps.card.v1.SelectionInput.Builder, com.google.apps.card.v1.SelectionInputOrBuilder> @@ -3176,7 +3172,7 @@ public com.google.apps.card.v1.SelectionInputOrBuilder getSelectionInputOrBuilde * * .google.apps.card.v1.SelectionInput selection_input = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput, com.google.apps.card.v1.SelectionInput.Builder, com.google.apps.card.v1.SelectionInputOrBuilder> @@ -3186,7 +3182,7 @@ public com.google.apps.card.v1.SelectionInputOrBuilder getSelectionInputOrBuilde data_ = com.google.apps.card.v1.SelectionInput.getDefaultInstance(); } selectionInputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput, com.google.apps.card.v1.SelectionInput.Builder, com.google.apps.card.v1.SelectionInputOrBuilder>( @@ -3200,7 +3196,7 @@ public com.google.apps.card.v1.SelectionInputOrBuilder getSelectionInputOrBuilde return selectionInputBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DateTimePicker, com.google.apps.card.v1.DateTimePicker.Builder, com.google.apps.card.v1.DateTimePickerOrBuilder> @@ -3385,7 +3381,7 @@ public com.google.apps.card.v1.DateTimePickerOrBuilder getDateTimePickerOrBuilde * * .google.apps.card.v1.DateTimePicker date_time_picker = 7; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DateTimePicker, com.google.apps.card.v1.DateTimePicker.Builder, com.google.apps.card.v1.DateTimePickerOrBuilder> @@ -3395,7 +3391,7 @@ public com.google.apps.card.v1.DateTimePickerOrBuilder getDateTimePickerOrBuilde data_ = com.google.apps.card.v1.DateTimePicker.getDefaultInstance(); } dateTimePickerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DateTimePicker, com.google.apps.card.v1.DateTimePicker.Builder, com.google.apps.card.v1.DateTimePickerOrBuilder>( @@ -3409,18 +3405,6 @@ public com.google.apps.card.v1.DateTimePickerOrBuilder getDateTimePickerOrBuilde return dateTimePickerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Columns.Column.Widgets) } @@ -3810,38 +3794,38 @@ public static com.google.apps.card.v1.Columns.Column parseFrom( public static com.google.apps.card.v1.Columns.Column parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns.Column parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Columns.Column parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns.Column parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Columns.Column parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -3864,8 +3848,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -3883,8 +3866,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.Columns.Column} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Columns.Column) com.google.apps.card.v1.Columns.ColumnOrBuilder { @@ -3894,7 +3876,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Columns_Column_fieldAccessorTable @@ -3906,7 +3888,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Columns.Column.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -3984,41 +3966,6 @@ private void buildPartial0(com.google.apps.card.v1.Columns.Column result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Columns.Column) { @@ -4059,7 +4006,7 @@ public Builder mergeFrom(com.google.apps.card.v1.Columns.Column other) { widgets_ = other.widgets_; bitField0_ = (bitField0_ & ~0x00000008); widgetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getWidgetsFieldBuilder() : null; } else { @@ -4450,7 +4397,7 @@ private void ensureWidgetsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Columns.Column.Widgets, com.google.apps.card.v1.Columns.Column.Widgets.Builder, com.google.apps.card.v1.Columns.Column.WidgetsOrBuilder> @@ -4792,14 +4739,14 @@ public com.google.apps.card.v1.Columns.Column.Widgets.Builder addWidgetsBuilder( return getWidgetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Columns.Column.Widgets, com.google.apps.card.v1.Columns.Column.Widgets.Builder, com.google.apps.card.v1.Columns.Column.WidgetsOrBuilder> getWidgetsFieldBuilder() { if (widgetsBuilder_ == null) { widgetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Columns.Column.Widgets, com.google.apps.card.v1.Columns.Column.Widgets.Builder, com.google.apps.card.v1.Columns.Column.WidgetsOrBuilder>( @@ -4809,18 +4756,6 @@ public com.google.apps.card.v1.Columns.Column.Widgets.Builder addWidgetsBuilder( return widgetsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Columns.Column) } @@ -5045,38 +4980,38 @@ public static com.google.apps.card.v1.Columns parseFrom( public static com.google.apps.card.v1.Columns parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Columns parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Columns parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Columns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -5099,7 +5034,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -5124,11 +5059,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * screen width is too narrow, the second column wraps below the first: * * * On web, the second column wraps if the screen width is less than or equal - * to 480 pixels. + * to 480 pixels. * * On iOS devices, the second column wraps if the screen width is - * less than or equal to 300 pt. + * less than or equal to 300 pt. * * On Android devices, the second column wraps if the screen width is - * less than or equal to 320 dp. + * less than or equal to 320 dp. * * To include more than 2 columns, or to use rows, use the * [`Grid`][google.apps.card.v1.Grid] widget. @@ -5141,7 +5076,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.Columns} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Columns) com.google.apps.card.v1.ColumnsOrBuilder { @@ -5151,7 +5086,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Columns_fieldAccessorTable @@ -5162,7 +5097,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Columns.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -5227,39 +5162,6 @@ private void buildPartial0(com.google.apps.card.v1.Columns result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Columns) { @@ -5291,7 +5193,7 @@ public Builder mergeFrom(com.google.apps.card.v1.Columns other) { columnItems_ = other.columnItems_; bitField0_ = (bitField0_ & ~0x00000001); columnItemsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getColumnItemsFieldBuilder() : null; } else { @@ -5368,7 +5270,7 @@ private void ensureColumnItemsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Columns.Column, com.google.apps.card.v1.Columns.Column.Builder, com.google.apps.card.v1.Columns.ColumnOrBuilder> @@ -5690,14 +5592,14 @@ public com.google.apps.card.v1.Columns.Column.Builder addColumnItemsBuilder(int return getColumnItemsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Columns.Column, com.google.apps.card.v1.Columns.Column.Builder, com.google.apps.card.v1.Columns.ColumnOrBuilder> getColumnItemsFieldBuilder() { if (columnItemsBuilder_ == null) { columnItemsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Columns.Column, com.google.apps.card.v1.Columns.Column.Builder, com.google.apps.card.v1.Columns.ColumnOrBuilder>( @@ -5707,17 +5609,6 @@ public com.google.apps.card.v1.Columns.Column.Builder addColumnItemsBuilder(int return columnItemsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Columns) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ColumnsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ColumnsOrBuilder.java index 2c601278cc..1e5fea5aa1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ColumnsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ColumnsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface ColumnsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DateTimePicker.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DateTimePicker.java index f574bef338..b663c42bcc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DateTimePicker.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DateTimePicker.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -37,13 +38,23 @@ * * Protobuf type {@code google.apps.card.v1.DateTimePicker} */ -public final class DateTimePicker extends com.google.protobuf.GeneratedMessageV3 +public final class DateTimePicker extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.DateTimePicker) DateTimePickerOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DateTimePicker.class.getName()); + } // Use DateTimePicker.newBuilder() to construct. - private DateTimePicker(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DateTimePicker(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -53,19 +64,13 @@ private DateTimePicker() { type_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DateTimePicker(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DateTimePicker_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DateTimePicker_fieldAccessorTable @@ -121,6 +126,15 @@ public enum DateTimePickerType implements com.google.protobuf.ProtocolMessageEnu UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DateTimePickerType.class.getName()); + } /** * * @@ -400,11 +414,11 @@ public com.google.apps.card.v1.DateTimePicker.DateTimePickerType getType() { * Specify the value based on the type of picker (`DateTimePickerType`): * * * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to - * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. + * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent - * January 1, 2023, use `1672531200000`. + * January 1, 2023, use `1672531200000`. * * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use - * `43200000` (or `12 * 60 * 60 * 1000`). + * `43200000` (or `12 * 60 * 60 * 1000`). * * * int64 value_ms_epoch = 4; @@ -503,11 +517,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, label_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(label_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, label_); } if (type_ != com.google.apps.card.v1.DateTimePicker.DateTimePickerType.DATE_AND_TIME.getNumber()) { @@ -531,11 +545,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, label_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(label_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, label_); } if (type_ != com.google.apps.card.v1.DateTimePicker.DateTimePickerType.DATE_AND_TIME.getNumber()) { @@ -641,38 +655,38 @@ public static com.google.apps.card.v1.DateTimePicker parseFrom( public static com.google.apps.card.v1.DateTimePicker parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.DateTimePicker parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.DateTimePicker parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.DateTimePicker parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.DateTimePicker parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.DateTimePicker parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -695,7 +709,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -717,7 +731,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.DateTimePicker} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.DateTimePicker) com.google.apps.card.v1.DateTimePickerOrBuilder { @@ -727,7 +741,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DateTimePicker_fieldAccessorTable @@ -741,13 +755,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOnChangeActionFieldBuilder(); } } @@ -826,39 +840,6 @@ private void buildPartial0(com.google.apps.card.v1.DateTimePicker result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.DateTimePicker) { @@ -1314,11 +1295,11 @@ public Builder clearType() { * Specify the value based on the type of picker (`DateTimePickerType`): * * * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to - * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. + * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent - * January 1, 2023, use `1672531200000`. + * January 1, 2023, use `1672531200000`. * * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use - * `43200000` (or `12 * 60 * 60 * 1000`). + * `43200000` (or `12 * 60 * 60 * 1000`). * * * int64 value_ms_epoch = 4; @@ -1339,11 +1320,11 @@ public long getValueMsEpoch() { * Specify the value based on the type of picker (`DateTimePickerType`): * * * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to - * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. + * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent - * January 1, 2023, use `1672531200000`. + * January 1, 2023, use `1672531200000`. * * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use - * `43200000` (or `12 * 60 * 60 * 1000`). + * `43200000` (or `12 * 60 * 60 * 1000`). * * * int64 value_ms_epoch = 4; @@ -1368,11 +1349,11 @@ public Builder setValueMsEpoch(long value) { * Specify the value based on the type of picker (`DateTimePickerType`): * * * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to - * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. + * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent - * January 1, 2023, use `1672531200000`. + * January 1, 2023, use `1672531200000`. * * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use - * `43200000` (or `12 * 60 * 60 * 1000`). + * `43200000` (or `12 * 60 * 60 * 1000`). * * * int64 value_ms_epoch = 4; @@ -1446,7 +1427,7 @@ public Builder clearTimezoneOffsetDate() { } private com.google.apps.card.v1.Action onChangeAction_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -1622,14 +1603,14 @@ public com.google.apps.card.v1.ActionOrBuilder getOnChangeActionOrBuilder() { * * .google.apps.card.v1.Action on_change_action = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> getOnChangeActionFieldBuilder() { if (onChangeActionBuilder_ == null) { onChangeActionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder>( @@ -1639,17 +1620,6 @@ public com.google.apps.card.v1.ActionOrBuilder getOnChangeActionOrBuilder() { return onChangeActionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.DateTimePicker) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DateTimePickerOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DateTimePickerOrBuilder.java index ab50db6eea..95c2942e06 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DateTimePickerOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DateTimePickerOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface DateTimePickerOrBuilder @@ -119,11 +120,11 @@ public interface DateTimePickerOrBuilder * Specify the value based on the type of picker (`DateTimePickerType`): * * * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to - * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. + * represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent - * January 1, 2023, use `1672531200000`. + * January 1, 2023, use `1672531200000`. * * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use - * `43200000` (or `12 * 60 * 60 * 1000`). + * `43200000` (or `12 * 60 * 60 * 1000`). * * * int64 value_ms_epoch = 4; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DecoratedText.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DecoratedText.java index 7df0c016ff..8367ce866c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DecoratedText.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DecoratedText.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -35,13 +36,23 @@ * * Protobuf type {@code google.apps.card.v1.DecoratedText} */ -public final class DecoratedText extends com.google.protobuf.GeneratedMessageV3 +public final class DecoratedText extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.DecoratedText) DecoratedTextOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DecoratedText.class.getName()); + } // Use DecoratedText.newBuilder() to construct. - private DecoratedText(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DecoratedText(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -51,19 +62,13 @@ private DecoratedText() { bottomLabel_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DecoratedText(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DecoratedText_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DecoratedText_fieldAccessorTable @@ -157,7 +162,7 @@ public interface SwitchControlOrBuilder * *
      * The action to perform when the switch state is changed, such as what
-     *  function to run.
+     * function to run.
      * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -170,7 +175,7 @@ public interface SwitchControlOrBuilder * *
      * The action to perform when the switch state is changed, such as what
-     *  function to run.
+     * function to run.
      * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -183,7 +188,7 @@ public interface SwitchControlOrBuilder * *
      * The action to perform when the switch state is changed, such as what
-     *  function to run.
+     * function to run.
      * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -235,13 +240,23 @@ public interface SwitchControlOrBuilder * * Protobuf type {@code google.apps.card.v1.DecoratedText.SwitchControl} */ - public static final class SwitchControl extends com.google.protobuf.GeneratedMessageV3 + public static final class SwitchControl extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.DecoratedText.SwitchControl) SwitchControlOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SwitchControl.class.getName()); + } // Use SwitchControl.newBuilder() to construct. - private SwitchControl(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SwitchControl(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -251,19 +266,13 @@ private SwitchControl() { controlType_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SwitchControl(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DecoratedText_SwitchControl_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DecoratedText_SwitchControl_fieldAccessorTable @@ -318,6 +327,15 @@ public enum ControlType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ControlType.class.getName()); + } /** * * @@ -574,7 +592,7 @@ public boolean getSelected() { * *
      * The action to perform when the switch state is changed, such as what
-     *  function to run.
+     * function to run.
      * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -590,7 +608,7 @@ public boolean hasOnChangeAction() { * *
      * The action to perform when the switch state is changed, such as what
-     *  function to run.
+     * function to run.
      * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -608,7 +626,7 @@ public com.google.apps.card.v1.Action getOnChangeAction() { * *
      * The action to perform when the switch state is changed, such as what
-     *  function to run.
+     * function to run.
      * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -677,11 +695,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); } if (selected_ != false) { output.writeBool(3, selected_); @@ -702,11 +720,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); } if (selected_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, selected_); @@ -807,38 +825,38 @@ public static com.google.apps.card.v1.DecoratedText.SwitchControl parseFrom( public static com.google.apps.card.v1.DecoratedText.SwitchControl parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.DecoratedText.SwitchControl parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.DecoratedText.SwitchControl parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.DecoratedText.SwitchControl parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.DecoratedText.SwitchControl parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.DecoratedText.SwitchControl parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -862,8 +880,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -881,8 +898,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.DecoratedText.SwitchControl} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.DecoratedText.SwitchControl) com.google.apps.card.v1.DecoratedText.SwitchControlOrBuilder { @@ -892,7 +908,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DecoratedText_SwitchControl_fieldAccessorTable @@ -906,13 +922,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOnChangeActionFieldBuilder(); } } @@ -987,41 +1003,6 @@ private void buildPartial0(com.google.apps.card.v1.DecoratedText.SwitchControl r result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.DecoratedText.SwitchControl) { @@ -1426,7 +1407,7 @@ public Builder clearSelected() { } private com.google.apps.card.v1.Action onChangeAction_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -1436,7 +1417,7 @@ public Builder clearSelected() { * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -1451,7 +1432,7 @@ public boolean hasOnChangeAction() { * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -1472,7 +1453,7 @@ public com.google.apps.card.v1.Action getOnChangeAction() { * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -1495,7 +1476,7 @@ public Builder setOnChangeAction(com.google.apps.card.v1.Action value) { * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -1515,7 +1496,7 @@ public Builder setOnChangeAction(com.google.apps.card.v1.Action.Builder builderF * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -1543,7 +1524,7 @@ public Builder mergeOnChangeAction(com.google.apps.card.v1.Action value) { * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -1563,7 +1544,7 @@ public Builder clearOnChangeAction() { * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -1578,7 +1559,7 @@ public com.google.apps.card.v1.Action.Builder getOnChangeActionBuilder() { * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; @@ -1597,19 +1578,19 @@ public com.google.apps.card.v1.ActionOrBuilder getOnChangeActionOrBuilder() { * *
        * The action to perform when the switch state is changed, such as what
-       *  function to run.
+       * function to run.
        * 
* * .google.apps.card.v1.Action on_change_action = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> getOnChangeActionFieldBuilder() { if (onChangeActionBuilder_ == null) { onChangeActionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder>( @@ -1727,18 +1708,6 @@ public Builder clearControlType() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.DecoratedText.SwitchControl) } @@ -2372,17 +2341,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getIcon()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topLabel_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, topLabel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topLabel_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, topLabel_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, text_); } if (wrapText_ != false) { output.writeBool(5, wrapText_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bottomLabel_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, bottomLabel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bottomLabel_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, bottomLabel_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(7, getOnClick()); @@ -2411,17 +2380,17 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getIcon()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topLabel_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, topLabel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topLabel_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, topLabel_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, text_); } if (wrapText_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, wrapText_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bottomLabel_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, bottomLabel_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bottomLabel_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, bottomLabel_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getOnClick()); @@ -2577,38 +2546,38 @@ public static com.google.apps.card.v1.DecoratedText parseFrom( public static com.google.apps.card.v1.DecoratedText parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.DecoratedText parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.DecoratedText parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.DecoratedText parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.DecoratedText parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.DecoratedText parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2631,7 +2600,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2651,7 +2620,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.DecoratedText} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.DecoratedText) com.google.apps.card.v1.DecoratedTextOrBuilder { @@ -2661,7 +2630,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_DecoratedText_fieldAccessorTable @@ -2675,13 +2644,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getIconFieldBuilder(); getStartIconFieldBuilder(); getOnClickFieldBuilder(); @@ -2801,39 +2770,6 @@ private void buildPartialOneofs(com.google.apps.card.v1.DecoratedText result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.DecoratedText) { @@ -3014,7 +2950,7 @@ public Builder clearControl() { private int bitField0_; private com.google.apps.card.v1.Icon icon_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder> @@ -3189,14 +3125,14 @@ public com.google.apps.card.v1.IconOrBuilder getIconOrBuilder() { * * .google.apps.card.v1.Icon icon = 1 [deprecated = true]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder> getIconFieldBuilder() { if (iconBuilder_ == null) { iconBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder>( @@ -3207,7 +3143,7 @@ public com.google.apps.card.v1.IconOrBuilder getIconOrBuilder() { } private com.google.apps.card.v1.Icon startIcon_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder> @@ -3370,14 +3306,14 @@ public com.google.apps.card.v1.IconOrBuilder getStartIconOrBuilder() { * * .google.apps.card.v1.Icon start_icon = 12; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder> getStartIconFieldBuilder() { if (startIconBuilder_ == null) { startIconBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder>( @@ -3813,7 +3749,7 @@ public Builder setBottomLabelBytes(com.google.protobuf.ByteString value) { } private com.google.apps.card.v1.OnClick onClick_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> @@ -3976,14 +3912,14 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { * * .google.apps.card.v1.OnClick on_click = 7; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> getOnClickFieldBuilder() { if (onClickBuilder_ == null) { onClickBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder>( @@ -3993,7 +3929,7 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { return onClickBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder> @@ -4175,7 +4111,7 @@ public com.google.apps.card.v1.ButtonOrBuilder getButtonOrBuilder() { * * .google.apps.card.v1.Button button = 8; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder> @@ -4185,7 +4121,7 @@ public com.google.apps.card.v1.ButtonOrBuilder getButtonOrBuilder() { control_ = com.google.apps.card.v1.Button.getDefaultInstance(); } buttonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Button, com.google.apps.card.v1.Button.Builder, com.google.apps.card.v1.ButtonOrBuilder>( @@ -4197,7 +4133,7 @@ public com.google.apps.card.v1.ButtonOrBuilder getButtonOrBuilder() { return buttonBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText.SwitchControl, com.google.apps.card.v1.DecoratedText.SwitchControl.Builder, com.google.apps.card.v1.DecoratedText.SwitchControlOrBuilder> @@ -4393,7 +4329,7 @@ public com.google.apps.card.v1.DecoratedText.SwitchControl.Builder getSwitchCont * * .google.apps.card.v1.DecoratedText.SwitchControl switch_control = 9; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText.SwitchControl, com.google.apps.card.v1.DecoratedText.SwitchControl.Builder, com.google.apps.card.v1.DecoratedText.SwitchControlOrBuilder> @@ -4403,7 +4339,7 @@ public com.google.apps.card.v1.DecoratedText.SwitchControl.Builder getSwitchCont control_ = com.google.apps.card.v1.DecoratedText.SwitchControl.getDefaultInstance(); } switchControlBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText.SwitchControl, com.google.apps.card.v1.DecoratedText.SwitchControl.Builder, com.google.apps.card.v1.DecoratedText.SwitchControlOrBuilder>( @@ -4417,7 +4353,7 @@ public com.google.apps.card.v1.DecoratedText.SwitchControl.Builder getSwitchCont return switchControlBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder> @@ -4653,7 +4589,7 @@ public com.google.apps.card.v1.IconOrBuilder getEndIconOrBuilder() { * * .google.apps.card.v1.Icon end_icon = 11; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder> @@ -4663,7 +4599,7 @@ public com.google.apps.card.v1.IconOrBuilder getEndIconOrBuilder() { control_ = com.google.apps.card.v1.Icon.getDefaultInstance(); } endIconBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Icon, com.google.apps.card.v1.Icon.Builder, com.google.apps.card.v1.IconOrBuilder>( @@ -4675,17 +4611,6 @@ public com.google.apps.card.v1.IconOrBuilder getEndIconOrBuilder() { return endIconBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.DecoratedText) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DecoratedTextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DecoratedTextOrBuilder.java index ad5e4a6cef..31ca14dcf2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DecoratedTextOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DecoratedTextOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface DecoratedTextOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Divider.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Divider.java index fa441d516a..b67553e55a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Divider.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Divider.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -40,30 +41,34 @@ * * Protobuf type {@code google.apps.card.v1.Divider} */ -public final class Divider extends com.google.protobuf.GeneratedMessageV3 +public final class Divider extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Divider) DividerOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Divider.class.getName()); + } // Use Divider.newBuilder() to construct. - private Divider(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Divider(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Divider() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Divider(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Divider_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Divider_fieldAccessorTable @@ -161,38 +166,38 @@ public static com.google.apps.card.v1.Divider parseFrom( public static com.google.apps.card.v1.Divider parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Divider parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Divider parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Divider parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Divider parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Divider parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -215,7 +220,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -240,7 +245,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.Divider} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Divider) com.google.apps.card.v1.DividerOrBuilder { @@ -250,7 +255,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Divider_fieldAccessorTable @@ -261,7 +266,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Divider.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -298,39 +303,6 @@ public com.google.apps.card.v1.Divider buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Divider) { @@ -386,17 +358,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Divider) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DividerOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DividerOrBuilder.java index 2477f86c98..6467c40752 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DividerOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/DividerOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface DividerOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Grid.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Grid.java index bddebad89b..edd61308a0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Grid.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Grid.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -42,45 +43,55 @@ * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * * * Protobuf type {@code google.apps.card.v1.Grid} */ -public final class Grid extends com.google.protobuf.GeneratedMessageV3 +public final class Grid extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Grid) GridOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Grid.class.getName()); + } // Use Grid.newBuilder() to construct. - private Grid(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Grid(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -89,18 +100,12 @@ private Grid() { items_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Grid(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Grid_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Grid_fieldAccessorTable @@ -263,13 +268,23 @@ public interface GridItemOrBuilder * * Protobuf type {@code google.apps.card.v1.Grid.GridItem} */ - public static final class GridItem extends com.google.protobuf.GeneratedMessageV3 + public static final class GridItem extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Grid.GridItem) GridItemOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + GridItem.class.getName()); + } // Use GridItem.newBuilder() to construct. - private GridItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GridItem(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -280,19 +295,13 @@ private GridItem() { layout_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GridItem(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Grid_GridItem_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Grid_GridItem_fieldAccessorTable @@ -347,6 +356,15 @@ public enum GridItemLayout implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + GridItemLayout.class.getName()); + } /** * * @@ -716,17 +734,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getImage()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, title_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subtitle_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subtitle_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subtitle_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, subtitle_); } if (layout_ != com.google.apps.card.v1.Grid.GridItem.GridItemLayout.GRID_ITEM_LAYOUT_UNSPECIFIED @@ -742,17 +760,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getImage()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, title_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subtitle_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subtitle_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subtitle_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, subtitle_); } if (layout_ != com.google.apps.card.v1.Grid.GridItem.GridItemLayout.GRID_ITEM_LAYOUT_UNSPECIFIED @@ -847,38 +865,38 @@ public static com.google.apps.card.v1.Grid.GridItem parseFrom( public static com.google.apps.card.v1.Grid.GridItem parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Grid.GridItem parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Grid.GridItem parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Grid.GridItem parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Grid.GridItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Grid.GridItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -901,8 +919,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -919,8 +936,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.Grid.GridItem} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Grid.GridItem) com.google.apps.card.v1.Grid.GridItemOrBuilder { @@ -930,7 +946,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Grid_GridItem_fieldAccessorTable @@ -944,13 +960,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getImageFieldBuilder(); } } @@ -1024,41 +1040,6 @@ private void buildPartial0(com.google.apps.card.v1.Grid.GridItem result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Grid.GridItem) { @@ -1279,7 +1260,7 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { } private com.google.apps.card.v1.ImageComponent image_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ImageComponent, com.google.apps.card.v1.ImageComponent.Builder, com.google.apps.card.v1.ImageComponentOrBuilder> @@ -1446,14 +1427,14 @@ public com.google.apps.card.v1.ImageComponentOrBuilder getImageOrBuilder() { * * .google.apps.card.v1.ImageComponent image = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ImageComponent, com.google.apps.card.v1.ImageComponent.Builder, com.google.apps.card.v1.ImageComponentOrBuilder> getImageFieldBuilder() { if (imageBuilder_ == null) { imageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ImageComponent, com.google.apps.card.v1.ImageComponent.Builder, com.google.apps.card.v1.ImageComponentOrBuilder>( @@ -1767,18 +1748,6 @@ public Builder clearLayout() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Grid.GridItem) } @@ -2090,8 +2059,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, title_); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(2, items_.get(i)); @@ -2114,8 +2083,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, title_); } for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, items_.get(i)); @@ -2223,38 +2192,38 @@ public static com.google.apps.card.v1.Grid parseFrom( public static com.google.apps.card.v1.Grid parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Grid parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Grid parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Grid parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Grid parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Grid parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2277,7 +2246,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2304,39 +2273,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * * * Protobuf type {@code google.apps.card.v1.Grid} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Grid) com.google.apps.card.v1.GridOrBuilder { @@ -2345,7 +2314,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Grid_fieldAccessorTable @@ -2358,13 +2327,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getItemsFieldBuilder(); getBorderStyleFieldBuilder(); getOnClickFieldBuilder(); @@ -2460,39 +2429,6 @@ private void buildPartial0(com.google.apps.card.v1.Grid result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Grid) { @@ -2529,7 +2465,7 @@ public Builder mergeFrom(com.google.apps.card.v1.Grid other) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); itemsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { @@ -2744,7 +2680,7 @@ private void ensureItemsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Grid.GridItem, com.google.apps.card.v1.Grid.GridItem.Builder, com.google.apps.card.v1.Grid.GridItemOrBuilder> @@ -3065,14 +3001,14 @@ public java.util.List getItemsBui return getItemsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Grid.GridItem, com.google.apps.card.v1.Grid.GridItem.Builder, com.google.apps.card.v1.Grid.GridItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Grid.GridItem, com.google.apps.card.v1.Grid.GridItem.Builder, com.google.apps.card.v1.Grid.GridItemOrBuilder>( @@ -3083,7 +3019,7 @@ public java.util.List getItemsBui } private com.google.apps.card.v1.BorderStyle borderStyle_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.BorderStyle, com.google.apps.card.v1.BorderStyle.Builder, com.google.apps.card.v1.BorderStyleOrBuilder> @@ -3250,14 +3186,14 @@ public com.google.apps.card.v1.BorderStyleOrBuilder getBorderStyleOrBuilder() { * * .google.apps.card.v1.BorderStyle border_style = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.BorderStyle, com.google.apps.card.v1.BorderStyle.Builder, com.google.apps.card.v1.BorderStyleOrBuilder> getBorderStyleFieldBuilder() { if (borderStyleBuilder_ == null) { borderStyleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.BorderStyle, com.google.apps.card.v1.BorderStyle.Builder, com.google.apps.card.v1.BorderStyleOrBuilder>( @@ -3327,7 +3263,7 @@ public Builder clearColumnCount() { } private com.google.apps.card.v1.OnClick onClick_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> @@ -3508,14 +3444,14 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { * * .google.apps.card.v1.OnClick on_click = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> getOnClickFieldBuilder() { if (onClickBuilder_ == null) { onClickBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder>( @@ -3525,17 +3461,6 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { return onClickBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Grid) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/GridOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/GridOrBuilder.java index 94dc067d47..0b2b5a51f0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/GridOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/GridOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface GridOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Icon.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Icon.java index c98c28dc43..07ba2e0b56 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Icon.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Icon.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -39,13 +40,23 @@ * * Protobuf type {@code google.apps.card.v1.Icon} */ -public final class Icon extends com.google.protobuf.GeneratedMessageV3 +public final class Icon extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Icon) IconOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Icon.class.getName()); + } // Use Icon.newBuilder() to construct. - private Icon(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Icon(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -54,18 +65,12 @@ private Icon() { imageType_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Icon(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Icon_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Icon_fieldAccessorTable @@ -323,7 +328,7 @@ public com.google.protobuf.ByteString getIconUrlBytes() { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -350,7 +355,7 @@ public boolean hasMaterialIcon() { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -380,7 +385,7 @@ public com.google.apps.card.v1.MaterialIcon getMaterialIcon() { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -520,13 +525,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (iconsCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, icons_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, icons_); } if (iconsCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, icons_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, icons_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, altText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(altText_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, altText_); } if (imageType_ != com.google.apps.card.v1.Widget.ImageType.SQUARE.getNumber()) { output.writeEnum(4, imageType_); @@ -544,13 +549,13 @@ public int getSerializedSize() { size = 0; if (iconsCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, icons_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, icons_); } if (iconsCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, icons_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, icons_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, altText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(altText_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, altText_); } if (imageType_ != com.google.apps.card.v1.Widget.ImageType.SQUARE.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, imageType_); @@ -663,38 +668,38 @@ public static com.google.apps.card.v1.Icon parseFrom( public static com.google.apps.card.v1.Icon parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Icon parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Icon parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Icon parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Icon parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Icon parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -717,7 +722,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -741,7 +746,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.Icon} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Icon) com.google.apps.card.v1.IconOrBuilder { @@ -750,7 +755,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Icon_fieldAccessorTable @@ -761,7 +766,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Icon.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -827,39 +832,6 @@ private void buildPartialOneofs(com.google.apps.card.v1.Icon result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Icon) { @@ -1354,7 +1326,7 @@ public Builder setIconUrlBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.MaterialIcon, com.google.apps.card.v1.MaterialIcon.Builder, com.google.apps.card.v1.MaterialIconOrBuilder> @@ -1371,7 +1343,7 @@ public Builder setIconUrlBytes(com.google.protobuf.ByteString value) { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1398,7 +1370,7 @@ public boolean hasMaterialIcon() { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1435,7 +1407,7 @@ public com.google.apps.card.v1.MaterialIcon getMaterialIcon() { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1469,7 +1441,7 @@ public Builder setMaterialIcon(com.google.apps.card.v1.MaterialIcon value) { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1500,7 +1472,7 @@ public Builder setMaterialIcon(com.google.apps.card.v1.MaterialIcon.Builder buil * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1544,7 +1516,7 @@ public Builder mergeMaterialIcon(com.google.apps.card.v1.MaterialIcon value) { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1581,7 +1553,7 @@ public Builder clearMaterialIcon() { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1605,7 +1577,7 @@ public com.google.apps.card.v1.MaterialIcon.Builder getMaterialIconBuilder() { * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1637,7 +1609,7 @@ public com.google.apps.card.v1.MaterialIconOrBuilder getMaterialIconOrBuilder() * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -1646,7 +1618,7 @@ public com.google.apps.card.v1.MaterialIconOrBuilder getMaterialIconOrBuilder() * * .google.apps.card.v1.MaterialIcon material_icon = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.MaterialIcon, com.google.apps.card.v1.MaterialIcon.Builder, com.google.apps.card.v1.MaterialIconOrBuilder> @@ -1656,7 +1628,7 @@ public com.google.apps.card.v1.MaterialIconOrBuilder getMaterialIconOrBuilder() icons_ = com.google.apps.card.v1.MaterialIcon.getDefaultInstance(); } materialIconBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.MaterialIcon, com.google.apps.card.v1.MaterialIcon.Builder, com.google.apps.card.v1.MaterialIconOrBuilder>( @@ -1919,17 +1891,6 @@ public Builder clearImageType() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Icon) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/IconOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/IconOrBuilder.java index 6e51e8f6a9..2b431ea371 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/IconOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/IconOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface IconOrBuilder @@ -155,7 +156,7 @@ public interface IconOrBuilder * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -179,7 +180,7 @@ public interface IconOrBuilder * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * @@ -203,7 +204,7 @@ public interface IconOrBuilder * use * ``` * "material_icon": { - * "name": "check_box" + * "name": "check_box" * } * ``` * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Image.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Image.java index b80a78dd37..7920beedad 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Image.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Image.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -33,13 +34,23 @@ * * Protobuf type {@code google.apps.card.v1.Image} */ -public final class Image extends com.google.protobuf.GeneratedMessageV3 +public final class Image extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Image) ImageOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Image.class.getName()); + } // Use Image.newBuilder() to construct. - private Image(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Image(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,18 +59,12 @@ private Image() { altText_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Image(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Image_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Image_fieldAccessorTable @@ -242,14 +247,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(imageUrl_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, imageUrl_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getOnClick()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, altText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(altText_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, altText_); } getUnknownFields().writeTo(output); } @@ -260,14 +265,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUrl_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(imageUrl_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, imageUrl_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOnClick()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, altText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(altText_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, altText_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -350,38 +355,38 @@ public static com.google.apps.card.v1.Image parseFrom( public static com.google.apps.card.v1.Image parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Image parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Image parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Image parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Image parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Image parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -404,7 +409,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -422,7 +427,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.Image} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Image) com.google.apps.card.v1.ImageOrBuilder { @@ -431,7 +436,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Image_fieldAccessorTable @@ -444,13 +449,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOnClickFieldBuilder(); } } @@ -514,39 +519,6 @@ private void buildPartial0(com.google.apps.card.v1.Image result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Image) { @@ -772,7 +744,7 @@ public Builder setImageUrlBytes(com.google.protobuf.ByteString value) { } private com.google.apps.card.v1.OnClick onClick_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> @@ -935,14 +907,14 @@ public com.google.apps.card.v1.OnClickOrBuilder getOnClickOrBuilder() { * * .google.apps.card.v1.OnClick on_click = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder> getOnClickFieldBuilder() { if (onClickBuilder_ == null) { onClickBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OnClick, com.google.apps.card.v1.OnClick.Builder, com.google.apps.card.v1.OnClickOrBuilder>( @@ -1058,17 +1030,6 @@ public Builder setAltTextBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Image) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageComponent.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageComponent.java index 549fb45d18..dd0bd18bc3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageComponent.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageComponent.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -31,13 +32,23 @@ * * Protobuf type {@code google.apps.card.v1.ImageComponent} */ -public final class ImageComponent extends com.google.protobuf.GeneratedMessageV3 +public final class ImageComponent extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.ImageComponent) ImageComponentOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ImageComponent.class.getName()); + } // Use ImageComponent.newBuilder() to construct. - private ImageComponent(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ImageComponent(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,19 +57,13 @@ private ImageComponent() { altText_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ImageComponent(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ImageComponent_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ImageComponent_fieldAccessorTable @@ -284,11 +289,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(imageUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, imageUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, altText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(altText_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, altText_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getCropStyle()); @@ -305,11 +310,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, imageUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(imageUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, imageUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(altText_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, altText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(altText_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, altText_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCropStyle()); @@ -407,38 +412,38 @@ public static com.google.apps.card.v1.ImageComponent parseFrom( public static com.google.apps.card.v1.ImageComponent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.ImageComponent parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.ImageComponent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.ImageComponent parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.ImageComponent parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.ImageComponent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -461,7 +466,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -477,7 +482,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.ImageComponent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.ImageComponent) com.google.apps.card.v1.ImageComponentOrBuilder { @@ -487,7 +492,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ImageComponent_fieldAccessorTable @@ -501,13 +506,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCropStyleFieldBuilder(); getBorderStyleFieldBuilder(); } @@ -584,39 +589,6 @@ private void buildPartial0(com.google.apps.card.v1.ImageComponent result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.ImageComponent) { @@ -927,7 +899,7 @@ public Builder setAltTextBytes(com.google.protobuf.ByteString value) { } private com.google.apps.card.v1.ImageCropStyle cropStyle_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ImageCropStyle, com.google.apps.card.v1.ImageCropStyle.Builder, com.google.apps.card.v1.ImageCropStyleOrBuilder> @@ -1094,14 +1066,14 @@ public com.google.apps.card.v1.ImageCropStyleOrBuilder getCropStyleOrBuilder() { * * .google.apps.card.v1.ImageCropStyle crop_style = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ImageCropStyle, com.google.apps.card.v1.ImageCropStyle.Builder, com.google.apps.card.v1.ImageCropStyleOrBuilder> getCropStyleFieldBuilder() { if (cropStyleBuilder_ == null) { cropStyleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ImageCropStyle, com.google.apps.card.v1.ImageCropStyle.Builder, com.google.apps.card.v1.ImageCropStyleOrBuilder>( @@ -1112,7 +1084,7 @@ public com.google.apps.card.v1.ImageCropStyleOrBuilder getCropStyleOrBuilder() { } private com.google.apps.card.v1.BorderStyle borderStyle_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.BorderStyle, com.google.apps.card.v1.BorderStyle.Builder, com.google.apps.card.v1.BorderStyleOrBuilder> @@ -1279,14 +1251,14 @@ public com.google.apps.card.v1.BorderStyleOrBuilder getBorderStyleOrBuilder() { * * .google.apps.card.v1.BorderStyle border_style = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.BorderStyle, com.google.apps.card.v1.BorderStyle.Builder, com.google.apps.card.v1.BorderStyleOrBuilder> getBorderStyleFieldBuilder() { if (borderStyleBuilder_ == null) { borderStyleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.BorderStyle, com.google.apps.card.v1.BorderStyle.Builder, com.google.apps.card.v1.BorderStyleOrBuilder>( @@ -1296,17 +1268,6 @@ public com.google.apps.card.v1.BorderStyleOrBuilder getBorderStyleOrBuilder() { return borderStyleBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.ImageComponent) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageComponentOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageComponentOrBuilder.java index 4dfd70830a..1f34a7ce4f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageComponentOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageComponentOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface ImageComponentOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageCropStyle.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageCropStyle.java index 2f30bd066e..3ba03c3313 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageCropStyle.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageCropStyle.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -32,21 +33,31 @@ * * ``` * cropStyle { - * "type": "RECTANGLE_CUSTOM", - * "aspectRatio": 16/9 + * "type": "RECTANGLE_CUSTOM", + * "aspectRatio": 16/9 * } * ``` * * * Protobuf type {@code google.apps.card.v1.ImageCropStyle} */ -public final class ImageCropStyle extends com.google.protobuf.GeneratedMessageV3 +public final class ImageCropStyle extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.ImageCropStyle) ImageCropStyleOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ImageCropStyle.class.getName()); + } // Use ImageCropStyle.newBuilder() to construct. - private ImageCropStyle(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ImageCropStyle(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -54,19 +65,13 @@ private ImageCropStyle() { type_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ImageCropStyle(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ImageCropStyle_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ImageCropStyle_fieldAccessorTable @@ -142,6 +147,15 @@ public enum ImageCropType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ImageCropType.class.getName()); + } /** * * @@ -330,8 +344,8 @@ public com.google.apps.card.v1.ImageCropStyle.ImageCropType getType() { * * ``` * cropStyle { - * "type": "RECTANGLE_CUSTOM", - * "aspectRatio": 16/9 + * "type": "RECTANGLE_CUSTOM", + * "aspectRatio": 16/9 * } * ``` * @@ -462,38 +476,38 @@ public static com.google.apps.card.v1.ImageCropStyle parseFrom( public static com.google.apps.card.v1.ImageCropStyle parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.ImageCropStyle parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.ImageCropStyle parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.ImageCropStyle parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.ImageCropStyle parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.ImageCropStyle parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -516,7 +530,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -533,15 +547,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * ``` * cropStyle { - * "type": "RECTANGLE_CUSTOM", - * "aspectRatio": 16/9 + * "type": "RECTANGLE_CUSTOM", + * "aspectRatio": 16/9 * } * ``` * * * Protobuf type {@code google.apps.card.v1.ImageCropStyle} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.ImageCropStyle) com.google.apps.card.v1.ImageCropStyleOrBuilder { @@ -551,7 +565,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_ImageCropStyle_fieldAccessorTable @@ -563,7 +577,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.ImageCropStyle.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -617,39 +631,6 @@ private void buildPartial0(com.google.apps.card.v1.ImageCropStyle result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.ImageCropStyle) { @@ -828,8 +809,8 @@ public Builder clearType() { * * ``` * cropStyle { - * "type": "RECTANGLE_CUSTOM", - * "aspectRatio": 16/9 + * "type": "RECTANGLE_CUSTOM", + * "aspectRatio": 16/9 * } * ``` * @@ -852,8 +833,8 @@ public double getAspectRatio() { * * ``` * cropStyle { - * "type": "RECTANGLE_CUSTOM", - * "aspectRatio": 16/9 + * "type": "RECTANGLE_CUSTOM", + * "aspectRatio": 16/9 * } * ``` * @@ -880,8 +861,8 @@ public Builder setAspectRatio(double value) { * * ``` * cropStyle { - * "type": "RECTANGLE_CUSTOM", - * "aspectRatio": 16/9 + * "type": "RECTANGLE_CUSTOM", + * "aspectRatio": 16/9 * } * ``` * @@ -897,17 +878,6 @@ public Builder clearAspectRatio() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.ImageCropStyle) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageCropStyleOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageCropStyleOrBuilder.java index 94ae4b6c88..200d01f6d7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageCropStyleOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageCropStyleOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface ImageCropStyleOrBuilder @@ -59,8 +60,8 @@ public interface ImageCropStyleOrBuilder * * ``` * cropStyle { - * "type": "RECTANGLE_CUSTOM", - * "aspectRatio": 16/9 + * "type": "RECTANGLE_CUSTOM", + * "aspectRatio": 16/9 * } * ``` * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageOrBuilder.java index e28eb860a4..ae361b1161 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/ImageOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface ImageOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/MaterialIcon.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/MaterialIcon.java index 338784e954..fbe6e93f6e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/MaterialIcon.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/MaterialIcon.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -32,10 +33,10 @@ * * ``` * { - * "name": "check_box", - * "fill": true, - * "weight": 300, - * "grade": -25 + * "name": "check_box", + * "fill": true, + * "weight": 300, + * "grade": -25 * } * ``` * @@ -44,13 +45,23 @@ * * Protobuf type {@code google.apps.card.v1.MaterialIcon} */ -public final class MaterialIcon extends com.google.protobuf.GeneratedMessageV3 +public final class MaterialIcon extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.MaterialIcon) MaterialIconOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MaterialIcon.class.getName()); + } // Use MaterialIcon.newBuilder() to construct. - private MaterialIcon(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private MaterialIcon(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -58,19 +69,13 @@ private MaterialIcon() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MaterialIcon(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_MaterialIcon_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_MaterialIcon_fieldAccessorTable @@ -221,8 +226,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (fill_ != false) { output.writeBool(2, fill_); @@ -242,8 +247,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (fill_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, fill_); @@ -333,38 +338,38 @@ public static com.google.apps.card.v1.MaterialIcon parseFrom( public static com.google.apps.card.v1.MaterialIcon parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.MaterialIcon parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.MaterialIcon parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.MaterialIcon parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.MaterialIcon parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.MaterialIcon parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -387,7 +392,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -404,10 +409,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * ``` * { - * "name": "check_box", - * "fill": true, - * "weight": 300, - * "grade": -25 + * "name": "check_box", + * "fill": true, + * "weight": 300, + * "grade": -25 * } * ``` * @@ -416,7 +421,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.MaterialIcon} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.MaterialIcon) com.google.apps.card.v1.MaterialIconOrBuilder { @@ -426,7 +431,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_MaterialIcon_fieldAccessorTable @@ -438,7 +443,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.MaterialIcon.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -499,39 +504,6 @@ private void buildPartial0(com.google.apps.card.v1.MaterialIcon result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.MaterialIcon) { @@ -958,17 +930,6 @@ public Builder clearGrade() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.MaterialIcon) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/MaterialIconOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/MaterialIconOrBuilder.java index 5cd854f1ec..ebbc9d9719 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/MaterialIconOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/MaterialIconOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface MaterialIconOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OnClick.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OnClick.java index f106446585..595ed5ad92 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OnClick.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OnClick.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -32,30 +33,34 @@ * * Protobuf type {@code google.apps.card.v1.OnClick} */ -public final class OnClick extends com.google.protobuf.GeneratedMessageV3 +public final class OnClick extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.OnClick) OnClickOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OnClick.class.getName()); + } // Use OnClick.newBuilder() to construct. - private OnClick(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OnClick(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private OnClick() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OnClick(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_OnClick_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_OnClick_fieldAccessorTable @@ -508,38 +513,38 @@ public static com.google.apps.card.v1.OnClick parseFrom( public static com.google.apps.card.v1.OnClick parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.OnClick parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.OnClick parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.OnClick parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.OnClick parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.OnClick parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -562,7 +567,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -579,7 +584,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.OnClick} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.OnClick) com.google.apps.card.v1.OnClickOrBuilder { @@ -589,7 +594,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_OnClick_fieldAccessorTable @@ -600,7 +605,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.OnClick.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -677,39 +682,6 @@ private void buildPartialOneofs(com.google.apps.card.v1.OnClick result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.OnClick) { @@ -832,7 +804,7 @@ public Builder clearData() { private int bitField0_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -1014,7 +986,7 @@ public com.google.apps.card.v1.ActionOrBuilder getActionOrBuilder() { * * .google.apps.card.v1.Action action = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -1024,7 +996,7 @@ public com.google.apps.card.v1.ActionOrBuilder getActionOrBuilder() { data_ = com.google.apps.card.v1.Action.getDefaultInstance(); } actionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder>( @@ -1036,7 +1008,7 @@ public com.google.apps.card.v1.ActionOrBuilder getActionOrBuilder() { return actionBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OpenLink, com.google.apps.card.v1.OpenLink.Builder, com.google.apps.card.v1.OpenLinkOrBuilder> @@ -1218,7 +1190,7 @@ public com.google.apps.card.v1.OpenLinkOrBuilder getOpenLinkOrBuilder() { * * .google.apps.card.v1.OpenLink open_link = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OpenLink, com.google.apps.card.v1.OpenLink.Builder, com.google.apps.card.v1.OpenLinkOrBuilder> @@ -1228,7 +1200,7 @@ public com.google.apps.card.v1.OpenLinkOrBuilder getOpenLinkOrBuilder() { data_ = com.google.apps.card.v1.OpenLink.getDefaultInstance(); } openLinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.OpenLink, com.google.apps.card.v1.OpenLink.Builder, com.google.apps.card.v1.OpenLinkOrBuilder>( @@ -1240,7 +1212,7 @@ public com.google.apps.card.v1.OpenLinkOrBuilder getOpenLinkOrBuilder() { return openLinkBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -1477,7 +1449,7 @@ public com.google.apps.card.v1.ActionOrBuilder getOpenDynamicLinkActionOrBuilder * * .google.apps.card.v1.Action open_dynamic_link_action = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -1487,7 +1459,7 @@ public com.google.apps.card.v1.ActionOrBuilder getOpenDynamicLinkActionOrBuilder data_ = com.google.apps.card.v1.Action.getDefaultInstance(); } openDynamicLinkActionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder>( @@ -1499,7 +1471,7 @@ public com.google.apps.card.v1.ActionOrBuilder getOpenDynamicLinkActionOrBuilder return openDynamicLinkActionBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card, com.google.apps.card.v1.Card.Builder, com.google.apps.card.v1.CardOrBuilder> @@ -1708,7 +1680,7 @@ public com.google.apps.card.v1.CardOrBuilder getCardOrBuilder() { * * .google.apps.card.v1.Card card = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card, com.google.apps.card.v1.Card.Builder, com.google.apps.card.v1.CardOrBuilder> @@ -1718,7 +1690,7 @@ public com.google.apps.card.v1.CardOrBuilder getCardOrBuilder() { data_ = com.google.apps.card.v1.Card.getDefaultInstance(); } cardBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Card, com.google.apps.card.v1.Card.Builder, com.google.apps.card.v1.CardOrBuilder>( @@ -1730,17 +1702,6 @@ public com.google.apps.card.v1.CardOrBuilder getCardOrBuilder() { return cardBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.OnClick) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OnClickOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OnClickOrBuilder.java index 81a2ee27aa..ef17c19ad0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OnClickOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OnClickOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface OnClickOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OpenLink.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OpenLink.java index 4b4080c11d..2140418794 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OpenLink.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OpenLink.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -31,13 +32,23 @@ * * Protobuf type {@code google.apps.card.v1.OpenLink} */ -public final class OpenLink extends com.google.protobuf.GeneratedMessageV3 +public final class OpenLink extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.OpenLink) OpenLinkOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OpenLink.class.getName()); + } // Use OpenLink.newBuilder() to construct. - private OpenLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OpenLink(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -47,19 +58,13 @@ private OpenLink() { onClose_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OpenLink(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_OpenLink_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_OpenLink_fieldAccessorTable @@ -108,6 +113,15 @@ public enum OpenAs implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OpenAs.class.getName()); + } /** * * @@ -258,6 +272,15 @@ public enum OnClose implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OnClose.class.getName()); + } /** * * @@ -514,8 +537,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(url_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, url_); } if (openAs_ != com.google.apps.card.v1.OpenLink.OpenAs.FULL_SIZE.getNumber()) { output.writeEnum(2, openAs_); @@ -532,8 +555,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(url_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, url_); } if (openAs_ != com.google.apps.card.v1.OpenLink.OpenAs.FULL_SIZE.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, openAs_); @@ -617,38 +640,38 @@ public static com.google.apps.card.v1.OpenLink parseFrom( public static com.google.apps.card.v1.OpenLink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.OpenLink parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.OpenLink parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.OpenLink parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.OpenLink parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.OpenLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -671,7 +694,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -687,7 +710,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.OpenLink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.OpenLink) com.google.apps.card.v1.OpenLinkOrBuilder { @@ -697,7 +720,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_OpenLink_fieldAccessorTable @@ -709,7 +732,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.OpenLink.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -766,39 +789,6 @@ private void buildPartial0(com.google.apps.card.v1.OpenLink result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.OpenLink) { @@ -1206,17 +1196,6 @@ public Builder clearOnClose() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.OpenLink) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OpenLinkOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OpenLinkOrBuilder.java index 919c42b23d..f239345449 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OpenLinkOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/OpenLinkOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface OpenLinkOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInput.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInput.java index ef75f94166..bd413558f7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInput.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInput.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -42,13 +43,23 @@ * * Protobuf type {@code google.apps.card.v1.SelectionInput} */ -public final class SelectionInput extends com.google.protobuf.GeneratedMessageV3 +public final class SelectionInput extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.SelectionInput) SelectionInputOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SelectionInput.class.getName()); + } // Use SelectionInput.newBuilder() to construct. - private SelectionInput(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SelectionInput(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -59,19 +70,13 @@ private SelectionInput() { items_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SelectionInput(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_fieldAccessorTable @@ -150,12 +155,12 @@ public enum SelectionType implements com.google.protobuf.ProtocolMessageEnum { * To populate items for a multiselect menu, you can use one of the * following types of data sources: * - * * Static data: Items are specified as `SelectionItem` objects in the - * widget. Up to 100 items. - * * Google Workspace data: Items are populated using data from Google - * Workspace, such as Google Workspace users or Google Chat spaces. - * * External data: Items are populated from an external data - * source outside of Google Workspace. + * * Static data: Items are specified as `SelectionItem` objects in the + * widget. Up to 100 items. + * * Google Workspace data: Items are populated using data from Google + * Workspace, such as Google Workspace users or Google Chat spaces. + * * External data: Items are populated from an external data + * source outside of Google Workspace. * * For examples of how to implement multiselect menus, see * [Add a multiselect @@ -173,6 +178,15 @@ public enum SelectionType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SelectionType.class.getName()); + } /** * * @@ -225,12 +239,12 @@ public enum SelectionType implements com.google.protobuf.ProtocolMessageEnum { * To populate items for a multiselect menu, you can use one of the * following types of data sources: * - * * Static data: Items are specified as `SelectionItem` objects in the - * widget. Up to 100 items. - * * Google Workspace data: Items are populated using data from Google - * Workspace, such as Google Workspace users or Google Chat spaces. - * * External data: Items are populated from an external data - * source outside of Google Workspace. + * * Static data: Items are specified as `SelectionItem` objects in the + * widget. Up to 100 items. + * * Google Workspace data: Items are populated using data from Google + * Workspace, such as Google Workspace users or Google Chat spaces. + * * External data: Items are populated from an external data + * source outside of Google Workspace. * * For examples of how to implement multiselect menus, see * [Add a multiselect @@ -482,13 +496,23 @@ public interface SelectionItemOrBuilder * * Protobuf type {@code google.apps.card.v1.SelectionInput.SelectionItem} */ - public static final class SelectionItem extends com.google.protobuf.GeneratedMessageV3 + public static final class SelectionItem extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.SelectionInput.SelectionItem) SelectionItemOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SelectionItem.class.getName()); + } // Use SelectionItem.newBuilder() to construct. - private SelectionItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SelectionItem(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -499,19 +523,13 @@ private SelectionItem() { bottomText_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SelectionItem(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_SelectionItem_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_SelectionItem_fieldAccessorTable @@ -774,20 +792,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, text_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); } if (selected_ != false) { output.writeBool(3, selected_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startIconUri_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, startIconUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(startIconUri_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, startIconUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bottomText_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, bottomText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bottomText_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, bottomText_); } getUnknownFields().writeTo(output); } @@ -798,20 +816,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, text_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); } if (selected_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, selected_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startIconUri_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, startIconUri_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(startIconUri_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, startIconUri_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bottomText_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, bottomText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bottomText_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, bottomText_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -897,38 +915,38 @@ public static com.google.apps.card.v1.SelectionInput.SelectionItem parseFrom( public static com.google.apps.card.v1.SelectionInput.SelectionItem parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput.SelectionItem parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.SelectionInput.SelectionItem parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput.SelectionItem parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.SelectionInput.SelectionItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput.SelectionItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -952,8 +970,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -970,8 +987,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.SelectionInput.SelectionItem} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.SelectionInput.SelectionItem) com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder { @@ -981,7 +997,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_SelectionItem_fieldAccessorTable @@ -993,7 +1009,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.SelectionInput.SelectionItem.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1059,41 +1075,6 @@ private void buildPartial0(com.google.apps.card.v1.SelectionInput.SelectionItem } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.SelectionInput.SelectionItem) { @@ -1728,18 +1709,6 @@ public Builder setBottomTextBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.SelectionInput.SelectionItem) } @@ -1860,31 +1829,35 @@ public interface PlatformDataSourceOrBuilder * * Protobuf type {@code google.apps.card.v1.SelectionInput.PlatformDataSource} */ - public static final class PlatformDataSource extends com.google.protobuf.GeneratedMessageV3 + public static final class PlatformDataSource extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.SelectionInput.PlatformDataSource) PlatformDataSourceOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PlatformDataSource.class.getName()); + } // Use PlatformDataSource.newBuilder() to construct. - private PlatformDataSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PlatformDataSource(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private PlatformDataSource() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PlatformDataSource(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_PlatformDataSource_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_PlatformDataSource_fieldAccessorTable @@ -1931,6 +1904,15 @@ public enum CommonDataSource implements com.google.protobuf.ProtocolMessageEnum UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CommonDataSource.class.getName()); + } /** * * @@ -2267,38 +2249,38 @@ public static com.google.apps.card.v1.SelectionInput.PlatformDataSource parseFro public static com.google.apps.card.v1.SelectionInput.PlatformDataSource parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput.PlatformDataSource parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.SelectionInput.PlatformDataSource parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput.PlatformDataSource parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.SelectionInput.PlatformDataSource parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput.PlatformDataSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2322,8 +2304,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2341,8 +2322,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.SelectionInput.PlatformDataSource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.SelectionInput.PlatformDataSource) com.google.apps.card.v1.SelectionInput.PlatformDataSourceOrBuilder { @@ -2352,7 +2332,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_PlatformDataSource_fieldAccessorTable @@ -2364,7 +2344,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.SelectionInput.PlatformDataSource.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2419,41 +2399,6 @@ private void buildPartialOneofs( result.dataSource_ = this.dataSource_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.SelectionInput.PlatformDataSource) { @@ -2680,18 +2625,6 @@ public Builder clearCommonDataSource() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.SelectionInput.PlatformDataSource) } @@ -3253,11 +3186,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, label_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(label_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, label_); } if (type_ != com.google.apps.card.v1.SelectionInput.SelectionType.CHECK_BOX.getNumber()) { output.writeEnum(3, type_); @@ -3290,11 +3223,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, label_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(label_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, label_); } if (type_ != com.google.apps.card.v1.SelectionInput.SelectionType.CHECK_BOX.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); @@ -3442,38 +3375,38 @@ public static com.google.apps.card.v1.SelectionInput parseFrom( public static com.google.apps.card.v1.SelectionInput parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.SelectionInput parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.SelectionInput parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.SelectionInput parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -3496,7 +3429,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -3523,7 +3456,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.SelectionInput} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.SelectionInput) com.google.apps.card.v1.SelectionInputOrBuilder { @@ -3533,7 +3466,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_SelectionInput_fieldAccessorTable @@ -3547,13 +3480,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getItemsFieldBuilder(); getOnChangeActionFieldBuilder(); } @@ -3673,39 +3606,6 @@ private void buildPartialOneofs(com.google.apps.card.v1.SelectionInput result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.SelectionInput) { @@ -3750,7 +3650,7 @@ public Builder mergeFrom(com.google.apps.card.v1.SelectionInput other) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000008); itemsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { @@ -4276,7 +4176,7 @@ private void ensureItemsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.SelectionInput.SelectionItem, com.google.apps.card.v1.SelectionInput.SelectionItem.Builder, com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder> @@ -4619,14 +4519,14 @@ public com.google.apps.card.v1.SelectionInput.SelectionItem.Builder addItemsBuil return getItemsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.SelectionInput.SelectionItem, com.google.apps.card.v1.SelectionInput.SelectionItem.Builder, com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.SelectionInput.SelectionItem, com.google.apps.card.v1.SelectionInput.SelectionItem.Builder, com.google.apps.card.v1.SelectionInput.SelectionItemOrBuilder>( @@ -4637,7 +4537,7 @@ public com.google.apps.card.v1.SelectionInput.SelectionItem.Builder addItemsBuil } private com.google.apps.card.v1.Action onChangeAction_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -4840,14 +4740,14 @@ public com.google.apps.card.v1.ActionOrBuilder getOnChangeActionOrBuilder() { * * .google.apps.card.v1.Action on_change_action = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> getOnChangeActionFieldBuilder() { if (onChangeActionBuilder_ == null) { onChangeActionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder>( @@ -4981,7 +4881,7 @@ public Builder clearMultiSelectMinQueryLength() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -5165,7 +5065,7 @@ public com.google.apps.card.v1.ActionOrBuilder getExternalDataSourceOrBuilder() * * .google.apps.card.v1.Action external_data_source = 8; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -5175,7 +5075,7 @@ public com.google.apps.card.v1.ActionOrBuilder getExternalDataSourceOrBuilder() multiSelectDataSource_ = com.google.apps.card.v1.Action.getDefaultInstance(); } externalDataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder>( @@ -5189,7 +5089,7 @@ public com.google.apps.card.v1.ActionOrBuilder getExternalDataSourceOrBuilder() return externalDataSourceBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput.PlatformDataSource, com.google.apps.card.v1.SelectionInput.PlatformDataSource.Builder, com.google.apps.card.v1.SelectionInput.PlatformDataSourceOrBuilder> @@ -5380,7 +5280,7 @@ public Builder clearPlatformDataSource() { * * .google.apps.card.v1.SelectionInput.PlatformDataSource platform_data_source = 9; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput.PlatformDataSource, com.google.apps.card.v1.SelectionInput.PlatformDataSource.Builder, com.google.apps.card.v1.SelectionInput.PlatformDataSourceOrBuilder> @@ -5391,7 +5291,7 @@ public Builder clearPlatformDataSource() { com.google.apps.card.v1.SelectionInput.PlatformDataSource.getDefaultInstance(); } platformDataSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput.PlatformDataSource, com.google.apps.card.v1.SelectionInput.PlatformDataSource.Builder, com.google.apps.card.v1.SelectionInput.PlatformDataSourceOrBuilder>( @@ -5405,17 +5305,6 @@ public Builder clearPlatformDataSource() { return platformDataSourceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.SelectionInput) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInputOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInputOrBuilder.java index f73781b11c..c83478b031 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInputOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SelectionInputOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface SelectionInputOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Suggestions.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Suggestions.java index 937fa47b48..4b329a062d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Suggestions.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Suggestions.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -45,13 +46,23 @@ * * Protobuf type {@code google.apps.card.v1.Suggestions} */ -public final class Suggestions extends com.google.protobuf.GeneratedMessageV3 +public final class Suggestions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Suggestions) SuggestionsOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Suggestions.class.getName()); + } // Use Suggestions.newBuilder() to construct. - private Suggestions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Suggestions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -59,19 +70,13 @@ private Suggestions() { items_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Suggestions(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Suggestions_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Suggestions_fieldAccessorTable @@ -139,31 +144,35 @@ public interface SuggestionItemOrBuilder * * Protobuf type {@code google.apps.card.v1.Suggestions.SuggestionItem} */ - public static final class SuggestionItem extends com.google.protobuf.GeneratedMessageV3 + public static final class SuggestionItem extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Suggestions.SuggestionItem) SuggestionItemOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + SuggestionItem.class.getName()); + } // Use SuggestionItem.newBuilder() to construct. - private SuggestionItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SuggestionItem(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private SuggestionItem() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SuggestionItem(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Suggestions_SuggestionItem_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Suggestions_SuggestionItem_fieldAccessorTable @@ -306,7 +315,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (contentCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, content_); } getUnknownFields().writeTo(output); } @@ -318,7 +327,7 @@ public int getSerializedSize() { size = 0; if (contentCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, content_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, content_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -405,38 +414,38 @@ public static com.google.apps.card.v1.Suggestions.SuggestionItem parseFrom( public static com.google.apps.card.v1.Suggestions.SuggestionItem parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Suggestions.SuggestionItem parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Suggestions.SuggestionItem parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Suggestions.SuggestionItem parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Suggestions.SuggestionItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Suggestions.SuggestionItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -459,8 +468,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -476,8 +484,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.apps.card.v1.Suggestions.SuggestionItem} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Suggestions.SuggestionItem) com.google.apps.card.v1.Suggestions.SuggestionItemOrBuilder { @@ -487,7 +494,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Suggestions_SuggestionItem_fieldAccessorTable @@ -499,7 +506,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Suggestions.SuggestionItem.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -553,41 +560,6 @@ private void buildPartialOneofs(com.google.apps.card.v1.Suggestions.SuggestionIt result.content_ = this.content_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Suggestions.SuggestionItem) { @@ -820,18 +792,6 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Suggestions.SuggestionItem) } @@ -1061,38 +1021,38 @@ public static com.google.apps.card.v1.Suggestions parseFrom( public static com.google.apps.card.v1.Suggestions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Suggestions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Suggestions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Suggestions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Suggestions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Suggestions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1115,7 +1075,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1145,7 +1105,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.Suggestions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Suggestions) com.google.apps.card.v1.SuggestionsOrBuilder { @@ -1155,7 +1115,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Suggestions_fieldAccessorTable @@ -1167,7 +1127,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Suggestions.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1232,39 +1192,6 @@ private void buildPartial0(com.google.apps.card.v1.Suggestions result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Suggestions) { @@ -1296,7 +1223,7 @@ public Builder mergeFrom(com.google.apps.card.v1.Suggestions other) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000001); itemsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { @@ -1374,7 +1301,7 @@ private void ensureItemsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Suggestions.SuggestionItem, com.google.apps.card.v1.Suggestions.SuggestionItem.Builder, com.google.apps.card.v1.Suggestions.SuggestionItemOrBuilder> @@ -1717,14 +1644,14 @@ public com.google.apps.card.v1.Suggestions.SuggestionItem.Builder addItemsBuilde return getItemsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Suggestions.SuggestionItem, com.google.apps.card.v1.Suggestions.SuggestionItem.Builder, com.google.apps.card.v1.Suggestions.SuggestionItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.apps.card.v1.Suggestions.SuggestionItem, com.google.apps.card.v1.Suggestions.SuggestionItem.Builder, com.google.apps.card.v1.Suggestions.SuggestionItemOrBuilder>( @@ -1734,17 +1661,6 @@ public com.google.apps.card.v1.Suggestions.SuggestionItem.Builder addItemsBuilde return itemsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Suggestions) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SuggestionsOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SuggestionsOrBuilder.java index 678b640dab..220d234a23 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SuggestionsOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/SuggestionsOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface SuggestionsOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextInput.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextInput.java index 960effbaf1..c579fe30de 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextInput.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextInput.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -42,13 +43,23 @@ * * Protobuf type {@code google.apps.card.v1.TextInput} */ -public final class TextInput extends com.google.protobuf.GeneratedMessageV3 +public final class TextInput extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.TextInput) TextInputOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + TextInput.class.getName()); + } // Use TextInput.newBuilder() to construct. - private TextInput(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TextInput(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -61,19 +72,13 @@ private TextInput() { placeholderText_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TextInput(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_TextInput_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_TextInput_fieldAccessorTable @@ -121,6 +126,15 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Type.class.getName()); + } /** * * @@ -814,17 +828,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, label_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(label_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, label_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hintText_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, hintText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hintText_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, hintText_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, value_); } if (type_ != com.google.apps.card.v1.TextInput.Type.SINGLE_LINE.getNumber()) { output.writeEnum(5, type_); @@ -838,8 +852,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(8, getAutoCompleteAction()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(placeholderText_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, placeholderText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(placeholderText_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, placeholderText_); } getUnknownFields().writeTo(output); } @@ -850,17 +864,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, label_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(label_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, label_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hintText_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hintText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(hintText_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, hintText_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, value_); } if (type_ != com.google.apps.card.v1.TextInput.Type.SINGLE_LINE.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, type_); @@ -874,8 +888,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getAutoCompleteAction()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(placeholderText_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, placeholderText_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(placeholderText_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, placeholderText_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -986,38 +1000,38 @@ public static com.google.apps.card.v1.TextInput parseFrom( public static com.google.apps.card.v1.TextInput parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.TextInput parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.TextInput parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.TextInput parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.TextInput parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.TextInput parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1040,7 +1054,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1067,7 +1081,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.TextInput} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.TextInput) com.google.apps.card.v1.TextInputOrBuilder { @@ -1077,7 +1091,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_TextInput_fieldAccessorTable @@ -1091,13 +1105,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOnChangeActionFieldBuilder(); getInitialSuggestionsFieldBuilder(); getAutoCompleteActionFieldBuilder(); @@ -1205,39 +1219,6 @@ private void buildPartial0(com.google.apps.card.v1.TextInput result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.TextInput) { @@ -1983,7 +1964,7 @@ public Builder clearType() { } private com.google.apps.card.v1.Action onChangeAction_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -2195,14 +2176,14 @@ public com.google.apps.card.v1.ActionOrBuilder getOnChangeActionOrBuilder() { * * .google.apps.card.v1.Action on_change_action = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> getOnChangeActionFieldBuilder() { if (onChangeActionBuilder_ == null) { onChangeActionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder>( @@ -2213,7 +2194,7 @@ public com.google.apps.card.v1.ActionOrBuilder getOnChangeActionOrBuilder() { } private com.google.apps.card.v1.Suggestions initialSuggestions_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Suggestions, com.google.apps.card.v1.Suggestions.Builder, com.google.apps.card.v1.SuggestionsOrBuilder> @@ -2534,14 +2515,14 @@ public com.google.apps.card.v1.SuggestionsOrBuilder getInitialSuggestionsOrBuild * * .google.apps.card.v1.Suggestions initial_suggestions = 7; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Suggestions, com.google.apps.card.v1.Suggestions.Builder, com.google.apps.card.v1.SuggestionsOrBuilder> getInitialSuggestionsFieldBuilder() { if (initialSuggestionsBuilder_ == null) { initialSuggestionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Suggestions, com.google.apps.card.v1.Suggestions.Builder, com.google.apps.card.v1.SuggestionsOrBuilder>( @@ -2552,7 +2533,7 @@ public com.google.apps.card.v1.SuggestionsOrBuilder getInitialSuggestionsOrBuild } private com.google.apps.card.v1.Action autoCompleteAction_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> @@ -2809,14 +2790,14 @@ public com.google.apps.card.v1.ActionOrBuilder getAutoCompleteActionOrBuilder() * * .google.apps.card.v1.Action auto_complete_action = 8; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder> getAutoCompleteActionFieldBuilder() { if (autoCompleteActionBuilder_ == null) { autoCompleteActionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Action, com.google.apps.card.v1.Action.Builder, com.google.apps.card.v1.ActionOrBuilder>( @@ -2952,17 +2933,6 @@ public Builder setPlaceholderTextBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.TextInput) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextInputOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextInputOrBuilder.java index 1ad7b4a249..dd5f937877 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextInputOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextInputOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface TextInputOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextParagraph.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextParagraph.java index ff20531ee1..38563d68bd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextParagraph.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextParagraph.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -41,13 +42,23 @@ * * Protobuf type {@code google.apps.card.v1.TextParagraph} */ -public final class TextParagraph extends com.google.protobuf.GeneratedMessageV3 +public final class TextParagraph extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.TextParagraph) TextParagraphOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + TextParagraph.class.getName()); + } // Use TextParagraph.newBuilder() to construct. - private TextParagraph(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TextParagraph(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -55,19 +66,13 @@ private TextParagraph() { text_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TextParagraph(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_TextParagraph_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_TextParagraph_fieldAccessorTable @@ -141,8 +146,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, text_); } getUnknownFields().writeTo(output); } @@ -153,8 +158,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, text_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,38 +231,38 @@ public static com.google.apps.card.v1.TextParagraph parseFrom( public static com.google.apps.card.v1.TextParagraph parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.TextParagraph parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.TextParagraph parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.TextParagraph parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.TextParagraph parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.TextParagraph parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -280,7 +285,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -306,7 +311,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.TextParagraph} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.TextParagraph) com.google.apps.card.v1.TextParagraphOrBuilder { @@ -316,7 +321,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_TextParagraph_fieldAccessorTable @@ -328,7 +333,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.TextParagraph.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -378,39 +383,6 @@ private void buildPartial0(com.google.apps.card.v1.TextParagraph result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.TextParagraph) { @@ -585,17 +557,6 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.TextParagraph) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextParagraphOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextParagraphOrBuilder.java index 2033b81ead..14a0375b49 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextParagraphOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/TextParagraphOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface TextParagraphOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Widget.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Widget.java index 3d277e1151..8d319940ca 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Widget.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/Widget.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; /** @@ -31,13 +32,23 @@ * * Protobuf type {@code google.apps.card.v1.Widget} */ -public final class Widget extends com.google.protobuf.GeneratedMessageV3 +public final class Widget extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.apps.card.v1.Widget) WidgetOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Widget.class.getName()); + } // Use Widget.newBuilder() to construct. - private Widget(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Widget(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,18 +56,12 @@ private Widget() { horizontalAlignment_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Widget(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.apps.card.v1.CardProto.internal_static_google_apps_card_v1_Widget_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Widget_fieldAccessorTable @@ -102,6 +107,15 @@ public enum ImageType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ImageType.class.getName()); + } /** * * @@ -265,6 +279,15 @@ public enum HorizontalAlignment implements com.google.protobuf.ProtocolMessageEn UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + HorizontalAlignment.class.getName()); + } /** * * @@ -488,7 +511,7 @@ public DataCase getDataCase() { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -517,7 +540,7 @@ public boolean hasTextParagraph() { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -549,7 +572,7 @@ public com.google.apps.card.v1.TextParagraph getTextParagraph() { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -574,9 +597,9 @@ public com.google.apps.card.v1.TextParagraphOrBuilder getTextParagraphOrBuilder( * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -598,9 +621,9 @@ public boolean hasImage() { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -625,9 +648,9 @@ public com.google.apps.card.v1.Image getImage() { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -654,17 +677,17 @@ public com.google.apps.card.v1.ImageOrBuilder getImageOrBuilder() { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -688,17 +711,17 @@ public boolean hasDecoratedText() { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -725,17 +748,17 @@ public com.google.apps.card.v1.DecoratedText getDecoratedText() { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -762,29 +785,29 @@ public com.google.apps.card.v1.DecoratedTextOrBuilder getDecoratedTextOrBuilder( * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -808,29 +831,29 @@ public boolean hasButtonList() { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -857,29 +880,29 @@ public com.google.apps.card.v1.ButtonList getButtonList() { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -906,8 +929,8 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -915,24 +938,24 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -956,8 +979,8 @@ public boolean hasTextInput() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -965,24 +988,24 @@ public boolean hasTextInput() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -1009,8 +1032,8 @@ public com.google.apps.card.v1.TextInput getTextInput() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -1018,24 +1041,24 @@ public com.google.apps.card.v1.TextInput getTextInput() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -1063,31 +1086,31 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -1112,31 +1135,31 @@ public boolean hasSelectionInput() { * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -1164,31 +1187,31 @@ public com.google.apps.card.v1.SelectionInput getSelectionInput() { * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -1216,10 +1239,10 @@ public com.google.apps.card.v1.SelectionInputOrBuilder getSelectionInputOrBuilde * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -1244,10 +1267,10 @@ public boolean hasDateTimePicker() { * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -1275,10 +1298,10 @@ public com.google.apps.card.v1.DateTimePicker getDateTimePicker() { * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -1382,32 +1405,32 @@ public com.google.apps.card.v1.DividerOrBuilder getDividerOrBuilder() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -1439,32 +1462,32 @@ public boolean hasGrid() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -1499,32 +1522,32 @@ public com.google.apps.card.v1.Grid getGrid() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -1553,32 +1576,32 @@ public com.google.apps.card.v1.GridOrBuilder getGridOrBuilder() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -1604,32 +1627,32 @@ public boolean hasColumns() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -1658,32 +1681,32 @@ public com.google.apps.card.v1.Columns getColumns() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -1997,38 +2020,38 @@ public static com.google.apps.card.v1.Widget parseFrom( public static com.google.apps.card.v1.Widget parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Widget parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Widget parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.apps.card.v1.Widget parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.apps.card.v1.Widget parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.apps.card.v1.Widget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2051,7 +2074,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2067,7 +2090,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.apps.card.v1.Widget} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.card.v1.Widget) com.google.apps.card.v1.WidgetOrBuilder { @@ -2077,7 +2100,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.apps.card.v1.CardProto .internal_static_google_apps_card_v1_Widget_fieldAccessorTable @@ -2088,7 +2111,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.apps.card.v1.Widget.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2205,39 +2228,6 @@ private void buildPartialOneofs(com.google.apps.card.v1.Widget result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.card.v1.Widget) { @@ -2434,7 +2424,7 @@ public Builder clearData() { private int bitField0_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextParagraph, com.google.apps.card.v1.TextParagraph.Builder, com.google.apps.card.v1.TextParagraphOrBuilder> @@ -2455,7 +2445,7 @@ public Builder clearData() { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -2484,7 +2474,7 @@ public boolean hasTextParagraph() { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -2523,7 +2513,7 @@ public com.google.apps.card.v1.TextParagraph getTextParagraph() { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -2559,7 +2549,7 @@ public Builder setTextParagraph(com.google.apps.card.v1.TextParagraph value) { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -2592,7 +2582,7 @@ public Builder setTextParagraph(com.google.apps.card.v1.TextParagraph.Builder bu * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -2637,7 +2627,7 @@ public Builder mergeTextParagraph(com.google.apps.card.v1.TextParagraph value) { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -2676,7 +2666,7 @@ public Builder clearTextParagraph() { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -2702,7 +2692,7 @@ public com.google.apps.card.v1.TextParagraph.Builder getTextParagraphBuilder() { * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -2736,14 +2726,14 @@ public com.google.apps.card.v1.TextParagraphOrBuilder getTextParagraphOrBuilder( * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * * * .google.apps.card.v1.TextParagraph text_paragraph = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextParagraph, com.google.apps.card.v1.TextParagraph.Builder, com.google.apps.card.v1.TextParagraphOrBuilder> @@ -2753,7 +2743,7 @@ public com.google.apps.card.v1.TextParagraphOrBuilder getTextParagraphOrBuilder( data_ = com.google.apps.card.v1.TextParagraph.getDefaultInstance(); } textParagraphBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextParagraph, com.google.apps.card.v1.TextParagraph.Builder, com.google.apps.card.v1.TextParagraphOrBuilder>( @@ -2765,7 +2755,7 @@ public com.google.apps.card.v1.TextParagraphOrBuilder getTextParagraphOrBuilder( return textParagraphBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Image, com.google.apps.card.v1.Image.Builder, com.google.apps.card.v1.ImageOrBuilder> @@ -2779,9 +2769,9 @@ public com.google.apps.card.v1.TextParagraphOrBuilder getTextParagraphOrBuilder( * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -2803,9 +2793,9 @@ public boolean hasImage() { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -2837,9 +2827,9 @@ public com.google.apps.card.v1.Image getImage() { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -2868,9 +2858,9 @@ public Builder setImage(com.google.apps.card.v1.Image value) { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -2896,9 +2886,9 @@ public Builder setImage(com.google.apps.card.v1.Image.Builder builderForValue) { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -2935,9 +2925,9 @@ public Builder mergeImage(com.google.apps.card.v1.Image value) { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -2969,9 +2959,9 @@ public Builder clearImage() { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -2990,9 +2980,9 @@ public com.google.apps.card.v1.Image.Builder getImageBuilder() { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -3019,16 +3009,16 @@ public com.google.apps.card.v1.ImageOrBuilder getImageOrBuilder() { * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * * * .google.apps.card.v1.Image image = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Image, com.google.apps.card.v1.Image.Builder, com.google.apps.card.v1.ImageOrBuilder> @@ -3038,7 +3028,7 @@ public com.google.apps.card.v1.ImageOrBuilder getImageOrBuilder() { data_ = com.google.apps.card.v1.Image.getDefaultInstance(); } imageBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Image, com.google.apps.card.v1.Image.Builder, com.google.apps.card.v1.ImageOrBuilder>( @@ -3050,7 +3040,7 @@ public com.google.apps.card.v1.ImageOrBuilder getImageOrBuilder() { return imageBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText, com.google.apps.card.v1.DecoratedText.Builder, com.google.apps.card.v1.DecoratedTextOrBuilder> @@ -3066,17 +3056,17 @@ public com.google.apps.card.v1.ImageOrBuilder getImageOrBuilder() { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -3100,17 +3090,17 @@ public boolean hasDecoratedText() { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -3144,17 +3134,17 @@ public com.google.apps.card.v1.DecoratedText getDecoratedText() { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -3185,17 +3175,17 @@ public Builder setDecoratedText(com.google.apps.card.v1.DecoratedText value) { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -3223,17 +3213,17 @@ public Builder setDecoratedText(com.google.apps.card.v1.DecoratedText.Builder bu * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -3273,17 +3263,17 @@ public Builder mergeDecoratedText(com.google.apps.card.v1.DecoratedText value) { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -3317,17 +3307,17 @@ public Builder clearDecoratedText() { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -3348,17 +3338,17 @@ public com.google.apps.card.v1.DecoratedText.Builder getDecoratedTextBuilder() { * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -3387,24 +3377,24 @@ public com.google.apps.card.v1.DecoratedTextOrBuilder getDecoratedTextOrBuilder( * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * * * .google.apps.card.v1.DecoratedText decorated_text = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText, com.google.apps.card.v1.DecoratedText.Builder, com.google.apps.card.v1.DecoratedTextOrBuilder> @@ -3414,7 +3404,7 @@ public com.google.apps.card.v1.DecoratedTextOrBuilder getDecoratedTextOrBuilder( data_ = com.google.apps.card.v1.DecoratedText.getDefaultInstance(); } decoratedTextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DecoratedText, com.google.apps.card.v1.DecoratedText.Builder, com.google.apps.card.v1.DecoratedTextOrBuilder>( @@ -3426,7 +3416,7 @@ public com.google.apps.card.v1.DecoratedTextOrBuilder getDecoratedTextOrBuilder( return decoratedTextBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ButtonList, com.google.apps.card.v1.ButtonList.Builder, com.google.apps.card.v1.ButtonListOrBuilder> @@ -3442,29 +3432,29 @@ public com.google.apps.card.v1.DecoratedTextOrBuilder getDecoratedTextOrBuilder( * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -3488,29 +3478,29 @@ public boolean hasButtonList() { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -3544,29 +3534,29 @@ public com.google.apps.card.v1.ButtonList getButtonList() { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -3597,29 +3587,29 @@ public Builder setButtonList(com.google.apps.card.v1.ButtonList value) { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -3647,29 +3637,29 @@ public Builder setButtonList(com.google.apps.card.v1.ButtonList.Builder builderF * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -3709,29 +3699,29 @@ public Builder mergeButtonList(com.google.apps.card.v1.ButtonList value) { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -3765,29 +3755,29 @@ public Builder clearButtonList() { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -3808,29 +3798,29 @@ public com.google.apps.card.v1.ButtonList.Builder getButtonListBuilder() { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -3859,36 +3849,36 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * * * .google.apps.card.v1.ButtonList button_list = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ButtonList, com.google.apps.card.v1.ButtonList.Builder, com.google.apps.card.v1.ButtonListOrBuilder> @@ -3898,7 +3888,7 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { data_ = com.google.apps.card.v1.ButtonList.getDefaultInstance(); } buttonListBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.ButtonList, com.google.apps.card.v1.ButtonList.Builder, com.google.apps.card.v1.ButtonListOrBuilder>( @@ -3910,7 +3900,7 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { return buttonListBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextInput, com.google.apps.card.v1.TextInput.Builder, com.google.apps.card.v1.TextInputOrBuilder> @@ -3926,8 +3916,8 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -3935,24 +3925,24 @@ public com.google.apps.card.v1.ButtonListOrBuilder getButtonListOrBuilder() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -3976,8 +3966,8 @@ public boolean hasTextInput() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -3985,24 +3975,24 @@ public boolean hasTextInput() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -4036,8 +4026,8 @@ public com.google.apps.card.v1.TextInput getTextInput() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -4045,24 +4035,24 @@ public com.google.apps.card.v1.TextInput getTextInput() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -4093,8 +4083,8 @@ public Builder setTextInput(com.google.apps.card.v1.TextInput value) { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -4102,24 +4092,24 @@ public Builder setTextInput(com.google.apps.card.v1.TextInput value) { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -4147,8 +4137,8 @@ public Builder setTextInput(com.google.apps.card.v1.TextInput.Builder builderFor * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -4156,24 +4146,24 @@ public Builder setTextInput(com.google.apps.card.v1.TextInput.Builder builderFor * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -4213,8 +4203,8 @@ public Builder mergeTextInput(com.google.apps.card.v1.TextInput value) { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -4222,24 +4212,24 @@ public Builder mergeTextInput(com.google.apps.card.v1.TextInput value) { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -4273,8 +4263,8 @@ public Builder clearTextInput() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -4282,24 +4272,24 @@ public Builder clearTextInput() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -4320,8 +4310,8 @@ public com.google.apps.card.v1.TextInput.Builder getTextInputBuilder() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -4329,24 +4319,24 @@ public com.google.apps.card.v1.TextInput.Builder getTextInputBuilder() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -4375,8 +4365,8 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -4384,31 +4374,31 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * * * .google.apps.card.v1.TextInput text_input = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextInput, com.google.apps.card.v1.TextInput.Builder, com.google.apps.card.v1.TextInputOrBuilder> @@ -4418,7 +4408,7 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { data_ = com.google.apps.card.v1.TextInput.getDefaultInstance(); } textInputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.TextInput, com.google.apps.card.v1.TextInput.Builder, com.google.apps.card.v1.TextInputOrBuilder>( @@ -4430,7 +4420,7 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { return textInputBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput, com.google.apps.card.v1.SelectionInput.Builder, com.google.apps.card.v1.SelectionInputOrBuilder> @@ -4447,31 +4437,31 @@ public com.google.apps.card.v1.TextInputOrBuilder getTextInputOrBuilder() { * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -4496,31 +4486,31 @@ public boolean hasSelectionInput() { * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -4555,31 +4545,31 @@ public com.google.apps.card.v1.SelectionInput getSelectionInput() { * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -4611,31 +4601,31 @@ public Builder setSelectionInput(com.google.apps.card.v1.SelectionInput value) { * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -4665,31 +4655,31 @@ public Builder setSelectionInput( * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -4731,31 +4721,31 @@ public Builder mergeSelectionInput(com.google.apps.card.v1.SelectionInput value) * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -4790,31 +4780,31 @@ public Builder clearSelectionInput() { * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -4836,31 +4826,31 @@ public com.google.apps.card.v1.SelectionInput.Builder getSelectionInputBuilder() * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -4890,38 +4880,38 @@ public com.google.apps.card.v1.SelectionInputOrBuilder getSelectionInputOrBuilde * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * * * .google.apps.card.v1.SelectionInput selection_input = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput, com.google.apps.card.v1.SelectionInput.Builder, com.google.apps.card.v1.SelectionInputOrBuilder> @@ -4931,7 +4921,7 @@ public com.google.apps.card.v1.SelectionInputOrBuilder getSelectionInputOrBuilde data_ = com.google.apps.card.v1.SelectionInput.getDefaultInstance(); } selectionInputBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.SelectionInput, com.google.apps.card.v1.SelectionInput.Builder, com.google.apps.card.v1.SelectionInputOrBuilder>( @@ -4943,7 +4933,7 @@ public com.google.apps.card.v1.SelectionInputOrBuilder getSelectionInputOrBuilde return selectionInputBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DateTimePicker, com.google.apps.card.v1.DateTimePicker.Builder, com.google.apps.card.v1.DateTimePickerOrBuilder> @@ -4960,10 +4950,10 @@ public com.google.apps.card.v1.SelectionInputOrBuilder getSelectionInputOrBuilde * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -4988,10 +4978,10 @@ public boolean hasDateTimePicker() { * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -5026,10 +5016,10 @@ public com.google.apps.card.v1.DateTimePicker getDateTimePicker() { * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -5061,10 +5051,10 @@ public Builder setDateTimePicker(com.google.apps.card.v1.DateTimePicker value) { * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -5094,10 +5084,10 @@ public Builder setDateTimePicker( * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -5139,10 +5129,10 @@ public Builder mergeDateTimePicker(com.google.apps.card.v1.DateTimePicker value) * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -5177,10 +5167,10 @@ public Builder clearDateTimePicker() { * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -5202,10 +5192,10 @@ public com.google.apps.card.v1.DateTimePicker.Builder getDateTimePickerBuilder() * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -5235,17 +5225,17 @@ public com.google.apps.card.v1.DateTimePickerOrBuilder getDateTimePickerOrBuilde * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * * * .google.apps.card.v1.DateTimePicker date_time_picker = 7; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DateTimePicker, com.google.apps.card.v1.DateTimePicker.Builder, com.google.apps.card.v1.DateTimePickerOrBuilder> @@ -5255,7 +5245,7 @@ public com.google.apps.card.v1.DateTimePickerOrBuilder getDateTimePickerOrBuilde data_ = com.google.apps.card.v1.DateTimePicker.getDefaultInstance(); } dateTimePickerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.DateTimePicker, com.google.apps.card.v1.DateTimePicker.Builder, com.google.apps.card.v1.DateTimePickerOrBuilder>( @@ -5267,7 +5257,7 @@ public com.google.apps.card.v1.DateTimePickerOrBuilder getDateTimePickerOrBuilde return dateTimePickerBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Divider, com.google.apps.card.v1.Divider.Builder, com.google.apps.card.v1.DividerOrBuilder> @@ -5503,7 +5493,7 @@ public com.google.apps.card.v1.DividerOrBuilder getDividerOrBuilder() { * * .google.apps.card.v1.Divider divider = 9; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Divider, com.google.apps.card.v1.Divider.Builder, com.google.apps.card.v1.DividerOrBuilder> @@ -5513,7 +5503,7 @@ public com.google.apps.card.v1.DividerOrBuilder getDividerOrBuilder() { data_ = com.google.apps.card.v1.Divider.getDefaultInstance(); } dividerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Divider, com.google.apps.card.v1.Divider.Builder, com.google.apps.card.v1.DividerOrBuilder>( @@ -5525,7 +5515,7 @@ public com.google.apps.card.v1.DividerOrBuilder getDividerOrBuilder() { return dividerBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Grid, com.google.apps.card.v1.Grid.Builder, com.google.apps.card.v1.GridOrBuilder> @@ -5549,32 +5539,32 @@ public com.google.apps.card.v1.DividerOrBuilder getDividerOrBuilder() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -5606,32 +5596,32 @@ public boolean hasGrid() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -5673,32 +5663,32 @@ public com.google.apps.card.v1.Grid getGrid() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -5737,32 +5727,32 @@ public Builder setGrid(com.google.apps.card.v1.Grid value) { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -5798,32 +5788,32 @@ public Builder setGrid(com.google.apps.card.v1.Grid.Builder builderForValue) { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -5870,32 +5860,32 @@ public Builder mergeGrid(com.google.apps.card.v1.Grid value) { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -5937,32 +5927,32 @@ public Builder clearGrid() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -5991,32 +5981,32 @@ public com.google.apps.card.v1.Grid.Builder getGridBuilder() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -6053,39 +6043,39 @@ public com.google.apps.card.v1.GridOrBuilder getGridOrBuilder() { * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * * * .google.apps.card.v1.Grid grid = 10; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Grid, com.google.apps.card.v1.Grid.Builder, com.google.apps.card.v1.GridOrBuilder> @@ -6095,7 +6085,7 @@ public com.google.apps.card.v1.GridOrBuilder getGridOrBuilder() { data_ = com.google.apps.card.v1.Grid.getDefaultInstance(); } gridBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Grid, com.google.apps.card.v1.Grid.Builder, com.google.apps.card.v1.GridOrBuilder>( @@ -6107,7 +6097,7 @@ public com.google.apps.card.v1.GridOrBuilder getGridOrBuilder() { return gridBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Columns, com.google.apps.card.v1.Columns.Builder, com.google.apps.card.v1.ColumnsOrBuilder> @@ -6125,32 +6115,32 @@ public com.google.apps.card.v1.GridOrBuilder getGridOrBuilder() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -6176,32 +6166,32 @@ public boolean hasColumns() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -6237,32 +6227,32 @@ public com.google.apps.card.v1.Columns getColumns() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -6295,32 +6285,32 @@ public Builder setColumns(com.google.apps.card.v1.Columns value) { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -6350,32 +6340,32 @@ public Builder setColumns(com.google.apps.card.v1.Columns.Builder builderForValu * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -6416,32 +6406,32 @@ public Builder mergeColumns(com.google.apps.card.v1.Columns value) { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -6477,32 +6467,32 @@ public Builder clearColumns() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -6525,32 +6515,32 @@ public com.google.apps.card.v1.Columns.Builder getColumnsBuilder() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -6581,39 +6571,39 @@ public com.google.apps.card.v1.ColumnsOrBuilder getColumnsOrBuilder() { * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * * * .google.apps.card.v1.Columns columns = 11; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Columns, com.google.apps.card.v1.Columns.Builder, com.google.apps.card.v1.ColumnsOrBuilder> @@ -6623,7 +6613,7 @@ public com.google.apps.card.v1.ColumnsOrBuilder getColumnsOrBuilder() { data_ = com.google.apps.card.v1.Columns.getDefaultInstance(); } columnsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.apps.card.v1.Columns, com.google.apps.card.v1.Columns.Builder, com.google.apps.card.v1.ColumnsOrBuilder>( @@ -6728,17 +6718,6 @@ public Builder clearHorizontalAlignment() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.apps.card.v1.Widget) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/WidgetOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/WidgetOrBuilder.java index bf1327c988..a2f31176bd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/WidgetOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/apps/card/v1/WidgetOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/apps/card/v1/card.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.apps.card.v1; public interface WidgetOrBuilder @@ -40,7 +41,7 @@ public interface WidgetOrBuilder * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -66,7 +67,7 @@ public interface WidgetOrBuilder * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -92,7 +93,7 @@ public interface WidgetOrBuilder * For example, the following JSON creates a bolded text: * ``` * "textParagraph": { - * "text": " <b>bold text</b>" + * "text": " <b>bold text</b>" * } * ``` * @@ -110,9 +111,9 @@ public interface WidgetOrBuilder * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -131,9 +132,9 @@ public interface WidgetOrBuilder * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -152,9 +153,9 @@ public interface WidgetOrBuilder * For example, the following JSON creates an image with alternative text: * ``` * "image": { - * "imageUrl": - * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", - * "altText": "Chat app avatar" + * "imageUrl": + * "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", + * "altText": "Chat app avatar" * } * ``` * @@ -174,17 +175,17 @@ public interface WidgetOrBuilder * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -205,17 +206,17 @@ public interface WidgetOrBuilder * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -236,17 +237,17 @@ public interface WidgetOrBuilder * * ``` * "decoratedText": { - * "icon": { - * "knownIcon": "EMAIL" - * }, - * "topLabel": "Email Address", - * "text": "sasha@example.com", - * "bottomLabel": "This is a new Email address!", - * "switchControl": { - * "name": "has_send_welcome_email_to_sasha", - * "selected": false, - * "controlType": "CHECKBOX" - * } + * "icon": { + * "knownIcon": "EMAIL" + * }, + * "topLabel": "Email Address", + * "text": "sasha@example.com", + * "bottomLabel": "This is a new Email address!", + * "switchControl": { + * "name": "has_send_welcome_email_to_sasha", + * "selected": false, + * "controlType": "CHECKBOX" + * } * } * ``` * @@ -266,29 +267,29 @@ public interface WidgetOrBuilder * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -309,29 +310,29 @@ public interface WidgetOrBuilder * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -352,29 +353,29 @@ public interface WidgetOrBuilder * link: * ``` * "buttonList": { - * "buttons": [ - * { - * "text": "Edit", - * "color": { - * "red": 0, - * "green": 0, - * "blue": 1, - * "alpha": 1 - * }, - * "disabled": true, - * }, - * { - * "icon": { - * "knownIcon": "INVITE", - * "altText": "check calendar" - * }, - * "onClick": { - * "openLink": { - * "url": "https://example.com/calendar" - * } - * } - * } - * ] + * "buttons": [ + * { + * "text": "Edit", + * "color": { + * "red": 0, + * "green": 0, + * "blue": 1, + * "alpha": 1 + * }, + * "disabled": true, + * }, + * { + * "icon": { + * "knownIcon": "INVITE", + * "altText": "check calendar" + * }, + * "onClick": { + * "openLink": { + * "url": "https://example.com/calendar" + * } + * } + * } + * ] * } * ``` * @@ -394,8 +395,8 @@ public interface WidgetOrBuilder * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -403,24 +404,24 @@ public interface WidgetOrBuilder * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -441,8 +442,8 @@ public interface WidgetOrBuilder * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -450,24 +451,24 @@ public interface WidgetOrBuilder * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -488,8 +489,8 @@ public interface WidgetOrBuilder * * ``` * "textInput": { - * "name": "mailing_address", - * "label": "Mailing Address" + * "name": "mailing_address", + * "label": "Mailing Address" * } * ``` * @@ -497,24 +498,24 @@ public interface WidgetOrBuilder * programming language with static suggestions: * ``` * "textInput": { - * "name": "preferred_programing_language", - * "label": "Preferred Language", - * "initialSuggestions": { - * "items": [ - * { - * "text": "C++" - * }, - * { - * "text": "Java" - * }, - * { - * "text": "JavaScript" - * }, - * { - * "text": "Python" - * } - * ] - * } + * "name": "preferred_programing_language", + * "label": "Preferred Language", + * "initialSuggestions": { + * "items": [ + * { + * "text": "C++" + * }, + * { + * "text": "Java" + * }, + * { + * "text": "JavaScript" + * }, + * { + * "text": "Python" + * } + * ] + * } * } * ``` * @@ -535,31 +536,31 @@ public interface WidgetOrBuilder * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -581,31 +582,31 @@ public interface WidgetOrBuilder * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -627,31 +628,31 @@ public interface WidgetOrBuilder * * ``` * "selectionInput": { - * "name": "size", - * "label": "Size" - * "type": "DROPDOWN", - * "items": [ - * { - * "text": "S", - * "value": "small", - * "selected": false - * }, - * { - * "text": "M", - * "value": "medium", - * "selected": true - * }, - * { - * "text": "L", - * "value": "large", - * "selected": false - * }, - * { - * "text": "XL", - * "value": "extra_large", - * "selected": false - * } - * ] + * "name": "size", + * "label": "Size" + * "type": "DROPDOWN", + * "items": [ + * { + * "text": "S", + * "value": "small", + * "selected": false + * }, + * { + * "text": "M", + * "value": "medium", + * "selected": true + * }, + * { + * "text": "L", + * "value": "large", + * "selected": false + * }, + * { + * "text": "XL", + * "value": "extra_large", + * "selected": false + * } + * ] * } * ``` * @@ -672,10 +673,10 @@ public interface WidgetOrBuilder * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -697,10 +698,10 @@ public interface WidgetOrBuilder * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -722,10 +723,10 @@ public interface WidgetOrBuilder * * ``` * "dateTimePicker": { - * "name": "appointment_time", - * "label": "Book your appointment at:", - * "type": "DATE_AND_TIME", - * "valueMsEpoch": "796435200000" + * "name": "appointment_time", + * "label": "Book your appointment at:", + * "type": "DATE_AND_TIME", + * "valueMsEpoch": "796435200000" * } * ``` * @@ -806,32 +807,32 @@ public interface WidgetOrBuilder * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -860,32 +861,32 @@ public interface WidgetOrBuilder * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -914,32 +915,32 @@ public interface WidgetOrBuilder * * ``` * "grid": { - * "title": "A fine collection of items", - * "columnCount": 2, - * "borderStyle": { - * "type": "STROKE", - * "cornerRadius": 4 - * }, - * "items": [ - * { - * "image": { - * "imageUri": "https://www.example.com/image.png", - * "cropStyle": { - * "type": "SQUARE" - * }, - * "borderStyle": { - * "type": "STROKE" - * } - * }, - * "title": "An item", - * "textAlignment": "CENTER" - * } - * ], - * "onClick": { - * "openLink": { - * "url": "https://www.example.com" - * } - * } + * "title": "A fine collection of items", + * "columnCount": 2, + * "borderStyle": { + * "type": "STROKE", + * "cornerRadius": 4 + * }, + * "items": [ + * { + * "image": { + * "imageUri": "https://www.example.com/image.png", + * "cropStyle": { + * "type": "SQUARE" + * }, + * "borderStyle": { + * "type": "STROKE" + * } + * }, + * "title": "An item", + * "textAlignment": "CENTER" + * } + * ], + * "onClick": { + * "openLink": { + * "url": "https://www.example.com" + * } + * } * } * ``` * @@ -961,32 +962,32 @@ public interface WidgetOrBuilder * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -1009,32 +1010,32 @@ public interface WidgetOrBuilder * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * @@ -1057,32 +1058,32 @@ public interface WidgetOrBuilder * * ``` * "columns": { - * "columnItems": [ - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "First column text paragraph" - * } - * } - * ] - * }, - * { - * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", - * "horizontalAlignment": "CENTER", - * "verticalAlignment": "CENTER", - * "widgets": [ - * { - * "textParagraph": { - * "text": "Second column text paragraph" - * } - * } - * ] - * } - * ] + * "columnItems": [ + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "First column text paragraph" + * } + * } + * ] + * }, + * { + * "horizontalSizeStyle": "FILL_AVAILABLE_SPACE", + * "horizontalAlignment": "CENTER", + * "verticalAlignment": "CENTER", + * "widgets": [ + * { + * "textParagraph": { + * "text": "Second column text paragraph" + * } + * } + * ] + * } + * ] * } * ``` * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/ExtendedOperationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/ExtendedOperationsProto.java index f946e36408..23725e26ee 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/ExtendedOperationsProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/ExtendedOperationsProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/extended_operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud; public final class ExtendedOperationsProto { private ExtendedOperationsProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ExtendedOperationsProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.cloud.ExtendedOperationsProto.operationField); registry.add(com.google.cloud.ExtendedOperationsProto.operationRequestField); @@ -175,6 +186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { operationResponseField.internalInit(descriptor.getExtensions().get(2)); operationService.internalInit(descriptor.getExtensions().get(3)); operationPollingMethod.internalInit(descriptor.getExtensions().get(4)); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DescriptorProtos.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/OperationResponseMapping.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/OperationResponseMapping.java index 6c2c56d0d2..fdfb63fec1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/OperationResponseMapping.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/OperationResponseMapping.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/extended_operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud; /** @@ -93,6 +94,15 @@ public enum OperationResponseMapping implements com.google.protobuf.ProtocolMess UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OperationResponseMapping.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java index 680e99f106..18fb7b548f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLog.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.audit.AuditLog} */ -public final class AuditLog extends com.google.protobuf.GeneratedMessageV3 +public final class AuditLog extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.AuditLog) AuditLogOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuditLog.class.getName()); + } // Use AuditLog.newBuilder() to construct. - private AuditLog(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AuditLog(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +56,13 @@ private AuditLog() { authorizationInfo_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AuditLog(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_fieldAccessorTable @@ -131,8 +136,8 @@ public com.google.protobuf.ByteString getServiceNameBytes() { * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -159,8 +164,8 @@ public java.lang.String getMethodName() { * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -192,8 +197,8 @@ public com.google.protobuf.ByteString getMethodNameBytes() { * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; @@ -220,8 +225,8 @@ public java.lang.String getResourceName() { * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; @@ -915,17 +920,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(4, getRequestMetadata()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, serviceName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, serviceName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(methodName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, methodName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(methodName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, methodName_); } for (int i = 0; i < authorizationInfo_.size(); i++) { output.writeMessage(9, authorizationInfo_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, resourceName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 11, resourceName_); } if (numResponseItems_ != 0L) { output.writeInt64(12, numResponseItems_); @@ -969,18 +974,18 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRequestMetadata()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, serviceName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, serviceName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(methodName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, methodName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(methodName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, methodName_); } for (int i = 0; i < authorizationInfo_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, authorizationInfo_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, resourceName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(11, resourceName_); } if (numResponseItems_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, numResponseItems_); @@ -1172,38 +1177,38 @@ public static com.google.cloud.audit.AuditLog parseFrom( public static com.google.cloud.audit.AuditLog parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.AuditLog parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.AuditLog parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.AuditLog parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.AuditLog parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.AuditLog parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1226,7 +1231,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1239,7 +1244,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.AuditLog} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.AuditLog) com.google.cloud.audit.AuditLogOrBuilder { @@ -1249,7 +1254,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_fieldAccessorTable @@ -1262,13 +1267,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getResourceLocationFieldBuilder(); getResourceOriginalStateFieldBuilder(); getStatusFieldBuilder(); @@ -1464,39 +1469,6 @@ private void buildPartial0(com.google.cloud.audit.AuditLog result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.AuditLog) { @@ -1558,7 +1530,7 @@ public Builder mergeFrom(com.google.cloud.audit.AuditLog other) { authorizationInfo_ = other.authorizationInfo_; bitField0_ = (bitField0_ & ~0x00000100); authorizationInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAuthorizationInfoFieldBuilder() : null; } else { @@ -1850,8 +1822,8 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -1877,8 +1849,8 @@ public java.lang.String getMethodName() { * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -1904,8 +1876,8 @@ public com.google.protobuf.ByteString getMethodNameBytes() { * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -1930,8 +1902,8 @@ public Builder setMethodName(java.lang.String value) { * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -1952,8 +1924,8 @@ public Builder clearMethodName() { * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -1981,8 +1953,8 @@ public Builder setMethodNameBytes(com.google.protobuf.ByteString value) { * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; @@ -2008,8 +1980,8 @@ public java.lang.String getResourceName() { * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; @@ -2035,8 +2007,8 @@ public com.google.protobuf.ByteString getResourceNameBytes() { * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; @@ -2061,8 +2033,8 @@ public Builder setResourceName(java.lang.String value) { * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; @@ -2083,8 +2055,8 @@ public Builder clearResourceName() { * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; @@ -2104,7 +2076,7 @@ public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { } private com.google.cloud.audit.ResourceLocation resourceLocation_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ResourceLocation, com.google.cloud.audit.ResourceLocation.Builder, com.google.cloud.audit.ResourceLocationOrBuilder> @@ -2272,14 +2244,14 @@ public com.google.cloud.audit.ResourceLocationOrBuilder getResourceLocationOrBui * * .google.cloud.audit.ResourceLocation resource_location = 20; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ResourceLocation, com.google.cloud.audit.ResourceLocation.Builder, com.google.cloud.audit.ResourceLocationOrBuilder> getResourceLocationFieldBuilder() { if (resourceLocationBuilder_ == null) { resourceLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ResourceLocation, com.google.cloud.audit.ResourceLocation.Builder, com.google.cloud.audit.ResourceLocationOrBuilder>( @@ -2290,7 +2262,7 @@ public com.google.cloud.audit.ResourceLocationOrBuilder getResourceLocationOrBui } private com.google.protobuf.Struct resourceOriginalState_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -2511,14 +2483,14 @@ public com.google.protobuf.StructOrBuilder getResourceOriginalStateOrBuilder() { * * .google.protobuf.Struct resource_original_state = 19; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getResourceOriginalStateFieldBuilder() { if (resourceOriginalStateBuilder_ == null) { resourceOriginalStateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -2585,7 +2557,7 @@ public Builder clearNumResponseItems() { } private com.google.rpc.Status status_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** @@ -2746,12 +2718,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * * .google.rpc.Status status = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); @@ -2761,7 +2733,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } private com.google.cloud.audit.AuthenticationInfo authenticationInfo_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.AuthenticationInfo, com.google.cloud.audit.AuthenticationInfo.Builder, com.google.cloud.audit.AuthenticationInfoOrBuilder> @@ -2930,14 +2902,14 @@ public com.google.cloud.audit.AuthenticationInfoOrBuilder getAuthenticationInfoO * * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.AuthenticationInfo, com.google.cloud.audit.AuthenticationInfo.Builder, com.google.cloud.audit.AuthenticationInfoOrBuilder> getAuthenticationInfoFieldBuilder() { if (authenticationInfoBuilder_ == null) { authenticationInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.AuthenticationInfo, com.google.cloud.audit.AuthenticationInfo.Builder, com.google.cloud.audit.AuthenticationInfoOrBuilder>( @@ -2958,7 +2930,7 @@ private void ensureAuthorizationInfoIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.AuthorizationInfo, com.google.cloud.audit.AuthorizationInfo.Builder, com.google.cloud.audit.AuthorizationInfoOrBuilder> @@ -3318,14 +3290,14 @@ public com.google.cloud.audit.AuthorizationInfo.Builder addAuthorizationInfoBuil return getAuthorizationInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.AuthorizationInfo, com.google.cloud.audit.AuthorizationInfo.Builder, com.google.cloud.audit.AuthorizationInfoOrBuilder> getAuthorizationInfoFieldBuilder() { if (authorizationInfoBuilder_ == null) { authorizationInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.AuthorizationInfo, com.google.cloud.audit.AuthorizationInfo.Builder, com.google.cloud.audit.AuthorizationInfoOrBuilder>( @@ -3339,7 +3311,7 @@ public com.google.cloud.audit.AuthorizationInfo.Builder addAuthorizationInfoBuil } private com.google.cloud.audit.PolicyViolationInfo policyViolationInfo_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.PolicyViolationInfo, com.google.cloud.audit.PolicyViolationInfo.Builder, com.google.cloud.audit.PolicyViolationInfoOrBuilder> @@ -3526,14 +3498,14 @@ public com.google.cloud.audit.PolicyViolationInfoOrBuilder getPolicyViolationInf * * .google.cloud.audit.PolicyViolationInfo policy_violation_info = 25; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.PolicyViolationInfo, com.google.cloud.audit.PolicyViolationInfo.Builder, com.google.cloud.audit.PolicyViolationInfoOrBuilder> getPolicyViolationInfoFieldBuilder() { if (policyViolationInfoBuilder_ == null) { policyViolationInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.PolicyViolationInfo, com.google.cloud.audit.PolicyViolationInfo.Builder, com.google.cloud.audit.PolicyViolationInfoOrBuilder>( @@ -3544,7 +3516,7 @@ public com.google.cloud.audit.PolicyViolationInfoOrBuilder getPolicyViolationInf } private com.google.cloud.audit.RequestMetadata requestMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.RequestMetadata, com.google.cloud.audit.RequestMetadata.Builder, com.google.cloud.audit.RequestMetadataOrBuilder> @@ -3712,14 +3684,14 @@ public com.google.cloud.audit.RequestMetadataOrBuilder getRequestMetadataOrBuild * * .google.cloud.audit.RequestMetadata request_metadata = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.RequestMetadata, com.google.cloud.audit.RequestMetadata.Builder, com.google.cloud.audit.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { requestMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.RequestMetadata, com.google.cloud.audit.RequestMetadata.Builder, com.google.cloud.audit.RequestMetadataOrBuilder>( @@ -3730,7 +3702,7 @@ public com.google.cloud.audit.RequestMetadataOrBuilder getRequestMetadataOrBuild } private com.google.protobuf.Struct request_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -3938,14 +3910,14 @@ public com.google.protobuf.StructOrBuilder getRequestOrBuilder() { * * .google.protobuf.Struct request = 16; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -3956,7 +3928,7 @@ public com.google.protobuf.StructOrBuilder getRequestOrBuilder() { } private com.google.protobuf.Struct response_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -4164,14 +4136,14 @@ public com.google.protobuf.StructOrBuilder getResponseOrBuilder() { * * .google.protobuf.Struct response = 17; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getResponseFieldBuilder() { if (responseBuilder_ == null) { responseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -4182,7 +4154,7 @@ public com.google.protobuf.StructOrBuilder getResponseOrBuilder() { } private com.google.protobuf.Struct metadata_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -4354,14 +4326,14 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * * .google.protobuf.Struct metadata = 18; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -4372,7 +4344,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { } private com.google.protobuf.Any serviceData_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -4565,14 +4537,14 @@ public com.google.protobuf.AnyOrBuilder getServiceDataOrBuilder() { * * .google.protobuf.Any service_data = 15 [deprecated = true]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getServiceDataFieldBuilder() { if (serviceDataBuilder_ == null) { serviceDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( @@ -4582,17 +4554,6 @@ public com.google.protobuf.AnyOrBuilder getServiceDataOrBuilder() { return serviceDataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.AuditLog) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java index b62ec5c06c..acc9c3eb2c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface AuditLogOrBuilder @@ -59,8 +60,8 @@ public interface AuditLogOrBuilder * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -76,8 +77,8 @@ public interface AuditLogOrBuilder * For API calls, this should be the name of the API method. * For example, * - * "google.cloud.bigquery.v2.TableService.InsertTable" - * "google.logging.v2.ConfigServiceV2.CreateSink" + * "google.cloud.bigquery.v2.TableService.InsertTable" + * "google.logging.v2.ConfigServiceV2.CreateSink" * * * string method_name = 8; @@ -94,8 +95,8 @@ public interface AuditLogOrBuilder * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; @@ -111,8 +112,8 @@ public interface AuditLogOrBuilder * The name is a scheme-less URI, not including the API service name. * For example: * - * "projects/PROJECT_ID/zones/us-central1-a/instances" - * "projects/PROJECT_ID/datasets/DATASET_ID" + * "projects/PROJECT_ID/zones/us-central1-a/instances" + * "projects/PROJECT_ID/datasets/DATASET_ID" * * * string resource_name = 11; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java index e6276e21c5..8269a635cc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public final class AuditLogProto { private AuditLogProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuditLogProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,51 +41,51 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_AuditLog_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_AuditLog_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_AuthenticationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_AuthorizationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_RequestMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_ResourceLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_PolicyViolationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_audit_ViolationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_audit_ViolationInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -173,7 +184,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_AuditLog_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_audit_AuditLog_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_AuditLog_descriptor, new java.lang.String[] { "ServiceName", @@ -195,7 +206,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_AuthenticationInfo_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_AuthenticationInfo_descriptor, new java.lang.String[] { "PrincipalEmail", @@ -208,7 +219,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_AuthorizationInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_AuthorizationInfo_descriptor, new java.lang.String[] { "Resource", "Permission", "Granted", "ResourceAttributes", @@ -216,7 +227,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_RequestMetadata_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_RequestMetadata_descriptor, new java.lang.String[] { "CallerIp", @@ -228,7 +239,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_ResourceLocation_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_ResourceLocation_descriptor, new java.lang.String[] { "CurrentLocations", "OriginalLocations", @@ -236,7 +247,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor, new java.lang.String[] { "PrincipalSubject", "FirstPartyPrincipal", "ThirdPartyPrincipal", "Authority", @@ -246,7 +257,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { .getNestedTypes() .get(0); internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor, new java.lang.String[] { "PrincipalEmail", "ServiceMetadata", @@ -256,7 +267,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { .getNestedTypes() .get(1); internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor, new java.lang.String[] { "ThirdPartyClaims", @@ -264,7 +275,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_PolicyViolationInfo_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_PolicyViolationInfo_descriptor, new java.lang.String[] { "OrgPolicyViolationInfo", @@ -272,7 +283,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor, new java.lang.String[] { "Payload", "ResourceType", "ResourceTags", "ViolationInfo", @@ -282,7 +293,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { .getNestedTypes() .get(0); internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor, new java.lang.String[] { "Key", "Value", @@ -290,21 +301,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_audit_ViolationInfo_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_google_cloud_audit_ViolationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_audit_ViolationInfo_descriptor, new java.lang.String[] { "Constraint", "ErrorMessage", "CheckedValue", "PolicyType", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); + descriptor.resolveAllFeaturesImmutable(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.rpc.context.AttributeContextProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java index a417107ee5..852b1b33cd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.audit.AuthenticationInfo} */ -public final class AuthenticationInfo extends com.google.protobuf.GeneratedMessageV3 +public final class AuthenticationInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.AuthenticationInfo) AuthenticationInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuthenticationInfo.class.getName()); + } // Use AuthenticationInfo.newBuilder() to construct. - private AuthenticationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AuthenticationInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,19 +57,13 @@ private AuthenticationInfo() { principalSubject_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AuthenticationInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuthenticationInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable @@ -472,23 +477,23 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalEmail_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, principalEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principalEmail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, principalEmail_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authoritySelector_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, authoritySelector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authoritySelector_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, authoritySelector_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getThirdPartyPrincipal()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountKeyName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serviceAccountKeyName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountKeyName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, serviceAccountKeyName_); } for (int i = 0; i < serviceAccountDelegationInfo_.size(); i++) { output.writeMessage(6, serviceAccountDelegationInfo_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalSubject_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, principalSubject_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principalSubject_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, principalSubject_); } getUnknownFields().writeTo(output); } @@ -499,25 +504,25 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalEmail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, principalEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principalEmail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, principalEmail_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authoritySelector_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, authoritySelector_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(authoritySelector_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, authoritySelector_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getThirdPartyPrincipal()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountKeyName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceAccountKeyName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountKeyName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, serviceAccountKeyName_); } for (int i = 0; i < serviceAccountDelegationInfo_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 6, serviceAccountDelegationInfo_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalSubject_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, principalSubject_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principalSubject_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, principalSubject_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -614,38 +619,38 @@ public static com.google.cloud.audit.AuthenticationInfo parseFrom( public static com.google.cloud.audit.AuthenticationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.AuthenticationInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.AuthenticationInfo parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.AuthenticationInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.AuthenticationInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.AuthenticationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -668,7 +673,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -681,7 +686,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.AuthenticationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.AuthenticationInfo) com.google.cloud.audit.AuthenticationInfoOrBuilder { @@ -691,7 +696,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable @@ -705,13 +710,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getThirdPartyPrincipalFieldBuilder(); getServiceAccountDelegationInfoFieldBuilder(); } @@ -810,39 +815,6 @@ private void buildPartial0(com.google.cloud.audit.AuthenticationInfo result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.AuthenticationInfo) { @@ -892,7 +864,7 @@ public Builder mergeFrom(com.google.cloud.audit.AuthenticationInfo other) { serviceAccountDelegationInfo_ = other.serviceAccountDelegationInfo_; bitField0_ = (bitField0_ & ~0x00000010); serviceAccountDelegationInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getServiceAccountDelegationInfoFieldBuilder() : null; } else { @@ -1239,7 +1211,7 @@ public Builder setAuthoritySelectorBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Struct thirdPartyPrincipal_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1433,14 +1405,14 @@ public com.google.protobuf.StructOrBuilder getThirdPartyPrincipalOrBuilder() { * * .google.protobuf.Struct third_party_principal = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getThirdPartyPrincipalFieldBuilder() { if (thirdPartyPrincipalBuilder_ == null) { thirdPartyPrincipalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -1588,7 +1560,7 @@ private void ensureServiceAccountDelegationInfoIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo, com.google.cloud.audit.ServiceAccountDelegationInfo.Builder, com.google.cloud.audit.ServiceAccountDelegationInfoOrBuilder> @@ -2030,14 +2002,14 @@ public Builder removeServiceAccountDelegationInfo(int index) { return getServiceAccountDelegationInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo, com.google.cloud.audit.ServiceAccountDelegationInfo.Builder, com.google.cloud.audit.ServiceAccountDelegationInfoOrBuilder> getServiceAccountDelegationInfoFieldBuilder() { if (serviceAccountDelegationInfoBuilder_ == null) { serviceAccountDelegationInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo, com.google.cloud.audit.ServiceAccountDelegationInfo.Builder, com.google.cloud.audit.ServiceAccountDelegationInfoOrBuilder>( @@ -2161,17 +2133,6 @@ public Builder setPrincipalSubjectBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.AuthenticationInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java index aebcc7e649..3fea7c7425 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthenticationInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface AuthenticationInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java index 1bc12f0bcb..00deb83b29 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.audit.AuthorizationInfo} */ -public final class AuthorizationInfo extends com.google.protobuf.GeneratedMessageV3 +public final class AuthorizationInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.AuthorizationInfo) AuthorizationInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuthorizationInfo.class.getName()); + } // Use AuthorizationInfo.newBuilder() to construct. - private AuthorizationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AuthorizationInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +54,13 @@ private AuthorizationInfo() { permission_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AuthorizationInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuthorizationInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable @@ -76,9 +81,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; @@ -104,9 +109,9 @@ public java.lang.String getResource() { * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; @@ -276,11 +281,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resource_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, resource_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permission_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, permission_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(permission_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, permission_); } if (granted_ != false) { output.writeBool(3, granted_); @@ -297,11 +302,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resource_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, resource_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(permission_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, permission_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(permission_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, permission_); } if (granted_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, granted_); @@ -394,38 +399,38 @@ public static com.google.cloud.audit.AuthorizationInfo parseFrom( public static com.google.cloud.audit.AuthorizationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.AuthorizationInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.AuthorizationInfo parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.AuthorizationInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.AuthorizationInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.AuthorizationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -448,7 +453,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -461,7 +466,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.AuthorizationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.AuthorizationInfo) com.google.cloud.audit.AuthorizationInfoOrBuilder { @@ -471,7 +476,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable @@ -485,13 +490,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getResourceAttributesFieldBuilder(); } } @@ -564,39 +569,6 @@ private void buildPartial0(com.google.cloud.audit.AuthorizationInfo result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.AuthorizationInfo) { @@ -703,9 +675,9 @@ public Builder mergeFrom( * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; @@ -730,9 +702,9 @@ public java.lang.String getResource() { * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; @@ -757,9 +729,9 @@ public com.google.protobuf.ByteString getResourceBytes() { * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; @@ -783,9 +755,9 @@ public Builder setResource(java.lang.String value) { * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; @@ -805,9 +777,9 @@ public Builder clearResource() { * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; @@ -989,7 +961,7 @@ public Builder clearGranted() { } private com.google.rpc.context.AttributeContext.Resource resourceAttributes_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Resource, com.google.rpc.context.AttributeContext.Resource.Builder, com.google.rpc.context.AttributeContext.ResourceOrBuilder> @@ -1204,14 +1176,14 @@ public com.google.rpc.context.AttributeContext.Resource.Builder getResourceAttri * * .google.rpc.context.AttributeContext.Resource resource_attributes = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Resource, com.google.rpc.context.AttributeContext.Resource.Builder, com.google.rpc.context.AttributeContext.ResourceOrBuilder> getResourceAttributesFieldBuilder() { if (resourceAttributesBuilder_ == null) { resourceAttributesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Resource, com.google.rpc.context.AttributeContext.Resource.Builder, com.google.rpc.context.AttributeContext.ResourceOrBuilder>( @@ -1221,17 +1193,6 @@ public com.google.rpc.context.AttributeContext.Resource.Builder getResourceAttri return resourceAttributesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.AuthorizationInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java index bd56447844..0caf7cdf06 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface AuthorizationInfoOrBuilder @@ -31,9 +32,9 @@ public interface AuthorizationInfoOrBuilder * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; @@ -48,9 +49,9 @@ public interface AuthorizationInfoOrBuilder * The resource being accessed, as a REST-style or cloud resource string. * For example: * - * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID + * bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID * or - * projects/PROJECTID/datasets/DATASETID + * projects/PROJECTID/datasets/DATASETID * * * string resource = 1; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfo.java index b131c1bf01..4bb6e71c81 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.audit.OrgPolicyViolationInfo} */ -public final class OrgPolicyViolationInfo extends com.google.protobuf.GeneratedMessageV3 +public final class OrgPolicyViolationInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.OrgPolicyViolationInfo) OrgPolicyViolationInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OrgPolicyViolationInfo.class.getName()); + } // Use OrgPolicyViolationInfo.newBuilder() to construct. - private OrgPolicyViolationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OrgPolicyViolationInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,12 +54,6 @@ private OrgPolicyViolationInfo() { violationInfo_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OrgPolicyViolationInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor; @@ -67,7 +72,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable @@ -412,10 +417,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getPayload()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, resourceType_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetResourceTags(), ResourceTagsDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < violationInfo_.size(); i++) { output.writeMessage(4, violationInfo_.get(i)); @@ -432,8 +437,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPayload()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, resourceType_); } for (java.util.Map.Entry entry : internalGetResourceTags().getMap().entrySet()) { @@ -538,38 +543,38 @@ public static com.google.cloud.audit.OrgPolicyViolationInfo parseFrom( public static com.google.cloud.audit.OrgPolicyViolationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.OrgPolicyViolationInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.OrgPolicyViolationInfo parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.OrgPolicyViolationInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.OrgPolicyViolationInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.OrgPolicyViolationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -592,7 +597,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -605,7 +610,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.OrgPolicyViolationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.OrgPolicyViolationInfo) com.google.cloud.audit.OrgPolicyViolationInfoOrBuilder { @@ -637,7 +642,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable @@ -651,13 +656,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getPayloadFieldBuilder(); getViolationInfoFieldBuilder(); } @@ -745,39 +750,6 @@ private void buildPartial0(com.google.cloud.audit.OrgPolicyViolationInfo result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.OrgPolicyViolationInfo) { @@ -819,7 +791,7 @@ public Builder mergeFrom(com.google.cloud.audit.OrgPolicyViolationInfo other) { violationInfo_ = other.violationInfo_; bitField0_ = (bitField0_ & ~0x00000008); violationInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getViolationInfoFieldBuilder() : null; } else { @@ -910,7 +882,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Struct payload_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1091,14 +1063,14 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() { * * .google.protobuf.Struct payload = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getPayloadFieldBuilder() { if (payloadBuilder_ == null) { payloadBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -1445,7 +1417,7 @@ private void ensureViolationInfoIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.ViolationInfo, com.google.cloud.audit.ViolationInfo.Builder, com.google.cloud.audit.ViolationInfoOrBuilder> @@ -1803,14 +1775,14 @@ public com.google.cloud.audit.ViolationInfo.Builder addViolationInfoBuilder(int return getViolationInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.ViolationInfo, com.google.cloud.audit.ViolationInfo.Builder, com.google.cloud.audit.ViolationInfoOrBuilder> getViolationInfoFieldBuilder() { if (violationInfoBuilder_ == null) { violationInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.audit.ViolationInfo, com.google.cloud.audit.ViolationInfo.Builder, com.google.cloud.audit.ViolationInfoOrBuilder>( @@ -1823,17 +1795,6 @@ public com.google.cloud.audit.ViolationInfo.Builder addViolationInfoBuilder(int return violationInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.OrgPolicyViolationInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfoOrBuilder.java index 5c9ff7784c..5ed2474a69 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/OrgPolicyViolationInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface OrgPolicyViolationInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfo.java index 10230f26ea..963a708477 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,31 +29,35 @@ * * Protobuf type {@code google.cloud.audit.PolicyViolationInfo} */ -public final class PolicyViolationInfo extends com.google.protobuf.GeneratedMessageV3 +public final class PolicyViolationInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.PolicyViolationInfo) PolicyViolationInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PolicyViolationInfo.class.getName()); + } // Use PolicyViolationInfo.newBuilder() to construct. - private PolicyViolationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PolicyViolationInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private PolicyViolationInfo() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PolicyViolationInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_PolicyViolationInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable @@ -220,38 +225,38 @@ public static com.google.cloud.audit.PolicyViolationInfo parseFrom( public static com.google.cloud.audit.PolicyViolationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.PolicyViolationInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.PolicyViolationInfo parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.PolicyViolationInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.PolicyViolationInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.PolicyViolationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -274,7 +279,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -287,7 +292,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.PolicyViolationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.PolicyViolationInfo) com.google.cloud.audit.PolicyViolationInfoOrBuilder { @@ -297,7 +302,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable @@ -311,13 +316,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOrgPolicyViolationInfoFieldBuilder(); } } @@ -378,39 +383,6 @@ private void buildPartial0(com.google.cloud.audit.PolicyViolationInfo result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.PolicyViolationInfo) { @@ -479,7 +451,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.cloud.audit.OrgPolicyViolationInfo orgPolicyViolationInfo_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.OrgPolicyViolationInfo, com.google.cloud.audit.OrgPolicyViolationInfo.Builder, com.google.cloud.audit.OrgPolicyViolationInfoOrBuilder> @@ -651,14 +623,14 @@ public Builder clearOrgPolicyViolationInfo() { * * .google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.OrgPolicyViolationInfo, com.google.cloud.audit.OrgPolicyViolationInfo.Builder, com.google.cloud.audit.OrgPolicyViolationInfoOrBuilder> getOrgPolicyViolationInfoFieldBuilder() { if (orgPolicyViolationInfoBuilder_ == null) { orgPolicyViolationInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.OrgPolicyViolationInfo, com.google.cloud.audit.OrgPolicyViolationInfo.Builder, com.google.cloud.audit.OrgPolicyViolationInfoOrBuilder>( @@ -668,17 +640,6 @@ public Builder clearOrgPolicyViolationInfo() { return orgPolicyViolationInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.PolicyViolationInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfoOrBuilder.java index 6d6d3747c9..649ffd76ec 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/PolicyViolationInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface PolicyViolationInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java index 016646ff6d..938cc27402 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadata.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.audit.RequestMetadata} */ -public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3 +public final class RequestMetadata extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.RequestMetadata) RequestMetadataOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + RequestMetadata.class.getName()); + } // Use RequestMetadata.newBuilder() to construct. - private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RequestMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +55,13 @@ private RequestMetadata() { callerNetwork_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RequestMetadata(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_RequestMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable @@ -150,12 +155,12 @@ public com.google.protobuf.ByteString getCallerIpBytes() { * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -183,12 +188,12 @@ public java.lang.String getCallerSuppliedUserAgent() { * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -222,7 +227,7 @@ public com.google.protobuf.ByteString getCallerSuppliedUserAgentBytes() { * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; @@ -251,7 +256,7 @@ public java.lang.String getCallerNetwork() { * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; @@ -418,14 +423,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callerIp_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, callerIp_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(callerIp_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, callerIp_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callerSuppliedUserAgent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, callerSuppliedUserAgent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(callerSuppliedUserAgent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, callerSuppliedUserAgent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callerNetwork_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, callerNetwork_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(callerNetwork_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, callerNetwork_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(7, getRequestAttributes()); @@ -442,14 +447,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callerIp_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, callerIp_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(callerIp_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, callerIp_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callerSuppliedUserAgent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, callerSuppliedUserAgent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(callerSuppliedUserAgent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, callerSuppliedUserAgent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callerNetwork_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, callerNetwork_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(callerNetwork_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, callerNetwork_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRequestAttributes()); @@ -551,38 +556,38 @@ public static com.google.cloud.audit.RequestMetadata parseFrom( public static com.google.cloud.audit.RequestMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.RequestMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.RequestMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.RequestMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.RequestMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.RequestMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -605,7 +610,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -618,7 +623,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.RequestMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.RequestMetadata) com.google.cloud.audit.RequestMetadataOrBuilder { @@ -628,7 +633,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable @@ -642,13 +647,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRequestAttributesFieldBuilder(); getDestinationAttributesFieldBuilder(); } @@ -734,39 +739,6 @@ private void buildPartial0(com.google.cloud.audit.RequestMetadata result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.RequestMetadata) { @@ -1043,12 +1015,12 @@ public Builder setCallerIpBytes(com.google.protobuf.ByteString value) { * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -1075,12 +1047,12 @@ public java.lang.String getCallerSuppliedUserAgent() { * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -1107,12 +1079,12 @@ public com.google.protobuf.ByteString getCallerSuppliedUserAgentBytes() { * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -1138,12 +1110,12 @@ public Builder setCallerSuppliedUserAgent(java.lang.String value) { * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -1165,12 +1137,12 @@ public Builder clearCallerSuppliedUserAgent() { * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -1200,7 +1172,7 @@ public Builder setCallerSuppliedUserAgentBytes(com.google.protobuf.ByteString va * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; @@ -1228,7 +1200,7 @@ public java.lang.String getCallerNetwork() { * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; @@ -1256,7 +1228,7 @@ public com.google.protobuf.ByteString getCallerNetworkBytes() { * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; @@ -1283,7 +1255,7 @@ public Builder setCallerNetwork(java.lang.String value) { * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; @@ -1306,7 +1278,7 @@ public Builder clearCallerNetwork() { * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; @@ -1326,7 +1298,7 @@ public Builder setCallerNetworkBytes(com.google.protobuf.ByteString value) { } private com.google.rpc.context.AttributeContext.Request requestAttributes_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Request, com.google.rpc.context.AttributeContext.Request.Builder, com.google.rpc.context.AttributeContext.RequestOrBuilder> @@ -1559,14 +1531,14 @@ public com.google.rpc.context.AttributeContext.Request.Builder getRequestAttribu * * .google.rpc.context.AttributeContext.Request request_attributes = 7; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Request, com.google.rpc.context.AttributeContext.Request.Builder, com.google.rpc.context.AttributeContext.RequestOrBuilder> getRequestAttributesFieldBuilder() { if (requestAttributesBuilder_ == null) { requestAttributesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Request, com.google.rpc.context.AttributeContext.Request.Builder, com.google.rpc.context.AttributeContext.RequestOrBuilder>( @@ -1577,7 +1549,7 @@ public com.google.rpc.context.AttributeContext.Request.Builder getRequestAttribu } private com.google.rpc.context.AttributeContext.Peer destinationAttributes_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder> @@ -1783,14 +1755,14 @@ public com.google.rpc.context.AttributeContext.Peer.Builder getDestinationAttrib * * .google.rpc.context.AttributeContext.Peer destination_attributes = 8; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder> getDestinationAttributesFieldBuilder() { if (destinationAttributesBuilder_ == null) { destinationAttributesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder>( @@ -1800,17 +1772,6 @@ public com.google.rpc.context.AttributeContext.Peer.Builder getDestinationAttrib return destinationAttributesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.RequestMetadata) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java index 3fc7542eeb..fbf2b56361 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/RequestMetadataOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface RequestMetadataOrBuilder @@ -78,12 +79,12 @@ public interface RequestMetadataOrBuilder * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -100,12 +101,12 @@ public interface RequestMetadataOrBuilder * For example: * * + `google-api-python-client/1.4.0`: - * The request was made by the Google API client for Python. + * The request was made by the Google API client for Python. * + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: - * The request was made by the Google Cloud SDK CLI (gcloud). + * The request was made by the Google Cloud SDK CLI (gcloud). * + `AppEngine-Google; (+http://code.google.com/appengine; appid: * s~my-project`: - * The request was made from the `my-project` App Engine app. + * The request was made from the `my-project` App Engine app. * * * string caller_supplied_user_agent = 2; @@ -124,7 +125,7 @@ public interface RequestMetadataOrBuilder * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; @@ -142,7 +143,7 @@ public interface RequestMetadataOrBuilder * See https://cloud.google.com/compute/docs/vpc/ for more information. * This is a scheme-less URI full resource name. For example: * - * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" + * "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" * * * string caller_network = 3; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java index f0b3bd4ba7..ae31b71b7a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocation.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.audit.ResourceLocation} */ -public final class ResourceLocation extends com.google.protobuf.GeneratedMessageV3 +public final class ResourceLocation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.ResourceLocation) ResourceLocationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ResourceLocation.class.getName()); + } // Use ResourceLocation.newBuilder() to construct. - private ResourceLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResourceLocation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +54,13 @@ private ResourceLocation() { originalLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ResourceLocation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ResourceLocation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable @@ -78,9 +83,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -99,9 +104,9 @@ public com.google.protobuf.ProtocolStringList getCurrentLocationsList() { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -120,9 +125,9 @@ public int getCurrentLocationsCount() { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -142,9 +147,9 @@ public java.lang.String getCurrentLocations(int index) { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -170,9 +175,9 @@ public com.google.protobuf.ByteString getCurrentLocationsBytes(int index) { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -191,9 +196,9 @@ public com.google.protobuf.ProtocolStringList getOriginalLocationsList() { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -212,9 +217,9 @@ public int getOriginalLocationsCount() { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -234,9 +239,9 @@ public java.lang.String getOriginalLocations(int index) { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -263,10 +268,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < currentLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, currentLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, currentLocations_.getRaw(i)); } for (int i = 0; i < originalLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, originalLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, originalLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -371,38 +376,38 @@ public static com.google.cloud.audit.ResourceLocation parseFrom( public static com.google.cloud.audit.ResourceLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ResourceLocation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ResourceLocation parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.ResourceLocation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ResourceLocation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ResourceLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -425,7 +430,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -438,7 +443,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.ResourceLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.ResourceLocation) com.google.cloud.audit.ResourceLocationOrBuilder { @@ -448,7 +453,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable @@ -460,7 +465,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.cloud.audit.ResourceLocation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -516,39 +521,6 @@ private void buildPartial0(com.google.cloud.audit.ResourceLocation result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.ResourceLocation) { @@ -658,9 +630,9 @@ private void ensureCurrentLocationsIsMutable() { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -680,9 +652,9 @@ public com.google.protobuf.ProtocolStringList getCurrentLocationsList() { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -701,9 +673,9 @@ public int getCurrentLocationsCount() { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -723,9 +695,9 @@ public java.lang.String getCurrentLocations(int index) { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -745,9 +717,9 @@ public com.google.protobuf.ByteString getCurrentLocationsBytes(int index) { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -775,9 +747,9 @@ public Builder setCurrentLocations(int index, java.lang.String value) { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -804,9 +776,9 @@ public Builder addCurrentLocations(java.lang.String value) { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -830,9 +802,9 @@ public Builder addAllCurrentLocations(java.lang.Iterable value * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -855,9 +827,9 @@ public Builder clearCurrentLocations() { * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -895,9 +867,9 @@ private void ensureOriginalLocationsIsMutable() { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -917,9 +889,9 @@ public com.google.protobuf.ProtocolStringList getOriginalLocationsList() { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -938,9 +910,9 @@ public int getOriginalLocationsCount() { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -960,9 +932,9 @@ public java.lang.String getOriginalLocations(int index) { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -982,9 +954,9 @@ public com.google.protobuf.ByteString getOriginalLocationsBytes(int index) { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -1012,9 +984,9 @@ public Builder setOriginalLocations(int index, java.lang.String value) { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -1041,9 +1013,9 @@ public Builder addOriginalLocations(java.lang.String value) { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -1067,9 +1039,9 @@ public Builder addAllOriginalLocations(java.lang.Iterable valu * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -1092,9 +1064,9 @@ public Builder clearOriginalLocations() { * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -1114,17 +1086,6 @@ public Builder addOriginalLocationsBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.ResourceLocation) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java index b608ddaf83..d020ddc725 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ResourceLocationOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface ResourceLocationOrBuilder @@ -33,9 +34,9 @@ public interface ResourceLocationOrBuilder * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -52,9 +53,9 @@ public interface ResourceLocationOrBuilder * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -71,9 +72,9 @@ public interface ResourceLocationOrBuilder * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -91,9 +92,9 @@ public interface ResourceLocationOrBuilder * the 'current_locations' field and not the 'original_locations' field. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string current_locations = 1; @@ -112,9 +113,9 @@ public interface ResourceLocationOrBuilder * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -131,9 +132,9 @@ public interface ResourceLocationOrBuilder * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -150,9 +151,9 @@ public interface ResourceLocationOrBuilder * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; @@ -170,9 +171,9 @@ public interface ResourceLocationOrBuilder * 'original_locations' as well as the 'current_locations' fields. * For example: * - * "europe-west1-a" - * "us-east1" - * "nam3" + * "europe-west1-a" + * "us-east1" + * "nam3" * * * repeated string original_locations = 2; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java index 72f161f645..d479e36891 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.audit.ServiceAccountDelegationInfo} */ -public final class ServiceAccountDelegationInfo extends com.google.protobuf.GeneratedMessageV3 +public final class ServiceAccountDelegationInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.ServiceAccountDelegationInfo) ServiceAccountDelegationInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ServiceAccountDelegationInfo.class.getName()); + } // Use ServiceAccountDelegationInfo.newBuilder() to construct. - private ServiceAccountDelegationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ServiceAccountDelegationInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,19 +53,13 @@ private ServiceAccountDelegationInfo() { principalSubject_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ServiceAccountDelegationInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable @@ -137,13 +142,23 @@ public interface FirstPartyPrincipalOrBuilder * * Protobuf type {@code google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal} */ - public static final class FirstPartyPrincipal extends com.google.protobuf.GeneratedMessageV3 + public static final class FirstPartyPrincipal extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal) FirstPartyPrincipalOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + FirstPartyPrincipal.class.getName()); + } // Use FirstPartyPrincipal.newBuilder() to construct. - private FirstPartyPrincipal(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private FirstPartyPrincipal(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -151,19 +166,13 @@ private FirstPartyPrincipal() { principalEmail_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FirstPartyPrincipal(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable @@ -289,8 +298,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalEmail_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, principalEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principalEmail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, principalEmail_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getServiceMetadata()); @@ -304,8 +313,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalEmail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, principalEmail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principalEmail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, principalEmail_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getServiceMetadata()); @@ -391,39 +400,39 @@ public static com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrin public static com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -447,8 +456,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -461,8 +469,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal) com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder { @@ -472,7 +479,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable @@ -488,13 +495,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getServiceMetadataFieldBuilder(); } } @@ -562,41 +569,6 @@ private void buildPartial0( result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -787,7 +759,7 @@ public Builder setPrincipalEmailBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Struct serviceMetadata_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -954,14 +926,14 @@ public com.google.protobuf.StructOrBuilder getServiceMetadataOrBuilder() { * * .google.protobuf.Struct service_metadata = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getServiceMetadataFieldBuilder() { if (serviceMetadataBuilder_ == null) { serviceMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -971,18 +943,6 @@ public com.google.protobuf.StructOrBuilder getServiceMetadataOrBuilder() { return serviceMetadataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal) } @@ -1088,31 +1048,35 @@ public interface ThirdPartyPrincipalOrBuilder * * Protobuf type {@code google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal} */ - public static final class ThirdPartyPrincipal extends com.google.protobuf.GeneratedMessageV3 + public static final class ThirdPartyPrincipal extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal) ThirdPartyPrincipalOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ThirdPartyPrincipal.class.getName()); + } // Use ThirdPartyPrincipal.newBuilder() to construct. - private ThirdPartyPrincipal(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ThirdPartyPrincipal(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ThirdPartyPrincipal() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ThirdPartyPrincipal(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable @@ -1280,39 +1244,39 @@ public static com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrin public static com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1336,8 +1300,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1350,8 +1313,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal) com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder { @@ -1361,7 +1323,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable @@ -1377,13 +1339,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getThirdPartyClaimsFieldBuilder(); } } @@ -1449,41 +1411,6 @@ private void buildPartial0( result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other @@ -1557,7 +1484,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Struct thirdPartyClaims_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1724,14 +1651,14 @@ public com.google.protobuf.StructOrBuilder getThirdPartyClaimsOrBuilder() { * * .google.protobuf.Struct third_party_claims = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getThirdPartyClaimsFieldBuilder() { if (thirdPartyClaimsBuilder_ == null) { thirdPartyClaimsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -1741,18 +1668,6 @@ public com.google.protobuf.StructOrBuilder getThirdPartyClaimsOrBuilder() { return thirdPartyClaimsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal) } @@ -2063,8 +1978,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage( 2, (com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal) authority_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalSubject_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, principalSubject_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principalSubject_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, principalSubject_); } getUnknownFields().writeTo(output); } @@ -2087,8 +2002,8 @@ public int getSerializedSize() { 2, (com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal) authority_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principalSubject_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, principalSubject_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principalSubject_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, principalSubject_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2185,38 +2100,38 @@ public static com.google.cloud.audit.ServiceAccountDelegationInfo parseFrom( public static com.google.cloud.audit.ServiceAccountDelegationInfo parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ServiceAccountDelegationInfo parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ServiceAccountDelegationInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ServiceAccountDelegationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2239,7 +2154,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2252,7 +2167,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.ServiceAccountDelegationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.ServiceAccountDelegationInfo) com.google.cloud.audit.ServiceAccountDelegationInfoOrBuilder { @@ -2262,7 +2177,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable @@ -2274,7 +2189,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.cloud.audit.ServiceAccountDelegationInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2344,39 +2259,6 @@ private void buildPartialOneofs(com.google.cloud.audit.ServiceAccountDelegationI } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.ServiceAccountDelegationInfo) { @@ -2621,7 +2503,7 @@ public Builder setPrincipalSubjectBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal, com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder, com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder> @@ -2838,7 +2720,7 @@ public Builder clearFirstPartyPrincipal() { * .google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal, com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder, com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder> @@ -2850,7 +2732,7 @@ public Builder clearFirstPartyPrincipal() { .getDefaultInstance(); } firstPartyPrincipalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal, com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder, com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder>( @@ -2865,7 +2747,7 @@ public Builder clearFirstPartyPrincipal() { return firstPartyPrincipalBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal, com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder, com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder> @@ -3082,7 +2964,7 @@ public Builder clearThirdPartyPrincipal() { * .google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal, com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder, com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder> @@ -3094,7 +2976,7 @@ public Builder clearThirdPartyPrincipal() { .getDefaultInstance(); } thirdPartyPrincipalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal, com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal.Builder, com.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder>( @@ -3109,17 +2991,6 @@ public Builder clearThirdPartyPrincipal() { return thirdPartyPrincipalBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.ServiceAccountDelegationInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java index adb6e916e3..f0b8b7a8b9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ServiceAccountDelegationInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface ServiceAccountDelegationInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfo.java index 0b3a9330fc..35c171c5cb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.audit.ViolationInfo} */ -public final class ViolationInfo extends com.google.protobuf.GeneratedMessageV3 +public final class ViolationInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.audit.ViolationInfo) ViolationInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ViolationInfo.class.getName()); + } // Use ViolationInfo.newBuilder() to construct. - private ViolationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ViolationInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +56,13 @@ private ViolationInfo() { policyType_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ViolationInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ViolationInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ViolationInfo_fieldAccessorTable @@ -119,6 +124,15 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PolicyType.class.getName()); + } /** * * @@ -455,14 +469,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(constraint_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, constraint_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(constraint_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, constraint_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, errorMessage_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkedValue_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, checkedValue_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkedValue_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, checkedValue_); } if (policyType_ != com.google.cloud.audit.ViolationInfo.PolicyType.POLICY_TYPE_UNSPECIFIED.getNumber()) { @@ -477,14 +491,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(constraint_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, constraint_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(constraint_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, constraint_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, errorMessage_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkedValue_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, checkedValue_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(checkedValue_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, checkedValue_); } if (policyType_ != com.google.cloud.audit.ViolationInfo.PolicyType.POLICY_TYPE_UNSPECIFIED.getNumber()) { @@ -569,38 +583,38 @@ public static com.google.cloud.audit.ViolationInfo parseFrom( public static com.google.cloud.audit.ViolationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ViolationInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ViolationInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.audit.ViolationInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.audit.ViolationInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.audit.ViolationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -623,7 +637,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -636,7 +650,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.audit.ViolationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.ViolationInfo) com.google.cloud.audit.ViolationInfoOrBuilder { @@ -646,7 +660,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_ViolationInfo_fieldAccessorTable @@ -658,7 +672,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.cloud.audit.ViolationInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -719,39 +733,6 @@ private void buildPartial0(com.google.cloud.audit.ViolationInfo result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.audit.ViolationInfo) { @@ -1279,17 +1260,6 @@ public Builder clearPolicyType() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.audit.ViolationInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfoOrBuilder.java index 633712a91b..36286556c2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/ViolationInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/audit/audit_log.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.audit; public interface ViolationInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequest.java index a7dfe4486d..b9722d1bf8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.location.GetLocationRequest} */ -public final class GetLocationRequest extends com.google.protobuf.GeneratedMessageV3 +public final class GetLocationRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.location.GetLocationRequest) GetLocationRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + GetLocationRequest.class.getName()); + } // Use GetLocationRequest.newBuilder() to construct. - private GetLocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetLocationRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,19 +53,13 @@ private GetLocationRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetLocationRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_GetLocationRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_GetLocationRequest_fieldAccessorTable @@ -128,8 +133,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -140,8 +145,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -215,38 +220,38 @@ public static com.google.cloud.location.GetLocationRequest parseFrom( public static com.google.cloud.location.GetLocationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.location.GetLocationRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.location.GetLocationRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.location.GetLocationRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.location.GetLocationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.location.GetLocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -269,7 +274,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -282,7 +287,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.location.GetLocationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.location.GetLocationRequest) com.google.cloud.location.GetLocationRequestOrBuilder { @@ -292,7 +297,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_GetLocationRequest_fieldAccessorTable @@ -304,7 +309,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.cloud.location.GetLocationRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -354,39 +359,6 @@ private void buildPartial0(com.google.cloud.location.GetLocationRequest result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.location.GetLocationRequest) { @@ -561,17 +533,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.location.GetLocationRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequestOrBuilder.java index a277b1d830..f4db961f5d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/GetLocationRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; public interface GetLocationRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequest.java index 7c8209b8be..f89b993ea4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.location.ListLocationsRequest} */ -public final class ListLocationsRequest extends com.google.protobuf.GeneratedMessageV3 +public final class ListLocationsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.location.ListLocationsRequest) ListLocationsRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ListLocationsRequest.class.getName()); + } // Use ListLocationsRequest.newBuilder() to construct. - private ListLocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLocationsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +55,13 @@ private ListLocationsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLocationsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_ListLocationsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_ListLocationsRequest_fieldAccessorTable @@ -250,17 +255,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, filter_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, pageToken_); } getUnknownFields().writeTo(output); } @@ -271,17 +276,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filter_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, pageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -364,38 +369,38 @@ public static com.google.cloud.location.ListLocationsRequest parseFrom( public static com.google.cloud.location.ListLocationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.location.ListLocationsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.location.ListLocationsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.location.ListLocationsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.location.ListLocationsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.location.ListLocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -418,7 +423,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -431,7 +436,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.location.ListLocationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.location.ListLocationsRequest) com.google.cloud.location.ListLocationsRequestOrBuilder { @@ -441,7 +446,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_ListLocationsRequest_fieldAccessorTable @@ -453,7 +458,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.cloud.location.ListLocationsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -515,39 +520,6 @@ private void buildPartial0(com.google.cloud.location.ListLocationsRequest result } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.location.ListLocationsRequest) { @@ -1018,17 +990,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.location.ListLocationsRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequestOrBuilder.java index 8df5ddcebc..8a1ac96bdb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; public interface ListLocationsRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponse.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponse.java index db922059e3..69c89cd9f8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponse.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.location.ListLocationsResponse} */ -public final class ListLocationsResponse extends com.google.protobuf.GeneratedMessageV3 +public final class ListLocationsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.location.ListLocationsResponse) ListLocationsResponseOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ListLocationsResponse.class.getName()); + } // Use ListLocationsResponse.newBuilder() to construct. - private ListLocationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLocationsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +54,13 @@ private ListLocationsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLocationsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_ListLocationsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_ListLocationsResponse_fieldAccessorTable @@ -203,8 +208,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -218,8 +223,8 @@ public int getSerializedSize() { for (int i = 0; i < locations_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -298,38 +303,38 @@ public static com.google.cloud.location.ListLocationsResponse parseFrom( public static com.google.cloud.location.ListLocationsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.location.ListLocationsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.location.ListLocationsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.location.ListLocationsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.location.ListLocationsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.location.ListLocationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -352,7 +357,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -365,7 +370,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.location.ListLocationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.location.ListLocationsResponse) com.google.cloud.location.ListLocationsResponseOrBuilder { @@ -375,7 +380,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_ListLocationsResponse_fieldAccessorTable @@ -387,7 +392,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.cloud.location.ListLocationsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -458,39 +463,6 @@ private void buildPartial0(com.google.cloud.location.ListLocationsResponse resul } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.location.ListLocationsResponse) { @@ -523,7 +495,7 @@ public Builder mergeFrom(com.google.cloud.location.ListLocationsResponse other) locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLocationsFieldBuilder() : null; } else { @@ -610,7 +582,7 @@ private void ensureLocationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.location.Location, com.google.cloud.location.Location.Builder, com.google.cloud.location.LocationOrBuilder> @@ -931,14 +903,14 @@ public java.util.List getLocationsBu return getLocationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.location.Location, com.google.cloud.location.Location.Builder, com.google.cloud.location.LocationOrBuilder> getLocationsFieldBuilder() { if (locationsBuilder_ == null) { locationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.cloud.location.Location, com.google.cloud.location.Location.Builder, com.google.cloud.location.LocationOrBuilder>( @@ -1054,17 +1026,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.location.ListLocationsResponse) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponseOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponseOrBuilder.java index 3c5d6e6125..9eeedebe33 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponseOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/ListLocationsResponseOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; public interface ListLocationsResponseOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/Location.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/Location.java index 7e7ba05cb4..f8dba00202 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/Location.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/Location.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.cloud.location.Location} */ -public final class Location extends com.google.protobuf.GeneratedMessageV3 +public final class Location extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.cloud.location.Location) LocationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Location.class.getName()); + } // Use Location.newBuilder() to construct. - private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Location(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,12 +55,6 @@ private Location() { displayName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Location(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_Location_descriptor; @@ -68,7 +73,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_Location_fieldAccessorTable @@ -267,7 +272,7 @@ public int getLabelsCount() { *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; @@ -291,7 +296,7 @@ public java.util.Map getLabels() { *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; @@ -306,7 +311,7 @@ public java.util.Map getLabelsMap() { *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; @@ -328,7 +333,7 @@ public java.util.Map getLabelsMap() { *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; @@ -408,19 +413,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getMetadata()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, locationId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(locationId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, locationId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, displayName_); } getUnknownFields().writeTo(output); } @@ -431,8 +436,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { @@ -447,11 +452,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, locationId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(locationId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, locationId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, displayName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -542,38 +547,38 @@ public static com.google.cloud.location.Location parseFrom( public static com.google.cloud.location.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.location.Location parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.location.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.location.Location parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.cloud.location.Location parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.cloud.location.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -596,7 +601,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -609,7 +614,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.cloud.location.Location} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.location.Location) com.google.cloud.location.LocationOrBuilder { @@ -641,7 +646,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.location.LocationsProto .internal_static_google_cloud_location_Location_fieldAccessorTable @@ -655,13 +660,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getMetadataFieldBuilder(); } } @@ -735,39 +740,6 @@ private void buildPartial0(com.google.cloud.location.Location result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.location.Location) { @@ -1240,7 +1212,7 @@ public int getLabelsCount() { *
      * Cross-service attributes for the location. For example
      *
-     *     {"cloud.googleapis.com/region": "us-east1"}
+     * {"cloud.googleapis.com/region": "us-east1"}
      * 
* * map<string, string> labels = 2; @@ -1264,7 +1236,7 @@ public java.util.Map getLabels() { *
      * Cross-service attributes for the location. For example
      *
-     *     {"cloud.googleapis.com/region": "us-east1"}
+     * {"cloud.googleapis.com/region": "us-east1"}
      * 
* * map<string, string> labels = 2; @@ -1279,7 +1251,7 @@ public java.util.Map getLabelsMap() { *
      * Cross-service attributes for the location. For example
      *
-     *     {"cloud.googleapis.com/region": "us-east1"}
+     * {"cloud.googleapis.com/region": "us-east1"}
      * 
* * map<string, string> labels = 2; @@ -1301,7 +1273,7 @@ public java.util.Map getLabelsMap() { *
      * Cross-service attributes for the location. For example
      *
-     *     {"cloud.googleapis.com/region": "us-east1"}
+     * {"cloud.googleapis.com/region": "us-east1"}
      * 
* * map<string, string> labels = 2; @@ -1329,7 +1301,7 @@ public Builder clearLabels() { *
      * Cross-service attributes for the location. For example
      *
-     *     {"cloud.googleapis.com/region": "us-east1"}
+     * {"cloud.googleapis.com/region": "us-east1"}
      * 
* * map<string, string> labels = 2; @@ -1353,7 +1325,7 @@ public java.util.Map getMutableLabels() { *
      * Cross-service attributes for the location. For example
      *
-     *     {"cloud.googleapis.com/region": "us-east1"}
+     * {"cloud.googleapis.com/region": "us-east1"}
      * 
* * map<string, string> labels = 2; @@ -1375,7 +1347,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { *
      * Cross-service attributes for the location. For example
      *
-     *     {"cloud.googleapis.com/region": "us-east1"}
+     * {"cloud.googleapis.com/region": "us-east1"}
      * 
* * map<string, string> labels = 2; @@ -1387,7 +1359,7 @@ public Builder putAllLabels(java.util.Map va } private com.google.protobuf.Any metadata_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -1559,14 +1531,14 @@ public com.google.protobuf.AnyOrBuilder getMetadataOrBuilder() { * * .google.protobuf.Any metadata = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(getMetadata(), getParentForChildren(), isClean()); @@ -1575,17 +1547,6 @@ public com.google.protobuf.AnyOrBuilder getMetadataOrBuilder() { return metadataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.cloud.location.Location) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationOrBuilder.java index e11a365020..a25ec0db24 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; public interface LocationOrBuilder @@ -109,7 +110,7 @@ public interface LocationOrBuilder *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; @@ -121,7 +122,7 @@ public interface LocationOrBuilder *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; @@ -136,7 +137,7 @@ public interface LocationOrBuilder *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; @@ -148,7 +149,7 @@ public interface LocationOrBuilder *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; @@ -164,7 +165,7 @@ java.lang.String getLabelsOrDefault( *
    * Cross-service attributes for the location. For example
    *
-   *     {"cloud.googleapis.com/region": "us-east1"}
+   * {"cloud.googleapis.com/region": "us-east1"}
    * 
* * map<string, string> labels = 2; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationsProto.java index 04927c6413..76adea28ad 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationsProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/location/LocationsProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/cloud/location/locations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.cloud.location; public final class LocationsProto { private LocationsProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LocationsProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,23 +41,23 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_location_ListLocationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_location_ListLocationsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_location_ListLocationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_location_ListLocationsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_location_GetLocationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_location_GetLocationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_location_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_location_Location_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_location_Location_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_location_Location_LabelsEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -98,7 +109,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_location_ListLocationsRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_location_ListLocationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_location_ListLocationsRequest_descriptor, new java.lang.String[] { "Name", "Filter", "PageSize", "PageToken", @@ -106,7 +117,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_location_ListLocationsResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_cloud_location_ListLocationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_location_ListLocationsResponse_descriptor, new java.lang.String[] { "Locations", "NextPageToken", @@ -114,7 +125,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_location_GetLocationRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_cloud_location_GetLocationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_location_GetLocationRequest_descriptor, new java.lang.String[] { "Name", @@ -122,7 +133,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_location_Location_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_cloud_location_Location_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_location_Location_descriptor, new java.lang.String[] { "Name", "LocationId", "DisplayName", "Labels", "Metadata", @@ -130,11 +141,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_location_Location_LabelsEntry_descriptor = internal_static_google_cloud_location_Location_descriptor.getNestedTypes().get(0); internal_static_google_cloud_location_Location_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_location_Location_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); + descriptor.resolveAllFeaturesImmutable(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -142,9 +157,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ClientProto.oauthScopes); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java index 11d4f2fca2..7a69a29119 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/Viewport.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/geo/type/viewport.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.geo.type; /** @@ -29,18 +30,18 @@ * inclusive, and the longitude bounds must range between -180 to 180 degrees * inclusive. Various cases include: * - * - If `low` = `high`, the viewport consists of that single point. + * - If `low` = `high`, the viewport consists of that single point. * - * - If `low.longitude` > `high.longitude`, the longitude range is inverted - * (the viewport crosses the 180 degree longitude line). + * - If `low.longitude` > `high.longitude`, the longitude range is inverted + * (the viewport crosses the 180 degree longitude line). * - * - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, - * the viewport includes all longitudes. + * - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, + * the viewport includes all longitudes. * - * - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, - * the longitude range is empty. + * - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, + * the longitude range is empty. * - * - If `low.latitude` > `high.latitude`, the latitude range is empty. + * - If `low.latitude` > `high.latitude`, the latitude range is empty. * * Both `low` and `high` must be populated, and the represented box cannot be * empty (as specified by the definitions above). An empty viewport will result @@ -49,43 +50,47 @@ * For example, this viewport fully encloses New York City: * * { - * "low": { - * "latitude": 40.477398, - * "longitude": -74.259087 - * }, - * "high": { - * "latitude": 40.91618, - * "longitude": -73.70018 - * } + * "low": { + * "latitude": 40.477398, + * "longitude": -74.259087 + * }, + * "high": { + * "latitude": 40.91618, + * "longitude": -73.70018 + * } * } * * * Protobuf type {@code google.geo.type.Viewport} */ -public final class Viewport extends com.google.protobuf.GeneratedMessageV3 +public final class Viewport extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.geo.type.Viewport) ViewportOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Viewport.class.getName()); + } // Use Viewport.newBuilder() to construct. - private Viewport(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Viewport(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Viewport() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Viewport(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.geo.type.ViewportProto.internal_static_google_geo_type_Viewport_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.geo.type.ViewportProto .internal_static_google_geo_type_Viewport_fieldAccessorTable @@ -304,38 +309,38 @@ public static com.google.geo.type.Viewport parseFrom( public static com.google.geo.type.Viewport parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.geo.type.Viewport parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.geo.type.Viewport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.geo.type.Viewport parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.geo.type.Viewport parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.geo.type.Viewport parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -358,7 +363,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -372,18 +377,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * inclusive, and the longitude bounds must range between -180 to 180 degrees * inclusive. Various cases include: * - * - If `low` = `high`, the viewport consists of that single point. + * - If `low` = `high`, the viewport consists of that single point. * - * - If `low.longitude` > `high.longitude`, the longitude range is inverted - * (the viewport crosses the 180 degree longitude line). + * - If `low.longitude` > `high.longitude`, the longitude range is inverted + * (the viewport crosses the 180 degree longitude line). * - * - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, - * the viewport includes all longitudes. + * - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, + * the viewport includes all longitudes. * - * - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, - * the longitude range is empty. + * - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, + * the longitude range is empty. * - * - If `low.latitude` > `high.latitude`, the latitude range is empty. + * - If `low.latitude` > `high.latitude`, the latitude range is empty. * * Both `low` and `high` must be populated, and the represented box cannot be * empty (as specified by the definitions above). An empty viewport will result @@ -392,20 +397,20 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * For example, this viewport fully encloses New York City: * * { - * "low": { - * "latitude": 40.477398, - * "longitude": -74.259087 - * }, - * "high": { - * "latitude": 40.91618, - * "longitude": -73.70018 - * } + * "low": { + * "latitude": 40.477398, + * "longitude": -74.259087 + * }, + * "high": { + * "latitude": 40.91618, + * "longitude": -73.70018 + * } * } * * * Protobuf type {@code google.geo.type.Viewport} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.geo.type.Viewport) com.google.geo.type.ViewportOrBuilder { @@ -414,7 +419,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.geo.type.ViewportProto .internal_static_google_geo_type_Viewport_fieldAccessorTable @@ -427,13 +432,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLowFieldBuilder(); getHighFieldBuilder(); } @@ -499,39 +504,6 @@ private void buildPartial0(com.google.geo.type.Viewport result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.geo.type.Viewport) { @@ -608,7 +580,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.type.LatLng low_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> lowBuilder_; /** @@ -769,12 +741,12 @@ public com.google.type.LatLngOrBuilder getLowOrBuilder() { * * .google.type.LatLng low = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLowFieldBuilder() { if (lowBuilder_ == null) { lowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(getLow(), getParentForChildren(), isClean()); @@ -784,7 +756,7 @@ public com.google.type.LatLngOrBuilder getLowOrBuilder() { } private com.google.type.LatLng high_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> highBuilder_; /** @@ -945,12 +917,12 @@ public com.google.type.LatLngOrBuilder getHighOrBuilder() { * * .google.type.LatLng high = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getHighFieldBuilder() { if (highBuilder_ == null) { highBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(getHigh(), getParentForChildren(), isClean()); @@ -959,17 +931,6 @@ public com.google.type.LatLngOrBuilder getHighOrBuilder() { return highBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.geo.type.Viewport) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportOrBuilder.java index 4936e61646..3f31404d79 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/geo/type/viewport.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.geo.type; public interface ViewportOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportProto.java index ffbf18146d..7a36f03734 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/geo/type/ViewportProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/geo/type/viewport.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.geo.type; public final class ViewportProto { private ViewportProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ViewportProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_geo_type_Viewport_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_geo_type_Viewport_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -57,11 +68,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_geo_type_Viewport_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_geo_type_Viewport_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_geo_type_Viewport_descriptor, new java.lang.String[] { "Low", "High", }); + descriptor.resolveAllFeaturesImmutable(); com.google.type.LatLngProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java index db5ae5592a..67aa04193a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/type/http_request.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.logging.type; /** @@ -30,13 +31,23 @@ * * Protobuf type {@code google.logging.type.HttpRequest} */ -public final class HttpRequest extends com.google.protobuf.GeneratedMessageV3 +public final class HttpRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.type.HttpRequest) HttpRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + HttpRequest.class.getName()); + } // Use HttpRequest.newBuilder() to construct. - private HttpRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private HttpRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -50,19 +61,13 @@ private HttpRequest() { protocol_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new HttpRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.type.HttpRequestProto .internal_static_google_logging_type_HttpRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.type.HttpRequestProto .internal_static_google_logging_type_HttpRequest_fieldAccessorTable @@ -645,11 +650,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestMethod_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestMethod_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestMethod_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, requestMethod_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUrl_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestUrl_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, requestUrl_); } if (requestSize_ != 0L) { output.writeInt64(3, requestSize_); @@ -660,14 +665,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (responseSize_ != 0L) { output.writeInt64(5, responseSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, userAgent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(userAgent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, userAgent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteIp_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, remoteIp_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(remoteIp_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, remoteIp_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referer_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, referer_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(referer_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, referer_); } if (cacheHit_ != false) { output.writeBool(9, cacheHit_); @@ -681,14 +686,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (cacheFillBytes_ != 0L) { output.writeInt64(12, cacheFillBytes_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverIp_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, serverIp_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serverIp_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 13, serverIp_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(14, getLatency()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, protocol_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protocol_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 15, protocol_); } getUnknownFields().writeTo(output); } @@ -699,11 +704,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestMethod_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestMethod_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestMethod_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, requestMethod_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUrl_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestUrl_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestUrl_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, requestUrl_); } if (requestSize_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, requestSize_); @@ -714,14 +719,14 @@ public int getSerializedSize() { if (responseSize_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, responseSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, userAgent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(userAgent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, userAgent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteIp_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, remoteIp_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(remoteIp_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, remoteIp_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referer_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, referer_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(referer_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, referer_); } if (cacheHit_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, cacheHit_); @@ -737,14 +742,14 @@ public int getSerializedSize() { if (cacheFillBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, cacheFillBytes_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverIp_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, serverIp_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serverIp_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(13, serverIp_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getLatency()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, protocol_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protocol_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(15, protocol_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -865,38 +870,38 @@ public static com.google.logging.type.HttpRequest parseFrom( public static com.google.logging.type.HttpRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.type.HttpRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.type.HttpRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.type.HttpRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.type.HttpRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.type.HttpRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -919,7 +924,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -934,7 +939,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.type.HttpRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.type.HttpRequest) com.google.logging.type.HttpRequestOrBuilder { @@ -944,7 +949,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.type.HttpRequestProto .internal_static_google_logging_type_HttpRequest_fieldAccessorTable @@ -958,13 +963,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getLatencyFieldBuilder(); } } @@ -1077,39 +1082,6 @@ private void buildPartial0(com.google.logging.type.HttpRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.type.HttpRequest) { @@ -2171,7 +2143,7 @@ public Builder setRefererBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Duration latency_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -2343,14 +2315,14 @@ public com.google.protobuf.DurationOrBuilder getLatencyOrBuilder() { * * .google.protobuf.Duration latency = 14; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getLatencyFieldBuilder() { if (latencyBuilder_ == null) { latencyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -2690,17 +2662,6 @@ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.type.HttpRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java index fe1d180490..696d72862e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/type/http_request.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.logging.type; public interface HttpRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestProto.java index f240169b95..7da31721b9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/HttpRequestProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/type/http_request.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.logging.type; public final class HttpRequestProto { private HttpRequestProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + HttpRequestProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_type_HttpRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_type_HttpRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -68,7 +79,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_logging_type_HttpRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_logging_type_HttpRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_type_HttpRequest_descriptor, new java.lang.String[] { "RequestMethod", @@ -87,6 +98,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CacheFillBytes", "Protocol", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DurationProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java index 8a8201b698..e058197e32 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverity.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/type/log_severity.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.logging.type; /** @@ -32,7 +33,7 @@ * filter expression will match log entries with severities `INFO`, `NOTICE`, * and `WARNING`: * - * severity > DEBUG AND severity <= WARNING + * severity > DEBUG AND severity <= WARNING * * If you are writing log entries, you should map other severity encodings to * one of these standard levels. For example, you might map all of Java's FINE, @@ -137,6 +138,15 @@ public enum LogSeverity implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LogSeverity.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverityProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverityProto.java index c358985c2b..fac317a866 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverityProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/logging/type/LogSeverityProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/type/log_severity.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.logging.type; public final class LogSeverityProto { private LogSeverityProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LogSeverityProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -51,6 +62,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java index fc59884c0d..291efae885 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.longrunning.CancelOperationRequest} */ -public final class CancelOperationRequest extends com.google.protobuf.GeneratedMessageV3 +public final class CancelOperationRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.longrunning.CancelOperationRequest) CancelOperationRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CancelOperationRequest.class.getName()); + } // Use CancelOperationRequest.newBuilder() to construct. - private CancelOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CancelOperationRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,19 +53,13 @@ private CancelOperationRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CancelOperationRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_CancelOperationRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable @@ -128,8 +133,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -140,8 +145,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -215,38 +220,38 @@ public static com.google.longrunning.CancelOperationRequest parseFrom( public static com.google.longrunning.CancelOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.CancelOperationRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.CancelOperationRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.longrunning.CancelOperationRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.CancelOperationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.CancelOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -269,7 +274,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -282,7 +287,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.longrunning.CancelOperationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.longrunning.CancelOperationRequest) com.google.longrunning.CancelOperationRequestOrBuilder { @@ -292,7 +297,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable @@ -304,7 +309,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.longrunning.CancelOperationRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -354,39 +359,6 @@ private void buildPartial0(com.google.longrunning.CancelOperationRequest result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.longrunning.CancelOperationRequest) { @@ -561,17 +533,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.longrunning.CancelOperationRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequestOrBuilder.java index e0083ea356..f778fa690c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/CancelOperationRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public interface CancelOperationRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java index 4e593eb291..8012a39802 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.longrunning.DeleteOperationRequest} */ -public final class DeleteOperationRequest extends com.google.protobuf.GeneratedMessageV3 +public final class DeleteOperationRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.longrunning.DeleteOperationRequest) DeleteOperationRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DeleteOperationRequest.class.getName()); + } // Use DeleteOperationRequest.newBuilder() to construct. - private DeleteOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteOperationRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,19 +53,13 @@ private DeleteOperationRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteOperationRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_DeleteOperationRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable @@ -128,8 +133,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -140,8 +145,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -215,38 +220,38 @@ public static com.google.longrunning.DeleteOperationRequest parseFrom( public static com.google.longrunning.DeleteOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.DeleteOperationRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.DeleteOperationRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.longrunning.DeleteOperationRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.DeleteOperationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.DeleteOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -269,7 +274,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -282,7 +287,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.longrunning.DeleteOperationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.longrunning.DeleteOperationRequest) com.google.longrunning.DeleteOperationRequestOrBuilder { @@ -292,7 +297,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable @@ -304,7 +309,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.longrunning.DeleteOperationRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -354,39 +359,6 @@ private void buildPartial0(com.google.longrunning.DeleteOperationRequest result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.longrunning.DeleteOperationRequest) { @@ -561,17 +533,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.longrunning.DeleteOperationRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequestOrBuilder.java index ff5cc85a4d..89e352c593 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/DeleteOperationRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public interface DeleteOperationRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java index 5632ba92f6..15c41636dd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.longrunning.GetOperationRequest} */ -public final class GetOperationRequest extends com.google.protobuf.GeneratedMessageV3 +public final class GetOperationRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.longrunning.GetOperationRequest) GetOperationRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + GetOperationRequest.class.getName()); + } // Use GetOperationRequest.newBuilder() to construct. - private GetOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetOperationRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,19 +53,13 @@ private GetOperationRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetOperationRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_GetOperationRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable @@ -128,8 +133,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -140,8 +145,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -215,38 +220,38 @@ public static com.google.longrunning.GetOperationRequest parseFrom( public static com.google.longrunning.GetOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.GetOperationRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.GetOperationRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.longrunning.GetOperationRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.GetOperationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.GetOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -269,7 +274,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -282,7 +287,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.longrunning.GetOperationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.longrunning.GetOperationRequest) com.google.longrunning.GetOperationRequestOrBuilder { @@ -292,7 +297,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable @@ -304,7 +309,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.longrunning.GetOperationRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -354,39 +359,6 @@ private void buildPartial0(com.google.longrunning.GetOperationRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.longrunning.GetOperationRequest) { @@ -561,17 +533,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.longrunning.GetOperationRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequestOrBuilder.java index a7ef3bb2b5..78b7f7de69 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/GetOperationRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public interface GetOperationRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java index 7afdf318e8..84d29d986b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.longrunning.ListOperationsRequest} */ -public final class ListOperationsRequest extends com.google.protobuf.GeneratedMessageV3 +public final class ListOperationsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.longrunning.ListOperationsRequest) ListOperationsRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ListOperationsRequest.class.getName()); + } // Use ListOperationsRequest.newBuilder() to construct. - private ListOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOperationsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +55,13 @@ private ListOperationsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListOperationsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_ListOperationsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable @@ -250,17 +255,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, filter_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, name_); } getUnknownFields().writeTo(output); } @@ -271,17 +276,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, filter_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -364,38 +369,38 @@ public static com.google.longrunning.ListOperationsRequest parseFrom( public static com.google.longrunning.ListOperationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.ListOperationsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.ListOperationsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.longrunning.ListOperationsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.ListOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.ListOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -418,7 +423,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -431,7 +436,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.longrunning.ListOperationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.longrunning.ListOperationsRequest) com.google.longrunning.ListOperationsRequestOrBuilder { @@ -441,7 +446,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable @@ -453,7 +458,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.longrunning.ListOperationsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -515,39 +520,6 @@ private void buildPartial0(com.google.longrunning.ListOperationsRequest result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.longrunning.ListOperationsRequest) { @@ -1018,17 +990,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.longrunning.ListOperationsRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequestOrBuilder.java index 57bc149fb4..3de44ed3a8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public interface ListOperationsRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java index 8ba9a48fc3..0ee444f308 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.longrunning.ListOperationsResponse} */ -public final class ListOperationsResponse extends com.google.protobuf.GeneratedMessageV3 +public final class ListOperationsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.longrunning.ListOperationsResponse) ListOperationsResponseOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ListOperationsResponse.class.getName()); + } // Use ListOperationsResponse.newBuilder() to construct. - private ListOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListOperationsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +54,13 @@ private ListOperationsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListOperationsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_ListOperationsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable @@ -203,8 +208,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -218,8 +223,8 @@ public int getSerializedSize() { for (int i = 0; i < operations_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -298,38 +303,38 @@ public static com.google.longrunning.ListOperationsResponse parseFrom( public static com.google.longrunning.ListOperationsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.ListOperationsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.ListOperationsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.longrunning.ListOperationsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.ListOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.ListOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -352,7 +357,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -365,7 +370,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.longrunning.ListOperationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.longrunning.ListOperationsResponse) com.google.longrunning.ListOperationsResponseOrBuilder { @@ -375,7 +380,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable @@ -387,7 +392,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.longrunning.ListOperationsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -457,39 +462,6 @@ private void buildPartial0(com.google.longrunning.ListOperationsResponse result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.longrunning.ListOperationsResponse) { @@ -521,7 +493,7 @@ public Builder mergeFrom(com.google.longrunning.ListOperationsResponse other) { operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); operationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getOperationsFieldBuilder() : null; } else { @@ -607,7 +579,7 @@ private void ensureOperationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> @@ -928,14 +900,14 @@ public java.util.List getOperationsBui return getOperationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { operationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>( @@ -1051,17 +1023,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.longrunning.ListOperationsResponse) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponseOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponseOrBuilder.java index d2567419a3..930ba41a6b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponseOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/ListOperationsResponseOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public interface ListOperationsResponseOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java index 87acbf979a..e36c63cb58 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/Operation.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.longrunning.Operation} */ -public final class Operation extends com.google.protobuf.GeneratedMessageV3 +public final class Operation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.longrunning.Operation) OperationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Operation.class.getName()); + } // Use Operation.newBuilder() to construct. - private Operation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Operation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +54,13 @@ private Operation() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Operation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_Operation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_Operation_fieldAccessorTable @@ -380,8 +385,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getMetadata()); @@ -404,8 +409,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata()); @@ -527,38 +532,38 @@ public static com.google.longrunning.Operation parseFrom( public static com.google.longrunning.Operation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.Operation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.longrunning.Operation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.Operation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.Operation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -581,7 +586,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -595,7 +600,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.longrunning.Operation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.longrunning.Operation) com.google.longrunning.OperationOrBuilder { @@ -605,7 +610,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_Operation_fieldAccessorTable @@ -619,13 +624,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getMetadataFieldBuilder(); } } @@ -710,39 +715,6 @@ private void buildPartialOneofs(com.google.longrunning.Operation result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.longrunning.Operation) { @@ -988,7 +960,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Any metadata_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -1178,14 +1150,14 @@ public com.google.protobuf.AnyOrBuilder getMetadataOrBuilder() { * * .google.protobuf.Any metadata = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>(getMetadata(), getParentForChildren(), isClean()); @@ -1253,7 +1225,7 @@ public Builder clearDone() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** @@ -1433,7 +1405,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * * .google.rpc.Status error = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { @@ -1441,7 +1413,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { result_ = com.google.rpc.Status.getDefaultInstance(); } errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( @@ -1453,7 +1425,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { return errorBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -1698,7 +1670,7 @@ public com.google.protobuf.AnyOrBuilder getResponseOrBuilder() { * * .google.protobuf.Any response = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -1708,7 +1680,7 @@ public com.google.protobuf.AnyOrBuilder getResponseOrBuilder() { result_ = com.google.protobuf.Any.getDefaultInstance(); } responseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( @@ -1720,17 +1692,6 @@ public com.google.protobuf.AnyOrBuilder getResponseOrBuilder() { return responseBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.longrunning.Operation) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java index b83bc7e4aa..84705ede63 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; /** @@ -27,24 +28,34 @@ * * Example: * - * rpc LongRunningRecognize(LongRunningRecognizeRequest) - * returns (google.longrunning.Operation) { - * option (google.longrunning.operation_info) = { - * response_type: "LongRunningRecognizeResponse" - * metadata_type: "LongRunningRecognizeMetadata" - * }; - * } + * rpc LongRunningRecognize(LongRunningRecognizeRequest) + * returns (google.longrunning.Operation) { + * option (google.longrunning.operation_info) = { + * response_type: "LongRunningRecognizeResponse" + * metadata_type: "LongRunningRecognizeMetadata" + * }; + * } * * * Protobuf type {@code google.longrunning.OperationInfo} */ -public final class OperationInfo extends com.google.protobuf.GeneratedMessageV3 +public final class OperationInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.longrunning.OperationInfo) OperationInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OperationInfo.class.getName()); + } // Use OperationInfo.newBuilder() to construct. - private OperationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private OperationInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -53,19 +64,13 @@ private OperationInfo() { metadataType_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new OperationInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_OperationInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_OperationInfo_fieldAccessorTable @@ -216,11 +221,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, responseType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(responseType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, responseType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metadataType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, metadataType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metadataType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, metadataType_); } getUnknownFields().writeTo(output); } @@ -231,11 +236,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, responseType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(responseType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, responseType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metadataType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, metadataType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metadataType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, metadataType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,38 +315,38 @@ public static com.google.longrunning.OperationInfo parseFrom( public static com.google.longrunning.OperationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.OperationInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.OperationInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.longrunning.OperationInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.OperationInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.OperationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -364,7 +369,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -376,18 +381,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example: * - * rpc LongRunningRecognize(LongRunningRecognizeRequest) - * returns (google.longrunning.Operation) { - * option (google.longrunning.operation_info) = { - * response_type: "LongRunningRecognizeResponse" - * metadata_type: "LongRunningRecognizeMetadata" - * }; - * } + * rpc LongRunningRecognize(LongRunningRecognizeRequest) + * returns (google.longrunning.Operation) { + * option (google.longrunning.operation_info) = { + * response_type: "LongRunningRecognizeResponse" + * metadata_type: "LongRunningRecognizeMetadata" + * }; + * } * * * Protobuf type {@code google.longrunning.OperationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.longrunning.OperationInfo) com.google.longrunning.OperationInfoOrBuilder { @@ -397,7 +402,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_OperationInfo_fieldAccessorTable @@ -409,7 +414,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.longrunning.OperationInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -462,39 +467,6 @@ private void buildPartial0(com.google.longrunning.OperationInfo result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.longrunning.OperationInfo) { @@ -851,17 +823,6 @@ public Builder setMetadataTypeBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.longrunning.OperationInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java index 1dc0792a17..14c860bbe4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public interface OperationInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java index 85e02ecd0f..380e45a15f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public interface OperationOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java index e5df7d03a1..1d99c2841a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/OperationsProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public final class OperationsProto { private OperationsProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + OperationsProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { registry.add(com.google.longrunning.OperationsProto.operationInfo); } @@ -54,35 +65,35 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_Operation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_longrunning_Operation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_GetOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_ListOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_ListOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_CancelOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_DeleteOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_WaitOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_longrunning_OperationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_longrunning_OperationInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -155,7 +166,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_longrunning_Operation_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_longrunning_Operation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_longrunning_Operation_descriptor, new java.lang.String[] { "Name", "Metadata", "Done", "Error", "Response", "Result", @@ -163,7 +174,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_longrunning_GetOperationRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_longrunning_GetOperationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_longrunning_GetOperationRequest_descriptor, new java.lang.String[] { "Name", @@ -171,7 +182,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_longrunning_ListOperationsRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_longrunning_ListOperationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_longrunning_ListOperationsRequest_descriptor, new java.lang.String[] { "Name", "Filter", "PageSize", "PageToken", @@ -179,7 +190,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_longrunning_ListOperationsResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_longrunning_ListOperationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_longrunning_ListOperationsResponse_descriptor, new java.lang.String[] { "Operations", "NextPageToken", @@ -187,7 +198,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_longrunning_CancelOperationRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_longrunning_CancelOperationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_longrunning_CancelOperationRequest_descriptor, new java.lang.String[] { "Name", @@ -195,7 +206,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_longrunning_DeleteOperationRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_longrunning_DeleteOperationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_longrunning_DeleteOperationRequest_descriptor, new java.lang.String[] { "Name", @@ -203,7 +214,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_longrunning_WaitOperationRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_longrunning_WaitOperationRequest_descriptor, new java.lang.String[] { "Name", "Timeout", @@ -211,19 +222,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_longrunning_OperationInfo_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_google_longrunning_OperationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_longrunning_OperationInfo_descriptor, new java.lang.String[] { "ResponseType", "MetadataType", }); operationInfo.internalInit(descriptor.getExtensions().get(0)); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); + descriptor.resolveAllFeaturesImmutable(); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.protobuf.AnyProto.getDescriptor(); @@ -231,6 +236,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.EmptyProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); com.google.protobuf.DescriptorProtos.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java index 16d783c5e7..b6b68091e9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.longrunning.WaitOperationRequest} */ -public final class WaitOperationRequest extends com.google.protobuf.GeneratedMessageV3 +public final class WaitOperationRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.longrunning.WaitOperationRequest) WaitOperationRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + WaitOperationRequest.class.getName()); + } // Use WaitOperationRequest.newBuilder() to construct. - private WaitOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private WaitOperationRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,19 +53,13 @@ private WaitOperationRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new WaitOperationRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_WaitOperationRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable @@ -181,8 +186,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getTimeout()); @@ -196,8 +201,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTimeout()); @@ -282,38 +287,38 @@ public static com.google.longrunning.WaitOperationRequest parseFrom( public static com.google.longrunning.WaitOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.WaitOperationRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.WaitOperationRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.longrunning.WaitOperationRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.longrunning.WaitOperationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.longrunning.WaitOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -336,7 +341,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -349,7 +354,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.longrunning.WaitOperationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.longrunning.WaitOperationRequest) com.google.longrunning.WaitOperationRequestOrBuilder { @@ -359,7 +364,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.longrunning.OperationsProto .internal_static_google_longrunning_WaitOperationRequest_fieldAccessorTable @@ -373,13 +378,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTimeoutFieldBuilder(); } } @@ -441,39 +446,6 @@ private void buildPartial0(com.google.longrunning.WaitOperationRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.longrunning.WaitOperationRequest) { @@ -658,7 +630,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Duration timeout_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -839,14 +811,14 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { * * .google.protobuf.Duration timeout = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTimeoutFieldBuilder() { if (timeoutBuilder_ == null) { timeoutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -856,17 +828,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { return timeoutBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.longrunning.WaitOperationRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequestOrBuilder.java index fbfe3e6ca5..ea2fd7058f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/longrunning/WaitOperationRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/longrunning/operations.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.longrunning; public interface WaitOperationRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java index 7eac3a3254..b20bbd14f7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.rpc.BadRequest} */ -public final class BadRequest extends com.google.protobuf.GeneratedMessageV3 +public final class BadRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.BadRequest) BadRequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + BadRequest.class.getName()); + } // Use BadRequest.newBuilder() to construct. - private BadRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BadRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private BadRequest() { fieldViolations_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BadRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_BadRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_BadRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -76,37 +81,37 @@ public interface FieldViolationOrBuilder * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -124,37 +129,37 @@ public interface FieldViolationOrBuilder * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -197,13 +202,23 @@ public interface FieldViolationOrBuilder * * Protobuf type {@code google.rpc.BadRequest.FieldViolation} */ - public static final class FieldViolation extends com.google.protobuf.GeneratedMessageV3 + public static final class FieldViolation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.BadRequest.FieldViolation) FieldViolationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + FieldViolation.class.getName()); + } // Use FieldViolation.newBuilder() to construct. - private FieldViolation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private FieldViolation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -212,19 +227,13 @@ private FieldViolation() { description_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new FieldViolation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_BadRequest_FieldViolation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_BadRequest_FieldViolation_fieldAccessorTable @@ -247,37 +256,37 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -306,37 +315,37 @@ public java.lang.String getField() { * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -421,11 +430,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, field_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(field_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, field_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } getUnknownFields().writeTo(output); } @@ -436,11 +445,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, field_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(field_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, field_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -517,38 +526,38 @@ public static com.google.rpc.BadRequest.FieldViolation parseFrom( public static com.google.rpc.BadRequest.FieldViolation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.BadRequest.FieldViolation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.BadRequest.FieldViolation parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.BadRequest.FieldViolation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.BadRequest.FieldViolation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.BadRequest.FieldViolation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -571,8 +580,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -585,8 +593,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.BadRequest.FieldViolation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.BadRequest.FieldViolation) com.google.rpc.BadRequest.FieldViolationOrBuilder { @@ -596,7 +603,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_BadRequest_FieldViolation_fieldAccessorTable @@ -608,7 +615,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.BadRequest.FieldViolation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -662,41 +669,6 @@ private void buildPartial0(com.google.rpc.BadRequest.FieldViolation result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.BadRequest.FieldViolation) { @@ -787,37 +759,37 @@ public Builder mergeFrom( * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -845,37 +817,37 @@ public java.lang.String getField() { * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -903,37 +875,37 @@ public com.google.protobuf.ByteString getFieldBytes() { * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -960,37 +932,37 @@ public Builder setField(java.lang.String value) { * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -1013,37 +985,37 @@ public Builder clearField() { * * Consider the following: * - * message CreateContactRequest { - * message EmailAddress { - * enum Type { - * TYPE_UNSPECIFIED = 0; - * HOME = 1; - * WORK = 2; - * } + * message CreateContactRequest { + * message EmailAddress { + * enum Type { + * TYPE_UNSPECIFIED = 0; + * HOME = 1; + * WORK = 2; + * } * - * optional string email = 1; - * repeated EmailType type = 2; - * } + * optional string email = 1; + * repeated EmailType type = 2; + * } * - * string full_name = 1; - * repeated EmailAddress email_addresses = 2; - * } + * string full_name = 1; + * repeated EmailAddress email_addresses = 2; + * } * * In this example, in proto `field` could take one of the following values: * * * `full_name` for a violation in the `full_name` value * * `email_addresses[1].email` for a violation in the `email` field of the - * first `email_addresses` message + * first `email_addresses` message * * `email_addresses[3].type[2]` for a violation in the second `type` - * value in the third `email_addresses` message. + * value in the third `email_addresses` message. * * In JSON, the same values are represented as: * * * `fullName` for a violation in the `fullName` value * * `emailAddresses[1].email` for a violation in the `email` field of the - * first `emailAddresses` message + * first `emailAddresses` message * * `emailAddresses[3].type[2]` for a violation in the second `type` - * value in the third `emailAddresses` message. + * value in the third `emailAddresses` message. * * * string field = 1; @@ -1168,18 +1140,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.BadRequest.FieldViolation) } @@ -1404,38 +1364,38 @@ public static com.google.rpc.BadRequest parseFrom( public static com.google.rpc.BadRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.BadRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.BadRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.BadRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.BadRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.BadRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1458,7 +1418,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1472,7 +1432,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.BadRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.BadRequest) com.google.rpc.BadRequestOrBuilder { @@ -1481,7 +1441,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_BadRequest_fieldAccessorTable @@ -1492,7 +1452,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.BadRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1556,39 +1516,6 @@ private void buildPartial0(com.google.rpc.BadRequest result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.BadRequest) { @@ -1620,7 +1547,7 @@ public Builder mergeFrom(com.google.rpc.BadRequest other) { fieldViolations_ = other.fieldViolations_; bitField0_ = (bitField0_ & ~0x00000001); fieldViolationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getFieldViolationsFieldBuilder() : null; } else { @@ -1697,7 +1624,7 @@ private void ensureFieldViolationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.BadRequest.FieldViolation, com.google.rpc.BadRequest.FieldViolation.Builder, com.google.rpc.BadRequest.FieldViolationOrBuilder> @@ -2021,14 +1948,14 @@ public com.google.rpc.BadRequest.FieldViolation.Builder addFieldViolationsBuilde return getFieldViolationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.BadRequest.FieldViolation, com.google.rpc.BadRequest.FieldViolation.Builder, com.google.rpc.BadRequest.FieldViolationOrBuilder> getFieldViolationsFieldBuilder() { if (fieldViolationsBuilder_ == null) { fieldViolationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.BadRequest.FieldViolation, com.google.rpc.BadRequest.FieldViolation.Builder, com.google.rpc.BadRequest.FieldViolationOrBuilder>( @@ -2041,17 +1968,6 @@ public com.google.rpc.BadRequest.FieldViolation.Builder addFieldViolationsBuilde return fieldViolationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.BadRequest) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequestOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequestOrBuilder.java index 44881c64e7..2b9bd3d946 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequestOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/BadRequestOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface BadRequestOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Code.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Code.java index e323287730..d0b6c39da2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Code.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Code.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/code.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -193,15 +194,15 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * * Service implementors can use the following guidelines to decide * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: - * (a) Use `UNAVAILABLE` if the client can retry just the failing call. - * (b) Use `ABORTED` if the client should retry at a higher level. For - * example, when a client-specified test-and-set fails, indicating the - * client should restart a read-modify-write sequence. - * (c) Use `FAILED_PRECONDITION` if the client should not retry until - * the system state has been explicitly fixed. For example, if an "rmdir" - * fails because the directory is non-empty, `FAILED_PRECONDITION` - * should be returned since the client should not retry unless - * the files are deleted from the directory. + * (a) Use `UNAVAILABLE` if the client can retry just the failing call. + * (b) Use `ABORTED` if the client should retry at a higher level. For + * example, when a client-specified test-and-set fails, indicating the + * client should restart a read-modify-write sequence. + * (c) Use `FAILED_PRECONDITION` if the client should not retry until + * the system state has been explicitly fixed. For example, if an "rmdir" + * fails because the directory is non-empty, `FAILED_PRECONDITION` + * should be returned since the client should not retry unless + * the files are deleted from the directory. * * HTTP Mapping: 400 Bad Request * @@ -311,6 +312,15 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Code.class.getName()); + } /** * * @@ -469,15 +479,15 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { * * Service implementors can use the following guidelines to decide * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: - * (a) Use `UNAVAILABLE` if the client can retry just the failing call. - * (b) Use `ABORTED` if the client should retry at a higher level. For - * example, when a client-specified test-and-set fails, indicating the - * client should restart a read-modify-write sequence. - * (c) Use `FAILED_PRECONDITION` if the client should not retry until - * the system state has been explicitly fixed. For example, if an "rmdir" - * fails because the directory is non-empty, `FAILED_PRECONDITION` - * should be returned since the client should not retry unless - * the files are deleted from the directory. + * (a) Use `UNAVAILABLE` if the client can retry just the failing call. + * (b) Use `ABORTED` if the client should retry at a higher level. For + * example, when a client-specified test-and-set fails, indicating the + * client should restart a read-modify-write sequence. + * (c) Use `FAILED_PRECONDITION` if the client should not retry until + * the system state has been explicitly fixed. For example, if an "rmdir" + * fails because the directory is non-empty, `FAILED_PRECONDITION` + * should be returned since the client should not retry unless + * the files are deleted from the directory. * * HTTP Mapping: 400 Bad Request * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/CodeProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/CodeProto.java index 87208b607b..ac4fd96596 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/CodeProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/CodeProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/code.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public final class CodeProto { private CodeProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CodeProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -52,6 +63,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java index ef92224994..0e8a418bc6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.rpc.DebugInfo} */ -public final class DebugInfo extends com.google.protobuf.GeneratedMessageV3 +public final class DebugInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.DebugInfo) DebugInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DebugInfo.class.getName()); + } // Use DebugInfo.newBuilder() to construct. - private DebugInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DebugInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private DebugInfo() { detail_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DebugInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_DebugInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_DebugInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -191,10 +196,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < stackEntries_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stackEntries_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, stackEntries_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(detail_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, detail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(detail_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, detail_); } getUnknownFields().writeTo(output); } @@ -213,8 +218,8 @@ public int getSerializedSize() { size += dataSize; size += 1 * getStackEntriesList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(detail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, detail_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(detail_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, detail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,38 +296,38 @@ public static com.google.rpc.DebugInfo parseFrom( public static com.google.rpc.DebugInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.DebugInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.DebugInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.DebugInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.DebugInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.DebugInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -345,7 +350,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -358,7 +363,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.DebugInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.DebugInfo) com.google.rpc.DebugInfoOrBuilder { @@ -367,7 +372,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_DebugInfo_fieldAccessorTable @@ -378,7 +383,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.DebugInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -431,39 +436,6 @@ private void buildPartial0(com.google.rpc.DebugInfo result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.DebugInfo) { @@ -829,17 +801,6 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.DebugInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfoOrBuilder.java index 44efea5171..99871d6064 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/DebugInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface DebugInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorDetailsProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorDetailsProto.java index 4166563c72..a8f941720e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorDetailsProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorDetailsProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public final class ErrorDetailsProto { private ErrorDetailsProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ErrorDetailsProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,63 +41,63 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_ErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_ErrorInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_ErrorInfo_MetadataEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_RetryInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_RetryInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_DebugInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_DebugInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_QuotaFailure_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_QuotaFailure_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_QuotaFailure_Violation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_QuotaFailure_Violation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_PreconditionFailure_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_PreconditionFailure_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_PreconditionFailure_Violation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_PreconditionFailure_Violation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_BadRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_BadRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_BadRequest_FieldViolation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_BadRequest_FieldViolation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_RequestInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_RequestInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_ResourceInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_ResourceInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_Help_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_Help_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_Help_Link_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_Help_Link_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_LocalizedMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_LocalizedMessage_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -136,7 +147,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_rpc_ErrorInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_rpc_ErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_ErrorInfo_descriptor, new java.lang.String[] { "Reason", "Domain", "Metadata", @@ -144,28 +155,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor = internal_static_google_rpc_ErrorInfo_descriptor.getNestedTypes().get(0); internal_static_google_rpc_ErrorInfo_MetadataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_ErrorInfo_MetadataEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_rpc_RetryInfo_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_rpc_RetryInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_RetryInfo_descriptor, new java.lang.String[] { "RetryDelay", }); internal_static_google_rpc_DebugInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_rpc_DebugInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_DebugInfo_descriptor, new java.lang.String[] { "StackEntries", "Detail", }); internal_static_google_rpc_QuotaFailure_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_rpc_QuotaFailure_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_QuotaFailure_descriptor, new java.lang.String[] { "Violations", @@ -173,7 +184,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_QuotaFailure_Violation_descriptor = internal_static_google_rpc_QuotaFailure_descriptor.getNestedTypes().get(0); internal_static_google_rpc_QuotaFailure_Violation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_QuotaFailure_Violation_descriptor, new java.lang.String[] { "Subject", "Description", @@ -181,7 +192,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_PreconditionFailure_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_rpc_PreconditionFailure_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_PreconditionFailure_descriptor, new java.lang.String[] { "Violations", @@ -189,14 +200,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_PreconditionFailure_Violation_descriptor = internal_static_google_rpc_PreconditionFailure_descriptor.getNestedTypes().get(0); internal_static_google_rpc_PreconditionFailure_Violation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_PreconditionFailure_Violation_descriptor, new java.lang.String[] { "Type", "Subject", "Description", }); internal_static_google_rpc_BadRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_rpc_BadRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_BadRequest_descriptor, new java.lang.String[] { "FieldViolations", @@ -204,28 +215,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_BadRequest_FieldViolation_descriptor = internal_static_google_rpc_BadRequest_descriptor.getNestedTypes().get(0); internal_static_google_rpc_BadRequest_FieldViolation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_BadRequest_FieldViolation_descriptor, new java.lang.String[] { "Field", "Description", }); internal_static_google_rpc_RequestInfo_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_google_rpc_RequestInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_RequestInfo_descriptor, new java.lang.String[] { "RequestId", "ServingData", }); internal_static_google_rpc_ResourceInfo_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_google_rpc_ResourceInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_ResourceInfo_descriptor, new java.lang.String[] { "ResourceType", "ResourceName", "Owner", "Description", }); internal_static_google_rpc_Help_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_google_rpc_Help_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_Help_descriptor, new java.lang.String[] { "Links", @@ -233,7 +244,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_Help_Link_descriptor = internal_static_google_rpc_Help_descriptor.getNestedTypes().get(0); internal_static_google_rpc_Help_Link_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_Help_Link_descriptor, new java.lang.String[] { "Description", "Url", @@ -241,11 +252,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_LocalizedMessage_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_google_rpc_LocalizedMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_LocalizedMessage_descriptor, new java.lang.String[] { "Locale", "Message", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DurationProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java index 833120b57d..5fc5c077e1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -28,36 +29,46 @@ * Example of an error when contacting the "pubsub.googleapis.com" API when it * is not enabled: * - * { "reason": "API_DISABLED" - * "domain": "googleapis.com" - * "metadata": { - * "resource": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "API_DISABLED" + * "domain": "googleapis.com" + * "metadata": { + * "resource": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates that the pubsub.googleapis.com API is not enabled. * * Example of an error that is returned when attempting to create a Spanner * instance in a region that is out of stock: * - * { "reason": "STOCKOUT" - * "domain": "spanner.googleapis.com", - * "metadata": { - * "availableRegions": "us-central1,us-east2" - * } - * } + * { "reason": "STOCKOUT" + * "domain": "spanner.googleapis.com", + * "metadata": { + * "availableRegions": "us-central1,us-east2" + * } + * } * * * Protobuf type {@code google.rpc.ErrorInfo} */ -public final class ErrorInfo extends com.google.protobuf.GeneratedMessageV3 +public final class ErrorInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.ErrorInfo) ErrorInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ErrorInfo.class.getName()); + } // Use ErrorInfo.newBuilder() to construct. - private ErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ErrorInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -66,12 +77,6 @@ private ErrorInfo() { domain_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ErrorInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_ErrorInfo_descriptor; } @@ -89,7 +94,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_ErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -360,13 +365,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reason_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(reason_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, reason_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(domain_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, domain_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 3); getUnknownFields().writeTo(output); } @@ -377,11 +382,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reason_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(reason_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, reason_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(domain_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, domain_); } for (java.util.Map.Entry entry : internalGetMetadata().getMap().entrySet()) { @@ -471,38 +476,38 @@ public static com.google.rpc.ErrorInfo parseFrom( public static com.google.rpc.ErrorInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.ErrorInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.ErrorInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.ErrorInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.ErrorInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.ErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -525,7 +530,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -538,30 +543,30 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Example of an error when contacting the "pubsub.googleapis.com" API when it * is not enabled: * - * { "reason": "API_DISABLED" - * "domain": "googleapis.com" - * "metadata": { - * "resource": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } + * { "reason": "API_DISABLED" + * "domain": "googleapis.com" + * "metadata": { + * "resource": "projects/123", + * "service": "pubsub.googleapis.com" + * } + * } * * This response indicates that the pubsub.googleapis.com API is not enabled. * * Example of an error that is returned when attempting to create a Spanner * instance in a region that is out of stock: * - * { "reason": "STOCKOUT" - * "domain": "spanner.googleapis.com", - * "metadata": { - * "availableRegions": "us-central1,us-east2" - * } - * } + * { "reason": "STOCKOUT" + * "domain": "spanner.googleapis.com", + * "metadata": { + * "availableRegions": "us-central1,us-east2" + * } + * } * * * Protobuf type {@code google.rpc.ErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.ErrorInfo) com.google.rpc.ErrorInfoOrBuilder { @@ -592,7 +597,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_ErrorInfo_fieldAccessorTable @@ -603,7 +608,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.rpc.ErrorInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -660,39 +665,6 @@ private void buildPartial0(com.google.rpc.ErrorInfo result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.ErrorInfo) { @@ -1256,17 +1228,6 @@ public Builder putAllMetadata(java.util.Map return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.ErrorInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java index d382ee3183..6d2a26f353 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ErrorInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface ErrorInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Help.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Help.java index a8d76c20ad..10c1107154 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Help.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Help.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -32,13 +33,23 @@ * * Protobuf type {@code google.rpc.Help} */ -public final class Help extends com.google.protobuf.GeneratedMessageV3 +public final class Help extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.Help) HelpOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Help.class.getName()); + } // Use Help.newBuilder() to construct. - private Help(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Help(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,18 +57,12 @@ private Help() { links_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Help(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_Help_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_Help_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -128,13 +133,23 @@ public interface LinkOrBuilder * * Protobuf type {@code google.rpc.Help.Link} */ - public static final class Link extends com.google.protobuf.GeneratedMessageV3 + public static final class Link extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.Help.Link) LinkOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Link.class.getName()); + } // Use Link.newBuilder() to construct. - private Link(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Link(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -143,18 +158,12 @@ private Link() { url_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Link(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_Help_Link_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_Help_Link_fieldAccessorTable @@ -278,11 +287,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, url_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(url_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, url_); } getUnknownFields().writeTo(output); } @@ -293,11 +302,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, url_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(url_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, url_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -372,38 +381,38 @@ public static com.google.rpc.Help.Link parseFrom( public static com.google.rpc.Help.Link parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.Help.Link parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.Help.Link parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.Help.Link parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.Help.Link parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.Help.Link parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -426,8 +435,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -440,8 +448,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.Help.Link} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.Help.Link) com.google.rpc.Help.LinkOrBuilder { @@ -450,7 +457,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_Help_Link_fieldAccessorTable @@ -461,7 +468,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.Help.Link.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -513,41 +520,6 @@ private void buildPartial0(com.google.rpc.Help.Link result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.Help.Link) { @@ -839,18 +811,6 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.Help.Link) } @@ -1074,38 +1034,38 @@ public static com.google.rpc.Help parseFrom( public static com.google.rpc.Help parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.Help parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.Help parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.Help parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.Help parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.Help parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1128,7 +1088,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1145,7 +1105,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.Help} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.Help) com.google.rpc.HelpOrBuilder { @@ -1154,7 +1114,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_Help_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1164,7 +1124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.Help.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1228,39 +1188,6 @@ private void buildPartial0(com.google.rpc.Help result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.Help) { @@ -1292,7 +1219,7 @@ public Builder mergeFrom(com.google.rpc.Help other) { links_ = other.links_; bitField0_ = (bitField0_ & ~0x00000001); linksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLinksFieldBuilder() : null; } else { @@ -1366,7 +1293,7 @@ private void ensureLinksIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder> @@ -1682,14 +1609,14 @@ public java.util.List getLinksBuilderList() { return getLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder> getLinksFieldBuilder() { if (linksBuilder_ == null) { linksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.Help.Link, com.google.rpc.Help.Link.Builder, com.google.rpc.Help.LinkOrBuilder>( @@ -1699,17 +1626,6 @@ public java.util.List getLinksBuilderList() { return linksBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.Help) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/HelpOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/HelpOrBuilder.java index afc80b81ea..858c09e266 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/HelpOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/HelpOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface HelpOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java index 7a42aed9cf..f9ce8135db 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessage.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.rpc.LocalizedMessage} */ -public final class LocalizedMessage extends com.google.protobuf.GeneratedMessageV3 +public final class LocalizedMessage extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.LocalizedMessage) LocalizedMessageOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LocalizedMessage.class.getName()); + } // Use LocalizedMessage.newBuilder() to construct. - private LocalizedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LocalizedMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +55,12 @@ private LocalizedMessage() { message_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LocalizedMessage(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_LocalizedMessage_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_LocalizedMessage_fieldAccessorTable @@ -183,11 +188,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locale_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, locale_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(locale_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, locale_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, message_); } getUnknownFields().writeTo(output); } @@ -198,11 +203,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locale_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, locale_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(locale_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, locale_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, message_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -277,38 +282,38 @@ public static com.google.rpc.LocalizedMessage parseFrom( public static com.google.rpc.LocalizedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.LocalizedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.LocalizedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.LocalizedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.LocalizedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.LocalizedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -331,7 +336,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -345,7 +350,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.LocalizedMessage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.LocalizedMessage) com.google.rpc.LocalizedMessageOrBuilder { @@ -355,7 +360,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_LocalizedMessage_fieldAccessorTable @@ -366,7 +371,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.LocalizedMessage.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -419,39 +424,6 @@ private void buildPartial0(com.google.rpc.LocalizedMessage result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.LocalizedMessage) { @@ -753,17 +725,6 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.LocalizedMessage) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessageOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessageOrBuilder.java index 8e4f691b37..4cf11fd957 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessageOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/LocalizedMessageOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface LocalizedMessageOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java index f2a5a733d1..498e61c86b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailure.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -32,13 +33,23 @@ * * Protobuf type {@code google.rpc.PreconditionFailure} */ -public final class PreconditionFailure extends com.google.protobuf.GeneratedMessageV3 +public final class PreconditionFailure extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.PreconditionFailure) PreconditionFailureOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PreconditionFailure.class.getName()); + } // Use PreconditionFailure.newBuilder() to construct. - private PreconditionFailure(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PreconditionFailure(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,19 +57,13 @@ private PreconditionFailure() { violations_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PreconditionFailure(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_PreconditionFailure_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_PreconditionFailure_fieldAccessorTable @@ -170,13 +175,23 @@ public interface ViolationOrBuilder * * Protobuf type {@code google.rpc.PreconditionFailure.Violation} */ - public static final class Violation extends com.google.protobuf.GeneratedMessageV3 + public static final class Violation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.PreconditionFailure.Violation) ViolationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Violation.class.getName()); + } // Use Violation.newBuilder() to construct. - private Violation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Violation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -186,19 +201,13 @@ private Violation() { description_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Violation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_PreconditionFailure_Violation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_PreconditionFailure_Violation_fieldAccessorTable @@ -388,14 +397,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subject_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subject_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, subject_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } getUnknownFields().writeTo(output); } @@ -406,14 +415,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subject_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subject_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subject_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -493,38 +502,38 @@ public static com.google.rpc.PreconditionFailure.Violation parseFrom( public static com.google.rpc.PreconditionFailure.Violation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.PreconditionFailure.Violation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.PreconditionFailure.Violation parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.PreconditionFailure.Violation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.PreconditionFailure.Violation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.PreconditionFailure.Violation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -547,8 +556,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -561,8 +569,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.PreconditionFailure.Violation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.PreconditionFailure.Violation) com.google.rpc.PreconditionFailure.ViolationOrBuilder { @@ -572,7 +579,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_PreconditionFailure_Violation_fieldAccessorTable @@ -584,7 +591,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.PreconditionFailure.Violation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -642,41 +649,6 @@ private void buildPartial0(com.google.rpc.PreconditionFailure.Violation result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.PreconditionFailure.Violation) { @@ -1120,18 +1092,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.PreconditionFailure.Violation) } @@ -1356,38 +1316,38 @@ public static com.google.rpc.PreconditionFailure parseFrom( public static com.google.rpc.PreconditionFailure parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.PreconditionFailure parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.PreconditionFailure parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.PreconditionFailure parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.PreconditionFailure parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.PreconditionFailure parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1410,7 +1370,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1427,7 +1387,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.PreconditionFailure} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.PreconditionFailure) com.google.rpc.PreconditionFailureOrBuilder { @@ -1437,7 +1397,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_PreconditionFailure_fieldAccessorTable @@ -1449,7 +1409,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.PreconditionFailure.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1514,39 +1474,6 @@ private void buildPartial0(com.google.rpc.PreconditionFailure result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.PreconditionFailure) { @@ -1578,7 +1505,7 @@ public Builder mergeFrom(com.google.rpc.PreconditionFailure other) { violations_ = other.violations_; bitField0_ = (bitField0_ & ~0x00000001); violationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getViolationsFieldBuilder() : null; } else { @@ -1655,7 +1582,7 @@ private void ensureViolationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.PreconditionFailure.Violation, com.google.rpc.PreconditionFailure.Violation.Builder, com.google.rpc.PreconditionFailure.ViolationOrBuilder> @@ -1978,14 +1905,14 @@ public com.google.rpc.PreconditionFailure.Violation.Builder addViolationsBuilder return getViolationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.PreconditionFailure.Violation, com.google.rpc.PreconditionFailure.Violation.Builder, com.google.rpc.PreconditionFailure.ViolationOrBuilder> getViolationsFieldBuilder() { if (violationsBuilder_ == null) { violationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.PreconditionFailure.Violation, com.google.rpc.PreconditionFailure.Violation.Builder, com.google.rpc.PreconditionFailure.ViolationOrBuilder>( @@ -1995,17 +1922,6 @@ public com.google.rpc.PreconditionFailure.Violation.Builder addViolationsBuilder return violationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.PreconditionFailure) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailureOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailureOrBuilder.java index bad55038a4..9c1868df9f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailureOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/PreconditionFailureOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface PreconditionFailureOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java index 8331d35922..ce2aa55ebc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailure.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -38,13 +39,23 @@ * * Protobuf type {@code google.rpc.QuotaFailure} */ -public final class QuotaFailure extends com.google.protobuf.GeneratedMessageV3 +public final class QuotaFailure extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.QuotaFailure) QuotaFailureOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + QuotaFailure.class.getName()); + } // Use QuotaFailure.newBuilder() to construct. - private QuotaFailure(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QuotaFailure(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -52,18 +63,12 @@ private QuotaFailure() { violations_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new QuotaFailure(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_QuotaFailure_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_QuotaFailure_fieldAccessorTable @@ -152,13 +157,23 @@ public interface ViolationOrBuilder * * Protobuf type {@code google.rpc.QuotaFailure.Violation} */ - public static final class Violation extends com.google.protobuf.GeneratedMessageV3 + public static final class Violation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.QuotaFailure.Violation) ViolationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Violation.class.getName()); + } // Use Violation.newBuilder() to construct. - private Violation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Violation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -167,19 +182,13 @@ private Violation() { description_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Violation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_QuotaFailure_Violation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_QuotaFailure_Violation_fieldAccessorTable @@ -320,11 +329,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subject_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subject_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, subject_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } getUnknownFields().writeTo(output); } @@ -335,11 +344,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subject_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subject_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subject_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -415,38 +424,38 @@ public static com.google.rpc.QuotaFailure.Violation parseFrom( public static com.google.rpc.QuotaFailure.Violation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.QuotaFailure.Violation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.QuotaFailure.Violation parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.QuotaFailure.Violation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.QuotaFailure.Violation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.QuotaFailure.Violation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -469,8 +478,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -484,8 +492,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.QuotaFailure.Violation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.QuotaFailure.Violation) com.google.rpc.QuotaFailure.ViolationOrBuilder { @@ -495,7 +502,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_QuotaFailure_Violation_fieldAccessorTable @@ -507,7 +514,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.QuotaFailure.Violation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -561,41 +568,6 @@ private void buildPartial0(com.google.rpc.QuotaFailure.Violation result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.QuotaFailure.Violation) { @@ -927,18 +899,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.QuotaFailure.Violation) } @@ -1163,38 +1123,38 @@ public static com.google.rpc.QuotaFailure parseFrom( public static com.google.rpc.QuotaFailure parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.QuotaFailure parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.QuotaFailure parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.QuotaFailure parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.QuotaFailure parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.QuotaFailure parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1217,7 +1177,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1240,7 +1200,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.QuotaFailure} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.QuotaFailure) com.google.rpc.QuotaFailureOrBuilder { @@ -1249,7 +1209,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_QuotaFailure_fieldAccessorTable @@ -1260,7 +1220,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.QuotaFailure.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1324,39 +1284,6 @@ private void buildPartial0(com.google.rpc.QuotaFailure result) { int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.QuotaFailure) { @@ -1388,7 +1315,7 @@ public Builder mergeFrom(com.google.rpc.QuotaFailure other) { violations_ = other.violations_; bitField0_ = (bitField0_ & ~0x00000001); violationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getViolationsFieldBuilder() : null; } else { @@ -1464,7 +1391,7 @@ private void ensureViolationsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.QuotaFailure.Violation, com.google.rpc.QuotaFailure.Violation.Builder, com.google.rpc.QuotaFailure.ViolationOrBuilder> @@ -1786,14 +1713,14 @@ public com.google.rpc.QuotaFailure.Violation.Builder addViolationsBuilder(int in return getViolationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.QuotaFailure.Violation, com.google.rpc.QuotaFailure.Violation.Builder, com.google.rpc.QuotaFailure.ViolationOrBuilder> getViolationsFieldBuilder() { if (violationsBuilder_ == null) { violationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.rpc.QuotaFailure.Violation, com.google.rpc.QuotaFailure.Violation.Builder, com.google.rpc.QuotaFailure.ViolationOrBuilder>( @@ -1803,17 +1730,6 @@ public com.google.rpc.QuotaFailure.Violation.Builder addViolationsBuilder(int in return violationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.QuotaFailure) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailureOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailureOrBuilder.java index e2da62db7c..46d49e1a18 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailureOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/QuotaFailureOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface QuotaFailureOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java index ec90590299..d944a2751a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.rpc.RequestInfo} */ -public final class RequestInfo extends com.google.protobuf.GeneratedMessageV3 +public final class RequestInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.RequestInfo) RequestInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + RequestInfo.class.getName()); + } // Use RequestInfo.newBuilder() to construct. - private RequestInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RequestInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +55,12 @@ private RequestInfo() { servingData_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RequestInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_RequestInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_RequestInfo_fieldAccessorTable @@ -183,11 +188,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, requestId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servingData_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, servingData_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(servingData_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, servingData_); } getUnknownFields().writeTo(output); } @@ -198,11 +203,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, requestId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servingData_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, servingData_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(servingData_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, servingData_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -277,38 +282,38 @@ public static com.google.rpc.RequestInfo parseFrom( public static com.google.rpc.RequestInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.RequestInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.RequestInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.RequestInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.RequestInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.RequestInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -331,7 +336,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -345,7 +350,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.RequestInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.RequestInfo) com.google.rpc.RequestInfoOrBuilder { @@ -354,7 +359,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_RequestInfo_fieldAccessorTable @@ -365,7 +370,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.RequestInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -417,39 +422,6 @@ private void buildPartial0(com.google.rpc.RequestInfo result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.RequestInfo) { @@ -751,17 +723,6 @@ public Builder setServingDataBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.RequestInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfoOrBuilder.java index 3382bb80a3..02b74908de 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RequestInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface RequestInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java index ac145b1e17..d336c88b87 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.rpc.ResourceInfo} */ -public final class ResourceInfo extends com.google.protobuf.GeneratedMessageV3 +public final class ResourceInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.ResourceInfo) ResourceInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ResourceInfo.class.getName()); + } // Use ResourceInfo.newBuilder() to construct. - private ResourceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ResourceInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,18 +56,12 @@ private ResourceInfo() { description_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ResourceInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_ResourceInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_ResourceInfo_fieldAccessorTable @@ -300,17 +305,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceType_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, resourceType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, resourceName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, owner_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(owner_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, owner_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, description_); } getUnknownFields().writeTo(output); } @@ -321,17 +326,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceType_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceType_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, resourceType_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(resourceName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, resourceName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, owner_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(owner_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, owner_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, description_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -412,38 +417,38 @@ public static com.google.rpc.ResourceInfo parseFrom( public static com.google.rpc.ResourceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.ResourceInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.ResourceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.ResourceInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.ResourceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.ResourceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -466,7 +471,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -479,7 +484,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.ResourceInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.ResourceInfo) com.google.rpc.ResourceInfoOrBuilder { @@ -488,7 +493,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_ResourceInfo_fieldAccessorTable @@ -499,7 +504,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.ResourceInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -559,39 +564,6 @@ private void buildPartial0(com.google.rpc.ResourceInfo result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.ResourceInfo) { @@ -1162,17 +1134,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.ResourceInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfoOrBuilder.java index b3b82f1ab7..26b965e273 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/ResourceInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface ResourceInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java index ee17abe6e7..83163bfaf6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfo.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -40,30 +41,34 @@ * * Protobuf type {@code google.rpc.RetryInfo} */ -public final class RetryInfo extends com.google.protobuf.GeneratedMessageV3 +public final class RetryInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.RetryInfo) RetryInfoOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + RetryInfo.class.getName()); + } // Use RetryInfo.newBuilder() to construct. - private RetryInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RetryInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private RetryInfo() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RetryInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_RetryInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto.internal_static_google_rpc_RetryInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -221,38 +226,38 @@ public static com.google.rpc.RetryInfo parseFrom( public static com.google.rpc.RetryInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.RetryInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.RetryInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.RetryInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.RetryInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.RetryInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -275,7 +280,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -300,7 +305,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.RetryInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.RetryInfo) com.google.rpc.RetryInfoOrBuilder { @@ -309,7 +314,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.ErrorDetailsProto .internal_static_google_rpc_RetryInfo_fieldAccessorTable @@ -322,13 +327,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getRetryDelayFieldBuilder(); } } @@ -384,39 +389,6 @@ private void buildPartial0(com.google.rpc.RetryInfo result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.RetryInfo) { @@ -484,7 +456,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Duration retryDelay_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -651,14 +623,14 @@ public com.google.protobuf.DurationOrBuilder getRetryDelayOrBuilder() { * * .google.protobuf.Duration retry_delay = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getRetryDelayFieldBuilder() { if (retryDelayBuilder_ == null) { retryDelayBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -668,17 +640,6 @@ public com.google.protobuf.DurationOrBuilder getRetryDelayOrBuilder() { return retryDelayBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.RetryInfo) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfoOrBuilder.java index bffcb9aa4b..a2d719a77f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/RetryInfoOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/error_details.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface RetryInfoOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Status.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Status.java index bd168c424c..4f5e36238c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Status.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/Status.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/status.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; /** @@ -34,13 +35,23 @@ * * Protobuf type {@code google.rpc.Status} */ -public final class Status extends com.google.protobuf.GeneratedMessageV3 +public final class Status extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.Status) StatusOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Status.class.getName()); + } // Use Status.newBuilder() to construct. - private Status(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Status(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -49,18 +60,12 @@ private Status() { details_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Status(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.StatusProto.internal_static_google_rpc_Status_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.StatusProto.internal_static_google_rpc_Status_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -235,8 +240,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (code_ != 0) { output.writeInt32(1, code_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, message_); } for (int i = 0; i < details_.size(); i++) { output.writeMessage(3, details_.get(i)); @@ -253,8 +258,8 @@ public int getSerializedSize() { if (code_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, code_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, message_); } for (int i = 0; i < details_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, details_.get(i)); @@ -337,38 +342,38 @@ public static com.google.rpc.Status parseFrom( public static com.google.rpc.Status parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.Status parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.Status parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.Status parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.Status parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.Status parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -391,7 +396,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -410,7 +415,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.Status} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.Status) com.google.rpc.StatusOrBuilder { @@ -419,7 +424,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.StatusProto.internal_static_google_rpc_Status_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -429,7 +434,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.Status.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -501,39 +506,6 @@ private void buildPartial0(com.google.rpc.Status result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.Status) { @@ -573,7 +545,7 @@ public Builder mergeFrom(com.google.rpc.Status other) { details_ = other.details_; bitField0_ = (bitField0_ & ~0x00000004); detailsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getDetailsFieldBuilder() : null; } else { @@ -836,7 +808,7 @@ private void ensureDetailsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -1170,14 +1142,14 @@ public java.util.List getDetailsBuilderList() { return getDetailsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getDetailsFieldBuilder() { if (detailsBuilder_ == null) { detailsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( @@ -1187,17 +1159,6 @@ public java.util.List getDetailsBuilderList() { return detailsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.Status) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusOrBuilder.java index ccf9c918fe..b833b85bc4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/status.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public interface StatusOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusProto.java index 90512e83a2..246cbda365 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/StatusProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/status.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc; public final class StatusProto { private StatusProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + StatusProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_Status_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_Status_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -57,11 +68,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_rpc_Status_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_rpc_Status_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_Status_descriptor, new java.lang.String[] { "Code", "Message", "Details", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.AnyProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java index d10064e157..1fc5325efb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContext.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/context/attribute_context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc.context; /** @@ -44,13 +45,23 @@ * * Protobuf type {@code google.rpc.context.AttributeContext} */ -public final class AttributeContext extends com.google.protobuf.GeneratedMessageV3 +public final class AttributeContext extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.context.AttributeContext) AttributeContextOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AttributeContext.class.getName()); + } // Use AttributeContext.newBuilder() to construct. - private AttributeContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AttributeContext(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -58,19 +69,13 @@ private AttributeContext() { extensions_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AttributeContext(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_fieldAccessorTable @@ -250,13 +255,23 @@ java.lang.String getLabelsOrDefault( * * Protobuf type {@code google.rpc.context.AttributeContext.Peer} */ - public static final class Peer extends com.google.protobuf.GeneratedMessageV3 + public static final class Peer extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.context.AttributeContext.Peer) PeerOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Peer.class.getName()); + } // Use Peer.newBuilder() to construct. - private Peer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Peer(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -266,12 +281,6 @@ private Peer() { regionCode_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Peer(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Peer_descriptor; @@ -290,7 +299,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Peer_fieldAccessorTable @@ -594,19 +603,19 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ip_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ip_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, ip_); } if (port_ != 0L) { output.writeInt64(2, port_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principal_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, principal_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principal_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, principal_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, regionCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(regionCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, regionCode_); } getUnknownFields().writeTo(output); } @@ -617,8 +626,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ip_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(ip_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, ip_); } if (port_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, port_); @@ -633,11 +642,11 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, labels__); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principal_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, principal_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principal_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, principal_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, regionCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(regionCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, regionCode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -725,38 +734,38 @@ public static com.google.rpc.context.AttributeContext.Peer parseFrom( public static com.google.rpc.context.AttributeContext.Peer parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Peer parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Peer parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Peer parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Peer parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Peer parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -779,8 +788,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -796,8 +804,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.context.AttributeContext.Peer} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.context.AttributeContext.Peer) com.google.rpc.context.AttributeContext.PeerOrBuilder { @@ -829,7 +836,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Peer_fieldAccessorTable @@ -841,7 +848,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.rpc.context.AttributeContext.Peer.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -908,41 +915,6 @@ private void buildPartial0(com.google.rpc.context.AttributeContext.Peer result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.context.AttributeContext.Peer) { @@ -1610,18 +1582,6 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.context.AttributeContext.Peer) } @@ -1802,13 +1762,23 @@ public interface ApiOrBuilder * * Protobuf type {@code google.rpc.context.AttributeContext.Api} */ - public static final class Api extends com.google.protobuf.GeneratedMessageV3 + public static final class Api extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.context.AttributeContext.Api) ApiOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Api.class.getName()); + } // Use Api.newBuilder() to construct. - private Api(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Api(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -1819,19 +1789,13 @@ private Api() { version_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Api(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Api_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Api_fieldAccessorTable @@ -2070,17 +2034,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(service_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, service_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, operation_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operation_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, operation_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, protocol_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protocol_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, protocol_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, version_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, version_); } getUnknownFields().writeTo(output); } @@ -2091,17 +2055,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, service_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(service_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, service_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(operation_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, operation_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, protocol_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protocol_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, protocol_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, version_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, version_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2184,38 +2148,38 @@ public static com.google.rpc.context.AttributeContext.Api parseFrom( public static com.google.rpc.context.AttributeContext.Api parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Api parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Api parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Api parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Api parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Api parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -2238,8 +2202,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -2254,8 +2217,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.context.AttributeContext.Api} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.context.AttributeContext.Api) com.google.rpc.context.AttributeContext.ApiOrBuilder { @@ -2265,7 +2227,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Api_fieldAccessorTable @@ -2277,7 +2239,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.rpc.context.AttributeContext.Api.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -2339,41 +2301,6 @@ private void buildPartial0(com.google.rpc.context.AttributeContext.Api result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.context.AttributeContext.Api) { @@ -2929,18 +2856,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.context.AttributeContext.Api) } @@ -3041,11 +2956,11 @@ public interface AuthOrBuilder * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -3066,11 +2981,11 @@ public interface AuthOrBuilder * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -3091,11 +3006,11 @@ public interface AuthOrBuilder * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -3117,11 +3032,11 @@ public interface AuthOrBuilder * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -3174,13 +3089,13 @@ public interface AuthOrBuilder * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -3200,13 +3115,13 @@ public interface AuthOrBuilder * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -3226,13 +3141,13 @@ public interface AuthOrBuilder * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -3328,13 +3243,23 @@ public interface AuthOrBuilder * * Protobuf type {@code google.rpc.context.AttributeContext.Auth} */ - public static final class Auth extends com.google.protobuf.GeneratedMessageV3 + public static final class Auth extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.context.AttributeContext.Auth) AuthOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Auth.class.getName()); + } // Use Auth.newBuilder() to construct. - private Auth(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Auth(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -3345,19 +3270,13 @@ private Auth() { accessLevels_ = com.google.protobuf.LazyStringArrayList.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Auth(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Auth_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Auth_fieldAccessorTable @@ -3441,11 +3360,11 @@ public com.google.protobuf.ByteString getPrincipalBytes() { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -3468,11 +3387,11 @@ public com.google.protobuf.ProtocolStringList getAudiencesList() { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -3495,11 +3414,11 @@ public int getAudiencesCount() { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -3523,11 +3442,11 @@ public java.lang.String getAudiences(int index) { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -3610,13 +3529,13 @@ public com.google.protobuf.ByteString getPresenterBytes() { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -3639,13 +3558,13 @@ public boolean hasClaims() { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -3668,13 +3587,13 @@ public com.google.protobuf.Struct getClaims() { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -3789,20 +3708,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principal_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, principal_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principal_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, principal_); } for (int i = 0; i < audiences_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, audiences_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 2, audiences_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(presenter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, presenter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(presenter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, presenter_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getClaims()); } for (int i = 0; i < accessLevels_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, accessLevels_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 5, accessLevels_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -3813,8 +3732,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(principal_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, principal_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(principal_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, principal_); } { int dataSize = 0; @@ -3824,8 +3743,8 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAudiencesList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(presenter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, presenter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(presenter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, presenter_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getClaims()); @@ -3931,38 +3850,38 @@ public static com.google.rpc.context.AttributeContext.Auth parseFrom( public static com.google.rpc.context.AttributeContext.Auth parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Auth parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Auth parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Auth parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Auth parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Auth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -3985,8 +3904,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -4001,8 +3919,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.context.AttributeContext.Auth} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.context.AttributeContext.Auth) com.google.rpc.context.AttributeContext.AuthOrBuilder { @@ -4012,7 +3929,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Auth_fieldAccessorTable @@ -4026,13 +3943,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getClaimsFieldBuilder(); } } @@ -4108,41 +4025,6 @@ private void buildPartial0(com.google.rpc.context.AttributeContext.Auth result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.context.AttributeContext.Auth) { @@ -4410,11 +4292,11 @@ private void ensureAudiencesIsMutable() { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4438,11 +4320,11 @@ public com.google.protobuf.ProtocolStringList getAudiencesList() { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4465,11 +4347,11 @@ public int getAudiencesCount() { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4493,11 +4375,11 @@ public java.lang.String getAudiences(int index) { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4521,11 +4403,11 @@ public com.google.protobuf.ByteString getAudiencesBytes(int index) { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4557,11 +4439,11 @@ public Builder setAudiences(int index, java.lang.String value) { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4592,11 +4474,11 @@ public Builder addAudiences(java.lang.String value) { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4624,11 +4506,11 @@ public Builder addAllAudiences(java.lang.Iterable values) { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4655,11 +4537,11 @@ public Builder clearAudiences() { * the following pieces of information: * * * The services intended to receive the credential. For example, - * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. + * ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * * A set of service-based scopes. For example, - * ["https://www.googleapis.com/auth/cloud-platform"]. + * ["https://www.googleapis.com/auth/cloud-platform"]. * * The client id of an app, such as the Firebase project id for JWTs - * from Firebase Auth. + * from Firebase Auth. * * Consult the documentation for the credential issuer to determine the * information provided. @@ -4804,7 +4686,7 @@ public Builder setPresenterBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Struct claims_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -4818,13 +4700,13 @@ public Builder setPresenterBytes(com.google.protobuf.ByteString value) { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -4846,13 +4728,13 @@ public boolean hasClaims() { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -4878,13 +4760,13 @@ public com.google.protobuf.Struct getClaims() { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -4914,13 +4796,13 @@ public Builder setClaims(com.google.protobuf.Struct value) { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -4947,13 +4829,13 @@ public Builder setClaims(com.google.protobuf.Struct.Builder builderForValue) { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -4988,13 +4870,13 @@ public Builder mergeClaims(com.google.protobuf.Struct value) { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -5021,13 +4903,13 @@ public Builder clearClaims() { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -5049,13 +4931,13 @@ public com.google.protobuf.Struct.Builder getClaimsBuilder() { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -5079,13 +4961,13 @@ public com.google.protobuf.StructOrBuilder getClaimsOrBuilder() { * is a subset of the standard required and optional claims that would * typically be presented for a Google-based JWT: * - * {'iss': 'accounts.google.com', - * 'sub': '113289723416554971153', - * 'aud': ['123456789012', 'pubsub.googleapis.com'], - * 'azp': '123456789012.apps.googleusercontent.com', - * 'email': 'jsmith@example.com', - * 'iat': 1353601026, - * 'exp': 1353604926} + * {'iss': 'accounts.google.com', + * 'sub': '113289723416554971153', + * 'aud': ['123456789012', 'pubsub.googleapis.com'], + * 'azp': '123456789012.apps.googleusercontent.com', + * 'email': 'jsmith@example.com', + * 'iat': 1353601026, + * 'exp': 1353604926} * * SAML assertions are similarly specified, but with an identity provider * dependent structure. @@ -5093,14 +4975,14 @@ public com.google.protobuf.StructOrBuilder getClaimsOrBuilder() { * * .google.protobuf.Struct claims = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getClaimsFieldBuilder() { if (claimsBuilder_ == null) { claimsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -5338,18 +5220,6 @@ public Builder addAccessLevelsBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.context.AttributeContext.Auth) } @@ -5789,13 +5659,23 @@ java.lang.String getHeadersOrDefault( * * Protobuf type {@code google.rpc.context.AttributeContext.Request} */ - public static final class Request extends com.google.protobuf.GeneratedMessageV3 + public static final class Request extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.context.AttributeContext.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Request.class.getName()); + } // Use Request.newBuilder() to construct. - private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Request(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -5810,12 +5690,6 @@ private Request() { reason_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Request(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Request_descriptor; @@ -5834,7 +5708,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Request_fieldAccessorTable @@ -6510,25 +6384,25 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, method_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(method_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, method_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, path_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, path_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, host_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(host_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, host_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheme_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, scheme_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(scheme_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, scheme_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, query_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(query_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, query_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(9, getTime()); @@ -6536,11 +6410,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (size_ != 0L) { output.writeInt64(10, size_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, protocol_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protocol_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 11, protocol_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, reason_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(reason_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, reason_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(13, getAuth()); @@ -6554,11 +6428,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, method_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(method_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, method_); } for (java.util.Map.Entry entry : internalGetHeaders().getMap().entrySet()) { @@ -6570,17 +6444,17 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, path_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, path_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, host_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(host_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, host_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheme_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, scheme_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(scheme_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, scheme_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, query_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(query_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, query_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getTime()); @@ -6588,11 +6462,11 @@ public int getSerializedSize() { if (size_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, size_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocol_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, protocol_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(protocol_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(11, protocol_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, reason_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(reason_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, reason_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getAuth()); @@ -6714,38 +6588,38 @@ public static com.google.rpc.context.AttributeContext.Request parseFrom( public static com.google.rpc.context.AttributeContext.Request parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Request parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Request parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Request parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -6768,8 +6642,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -6784,8 +6657,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.context.AttributeContext.Request} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.context.AttributeContext.Request) com.google.rpc.context.AttributeContext.RequestOrBuilder { @@ -6817,7 +6689,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Request_fieldAccessorTable @@ -6831,13 +6703,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTimeFieldBuilder(); getAuthFieldBuilder(); } @@ -6946,41 +6818,6 @@ private void buildPartial0(com.google.rpc.context.AttributeContext.Request resul result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.context.AttributeContext.Request) { @@ -7999,7 +7836,7 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp time_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -8171,14 +8008,14 @@ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { * * .google.protobuf.Timestamp time = 9; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimeFieldBuilder() { if (timeBuilder_ == null) { timeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -8474,7 +8311,7 @@ public Builder setReasonBytes(com.google.protobuf.ByteString value) { } private com.google.rpc.context.AttributeContext.Auth auth_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Auth, com.google.rpc.context.AttributeContext.Auth.Builder, com.google.rpc.context.AttributeContext.AuthOrBuilder> @@ -8650,14 +8487,14 @@ public com.google.rpc.context.AttributeContext.AuthOrBuilder getAuthOrBuilder() * * .google.rpc.context.AttributeContext.Auth auth = 13; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Auth, com.google.rpc.context.AttributeContext.Auth.Builder, com.google.rpc.context.AttributeContext.AuthOrBuilder> getAuthFieldBuilder() { if (authBuilder_ == null) { authBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Auth, com.google.rpc.context.AttributeContext.Auth.Builder, com.google.rpc.context.AttributeContext.AuthOrBuilder>( @@ -8667,18 +8504,6 @@ public com.google.rpc.context.AttributeContext.AuthOrBuilder getAuthOrBuilder() return authBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.context.AttributeContext.Request) } @@ -8922,24 +8747,28 @@ java.lang.String getHeadersOrDefault( * * Protobuf type {@code google.rpc.context.AttributeContext.Response} */ - public static final class Response extends com.google.protobuf.GeneratedMessageV3 + public static final class Response extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.context.AttributeContext.Response) ResponseOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Response.class.getName()); + } // Use Response.newBuilder() to construct. - private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Response(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Response() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Response(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Response_descriptor; @@ -8958,7 +8787,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Response_fieldAccessorTable @@ -9242,7 +9071,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (size_ != 0L) { output.writeInt64(2, size_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getTime()); @@ -9377,38 +9206,38 @@ public static com.google.rpc.context.AttributeContext.Response parseFrom( public static com.google.rpc.context.AttributeContext.Response parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Response parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Response parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Response parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Response parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -9431,8 +9260,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -9446,8 +9274,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.context.AttributeContext.Response} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.context.AttributeContext.Response) com.google.rpc.context.AttributeContext.ResponseOrBuilder { @@ -9479,7 +9306,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Response_fieldAccessorTable @@ -9493,13 +9320,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getTimeFieldBuilder(); getBackendLatencyFieldBuilder(); } @@ -9581,41 +9408,6 @@ private void buildPartial0(com.google.rpc.context.AttributeContext.Response resu result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.context.AttributeContext.Response) { @@ -10011,7 +9803,7 @@ public Builder putAllHeaders(java.util.Map v } private com.google.protobuf.Timestamp time_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -10183,14 +9975,14 @@ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { * * .google.protobuf.Timestamp time = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getTimeFieldBuilder() { if (timeBuilder_ == null) { timeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -10201,7 +9993,7 @@ public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder() { } private com.google.protobuf.Duration backendLatency_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -10395,14 +10187,14 @@ public com.google.protobuf.DurationOrBuilder getBackendLatencyOrBuilder() { * * .google.protobuf.Duration backend_latency = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getBackendLatencyFieldBuilder() { if (backendLatencyBuilder_ == null) { backendLatencyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -10412,18 +10204,6 @@ public com.google.protobuf.DurationOrBuilder getBackendLatencyOrBuilder() { return backendLatencyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.context.AttributeContext.Response) } @@ -10519,11 +10299,11 @@ public interface ResourceOrBuilder * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -10542,11 +10322,11 @@ public interface ResourceOrBuilder * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -10985,13 +10765,23 @@ java.lang.String getAnnotationsOrDefault( * * Protobuf type {@code google.rpc.context.AttributeContext.Resource} */ - public static final class Resource extends com.google.protobuf.GeneratedMessageV3 + public static final class Resource extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.context.AttributeContext.Resource) ResourceOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Resource.class.getName()); + } // Use Resource.newBuilder() to construct. - private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Resource(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -11005,12 +10795,6 @@ private Resource() { location_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Resource(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Resource_descriptor; @@ -11031,7 +10815,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Resource_fieldAccessorTable @@ -11109,11 +10893,11 @@ public com.google.protobuf.ByteString getServiceBytes() { * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -11143,11 +10927,11 @@ public java.lang.String getName() { * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -11848,24 +11632,24 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(service_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, service_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, type_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, uid_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uid_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, uid_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 6); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, displayName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(8, getCreateTime()); @@ -11876,11 +11660,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(10, getDeleteTime()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, etag_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(etag_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 11, etag_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, location_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(location_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, location_); } getUnknownFields().writeTo(output); } @@ -11891,14 +11675,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, service_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(service_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, service_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, type_); } for (java.util.Map.Entry entry : internalGetLabels().getMap().entrySet()) { @@ -11910,8 +11694,8 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, uid_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uid_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, uid_); } for (java.util.Map.Entry entry : internalGetAnnotations().getMap().entrySet()) { @@ -11923,8 +11707,8 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, annotations__); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, displayName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, displayName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCreateTime()); @@ -11935,11 +11719,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDeleteTime()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(etag_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(11, etag_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, location_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(location_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, location_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -12065,38 +11849,38 @@ public static com.google.rpc.context.AttributeContext.Resource parseFrom( public static com.google.rpc.context.AttributeContext.Resource parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Resource parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Resource parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Resource parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext.Resource parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -12119,8 +11903,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -12135,8 +11918,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.rpc.context.AttributeContext.Resource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.context.AttributeContext.Resource) com.google.rpc.context.AttributeContext.ResourceOrBuilder { @@ -12172,7 +11954,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_Resource_fieldAccessorTable @@ -12186,13 +11968,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); getDeleteTimeFieldBuilder(); @@ -12311,41 +12093,6 @@ private void buildPartial0(com.google.rpc.context.AttributeContext.Resource resu result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.context.AttributeContext.Resource) { @@ -12662,11 +12409,11 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -12695,11 +12442,11 @@ public java.lang.String getName() { * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -12728,11 +12475,11 @@ public com.google.protobuf.ByteString getNameBytes() { * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -12760,11 +12507,11 @@ public Builder setName(java.lang.String value) { * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -12788,11 +12535,11 @@ public Builder clearName() { * The differences between a resource name and a URI are: * * * Resource name is a logical identifier, independent of network - * protocol and API version. For example, - * `//pubsub.googleapis.com/projects/123/topics/news-feed`. + * protocol and API version. For example, + * `//pubsub.googleapis.com/projects/123/topics/news-feed`. * * URI often includes protocol and version information, so it can - * be used directly by applications. For example, - * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. + * be used directly by applications. For example, + * `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. * * See https://cloud.google.com/apis/design/resource_names for details. * @@ -13536,7 +13283,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -13712,14 +13459,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * .google.protobuf.Timestamp create_time = 8; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -13730,7 +13477,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -13915,14 +13662,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * .google.protobuf.Timestamp update_time = 9; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -13933,7 +13680,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private com.google.protobuf.Timestamp deleteTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -14109,14 +13856,14 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * .google.protobuf.Timestamp delete_time = 10; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -14383,18 +14130,6 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.context.AttributeContext.Resource) } @@ -15088,38 +14823,38 @@ public static com.google.rpc.context.AttributeContext parseFrom( public static com.google.rpc.context.AttributeContext parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AttributeContext parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AttributeContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -15142,7 +14877,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -15171,7 +14906,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.context.AttributeContext} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.context.AttributeContext) com.google.rpc.context.AttributeContextOrBuilder { @@ -15181,7 +14916,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AttributeContextProto .internal_static_google_rpc_context_AttributeContext_fieldAccessorTable @@ -15195,13 +14930,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getOriginFieldBuilder(); getSourceFieldBuilder(); getDestinationFieldBuilder(); @@ -15341,39 +15076,6 @@ private void buildPartial0(com.google.rpc.context.AttributeContext result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.context.AttributeContext) { @@ -15426,7 +15128,7 @@ public Builder mergeFrom(com.google.rpc.context.AttributeContext other) { extensions_ = other.extensions_; bitField0_ = (bitField0_ & ~0x00000080); extensionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getExtensionsFieldBuilder() : null; } else { @@ -15534,7 +15236,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.rpc.context.AttributeContext.Peer origin_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder> @@ -15719,14 +15421,14 @@ public com.google.rpc.context.AttributeContext.PeerOrBuilder getOriginOrBuilder( * * .google.rpc.context.AttributeContext.Peer origin = 7; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder> getOriginFieldBuilder() { if (originBuilder_ == null) { originBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder>( @@ -15737,7 +15439,7 @@ public com.google.rpc.context.AttributeContext.PeerOrBuilder getOriginOrBuilder( } private com.google.rpc.context.AttributeContext.Peer source_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder> @@ -15922,14 +15624,14 @@ public com.google.rpc.context.AttributeContext.PeerOrBuilder getSourceOrBuilder( * * .google.rpc.context.AttributeContext.Peer source = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder> getSourceFieldBuilder() { if (sourceBuilder_ == null) { sourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder>( @@ -15940,7 +15642,7 @@ public com.google.rpc.context.AttributeContext.PeerOrBuilder getSourceOrBuilder( } private com.google.rpc.context.AttributeContext.Peer destination_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder> @@ -16126,14 +15828,14 @@ public com.google.rpc.context.AttributeContext.PeerOrBuilder getDestinationOrBui * * .google.rpc.context.AttributeContext.Peer destination = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder> getDestinationFieldBuilder() { if (destinationBuilder_ == null) { destinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Peer, com.google.rpc.context.AttributeContext.Peer.Builder, com.google.rpc.context.AttributeContext.PeerOrBuilder>( @@ -16144,7 +15846,7 @@ public com.google.rpc.context.AttributeContext.PeerOrBuilder getDestinationOrBui } private com.google.rpc.context.AttributeContext.Request request_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Request, com.google.rpc.context.AttributeContext.Request.Builder, com.google.rpc.context.AttributeContext.RequestOrBuilder> @@ -16312,14 +16014,14 @@ public com.google.rpc.context.AttributeContext.RequestOrBuilder getRequestOrBuil * * .google.rpc.context.AttributeContext.Request request = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Request, com.google.rpc.context.AttributeContext.Request.Builder, com.google.rpc.context.AttributeContext.RequestOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Request, com.google.rpc.context.AttributeContext.Request.Builder, com.google.rpc.context.AttributeContext.RequestOrBuilder>( @@ -16330,7 +16032,7 @@ public com.google.rpc.context.AttributeContext.RequestOrBuilder getRequestOrBuil } private com.google.rpc.context.AttributeContext.Response response_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Response, com.google.rpc.context.AttributeContext.Response.Builder, com.google.rpc.context.AttributeContext.ResponseOrBuilder> @@ -16498,14 +16200,14 @@ public com.google.rpc.context.AttributeContext.ResponseOrBuilder getResponseOrBu * * .google.rpc.context.AttributeContext.Response response = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Response, com.google.rpc.context.AttributeContext.Response.Builder, com.google.rpc.context.AttributeContext.ResponseOrBuilder> getResponseFieldBuilder() { if (responseBuilder_ == null) { responseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Response, com.google.rpc.context.AttributeContext.Response.Builder, com.google.rpc.context.AttributeContext.ResponseOrBuilder>( @@ -16516,7 +16218,7 @@ public com.google.rpc.context.AttributeContext.ResponseOrBuilder getResponseOrBu } private com.google.rpc.context.AttributeContext.Resource resource_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Resource, com.google.rpc.context.AttributeContext.Resource.Builder, com.google.rpc.context.AttributeContext.ResourceOrBuilder> @@ -16702,14 +16404,14 @@ public com.google.rpc.context.AttributeContext.ResourceOrBuilder getResourceOrBu * * .google.rpc.context.AttributeContext.Resource resource = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Resource, com.google.rpc.context.AttributeContext.Resource.Builder, com.google.rpc.context.AttributeContext.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Resource, com.google.rpc.context.AttributeContext.Resource.Builder, com.google.rpc.context.AttributeContext.ResourceOrBuilder>( @@ -16720,7 +16422,7 @@ public com.google.rpc.context.AttributeContext.ResourceOrBuilder getResourceOrBu } private com.google.rpc.context.AttributeContext.Api api_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Api, com.google.rpc.context.AttributeContext.Api.Builder, com.google.rpc.context.AttributeContext.ApiOrBuilder> @@ -16887,14 +16589,14 @@ public com.google.rpc.context.AttributeContext.ApiOrBuilder getApiOrBuilder() { * * .google.rpc.context.AttributeContext.Api api = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Api, com.google.rpc.context.AttributeContext.Api.Builder, com.google.rpc.context.AttributeContext.ApiOrBuilder> getApiFieldBuilder() { if (apiBuilder_ == null) { apiBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.rpc.context.AttributeContext.Api, com.google.rpc.context.AttributeContext.Api.Builder, com.google.rpc.context.AttributeContext.ApiOrBuilder>( @@ -16913,7 +16615,7 @@ private void ensureExtensionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> @@ -17229,14 +16931,14 @@ public java.util.List getExtensionsBuilderList( return getExtensionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> getExtensionsFieldBuilder() { if (extensionsBuilder_ == null) { extensionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( @@ -17246,17 +16948,6 @@ public java.util.List getExtensionsBuilderList( return extensionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.context.AttributeContext) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextOrBuilder.java index 8ec7c82c79..f2d0a71a28 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/context/attribute_context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc.context; public interface AttributeContextOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextProto.java index d716034fed..414e784748 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AttributeContextProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/context/attribute_context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc.context; public final class AttributeContextProto { private AttributeContextProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AttributeContextProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,51 +41,51 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Peer_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Peer_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Api_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Api_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Auth_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Auth_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Request_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Request_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Response_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Response_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Resource_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -158,7 +169,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AttributeContext_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_rpc_context_AttributeContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_descriptor, new java.lang.String[] { "Origin", @@ -173,7 +184,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AttributeContext_Peer_descriptor = internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(0); internal_static_google_rpc_context_AttributeContext_Peer_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Peer_descriptor, new java.lang.String[] { "Ip", "Port", "Labels", "Principal", "RegionCode", @@ -181,7 +192,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_descriptor = internal_static_google_rpc_context_AttributeContext_Peer_descriptor.getNestedTypes().get(0); internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Peer_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", @@ -189,7 +200,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AttributeContext_Api_descriptor = internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(1); internal_static_google_rpc_context_AttributeContext_Api_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Api_descriptor, new java.lang.String[] { "Service", "Operation", "Protocol", "Version", @@ -197,7 +208,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AttributeContext_Auth_descriptor = internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(2); internal_static_google_rpc_context_AttributeContext_Auth_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Auth_descriptor, new java.lang.String[] { "Principal", "Audiences", "Presenter", "Claims", "AccessLevels", @@ -205,7 +216,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AttributeContext_Request_descriptor = internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(3); internal_static_google_rpc_context_AttributeContext_Request_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Request_descriptor, new java.lang.String[] { "Id", @@ -226,7 +237,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { .getNestedTypes() .get(0); internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Request_HeadersEntry_descriptor, new java.lang.String[] { "Key", "Value", @@ -234,7 +245,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AttributeContext_Response_descriptor = internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(4); internal_static_google_rpc_context_AttributeContext_Response_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Response_descriptor, new java.lang.String[] { "Code", "Size", "Headers", "Time", "BackendLatency", @@ -244,7 +255,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { .getNestedTypes() .get(0); internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Response_HeadersEntry_descriptor, new java.lang.String[] { "Key", "Value", @@ -252,7 +263,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AttributeContext_Resource_descriptor = internal_static_google_rpc_context_AttributeContext_descriptor.getNestedTypes().get(5); internal_static_google_rpc_context_AttributeContext_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Resource_descriptor, new java.lang.String[] { "Service", @@ -273,7 +284,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { .getNestedTypes() .get(0); internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Resource_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", @@ -283,11 +294,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { .getNestedTypes() .get(1); internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AttributeContext_Resource_AnnotationsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java index 88c73efc41..829113b818 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContext.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/context/audit_context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc.context; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.rpc.context.AuditContext} */ -public final class AuditContext extends com.google.protobuf.GeneratedMessageV3 +public final class AuditContext extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.rpc.context.AuditContext) AuditContextOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuditContext.class.getName()); + } // Use AuditContext.newBuilder() to construct. - private AuditContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private AuditContext(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +54,13 @@ private AuditContext() { targetResource_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AuditContext(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.rpc.context.AuditContextProto .internal_static_google_rpc_context_AuditContext_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AuditContextProto .internal_static_google_rpc_context_AuditContext_fieldAccessorTable @@ -296,8 +301,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (scrubbedResponseItemCount_ != 0) { output.writeInt32(4, scrubbedResponseItemCount_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetResource_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, targetResource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(targetResource_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, targetResource_); } getUnknownFields().writeTo(output); } @@ -320,8 +325,8 @@ public int getSerializedSize() { if (scrubbedResponseItemCount_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, scrubbedResponseItemCount_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetResource_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, targetResource_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(targetResource_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, targetResource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -415,38 +420,38 @@ public static com.google.rpc.context.AuditContext parseFrom( public static com.google.rpc.context.AuditContext parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AuditContext parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AuditContext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.rpc.context.AuditContext parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.rpc.context.AuditContext parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.rpc.context.AuditContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -469,7 +474,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -482,7 +487,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.rpc.context.AuditContext} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.rpc.context.AuditContext) com.google.rpc.context.AuditContextOrBuilder { @@ -492,7 +497,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.rpc.context.AuditContextProto .internal_static_google_rpc_context_AuditContext_fieldAccessorTable @@ -506,13 +511,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getScrubbedRequestFieldBuilder(); getScrubbedResponseFieldBuilder(); } @@ -593,39 +598,6 @@ private void buildPartial0(com.google.rpc.context.AuditContext result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.rpc.context.AuditContext) { @@ -787,7 +759,7 @@ public Builder clearAuditLog() { } private com.google.protobuf.Struct scrubbedRequest_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -981,14 +953,14 @@ public com.google.protobuf.StructOrBuilder getScrubbedRequestOrBuilder() { * * .google.protobuf.Struct scrubbed_request = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getScrubbedRequestFieldBuilder() { if (scrubbedRequestBuilder_ == null) { scrubbedRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -999,7 +971,7 @@ public com.google.protobuf.StructOrBuilder getScrubbedRequestOrBuilder() { } private com.google.protobuf.Struct scrubbedResponse_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1193,14 +1165,14 @@ public com.google.protobuf.StructOrBuilder getScrubbedResponseOrBuilder() { * * .google.protobuf.Struct scrubbed_response = 3; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getScrubbedResponseFieldBuilder() { if (scrubbedResponseBuilder_ == null) { scrubbedResponseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -1369,17 +1341,6 @@ public Builder setTargetResourceBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.rpc.context.AuditContext) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextOrBuilder.java index 160be6082c..1c446d1758 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/context/audit_context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc.context; public interface AuditContextOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java index edc7fc249c..bc1bbeeb54 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/rpc/context/AuditContextProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/rpc/context/audit_context.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.rpc.context; public final class AuditContextProto { private AuditContextProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + AuditContextProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_rpc_context_AuditContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_rpc_context_AuditContext_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -62,7 +73,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_rpc_context_AuditContext_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_rpc_context_AuditContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_rpc_context_AuditContext_descriptor, new java.lang.String[] { "AuditLog", @@ -71,6 +82,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ScrubbedResponseItemCount", "TargetResource", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.StructProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Channel.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Channel.java index f617426948..ef2e604557 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Channel.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Channel.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; /** @@ -30,31 +31,35 @@ * * Protobuf type {@code google.shopping.type.Channel} */ -public final class Channel extends com.google.protobuf.GeneratedMessageV3 +public final class Channel extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.shopping.type.Channel) ChannelOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Channel.class.getName()); + } // Use Channel.newBuilder() to construct. - private Channel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Channel(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Channel() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Channel(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Channel_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Channel_fieldAccessorTable @@ -105,6 +110,15 @@ public enum ChannelEnum implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ChannelEnum.class.getName()); + } /** * * @@ -309,38 +323,38 @@ public static com.google.shopping.type.Channel parseFrom( public static com.google.shopping.type.Channel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.Channel parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.Channel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.type.Channel parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.Channel parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.Channel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -363,7 +377,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -378,7 +392,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.shopping.type.Channel} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.type.Channel) com.google.shopping.type.ChannelOrBuilder { @@ -388,7 +402,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Channel_fieldAccessorTable @@ -400,7 +414,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.shopping.type.Channel.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -437,39 +451,6 @@ public com.google.shopping.type.Channel buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.type.Channel) { @@ -525,17 +506,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.shopping.type.Channel) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ChannelOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ChannelOrBuilder.java index 23dba6cd72..409c4c9a09 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ChannelOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ChannelOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; public interface ChannelOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/CustomAttribute.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/CustomAttribute.java index e0d8dde3d0..8acb20c639 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/CustomAttribute.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/CustomAttribute.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.shopping.type.CustomAttribute} */ -public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 +public final class CustomAttribute extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.shopping.type.CustomAttribute) CustomAttributeOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CustomAttribute.class.getName()); + } // Use CustomAttribute.newBuilder() to construct. - private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CustomAttribute(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +56,13 @@ private CustomAttribute() { groupValues_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CustomAttribute(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_CustomAttribute_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable @@ -293,10 +298,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); } for (int i = 0; i < groupValues_.size(); i++) { output.writeMessage(3, groupValues_.get(i)); @@ -311,10 +316,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); } for (int i = 0; i < groupValues_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, groupValues_.get(i)); @@ -408,38 +413,38 @@ public static com.google.shopping.type.CustomAttribute parseFrom( public static com.google.shopping.type.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.CustomAttribute parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.CustomAttribute parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.type.CustomAttribute parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -462,7 +467,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -476,7 +481,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.shopping.type.CustomAttribute} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.type.CustomAttribute) com.google.shopping.type.CustomAttributeOrBuilder { @@ -486,7 +491,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable @@ -498,7 +503,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.shopping.type.CustomAttribute.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -576,39 +581,6 @@ private void buildPartial0(com.google.shopping.type.CustomAttribute result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.type.CustomAttribute) { @@ -650,7 +622,7 @@ public Builder mergeFrom(com.google.shopping.type.CustomAttribute other) { groupValues_ = other.groupValues_; bitField0_ = (bitField0_ & ~0x00000004); groupValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getGroupValuesFieldBuilder() : null; } else { @@ -985,7 +957,7 @@ private void ensureGroupValuesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> @@ -1326,14 +1298,14 @@ public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder(in return getGroupValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder> getGroupValuesFieldBuilder() { if (groupValuesBuilder_ == null) { groupValuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.shopping.type.CustomAttribute, com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>( @@ -1343,17 +1315,6 @@ public com.google.shopping.type.CustomAttribute.Builder addGroupValuesBuilder(in return groupValuesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.shopping.type.CustomAttribute) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java index c7a373f117..1fd06fc51b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/CustomAttributeOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; public interface CustomAttributeOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Destination.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Destination.java index 1d379d97ab..5d0a6c9b63 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Destination.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Destination.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; /** @@ -31,31 +32,35 @@ * * Protobuf type {@code google.shopping.type.Destination} */ -public final class Destination extends com.google.protobuf.GeneratedMessageV3 +public final class Destination extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.shopping.type.Destination) DestinationOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Destination.class.getName()); + } // Use Destination.newBuilder() to construct. - private Destination(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Destination(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Destination() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Destination(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Destination_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Destination_fieldAccessorTable @@ -149,6 +154,15 @@ public enum DestinationEnum implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DestinationEnum.class.getName()); + } /** * * @@ -405,38 +419,38 @@ public static com.google.shopping.type.Destination parseFrom( public static com.google.shopping.type.Destination parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.Destination parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.Destination parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.type.Destination parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.Destination parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.Destination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -459,7 +473,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -475,7 +489,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.shopping.type.Destination} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.type.Destination) com.google.shopping.type.DestinationOrBuilder { @@ -485,7 +499,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Destination_fieldAccessorTable @@ -497,7 +511,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.shopping.type.Destination.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -534,39 +548,6 @@ public com.google.shopping.type.Destination buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.type.Destination) { @@ -622,17 +603,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.shopping.type.Destination) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/DestinationOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/DestinationOrBuilder.java index 9cd56e0ec7..7e416a2ba3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/DestinationOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/DestinationOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; public interface DestinationOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Price.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Price.java index 59fed09d9d..a597b320f5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Price.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Price.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.shopping.type.Price} */ -public final class Price extends com.google.protobuf.GeneratedMessageV3 +public final class Price extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.shopping.type.Price) PriceOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Price.class.getName()); + } // Use Price.newBuilder() to construct. - private Price(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Price(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,19 +53,13 @@ private Price() { currencyCode_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Price(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Price_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Price_fieldAccessorTable @@ -187,7 +192,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt64(1, amountMicros_); } if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, currencyCode_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, currencyCode_); } getUnknownFields().writeTo(output); } @@ -202,7 +207,7 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, amountMicros_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, currencyCode_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, currencyCode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -287,38 +292,38 @@ public static com.google.shopping.type.Price parseFrom( public static com.google.shopping.type.Price parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.Price parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.Price parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.type.Price parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.Price parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.Price parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -341,7 +346,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -354,7 +359,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.shopping.type.Price} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.type.Price) com.google.shopping.type.PriceOrBuilder { @@ -364,7 +369,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Price_fieldAccessorTable @@ -375,7 +380,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.shopping.type.Price.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -432,39 +437,6 @@ private void buildPartial0(com.google.shopping.type.Price result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.type.Price) { @@ -744,17 +716,6 @@ public Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.shopping.type.Price) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/PriceOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/PriceOrBuilder.java index d482201b19..26f3d14d13 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/PriceOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/PriceOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; public interface PriceOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContext.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContext.java index 15c0aa3d9d..7265425321 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContext.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContext.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; /** @@ -34,31 +35,35 @@ * * Protobuf type {@code google.shopping.type.ReportingContext} */ -public final class ReportingContext extends com.google.protobuf.GeneratedMessageV3 +public final class ReportingContext extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.shopping.type.ReportingContext) ReportingContextOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ReportingContext.class.getName()); + } // Use ReportingContext.newBuilder() to construct. - private ReportingContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ReportingContext(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ReportingContext() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ReportingContext(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_ReportingContext_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_ReportingContext_fieldAccessorTable @@ -240,6 +245,15 @@ public enum ReportingContextEnum implements com.google.protobuf.ProtocolMessageE UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ReportingContextEnum.class.getName()); + } /** * * @@ -602,38 +616,38 @@ public static com.google.shopping.type.ReportingContext parseFrom( public static com.google.shopping.type.ReportingContext parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.ReportingContext parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.ReportingContext parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.type.ReportingContext parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.ReportingContext parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.ReportingContext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -656,7 +670,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -675,7 +689,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.shopping.type.ReportingContext} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.type.ReportingContext) com.google.shopping.type.ReportingContextOrBuilder { @@ -685,7 +699,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_ReportingContext_fieldAccessorTable @@ -697,7 +711,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.shopping.type.ReportingContext.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -735,39 +749,6 @@ public com.google.shopping.type.ReportingContext buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.type.ReportingContext) { @@ -823,17 +804,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.shopping.type.ReportingContext) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java index b52b7ede77..8745e4397d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/ReportingContextOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; public interface ReportingContextOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/TypesProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/TypesProto.java index 03a7f4cc86..72c5527ef9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/TypesProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/TypesProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; public final class TypesProto { private TypesProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + TypesProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,27 +41,27 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_shopping_type_Weight_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_shopping_type_Weight_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_shopping_type_Price_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_shopping_type_Price_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_shopping_type_CustomAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_shopping_type_Destination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_shopping_type_Destination_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_shopping_type_ReportingContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_shopping_type_ReportingContext_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_shopping_type_Channel_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_shopping_type_Channel_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -101,7 +112,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_shopping_type_Weight_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_shopping_type_Weight_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_shopping_type_Weight_descriptor, new java.lang.String[] { "AmountMicros", "Unit", @@ -109,7 +120,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_shopping_type_Price_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_shopping_type_Price_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_shopping_type_Price_descriptor, new java.lang.String[] { "AmountMicros", "CurrencyCode", @@ -117,7 +128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_shopping_type_CustomAttribute_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_shopping_type_CustomAttribute_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_shopping_type_CustomAttribute_descriptor, new java.lang.String[] { "Name", "Value", "GroupValues", @@ -125,19 +136,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_shopping_type_Destination_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_shopping_type_Destination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_shopping_type_Destination_descriptor, new java.lang.String[] {}); internal_static_google_shopping_type_ReportingContext_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_shopping_type_ReportingContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_shopping_type_ReportingContext_descriptor, new java.lang.String[] {}); internal_static_google_shopping_type_Channel_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_shopping_type_Channel_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_shopping_type_Channel_descriptor, new java.lang.String[] {}); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Weight.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Weight.java index b92904efd5..8a5a17c5b5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Weight.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/Weight.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.shopping.type.Weight} */ -public final class Weight extends com.google.protobuf.GeneratedMessageV3 +public final class Weight extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.shopping.type.Weight) WeightOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Weight.class.getName()); + } // Use Weight.newBuilder() to construct. - private Weight(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Weight(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,19 +53,13 @@ private Weight() { unit_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Weight(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Weight_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Weight_fieldAccessorTable @@ -105,6 +110,15 @@ public enum WeightUnit implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + WeightUnit.class.getName()); + } /** * * @@ -411,38 +425,38 @@ public static com.google.shopping.type.Weight parseFrom( public static com.google.shopping.type.Weight parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.Weight parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.Weight parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.type.Weight parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.shopping.type.Weight parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.shopping.type.Weight parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -465,7 +479,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -478,7 +492,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.shopping.type.Weight} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.shopping.type.Weight) com.google.shopping.type.WeightOrBuilder { @@ -488,7 +502,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.shopping.type.TypesProto .internal_static_google_shopping_type_Weight_fieldAccessorTable @@ -499,7 +513,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.shopping.type.Weight.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -555,39 +569,6 @@ private void buildPartial0(com.google.shopping.type.Weight result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.type.Weight) { @@ -842,17 +823,6 @@ public Builder clearUnit() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.shopping.type.Weight) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/WeightOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/WeightOrBuilder.java index a61a0d16d0..f9d3b94209 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/WeightOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/shopping/type/WeightOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/shopping/type/types.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.shopping.type; public interface WeightOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriod.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriod.java index 1a1fab1f89..c7667fcf52 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriod.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriod.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/calendar_period.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -118,6 +119,15 @@ public enum CalendarPeriod implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CalendarPeriod.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriodProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriodProto.java index 0fb40cd3ea..57793a1c99 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriodProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/CalendarPeriodProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/calendar_period.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class CalendarPeriodProto { private CalendarPeriodProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + CalendarPeriodProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -48,6 +59,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Color.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Color.java index 66fc30f57f..6e88d0796d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Color.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Color.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/color.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -43,138 +44,142 @@ * * Example (Java): * - * import com.google.type.Color; + * import com.google.type.Color; * - * // ... - * public static java.awt.Color fromProto(Color protocolor) { - * float alpha = protocolor.hasAlpha() - * ? protocolor.getAlpha().getValue() - * : 1.0; + * // ... + * public static java.awt.Color fromProto(Color protocolor) { + * float alpha = protocolor.hasAlpha() + * ? protocolor.getAlpha().getValue() + * : 1.0; * - * return new java.awt.Color( - * protocolor.getRed(), - * protocolor.getGreen(), - * protocolor.getBlue(), - * alpha); - * } + * return new java.awt.Color( + * protocolor.getRed(), + * protocolor.getGreen(), + * protocolor.getBlue(), + * alpha); + * } * - * public static Color toProto(java.awt.Color color) { - * float red = (float) color.getRed(); - * float green = (float) color.getGreen(); - * float blue = (float) color.getBlue(); - * float denominator = 255.0; - * Color.Builder resultBuilder = - * Color - * .newBuilder() - * .setRed(red / denominator) - * .setGreen(green / denominator) - * .setBlue(blue / denominator); - * int alpha = color.getAlpha(); - * if (alpha != 255) { - * result.setAlpha( - * FloatValue - * .newBuilder() - * .setValue(((float) alpha) / denominator) - * .build()); - * } - * return resultBuilder.build(); - * } - * // ... + * public static Color toProto(java.awt.Color color) { + * float red = (float) color.getRed(); + * float green = (float) color.getGreen(); + * float blue = (float) color.getBlue(); + * float denominator = 255.0; + * Color.Builder resultBuilder = + * Color + * .newBuilder() + * .setRed(red / denominator) + * .setGreen(green / denominator) + * .setBlue(blue / denominator); + * int alpha = color.getAlpha(); + * if (alpha != 255) { + * result.setAlpha( + * FloatValue + * .newBuilder() + * .setValue(((float) alpha) / denominator) + * .build()); + * } + * return resultBuilder.build(); + * } + * // ... * * Example (iOS / Obj-C): * - * // ... - * static UIColor* fromProto(Color* protocolor) { - * float red = [protocolor red]; - * float green = [protocolor green]; - * float blue = [protocolor blue]; - * FloatValue* alpha_wrapper = [protocolor alpha]; - * float alpha = 1.0; - * if (alpha_wrapper != nil) { - * alpha = [alpha_wrapper value]; - * } - * return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; - * } + * // ... + * static UIColor* fromProto(Color* protocolor) { + * float red = [protocolor red]; + * float green = [protocolor green]; + * float blue = [protocolor blue]; + * FloatValue* alpha_wrapper = [protocolor alpha]; + * float alpha = 1.0; + * if (alpha_wrapper != nil) { + * alpha = [alpha_wrapper value]; + * } + * return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + * } * - * static Color* toProto(UIColor* color) { - * CGFloat red, green, blue, alpha; - * if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { - * return nil; - * } - * Color* result = [[Color alloc] init]; - * [result setRed:red]; - * [result setGreen:green]; - * [result setBlue:blue]; - * if (alpha <= 0.9999) { - * [result setAlpha:floatWrapperWithValue(alpha)]; - * } - * [result autorelease]; - * return result; - * } - * // ... + * static Color* toProto(UIColor* color) { + * CGFloat red, green, blue, alpha; + * if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { + * return nil; + * } + * Color* result = [[Color alloc] init]; + * [result setRed:red]; + * [result setGreen:green]; + * [result setBlue:blue]; + * if (alpha <= 0.9999) { + * [result setAlpha:floatWrapperWithValue(alpha)]; + * } + * [result autorelease]; + * return result; + * } + * // ... * - * Example (JavaScript): + * Example (JavaScript): * - * // ... + * // ... * - * var protoToCssColor = function(rgb_color) { - * var redFrac = rgb_color.red || 0.0; - * var greenFrac = rgb_color.green || 0.0; - * var blueFrac = rgb_color.blue || 0.0; - * var red = Math.floor(redFrac * 255); - * var green = Math.floor(greenFrac * 255); - * var blue = Math.floor(blueFrac * 255); + * var protoToCssColor = function(rgb_color) { + * var redFrac = rgb_color.red || 0.0; + * var greenFrac = rgb_color.green || 0.0; + * var blueFrac = rgb_color.blue || 0.0; + * var red = Math.floor(redFrac * 255); + * var green = Math.floor(greenFrac * 255); + * var blue = Math.floor(blueFrac * 255); * - * if (!('alpha' in rgb_color)) { - * return rgbToCssColor(red, green, blue); - * } + * if (!('alpha' in rgb_color)) { + * return rgbToCssColor(red, green, blue); + * } * - * var alphaFrac = rgb_color.alpha.value || 0.0; - * var rgbParams = [red, green, blue].join(','); - * return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); - * }; + * var alphaFrac = rgb_color.alpha.value || 0.0; + * var rgbParams = [red, green, blue].join(','); + * return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + * }; * - * var rgbToCssColor = function(red, green, blue) { - * var rgbNumber = new Number((red << 16) | (green << 8) | blue); - * var hexString = rgbNumber.toString(16); - * var missingZeros = 6 - hexString.length; - * var resultBuilder = ['#']; - * for (var i = 0; i < missingZeros; i++) { - * resultBuilder.push('0'); - * } - * resultBuilder.push(hexString); - * return resultBuilder.join(''); - * }; + * var rgbToCssColor = function(red, green, blue) { + * var rgbNumber = new Number((red << 16) | (green << 8) | blue); + * var hexString = rgbNumber.toString(16); + * var missingZeros = 6 - hexString.length; + * var resultBuilder = ['#']; + * for (var i = 0; i < missingZeros; i++) { + * resultBuilder.push('0'); + * } + * resultBuilder.push(hexString); + * return resultBuilder.join(''); + * }; * - * // ... + * // ... * * * Protobuf type {@code google.type.Color} */ -public final class Color extends com.google.protobuf.GeneratedMessageV3 +public final class Color extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.Color) ColorOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Color.class.getName()); + } // Use Color.newBuilder() to construct. - private Color(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Color(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Color() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Color(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.ColorProto.internal_static_google_type_Color_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.ColorProto.internal_static_google_type_Color_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -245,7 +250,7 @@ public float getBlue() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -270,7 +275,7 @@ public boolean hasAlpha() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -295,7 +300,7 @@ public com.google.protobuf.FloatValue getAlpha() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -446,38 +451,38 @@ public static com.google.type.Color parseFrom( public static com.google.type.Color parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Color parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Color parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.Color parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Color parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Color parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -500,7 +505,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -528,115 +533,115 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example (Java): * - * import com.google.type.Color; + * import com.google.type.Color; * - * // ... - * public static java.awt.Color fromProto(Color protocolor) { - * float alpha = protocolor.hasAlpha() - * ? protocolor.getAlpha().getValue() - * : 1.0; + * // ... + * public static java.awt.Color fromProto(Color protocolor) { + * float alpha = protocolor.hasAlpha() + * ? protocolor.getAlpha().getValue() + * : 1.0; * - * return new java.awt.Color( - * protocolor.getRed(), - * protocolor.getGreen(), - * protocolor.getBlue(), - * alpha); - * } + * return new java.awt.Color( + * protocolor.getRed(), + * protocolor.getGreen(), + * protocolor.getBlue(), + * alpha); + * } * - * public static Color toProto(java.awt.Color color) { - * float red = (float) color.getRed(); - * float green = (float) color.getGreen(); - * float blue = (float) color.getBlue(); - * float denominator = 255.0; - * Color.Builder resultBuilder = - * Color - * .newBuilder() - * .setRed(red / denominator) - * .setGreen(green / denominator) - * .setBlue(blue / denominator); - * int alpha = color.getAlpha(); - * if (alpha != 255) { - * result.setAlpha( - * FloatValue - * .newBuilder() - * .setValue(((float) alpha) / denominator) - * .build()); - * } - * return resultBuilder.build(); - * } - * // ... + * public static Color toProto(java.awt.Color color) { + * float red = (float) color.getRed(); + * float green = (float) color.getGreen(); + * float blue = (float) color.getBlue(); + * float denominator = 255.0; + * Color.Builder resultBuilder = + * Color + * .newBuilder() + * .setRed(red / denominator) + * .setGreen(green / denominator) + * .setBlue(blue / denominator); + * int alpha = color.getAlpha(); + * if (alpha != 255) { + * result.setAlpha( + * FloatValue + * .newBuilder() + * .setValue(((float) alpha) / denominator) + * .build()); + * } + * return resultBuilder.build(); + * } + * // ... * * Example (iOS / Obj-C): * - * // ... - * static UIColor* fromProto(Color* protocolor) { - * float red = [protocolor red]; - * float green = [protocolor green]; - * float blue = [protocolor blue]; - * FloatValue* alpha_wrapper = [protocolor alpha]; - * float alpha = 1.0; - * if (alpha_wrapper != nil) { - * alpha = [alpha_wrapper value]; - * } - * return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; - * } + * // ... + * static UIColor* fromProto(Color* protocolor) { + * float red = [protocolor red]; + * float green = [protocolor green]; + * float blue = [protocolor blue]; + * FloatValue* alpha_wrapper = [protocolor alpha]; + * float alpha = 1.0; + * if (alpha_wrapper != nil) { + * alpha = [alpha_wrapper value]; + * } + * return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + * } * - * static Color* toProto(UIColor* color) { - * CGFloat red, green, blue, alpha; - * if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { - * return nil; - * } - * Color* result = [[Color alloc] init]; - * [result setRed:red]; - * [result setGreen:green]; - * [result setBlue:blue]; - * if (alpha <= 0.9999) { - * [result setAlpha:floatWrapperWithValue(alpha)]; - * } - * [result autorelease]; - * return result; - * } - * // ... + * static Color* toProto(UIColor* color) { + * CGFloat red, green, blue, alpha; + * if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { + * return nil; + * } + * Color* result = [[Color alloc] init]; + * [result setRed:red]; + * [result setGreen:green]; + * [result setBlue:blue]; + * if (alpha <= 0.9999) { + * [result setAlpha:floatWrapperWithValue(alpha)]; + * } + * [result autorelease]; + * return result; + * } + * // ... * - * Example (JavaScript): + * Example (JavaScript): * - * // ... + * // ... * - * var protoToCssColor = function(rgb_color) { - * var redFrac = rgb_color.red || 0.0; - * var greenFrac = rgb_color.green || 0.0; - * var blueFrac = rgb_color.blue || 0.0; - * var red = Math.floor(redFrac * 255); - * var green = Math.floor(greenFrac * 255); - * var blue = Math.floor(blueFrac * 255); + * var protoToCssColor = function(rgb_color) { + * var redFrac = rgb_color.red || 0.0; + * var greenFrac = rgb_color.green || 0.0; + * var blueFrac = rgb_color.blue || 0.0; + * var red = Math.floor(redFrac * 255); + * var green = Math.floor(greenFrac * 255); + * var blue = Math.floor(blueFrac * 255); * - * if (!('alpha' in rgb_color)) { - * return rgbToCssColor(red, green, blue); - * } + * if (!('alpha' in rgb_color)) { + * return rgbToCssColor(red, green, blue); + * } * - * var alphaFrac = rgb_color.alpha.value || 0.0; - * var rgbParams = [red, green, blue].join(','); - * return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); - * }; + * var alphaFrac = rgb_color.alpha.value || 0.0; + * var rgbParams = [red, green, blue].join(','); + * return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + * }; * - * var rgbToCssColor = function(red, green, blue) { - * var rgbNumber = new Number((red << 16) | (green << 8) | blue); - * var hexString = rgbNumber.toString(16); - * var missingZeros = 6 - hexString.length; - * var resultBuilder = ['#']; - * for (var i = 0; i < missingZeros; i++) { - * resultBuilder.push('0'); - * } - * resultBuilder.push(hexString); - * return resultBuilder.join(''); - * }; + * var rgbToCssColor = function(red, green, blue) { + * var rgbNumber = new Number((red << 16) | (green << 8) | blue); + * var hexString = rgbNumber.toString(16); + * var missingZeros = 6 - hexString.length; + * var resultBuilder = ['#']; + * for (var i = 0; i < missingZeros; i++) { + * resultBuilder.push('0'); + * } + * resultBuilder.push(hexString); + * return resultBuilder.join(''); + * }; * - * // ... + * // ... * * * Protobuf type {@code google.type.Color} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.Color) com.google.type.ColorOrBuilder { @@ -645,7 +650,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.ColorProto.internal_static_google_type_Color_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -657,13 +662,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getAlphaFieldBuilder(); } } @@ -731,39 +736,6 @@ private void buildPartial0(com.google.type.Color result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.Color) { @@ -1017,7 +989,7 @@ public Builder clearBlue() { } private com.google.protobuf.FloatValue alpha_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> @@ -1029,7 +1001,7 @@ public Builder clearBlue() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1053,7 +1025,7 @@ public boolean hasAlpha() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1081,7 +1053,7 @@ public com.google.protobuf.FloatValue getAlpha() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1113,7 +1085,7 @@ public Builder setAlpha(com.google.protobuf.FloatValue value) { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1142,7 +1114,7 @@ public Builder setAlpha(com.google.protobuf.FloatValue.Builder builderForValue) * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1179,7 +1151,7 @@ public Builder mergeAlpha(com.google.protobuf.FloatValue value) { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1208,7 +1180,7 @@ public Builder clearAlpha() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1232,7 +1204,7 @@ public com.google.protobuf.FloatValue.Builder getAlphaBuilder() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1258,7 +1230,7 @@ public com.google.protobuf.FloatValueOrBuilder getAlphaOrBuilder() { * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -1270,14 +1242,14 @@ public com.google.protobuf.FloatValueOrBuilder getAlphaOrBuilder() { * * .google.protobuf.FloatValue alpha = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder> getAlphaFieldBuilder() { if (alphaBuilder_ == null) { alphaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FloatValue, com.google.protobuf.FloatValue.Builder, com.google.protobuf.FloatValueOrBuilder>( @@ -1287,17 +1259,6 @@ public com.google.protobuf.FloatValueOrBuilder getAlphaOrBuilder() { return alphaBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.Color) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java index 1f7be03eb4..80ed02a451 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/color.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface ColorOrBuilder @@ -70,7 +71,7 @@ public interface ColorOrBuilder * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -92,7 +93,7 @@ public interface ColorOrBuilder * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This @@ -114,7 +115,7 @@ public interface ColorOrBuilder * The fraction of this color that should be applied to the pixel. That is, * the final pixel color is defined by the equation: * - * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` + * `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` * * This means that a value of 1.0 corresponds to a solid color, whereas * a value of 0.0 corresponds to a completely transparent color. This diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorProto.java index 4627ee06d2..eaf7a7c767 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ColorProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/color.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class ColorProto { private ColorProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ColorProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_Color_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_Color_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -57,11 +68,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_type_Color_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_Color_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_Color_descriptor, new java.lang.String[] { "Red", "Green", "Blue", "Alpha", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.WrappersProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Date.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Date.java index 56b94db691..a087d35a1e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Date.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Date.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/date.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -40,30 +41,34 @@ * * Protobuf type {@code google.type.Date} */ -public final class Date extends com.google.protobuf.GeneratedMessageV3 +public final class Date extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.Date) DateOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Date.class.getName()); + } // Use Date.newBuilder() to construct. - private Date(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Date(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Date() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Date(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.DateProto.internal_static_google_type_Date_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.DateProto.internal_static_google_type_Date_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -245,38 +250,38 @@ public static com.google.type.Date parseFrom( public static com.google.type.Date parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Date parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Date parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.Date parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Date parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Date parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -299,7 +304,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -324,7 +329,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.Date} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.Date) com.google.type.DateOrBuilder { @@ -333,7 +338,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.DateProto.internal_static_google_type_Date_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -343,7 +348,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.Date.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -399,39 +404,6 @@ private void buildPartial0(com.google.type.Date result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.Date) { @@ -687,17 +659,6 @@ public Builder clearDay() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.Date) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateOrBuilder.java index b25162222d..bba2735460 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/date.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface DateOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateProto.java index 3f8e52e918..062a873d82 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/date.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class DateProto { private DateProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DateProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_Date_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_Date_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -52,11 +63,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_Date_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_Date_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_Date_descriptor, new java.lang.String[] { "Year", "Month", "Day", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTime.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTime.java index 740281f42c..f4c28e87bd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTime.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTime.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/datetime.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -27,12 +28,12 @@ * * This type can represent a civil time in one of a few possible ways: * - * * When utc_offset is set and time_zone is unset: a civil time on a calendar - * day with a particular offset from UTC. - * * When time_zone is set and utc_offset is unset: a civil time on a calendar - * day in a particular time zone. - * * When neither time_zone nor utc_offset is set: a civil time on a calendar - * day in local time. + * * When utc_offset is set and time_zone is unset: a civil time on a calendar + * day with a particular offset from UTC. + * * When time_zone is set and utc_offset is unset: a civil time on a calendar + * day in a particular time zone. + * * When neither time_zone nor utc_offset is set: a civil time on a calendar + * day in local time. * * The date is relative to the Proleptic Gregorian Calendar. * @@ -51,30 +52,34 @@ * * Protobuf type {@code google.type.DateTime} */ -public final class DateTime extends com.google.protobuf.GeneratedMessageV3 +public final class DateTime extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.DateTime) DateTimeOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DateTime.class.getName()); + } // Use DateTime.newBuilder() to construct. - private DateTime(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DateTime(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private DateTime() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DateTime(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.DateTimeProto.internal_static_google_type_DateTime_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.DateTimeProto.internal_static_google_type_DateTime_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -562,38 +567,38 @@ public static com.google.type.DateTime parseFrom( public static com.google.type.DateTime parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.DateTime parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.DateTime parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.DateTime parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.DateTime parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.DateTime parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -616,7 +621,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -628,12 +633,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * This type can represent a civil time in one of a few possible ways: * - * * When utc_offset is set and time_zone is unset: a civil time on a calendar - * day with a particular offset from UTC. - * * When time_zone is set and utc_offset is unset: a civil time on a calendar - * day in a particular time zone. - * * When neither time_zone nor utc_offset is set: a civil time on a calendar - * day in local time. + * * When utc_offset is set and time_zone is unset: a civil time on a calendar + * day with a particular offset from UTC. + * * When time_zone is set and utc_offset is unset: a civil time on a calendar + * day in a particular time zone. + * * When neither time_zone nor utc_offset is set: a civil time on a calendar + * day in local time. * * The date is relative to the Proleptic Gregorian Calendar. * @@ -652,7 +657,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.DateTime} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.DateTime) com.google.type.DateTimeOrBuilder { @@ -661,7 +666,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.DateTimeProto.internal_static_google_type_DateTime_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -671,7 +676,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.DateTime.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -763,39 +768,6 @@ private void buildPartialOneofs(com.google.type.DateTime result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.DateTime) { @@ -1347,7 +1319,7 @@ public Builder clearNanos() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1548,7 +1520,7 @@ public com.google.protobuf.DurationOrBuilder getUtcOffsetOrBuilder() { * * .google.protobuf.Duration utc_offset = 8; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1558,7 +1530,7 @@ public com.google.protobuf.DurationOrBuilder getUtcOffsetOrBuilder() { timeOffset_ = com.google.protobuf.Duration.getDefaultInstance(); } utcOffsetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1570,7 +1542,7 @@ public com.google.protobuf.DurationOrBuilder getUtcOffsetOrBuilder() { return utcOffsetBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> @@ -1752,7 +1724,7 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() { * * .google.type.TimeZone time_zone = 9; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder> @@ -1762,7 +1734,7 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() { timeOffset_ = com.google.type.TimeZone.getDefaultInstance(); } timeZoneBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.type.TimeZone, com.google.type.TimeZone.Builder, com.google.type.TimeZoneOrBuilder>( @@ -1774,17 +1746,6 @@ public com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder() { return timeZoneBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.DateTime) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java index d7ec02de96..25917a4239 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/datetime.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface DateTimeOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeProto.java index b89b2edf96..e590d5e29f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DateTimeProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/datetime.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class DateTimeProto { private DateTimeProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DateTimeProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_DateTime_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_DateTime_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_TimeZone_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_TimeZone_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -66,7 +77,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_type_DateTime_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_DateTime_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_DateTime_descriptor, new java.lang.String[] { "Year", @@ -82,11 +93,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_type_TimeZone_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_type_TimeZone_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_TimeZone_descriptor, new java.lang.String[] { "Id", "Version", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.DurationProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DayOfWeek.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DayOfWeek.java index 8a26cede42..78cdbddc29 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DayOfWeek.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DayOfWeek.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/dayofweek.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -112,6 +113,15 @@ public enum DayOfWeek implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DayOfWeek.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DayOfWeekProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DayOfWeekProto.java index 7fd9535d75..bc319c1954 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DayOfWeekProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DayOfWeekProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/dayofweek.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class DayOfWeekProto { private DayOfWeekProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DayOfWeekProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -48,6 +59,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Decimal.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Decimal.java index 49acfd2303..d6fd4937b7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Decimal.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Decimal.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/decimal.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -34,13 +35,23 @@ * * Protobuf type {@code google.type.Decimal} */ -public final class Decimal extends com.google.protobuf.GeneratedMessageV3 +public final class Decimal extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.Decimal) DecimalOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Decimal.class.getName()); + } // Use Decimal.newBuilder() to construct. - private Decimal(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Decimal(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,18 +59,12 @@ private Decimal() { value_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Decimal(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.DecimalProto.internal_static_google_type_Decimal_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.DecimalProto.internal_static_google_type_Decimal_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -91,10 +96,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -109,17 +114,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, @@ -173,10 +178,10 @@ public java.lang.String getValue() { * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -191,17 +196,17 @@ public java.lang.String getValue() { * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, @@ -249,8 +254,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, value_); } getUnknownFields().writeTo(output); } @@ -261,8 +266,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, value_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -334,38 +339,38 @@ public static com.google.type.Decimal parseFrom( public static com.google.type.Decimal parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Decimal parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Decimal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.Decimal parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Decimal parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Decimal parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -388,7 +393,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -407,7 +412,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.Decimal} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.Decimal) com.google.type.DecimalOrBuilder { @@ -416,7 +421,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.DecimalProto.internal_static_google_type_Decimal_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -426,7 +431,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.Decimal.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -474,39 +479,6 @@ private void buildPartial0(com.google.type.Decimal result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.Decimal) { @@ -597,10 +569,10 @@ public Builder mergeFrom( * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -615,17 +587,17 @@ public Builder mergeFrom( * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, @@ -678,10 +650,10 @@ public java.lang.String getValue() { * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -696,17 +668,17 @@ public java.lang.String getValue() { * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, @@ -759,10 +731,10 @@ public com.google.protobuf.ByteString getValueBytes() { * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -777,17 +749,17 @@ public com.google.protobuf.ByteString getValueBytes() { * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, @@ -839,10 +811,10 @@ public Builder setValue(java.lang.String value) { * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -857,17 +829,17 @@ public Builder setValue(java.lang.String value) { * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, @@ -915,10 +887,10 @@ public Builder clearValue() { * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -933,17 +905,17 @@ public Builder clearValue() { * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, @@ -976,17 +948,6 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.Decimal) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java index a0c9d8cdde..ff017f817f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/decimal.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface DecimalOrBuilder @@ -45,10 +46,10 @@ public interface DecimalOrBuilder * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -63,17 +64,17 @@ public interface DecimalOrBuilder * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, @@ -116,10 +117,10 @@ public interface DecimalOrBuilder * * Services **should** normalize decimal values before storing them by: * - * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). + * - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). + * - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). + * - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). + * - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). * * Services **may** perform additional normalization based on its own needs * and the internal decimal implementation selected, such as shifting the @@ -134,17 +135,17 @@ public interface DecimalOrBuilder * * The ENBF grammar is: * - * DecimalString = - * [Sign] Significand [Exponent]; + * DecimalString = + * [Sign] Significand [Exponent]; * - * Sign = '+' | '-'; + * Sign = '+' | '-'; * - * Significand = - * Digits ['.'] [Digits] | [Digits] '.' Digits; + * Significand = + * Digits ['.'] [Digits] | [Digits] '.' Digits; * - * Exponent = ('e' | 'E') [Sign] Digits; + * Exponent = ('e' | 'E') [Sign] Digits; * - * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; + * Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; * * Services **should** clearly document the range of supported values, the * maximum supported precision (total number of digits), and, if applicable, diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalProto.java index 230d73447e..18cc9d40ce 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/DecimalProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/decimal.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class DecimalProto { private DecimalProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + DecimalProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_Decimal_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_Decimal_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -52,11 +63,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_Decimal_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_Decimal_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_Decimal_descriptor, new java.lang.String[] { "Value", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Expr.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Expr.java index 35e3f724ef..f1f80ac474 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Expr.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Expr.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/expr.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -29,27 +30,27 @@ * * Example (Comparison): * - * title: "Summary size limit" - * description: "Determines if a summary is less than 100 chars" - * expression: "document.summary.size() < 100" + * title: "Summary size limit" + * description: "Determines if a summary is less than 100 chars" + * expression: "document.summary.size() < 100" * * Example (Equality): * - * title: "Requestor is owner" - * description: "Determines if requestor is the document owner" - * expression: "document.owner == request.auth.claims.email" + * title: "Requestor is owner" + * description: "Determines if requestor is the document owner" + * expression: "document.owner == request.auth.claims.email" * * Example (Logic): * - * title: "Public documents" - * description: "Determine whether the document should be publicly visible" - * expression: "document.type != 'private' && document.type != 'internal'" + * title: "Public documents" + * description: "Determine whether the document should be publicly visible" + * expression: "document.type != 'private' && document.type != 'internal'" * * Example (Data Manipulation): * - * title: "Notification string" - * description: "Create a notification string with a timestamp." - * expression: "'New message received at ' + string(document.create_time)" + * title: "Notification string" + * description: "Create a notification string with a timestamp." + * expression: "'New message received at ' + string(document.create_time)" * * The exact variables and functions that may be referenced within an expression * are determined by the service that evaluates it. See the service @@ -58,13 +59,23 @@ * * Protobuf type {@code google.type.Expr} */ -public final class Expr extends com.google.protobuf.GeneratedMessageV3 +public final class Expr extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.Expr) ExprOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Expr.class.getName()); + } // Use Expr.newBuilder() to construct. - private Expr(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Expr(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -75,18 +86,12 @@ private Expr() { location_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Expr(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.ExprProto.internal_static_google_type_Expr_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.ExprProto.internal_static_google_type_Expr_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -321,17 +326,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expression_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, expression_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(expression_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, expression_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, title_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, location_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(location_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, location_); } getUnknownFields().writeTo(output); } @@ -342,17 +347,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expression_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, expression_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(expression_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, expression_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(title_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, title_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, location_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(location_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, location_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -433,38 +438,38 @@ public static com.google.type.Expr parseFrom( public static com.google.type.Expr parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Expr parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Expr parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.Expr parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Expr parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Expr parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -487,7 +492,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -501,27 +506,27 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Example (Comparison): * - * title: "Summary size limit" - * description: "Determines if a summary is less than 100 chars" - * expression: "document.summary.size() < 100" + * title: "Summary size limit" + * description: "Determines if a summary is less than 100 chars" + * expression: "document.summary.size() < 100" * * Example (Equality): * - * title: "Requestor is owner" - * description: "Determines if requestor is the document owner" - * expression: "document.owner == request.auth.claims.email" + * title: "Requestor is owner" + * description: "Determines if requestor is the document owner" + * expression: "document.owner == request.auth.claims.email" * * Example (Logic): * - * title: "Public documents" - * description: "Determine whether the document should be publicly visible" - * expression: "document.type != 'private' && document.type != 'internal'" + * title: "Public documents" + * description: "Determine whether the document should be publicly visible" + * expression: "document.type != 'private' && document.type != 'internal'" * * Example (Data Manipulation): * - * title: "Notification string" - * description: "Create a notification string with a timestamp." - * expression: "'New message received at ' + string(document.create_time)" + * title: "Notification string" + * description: "Create a notification string with a timestamp." + * expression: "'New message received at ' + string(document.create_time)" * * The exact variables and functions that may be referenced within an expression * are determined by the service that evaluates it. See the service @@ -530,7 +535,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.Expr} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.Expr) com.google.type.ExprOrBuilder { @@ -539,7 +544,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.ExprProto.internal_static_google_type_Expr_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -549,7 +554,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.Expr.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -609,39 +614,6 @@ private void buildPartial0(com.google.type.Expr result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.Expr) { @@ -1192,17 +1164,6 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.Expr) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ExprOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ExprOrBuilder.java index 9736c5f819..9909d2fdcb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ExprOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ExprOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/expr.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface ExprOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ExprProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ExprProto.java index 9486d963a0..4b068756c9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ExprProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/ExprProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/expr.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class ExprProto { private ExprProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ExprProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_Expr_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_Expr_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -53,11 +64,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_Expr_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_Expr_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_Expr_descriptor, new java.lang.String[] { "Expression", "Title", "Description", "Location", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Fraction.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Fraction.java index dd979d7ee3..055cea6380 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Fraction.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Fraction.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/fraction.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -28,30 +29,34 @@ * * Protobuf type {@code google.type.Fraction} */ -public final class Fraction extends com.google.protobuf.GeneratedMessageV3 +public final class Fraction extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.Fraction) FractionOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Fraction.class.getName()); + } // Use Fraction.newBuilder() to construct. - private Fraction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Fraction(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Fraction() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Fraction(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.FractionProto.internal_static_google_type_Fraction_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.FractionProto.internal_static_google_type_Fraction_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -203,38 +208,38 @@ public static com.google.type.Fraction parseFrom( public static com.google.type.Fraction parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Fraction parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Fraction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.Fraction parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Fraction parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Fraction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -257,7 +262,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -270,7 +275,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.Fraction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.Fraction) com.google.type.FractionOrBuilder { @@ -279,7 +284,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.FractionProto.internal_static_google_type_Fraction_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -289,7 +294,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.Fraction.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -341,39 +346,6 @@ private void buildPartial0(com.google.type.Fraction result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.Fraction) { @@ -558,17 +530,6 @@ public Builder clearDenominator() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.Fraction) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionOrBuilder.java index 629c4bc85e..29ca2ca74d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/fraction.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface FractionOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionProto.java index a1801ee245..da53517b08 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/FractionProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/fraction.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class FractionProto { private FractionProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + FractionProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_Fraction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_Fraction_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -53,11 +64,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_Fraction_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_Fraction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_Fraction_descriptor, new java.lang.String[] { "Numerator", "Denominator", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Interval.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Interval.java index ef27480bff..36b501d0be 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Interval.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Interval.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/interval.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -33,30 +34,34 @@ * * Protobuf type {@code google.type.Interval} */ -public final class Interval extends com.google.protobuf.GeneratedMessageV3 +public final class Interval extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.Interval) IntervalOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Interval.class.getName()); + } // Use Interval.newBuilder() to construct. - private Interval(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Interval(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Interval() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Interval(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.IntervalProto.internal_static_google_type_Interval_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.IntervalProto.internal_static_google_type_Interval_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -292,38 +297,38 @@ public static com.google.type.Interval parseFrom( public static com.google.type.Interval parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Interval parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Interval parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.Interval parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Interval parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Interval parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -346,7 +351,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -364,7 +369,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.Interval} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.Interval) com.google.type.IntervalOrBuilder { @@ -373,7 +378,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.IntervalProto.internal_static_google_type_Interval_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -385,13 +390,13 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } @@ -457,39 +462,6 @@ private void buildPartial0(com.google.type.Interval result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.Interval) { @@ -566,7 +538,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -756,14 +728,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp start_time = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -774,7 +746,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -964,14 +936,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -981,17 +953,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.Interval) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java index 13aacf16da..e49a4ec323 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/interval.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface IntervalOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalProto.java index 23196b888b..04b84d8f80 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/IntervalProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/interval.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class IntervalProto { private IntervalProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + IntervalProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_Interval_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_Interval_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -58,11 +69,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { }); internal_static_google_type_Interval_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_Interval_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_Interval_descriptor, new java.lang.String[] { "StartTime", "EndTime", }); + descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLng.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLng.java index 7321e84c72..7c9f048db4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLng.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLng.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/latlng.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -32,30 +33,34 @@ * * Protobuf type {@code google.type.LatLng} */ -public final class LatLng extends com.google.protobuf.GeneratedMessageV3 +public final class LatLng extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.LatLng) LatLngOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LatLng.class.getName()); + } // Use LatLng.newBuilder() to construct. - private LatLng(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LatLng(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private LatLng() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LatLng(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.LatLngProto.internal_static_google_type_LatLng_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.LatLngProto.internal_static_google_type_LatLng_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -214,38 +219,38 @@ public static com.google.type.LatLng parseFrom( public static com.google.type.LatLng parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.LatLng parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.LatLng parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.LatLng parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.LatLng parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.LatLng parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -268,7 +273,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -285,7 +290,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.LatLng} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.LatLng) com.google.type.LatLngOrBuilder { @@ -294,7 +299,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.LatLngProto.internal_static_google_type_LatLng_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -304,7 +309,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.LatLng.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -356,39 +361,6 @@ private void buildPartial0(com.google.type.LatLng result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.LatLng) { @@ -570,17 +542,6 @@ public Builder clearLongitude() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.LatLng) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngOrBuilder.java index 703295e851..b8a22bc670 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/latlng.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface LatLngOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngProto.java index 55bdae6207..d414abb80a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LatLngProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/latlng.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class LatLngProto { private LatLngProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LatLngProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_LatLng_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_LatLng_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -52,11 +63,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_LatLng_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_LatLng_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_LatLng_descriptor, new java.lang.String[] { "Latitude", "Longitude", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java index 17922b3257..36c48e41b7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedText.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/localized_text.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.type.LocalizedText} */ -public final class LocalizedText extends com.google.protobuf.GeneratedMessageV3 +public final class LocalizedText extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.LocalizedText) LocalizedTextOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LocalizedText.class.getName()); + } // Use LocalizedText.newBuilder() to construct. - private LocalizedText(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LocalizedText(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,18 +54,12 @@ private LocalizedText() { languageCode_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LocalizedText(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.LocalizedTextProto.internal_static_google_type_LocalizedText_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.LocalizedTextProto .internal_static_google_type_LocalizedText_fieldAccessorTable @@ -184,11 +189,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, text_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, languageCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(languageCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, languageCode_); } getUnknownFields().writeTo(output); } @@ -199,11 +204,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, text_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, languageCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(languageCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, languageCode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,38 +283,38 @@ public static com.google.type.LocalizedText parseFrom( public static com.google.type.LocalizedText parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.LocalizedText parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.LocalizedText parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.LocalizedText parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.LocalizedText parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.LocalizedText parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -332,7 +337,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -345,7 +350,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.LocalizedText} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.LocalizedText) com.google.type.LocalizedTextOrBuilder { @@ -355,7 +360,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.LocalizedTextProto .internal_static_google_type_LocalizedText_fieldAccessorTable @@ -366,7 +371,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.LocalizedText.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -419,39 +424,6 @@ private void buildPartial0(com.google.type.LocalizedText result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.LocalizedText) { @@ -758,17 +730,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.LocalizedText) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java index 5cda8459f2..b224d0560d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/localized_text.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface LocalizedTextOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextProto.java index 8e3e9bc533..e1fa3af5ce 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/LocalizedTextProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/localized_text.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class LocalizedTextProto { private LocalizedTextProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + LocalizedTextProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_LocalizedText_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_LocalizedText_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -53,11 +64,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_LocalizedText_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_LocalizedText_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_LocalizedText_descriptor, new java.lang.String[] { "Text", "LanguageCode", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Money.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Money.java index 0f5a37e4aa..ed65c164d2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Money.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Money.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/money.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -28,13 +29,23 @@ * * Protobuf type {@code google.type.Money} */ -public final class Money extends com.google.protobuf.GeneratedMessageV3 +public final class Money extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.Money) MoneyOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Money.class.getName()); + } // Use Money.newBuilder() to construct. - private Money(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Money(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -42,18 +53,12 @@ private Money() { currencyCode_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Money(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.MoneyProto.internal_static_google_type_Money_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.MoneyProto.internal_static_google_type_Money_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -167,8 +172,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, currencyCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(currencyCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, currencyCode_); } if (units_ != 0L) { output.writeInt64(2, units_); @@ -185,8 +190,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currencyCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, currencyCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(currencyCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, currencyCode_); } if (units_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, units_); @@ -270,38 +275,38 @@ public static com.google.type.Money parseFrom( public static com.google.type.Money parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Money parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Money parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.Money parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Money parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Money parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -324,7 +329,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -337,7 +342,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.Money} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.Money) com.google.type.MoneyOrBuilder { @@ -346,7 +351,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.MoneyProto.internal_static_google_type_Money_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -356,7 +361,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.Money.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -412,39 +417,6 @@ private void buildPartial0(com.google.type.Money result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.Money) { @@ -761,17 +733,6 @@ public Builder clearNanos() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.Money) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyOrBuilder.java index c20c1f320e..27831781f4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/money.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface MoneyOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyProto.java index f8375e03fd..39d1e1df6f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MoneyProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/money.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class MoneyProto { private MoneyProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MoneyProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_Money_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_Money_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -53,11 +64,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_Money_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_Money_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_Money_descriptor, new java.lang.String[] { "CurrencyCode", "Units", "Nanos", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Month.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Month.java index 0e3943994b..563df4bfc6 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Month.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Month.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/month.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -162,6 +163,15 @@ public enum Month implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Month.class.getName()); + } /** * * diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MonthProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MonthProto.java index 9a2aff0970..98c8224762 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MonthProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/MonthProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/month.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class MonthProto { private MonthProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + MonthProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -48,6 +59,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java index 7703ba6533..03b99bb3fe 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumber.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/phone_number.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -27,39 +28,49 @@ * * This representation: * - * - should not be used for locale-specific formatting of a phone number, such - * as "+1 (650) 253-0000 ext. 123" + * - should not be used for locale-specific formatting of a phone number, such + * as "+1 (650) 253-0000 ext. 123" * - * - is not designed for efficient storage - * - may not be suitable for dialing - specialized libraries (see references) - * should be used to parse the number for that purpose + * - is not designed for efficient storage + * - may not be suitable for dialing - specialized libraries (see references) + * should be used to parse the number for that purpose * * To do something meaningful with this number, such as format it for various * use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first. * * For instance, in Java this would be: * - * com.google.type.PhoneNumber wireProto = - * com.google.type.PhoneNumber.newBuilder().build(); - * com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = - * PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ"); - * if (!wireProto.getExtension().isEmpty()) { - * phoneNumber.setExtension(wireProto.getExtension()); - * } + * com.google.type.PhoneNumber wireProto = + * com.google.type.PhoneNumber.newBuilder().build(); + * com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = + * PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ"); + * if (!wireProto.getExtension().isEmpty()) { + * phoneNumber.setExtension(wireProto.getExtension()); + * } * - * Reference(s): - * - https://github.com/google/libphonenumber + * Reference(s): + * - https://github.com/google/libphonenumber * * * Protobuf type {@code google.type.PhoneNumber} */ -public final class PhoneNumber extends com.google.protobuf.GeneratedMessageV3 +public final class PhoneNumber extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.PhoneNumber) PhoneNumberOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PhoneNumber.class.getName()); + } // Use PhoneNumber.newBuilder() to construct. - private PhoneNumber(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PhoneNumber(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -67,18 +78,12 @@ private PhoneNumber() { extension_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PhoneNumber(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.PhoneNumberProto.internal_static_google_type_PhoneNumber_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.PhoneNumberProto .internal_static_google_type_PhoneNumber_fieldAccessorTable @@ -99,7 +104,7 @@ public interface ShortCodeOrBuilder * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -115,7 +120,7 @@ public interface ShortCodeOrBuilder * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -168,13 +173,23 @@ public interface ShortCodeOrBuilder * * Protobuf type {@code google.type.PhoneNumber.ShortCode} */ - public static final class ShortCode extends com.google.protobuf.GeneratedMessageV3 + public static final class ShortCode extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.PhoneNumber.ShortCode) ShortCodeOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + ShortCode.class.getName()); + } // Use ShortCode.newBuilder() to construct. - private ShortCode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ShortCode(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -183,19 +198,13 @@ private ShortCode() { number_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ShortCode(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.PhoneNumberProto .internal_static_google_type_PhoneNumber_ShortCode_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.PhoneNumberProto .internal_static_google_type_PhoneNumber_ShortCode_fieldAccessorTable @@ -216,7 +225,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -243,7 +252,7 @@ public java.lang.String getRegionCode() { * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -330,11 +339,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, regionCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(regionCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, regionCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(number_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, number_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(number_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, number_); } getUnknownFields().writeTo(output); } @@ -345,11 +354,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, regionCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(regionCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, regionCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(number_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, number_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(number_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, number_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -425,38 +434,38 @@ public static com.google.type.PhoneNumber.ShortCode parseFrom( public static com.google.type.PhoneNumber.ShortCode parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.PhoneNumber.ShortCode parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.PhoneNumber.ShortCode parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.PhoneNumber.ShortCode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.PhoneNumber.ShortCode parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.PhoneNumber.ShortCode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -479,8 +488,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -501,8 +509,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.type.PhoneNumber.ShortCode} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.PhoneNumber.ShortCode) com.google.type.PhoneNumber.ShortCodeOrBuilder { @@ -512,7 +519,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.PhoneNumberProto .internal_static_google_type_PhoneNumber_ShortCode_fieldAccessorTable @@ -524,7 +531,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.PhoneNumber.ShortCode.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -578,41 +585,6 @@ private void buildPartial0(com.google.type.PhoneNumber.ShortCode result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.PhoneNumber.ShortCode) { @@ -701,7 +673,7 @@ public Builder mergeFrom( * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -727,7 +699,7 @@ public java.lang.String getRegionCode() { * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -753,7 +725,7 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -778,7 +750,7 @@ public Builder setRegionCode(java.lang.String value) { * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -799,7 +771,7 @@ public Builder clearRegionCode() { * short code can be made, such as "US" and "BB". * * Reference(s): - * - http://www.unicode.org/reports/tr35/#unicode_region_subtag + * - http://www.unicode.org/reports/tr35/#unicode_region_subtag * * * string region_code = 1; @@ -929,18 +901,6 @@ public Builder setNumberBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.PhoneNumber.ShortCode) } @@ -1051,17 +1011,17 @@ public KindCase getKindCase() { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1079,17 +1039,17 @@ public boolean hasE164Number() { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1120,17 +1080,17 @@ public java.lang.String getE164Number() { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1162,7 +1122,7 @@ public com.google.protobuf.ByteString getE164NumberBytes() { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -1180,7 +1140,7 @@ public boolean hasShortCode() { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -1201,7 +1161,7 @@ public com.google.type.PhoneNumber.ShortCode getShortCode() { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -1296,13 +1256,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (kindCase_ == 1) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, kind_); } if (kindCase_ == 2) { output.writeMessage(2, (com.google.type.PhoneNumber.ShortCode) kind_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(extension_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, extension_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(extension_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, extension_); } getUnknownFields().writeTo(output); } @@ -1314,15 +1274,15 @@ public int getSerializedSize() { size = 0; if (kindCase_ == 1) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, kind_); } if (kindCase_ == 2) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 2, (com.google.type.PhoneNumber.ShortCode) kind_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(extension_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, extension_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(extension_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, extension_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1417,38 +1377,38 @@ public static com.google.type.PhoneNumber parseFrom( public static com.google.type.PhoneNumber parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.PhoneNumber parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.PhoneNumber parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.PhoneNumber parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.PhoneNumber parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.PhoneNumber parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1471,7 +1431,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1483,33 +1443,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * This representation: * - * - should not be used for locale-specific formatting of a phone number, such - * as "+1 (650) 253-0000 ext. 123" + * - should not be used for locale-specific formatting of a phone number, such + * as "+1 (650) 253-0000 ext. 123" * - * - is not designed for efficient storage - * - may not be suitable for dialing - specialized libraries (see references) - * should be used to parse the number for that purpose + * - is not designed for efficient storage + * - may not be suitable for dialing - specialized libraries (see references) + * should be used to parse the number for that purpose * * To do something meaningful with this number, such as format it for various * use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first. * * For instance, in Java this would be: * - * com.google.type.PhoneNumber wireProto = - * com.google.type.PhoneNumber.newBuilder().build(); - * com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = - * PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ"); - * if (!wireProto.getExtension().isEmpty()) { - * phoneNumber.setExtension(wireProto.getExtension()); - * } + * com.google.type.PhoneNumber wireProto = + * com.google.type.PhoneNumber.newBuilder().build(); + * com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = + * PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ"); + * if (!wireProto.getExtension().isEmpty()) { + * phoneNumber.setExtension(wireProto.getExtension()); + * } * - * Reference(s): - * - https://github.com/google/libphonenumber + * Reference(s): + * - https://github.com/google/libphonenumber * * * Protobuf type {@code google.type.PhoneNumber} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.PhoneNumber) com.google.type.PhoneNumberOrBuilder { @@ -1518,7 +1478,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.PhoneNumberProto .internal_static_google_type_PhoneNumber_fieldAccessorTable @@ -1529,7 +1489,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.PhoneNumber.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1591,39 +1551,6 @@ private void buildPartialOneofs(com.google.type.PhoneNumber result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.PhoneNumber) { @@ -1745,17 +1672,17 @@ public Builder clearKind() { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1774,17 +1701,17 @@ public boolean hasE164Number() { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1816,17 +1743,17 @@ public java.lang.String getE164Number() { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1858,17 +1785,17 @@ public com.google.protobuf.ByteString getE164NumberBytes() { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1893,17 +1820,17 @@ public Builder setE164Number(java.lang.String value) { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1926,17 +1853,17 @@ public Builder clearE164Number() { * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -1955,7 +1882,7 @@ public Builder setE164NumberBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.PhoneNumber.ShortCode, com.google.type.PhoneNumber.ShortCode.Builder, com.google.type.PhoneNumber.ShortCodeOrBuilder> @@ -1967,7 +1894,7 @@ public Builder setE164NumberBytes(com.google.protobuf.ByteString value) { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -1985,7 +1912,7 @@ public boolean hasShortCode() { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -2013,7 +1940,7 @@ public com.google.type.PhoneNumber.ShortCode getShortCode() { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -2038,7 +1965,7 @@ public Builder setShortCode(com.google.type.PhoneNumber.ShortCode value) { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -2060,7 +1987,7 @@ public Builder setShortCode(com.google.type.PhoneNumber.ShortCode.Builder builde * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -2094,7 +2021,7 @@ public Builder mergeShortCode(com.google.type.PhoneNumber.ShortCode value) { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -2122,7 +2049,7 @@ public Builder clearShortCode() { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -2137,7 +2064,7 @@ public com.google.type.PhoneNumber.ShortCode.Builder getShortCodeBuilder() { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -2160,12 +2087,12 @@ public com.google.type.PhoneNumber.ShortCodeOrBuilder getShortCodeOrBuilder() { * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.type.PhoneNumber.ShortCode, com.google.type.PhoneNumber.ShortCode.Builder, com.google.type.PhoneNumber.ShortCodeOrBuilder> @@ -2175,7 +2102,7 @@ public com.google.type.PhoneNumber.ShortCodeOrBuilder getShortCodeOrBuilder() { kind_ = com.google.type.PhoneNumber.ShortCode.getDefaultInstance(); } shortCodeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.type.PhoneNumber.ShortCode, com.google.type.PhoneNumber.ShortCode.Builder, com.google.type.PhoneNumber.ShortCodeOrBuilder>( @@ -2333,17 +2260,6 @@ public Builder setExtensionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.PhoneNumber) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java index dbd25d2f52..6856374f9a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/phone_number.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface PhoneNumberOrBuilder @@ -32,17 +33,17 @@ public interface PhoneNumberOrBuilder * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -58,17 +59,17 @@ public interface PhoneNumberOrBuilder * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -84,17 +85,17 @@ public interface PhoneNumberOrBuilder * phone number that uses a relaxed ITU E.164 format consisting of the * country calling code (1 to 3 digits) and the subscriber number, with no * additional spaces or formatting, e.g.: - * - correct: "+15552220123" - * - incorrect: "+1 (555) 222-01234 x123". + * - correct: "+15552220123" + * - incorrect: "+1 (555) 222-01234 x123". * * The ITU E.164 format limits the latter to 12 digits, but in practice not * all countries respect that, so we relax that restriction here. * National-only numbers are not allowed. * * References: - * - https://www.itu.int/rec/T-REC-E.164-201011-I - * - https://en.wikipedia.org/wiki/E.164. - * - https://en.wikipedia.org/wiki/List_of_country_calling_codes + * - https://www.itu.int/rec/T-REC-E.164-201011-I + * - https://en.wikipedia.org/wiki/E.164. + * - https://en.wikipedia.org/wiki/List_of_country_calling_codes * * * string e164_number = 1; @@ -110,7 +111,7 @@ public interface PhoneNumberOrBuilder * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -125,7 +126,7 @@ public interface PhoneNumberOrBuilder * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; @@ -140,7 +141,7 @@ public interface PhoneNumberOrBuilder * A short code. * * Reference(s): - * - https://en.wikipedia.org/wiki/Short_code + * - https://en.wikipedia.org/wiki/Short_code * * * .google.type.PhoneNumber.ShortCode short_code = 2; diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberProto.java index 0c6bb2f7e9..2576b00e1e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PhoneNumberProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/phone_number.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class PhoneNumberProto { private PhoneNumberProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PhoneNumberProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,11 +41,11 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_PhoneNumber_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_PhoneNumber_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_PhoneNumber_ShortCode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_PhoneNumber_ShortCode_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -60,7 +71,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_PhoneNumber_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_PhoneNumber_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_PhoneNumber_descriptor, new java.lang.String[] { "E164Number", "ShortCode", "Extension", "Kind", @@ -68,11 +79,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_type_PhoneNumber_ShortCode_descriptor = internal_static_google_type_PhoneNumber_descriptor.getNestedTypes().get(0); internal_static_google_type_PhoneNumber_ShortCode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_PhoneNumber_ShortCode_descriptor, new java.lang.String[] { "RegionCode", "Number", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java index 2b165a5d4a..08cd626c79 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddress.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/postal_address.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -33,10 +34,10 @@ * existing data, depending on the type of process. * * Advice on address input / editing: - * - Use an i18n-ready address widget such as - * https://github.com/google/libaddressinput) + * - Use an i18n-ready address widget such as + * https://github.com/google/libaddressinput) * - Users should not be presented with UI elements for input or editing of - * fields outside countries where that field is used. + * fields outside countries where that field is used. * * For more guidance on how to use this schema, please see: * https://support.google.com/business/answer/6397478 @@ -44,13 +45,23 @@ * * Protobuf type {@code google.type.PostalAddress} */ -public final class PostalAddress extends com.google.protobuf.GeneratedMessageV3 +public final class PostalAddress extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.PostalAddress) PostalAddressOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PostalAddress.class.getName()); + } // Use PostalAddress.newBuilder() to construct. - private PostalAddress(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PostalAddress(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -67,18 +78,12 @@ private PostalAddress() { organization_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PostalAddress(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.PostalAddressProto.internal_static_google_type_PostalAddress_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.PostalAddressProto .internal_static_google_type_PostalAddress_fieldAccessorTable @@ -816,35 +821,35 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (revision_ != 0) { output.writeInt32(1, revision_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, regionCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(regionCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, regionCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, languageCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(languageCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, languageCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postalCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, postalCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(postalCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, postalCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sortingCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sortingCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sortingCode_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, sortingCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(administrativeArea_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, administrativeArea_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(administrativeArea_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, administrativeArea_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locality_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, locality_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(locality_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, locality_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sublocality_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sublocality_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sublocality_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, sublocality_); } for (int i = 0; i < addressLines_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, addressLines_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 9, addressLines_.getRaw(i)); } for (int i = 0; i < recipients_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, recipients_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 10, recipients_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(organization_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, organization_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(organization_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 11, organization_); } getUnknownFields().writeTo(output); } @@ -858,26 +863,26 @@ public int getSerializedSize() { if (revision_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, revision_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regionCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(regionCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, regionCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, languageCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(languageCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, languageCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postalCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, postalCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(postalCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, postalCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sortingCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sortingCode_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sortingCode_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, sortingCode_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(administrativeArea_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, administrativeArea_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(administrativeArea_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, administrativeArea_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locality_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, locality_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(locality_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, locality_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sublocality_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, sublocality_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sublocality_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, sublocality_); } { int dataSize = 0; @@ -895,8 +900,8 @@ public int getSerializedSize() { size += dataSize; size += 1 * getRecipientsList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(organization_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, organization_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(organization_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(11, organization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1002,38 +1007,38 @@ public static com.google.type.PostalAddress parseFrom( public static com.google.type.PostalAddress parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.PostalAddress parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.PostalAddress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.PostalAddress parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.PostalAddress parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.PostalAddress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1056,7 +1061,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1074,10 +1079,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * existing data, depending on the type of process. * * Advice on address input / editing: - * - Use an i18n-ready address widget such as - * https://github.com/google/libaddressinput) + * - Use an i18n-ready address widget such as + * https://github.com/google/libaddressinput) * - Users should not be presented with UI elements for input or editing of - * fields outside countries where that field is used. + * fields outside countries where that field is used. * * For more guidance on how to use this schema, please see: * https://support.google.com/business/answer/6397478 @@ -1085,7 +1090,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.PostalAddress} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.PostalAddress) com.google.type.PostalAddressOrBuilder { @@ -1095,7 +1100,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.PostalAddressProto .internal_static_google_type_PostalAddress_fieldAccessorTable @@ -1106,7 +1111,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.PostalAddress.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1197,39 +1202,6 @@ private void buildPartial0(com.google.type.PostalAddress result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.PostalAddress) { @@ -3043,17 +3015,6 @@ public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.PostalAddress) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java index e528677f38..31f6009bc1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/postal_address.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface PostalAddressOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressProto.java index 10c6d5033e..35973a3d42 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/PostalAddressProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/postal_address.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class PostalAddressProto { private PostalAddressProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + PostalAddressProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_PostalAddress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_PostalAddress_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -58,7 +69,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_PostalAddress_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_PostalAddress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_PostalAddress_descriptor, new java.lang.String[] { "Revision", @@ -73,6 +84,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Recipients", "Organization", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Quaternion.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Quaternion.java index 0965136fc1..6a0abff486 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Quaternion.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/Quaternion.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/quaternion.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -35,7 +36,7 @@ * * Quaternions are generally represented in this form: * - * w + xi + yj + zk + * w + xi + yj + zk * * where x, y, z, and w are real numbers, and i, j, and k are three imaginary * numbers. @@ -51,21 +52,21 @@ * buffer below *must* follow the Hamilton convention, which defines `ij = k` * (i.e. a right-handed algebra), and therefore: * - * i^2 = j^2 = k^2 = ijk = −1 - * ij = −ji = k - * jk = −kj = i - * ki = −ik = j + * i^2 = j^2 = k^2 = ijk = −1 + * ij = −ji = k + * jk = −kj = i + * ki = −ik = j * * Please DO NOT use this to represent quaternions that follow the JPL * convention, or any of the other quaternion flavors out there. * * Definitions: * - * - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`. - * - Unit (or normalized) quaternion: a quaternion whose norm is 1. - * - Pure quaternion: a quaternion whose scalar component (`w`) is 0. - * - Rotation quaternion: a unit quaternion used to represent rotation. - * - Orientation quaternion: a unit quaternion used to represent orientation. + * - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`. + * - Unit (or normalized) quaternion: a quaternion whose norm is 1. + * - Pure quaternion: a quaternion whose scalar component (`w`) is 0. + * - Rotation quaternion: a unit quaternion used to represent rotation. + * - Orientation quaternion: a unit quaternion used to represent orientation. * * A quaternion can be normalized by dividing it by its norm. The resulting * quaternion maintains the same direction, but has a norm of 1, i.e. it moves @@ -82,30 +83,34 @@ * * Protobuf type {@code google.type.Quaternion} */ -public final class Quaternion extends com.google.protobuf.GeneratedMessageV3 +public final class Quaternion extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.Quaternion) QuaternionOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + Quaternion.class.getName()); + } // Use Quaternion.newBuilder() to construct. - private Quaternion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Quaternion(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Quaternion() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Quaternion(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.QuaternionProto.internal_static_google_type_Quaternion_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.QuaternionProto.internal_static_google_type_Quaternion_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -322,38 +327,38 @@ public static com.google.type.Quaternion parseFrom( public static com.google.type.Quaternion parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Quaternion parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Quaternion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.Quaternion parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.Quaternion parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.Quaternion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -376,7 +381,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -396,7 +401,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Quaternions are generally represented in this form: * - * w + xi + yj + zk + * w + xi + yj + zk * * where x, y, z, and w are real numbers, and i, j, and k are three imaginary * numbers. @@ -412,21 +417,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * buffer below *must* follow the Hamilton convention, which defines `ij = k` * (i.e. a right-handed algebra), and therefore: * - * i^2 = j^2 = k^2 = ijk = −1 - * ij = −ji = k - * jk = −kj = i - * ki = −ik = j + * i^2 = j^2 = k^2 = ijk = −1 + * ij = −ji = k + * jk = −kj = i + * ki = −ik = j * * Please DO NOT use this to represent quaternions that follow the JPL * convention, or any of the other quaternion flavors out there. * * Definitions: * - * - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`. - * - Unit (or normalized) quaternion: a quaternion whose norm is 1. - * - Pure quaternion: a quaternion whose scalar component (`w`) is 0. - * - Rotation quaternion: a unit quaternion used to represent rotation. - * - Orientation quaternion: a unit quaternion used to represent orientation. + * - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`. + * - Unit (or normalized) quaternion: a quaternion whose norm is 1. + * - Pure quaternion: a quaternion whose scalar component (`w`) is 0. + * - Rotation quaternion: a unit quaternion used to represent rotation. + * - Orientation quaternion: a unit quaternion used to represent orientation. * * A quaternion can be normalized by dividing it by its norm. The resulting * quaternion maintains the same direction, but has a norm of 1, i.e. it moves @@ -443,7 +448,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.Quaternion} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.Quaternion) com.google.type.QuaternionOrBuilder { @@ -452,7 +457,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.QuaternionProto .internal_static_google_type_Quaternion_fieldAccessorTable @@ -463,7 +468,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.Quaternion.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -523,39 +528,6 @@ private void buildPartial0(com.google.type.Quaternion result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.Quaternion) { @@ -861,17 +833,6 @@ public Builder clearW() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.Quaternion) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionOrBuilder.java index 39fd59770e..c6bf729620 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/quaternion.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface QuaternionOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionProto.java index 06d76a122a..64f28adc3a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/QuaternionProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/quaternion.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class QuaternionProto { private QuaternionProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + QuaternionProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_Quaternion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_Quaternion_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -53,11 +64,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_Quaternion_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_Quaternion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_Quaternion_descriptor, new java.lang.String[] { "X", "Y", "Z", "W", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java index f685ae7711..99772a8147 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDay.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/timeofday.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -31,30 +32,34 @@ * * Protobuf type {@code google.type.TimeOfDay} */ -public final class TimeOfDay extends com.google.protobuf.GeneratedMessageV3 +public final class TimeOfDay extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.TimeOfDay) TimeOfDayOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + TimeOfDay.class.getName()); + } // Use TimeOfDay.newBuilder() to construct. - private TimeOfDay(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TimeOfDay(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private TimeOfDay() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TimeOfDay(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.TimeOfDayProto.internal_static_google_type_TimeOfDay_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.TimeOfDayProto.internal_static_google_type_TimeOfDay_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -261,38 +266,38 @@ public static com.google.type.TimeOfDay parseFrom( public static com.google.type.TimeOfDay parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.TimeOfDay parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.TimeOfDay parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.TimeOfDay parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.TimeOfDay parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.TimeOfDay parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -315,7 +320,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -331,7 +336,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.TimeOfDay} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.TimeOfDay) com.google.type.TimeOfDayOrBuilder { @@ -340,7 +345,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.TimeOfDayProto.internal_static_google_type_TimeOfDay_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -350,7 +355,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.TimeOfDay.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -410,39 +415,6 @@ private void buildPartial0(com.google.type.TimeOfDay result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.TimeOfDay) { @@ -754,17 +726,6 @@ public Builder clearNanos() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.TimeOfDay) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayOrBuilder.java index ad8c75ab0c..7fe779b0d4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/timeofday.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface TimeOfDayOrBuilder diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayProto.java index 612d71805e..42984f346f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeOfDayProto.java @@ -14,14 +14,25 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/timeofday.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public final class TimeOfDayProto { private TimeOfDayProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + TimeOfDayProto.class.getName()); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,7 +41,7 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_type_TimeOfDay_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_type_TimeOfDay_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -53,11 +64,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_type_TimeOfDay_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_type_TimeOfDay_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_type_TimeOfDay_descriptor, new java.lang.String[] { "Hours", "Minutes", "Seconds", "Nanos", }); + descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZone.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZone.java index 941fd0a435..e568799c27 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZone.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZone.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/datetime.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; /** @@ -29,13 +30,23 @@ * * Protobuf type {@code google.type.TimeZone} */ -public final class TimeZone extends com.google.protobuf.GeneratedMessageV3 +public final class TimeZone extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.type.TimeZone) TimeZoneOrBuilder { private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 27, + /* patch= */ 1, + /* suffix= */ "", + TimeZone.class.getName()); + } // Use TimeZone.newBuilder() to construct. - private TimeZone(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TimeZone(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,18 +55,12 @@ private TimeZone() { version_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TimeZone(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.type.DateTimeProto.internal_static_google_type_TimeZone_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.DateTimeProto.internal_static_google_type_TimeZone_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -178,11 +183,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, version_); } getUnknownFields().writeTo(output); } @@ -193,11 +198,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, version_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -272,38 +277,38 @@ public static com.google.type.TimeZone parseFrom( public static com.google.type.TimeZone parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.TimeZone parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.TimeZone parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.type.TimeZone parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.type.TimeZone parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.type.TimeZone parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -326,7 +331,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -340,7 +345,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.type.TimeZone} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.type.TimeZone) com.google.type.TimeZoneOrBuilder { @@ -349,7 +354,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.type.DateTimeProto.internal_static_google_type_TimeZone_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -359,7 +364,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.type.TimeZone.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -411,39 +416,6 @@ private void buildPartial0(com.google.type.TimeZone result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.type.TimeZone) { @@ -735,17 +707,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.type.TimeZone) } diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZoneOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZoneOrBuilder.java index e6962c6619..b1282383a7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZoneOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/type/TimeZoneOrBuilder.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/type/datetime.proto +// Protobuf Java Version: 4.27.1 -// Protobuf Java Version: 3.25.3 package com.google.type; public interface TimeZoneOrBuilder